dialog_set_alert_checkbox_enabled()

Set whether the check box is enabled.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

dialog

The dialog to update.

enabled

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

Library:

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

Description:

The dialog_set_alert_checkbox_enabled() function sets whether the check box is enabled for the specified alert dialog.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.