swu_update_get_can_be_deferred()

Get flag indicating whether an update can be deferred

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_get_can_be_deferred( 
                                swu_update_t update, 
                                bool *can_be_deferred )

Arguments:

update
Handle of the Update.
can_be_deferred
Pointer to a Boolean to store whether the update can be deferred.

Library:

libswu-core

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

Description:

Get the flag indicating whether the HMI allows the user to defer installation of the software update specified in update. This function stores the flag setting in can_be_deferred. This flag was set when the Update object was created and can't be changed afterwards.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_INVALID_ARGUMENT
One of the arguments is invalid.