Get the choice response index of the item selected by the user.
BPS_API int notification_event_get_choice(bps_event_t *event)
The event to get the choice response index value from.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
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.
Last modified: 2014-05-14