swu_client_conditions_invalid_for_installs()

Inform the UpdateClient that updates currently can't be installed

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_client_conditions_invalid_for_installs( 
                                                    void )

Library:

libswu-core

Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.

Description:

Inform the UpdateClient that the current system conditions are invalid for installing updates. Use this function to inform the library that the system currently can't accept update installations. For example, you could call this function to disable updates when the device is running on battery power.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_NOT_INITIALIZED
The library hasn't been initialized yet.
SWU_RESULT_ERROR
Another error occurred.