Mistake on this page? Email us
dmc_update_api.h File Reference

Update-related Device Management Client API functions. More...

Go to the source code of this file.

Functions

void pdmc_connect_update_set_authorize_handler (void(*authorize_handler)(int32_t request, uint64_t priority))
 Set an update authorization handler. More...
 
void pdmc_connect_update_set_error_handler (void(*error_handler)(int32_t error))
 Set an update error handler. More...
 
void pdmc_connect_update_set_progress_handler (void(*progress_handler)(uint32_t progress, uint32_t total))
 Set an update progress handler. More...
 

Detailed Description

Update-related Device Management Client API functions.

Function Documentation

void pdmc_connect_update_set_authorize_handler ( void(*)(int32_t request, uint64_t priority)  authorize_handler)

Set an update authorization handler.

Parameters
authorize_handlerA handler to authorize the update.
void pdmc_connect_update_set_error_handler ( void(*)(int32_t error)  error_handler)

Set an update error handler.

Parameters
error_handlerA handler for update errors.
void pdmc_connect_update_set_progress_handler ( void(*)(uint32_t progress, uint32_t total)  progress_handler)

Set an update progress handler.

Parameters
progress_handlerA handler for the update progress status information.