Request an alert notification.
#include <bps/notification.h>
BPS_API int notification_alert(notification_message_t *message)
BlackBerry 10.0.0
The data members of the notification.
The notification_alert() function requests an alert notification message.
The presence or absence of some data members controls the presentation of the notification message. All alerts generate a vibration, LED, and sound filtered by the current device and application-specific settings.
Use this function to provide dialog display options that aren't filtered by user settings. To display a dialog with feedback, supply prompt choices with the notification_message_add_prompt_choice() function.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.