dialog_event_get_selected_context()

Get the context that is associated with the selected button from a DIALOG_RESPONSE event.

Synopsis:

#include <bps/dialog.h>
 
BPS_API const char* dialog_event_get_selected_context(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The DIALOG_RESPONSE event to get the selected button context from.

Library:

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

Description:

The dialog_event_get_selected_context() function gets the context that is associated with the selected button.

Returns:

The context of the selected button.