Get the choice response index of the item selected by the user.
#include <bps/notification.h>
BPS_API int notification_event_get_choice(bps_event_t *event)
BlackBerry 10.0.0
The event to get the choice response index value from.
The notification_event_get_choice() function retrieves the button index value of a user selection. Buttons are indexed incrementally, the first button being indexed as 1. This value is valid only if event is a NOTIFICATION_CHOICE event. In other cases 0 is returned.
The index of the selected button, or a value of 0 if there's none.