Set the initial state of the check box.
#include <bps/dialog.h>
BPS_API int dialog_set_alert_checkbox_checked(dialog_instance_t dialog,
bool checked)
BlackBerry 10.0.0
The dialog to update.
If true, the check box is checked initially; if false, the check box is not checked initially.
The dialog_set_alert_checkbox_checked() function sets the initial state of the check box for the specified alert dialog.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.