dialog_set_progress_level()

Set the progress level of a progress dialog.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

progress

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.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus