Get the percentage of the installation completed for an update
#include <swu/Update.h> swu_result_t swu_update_get_install_percent_completed( swu_update_t update, swu_progress_t *percent_completed )
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
Get the percentage of the installation completed for the software update referenced in update. This function stores this percentage in percent_completed. Note that when the Update isn't in the SWU_UPDATE_STATE_INSTALLING state, the value retrieved by this function is undetermined.
One of the following swu_result_t values: