dialog_set_alert_checkbox_checked()

Set the initial state of the check box.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_alert_checkbox_checked(dialog_instance_t dialog,
                                              bool checked)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

checked

If true, the check box is checked initially; if false, the check box is not checked initially.

Library:

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

Description:

The dialog_set_alert_checkbox_checked() function sets the initial state of the check box for the specified alert dialog.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.