dialog_set_progress_toast_level()

Set the progress level of a progress toast dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_progress_toast_level(dialog_instance_t dialog, int progress)

Arguments:

dialog

The dialog to update.

progress

The progress level. A value representing the current level of progress from 0 to 100.

Library:

libbps

Description:

The dialog_set_progress_toast_level() function sets the progress level of the specified progress toast dialog.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.