Set the progress level of a progress toast dialog.
#include <bps/dialog.h>
BPS_API int dialog_set_progress_toast_level(dialog_instance_t dialog,
int progress)
BlackBerry 10.0.0
The dialog to update.
The progress level. A value representing the current level of progress from 0 to 100. To show an activity spinner indicating indefinite progress, specify -1.
The dialog_set_progress_toast_level() function sets the progress level of the specified progress toast dialog.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.