Retrieve the button from the event.
#include <bps/button.h>
BPS_API int button_event_get_button(bps_event_t *event)
BlackBerry 10.0.0
The event to extract the button from.
The button_event_get_button() function extracts which button has had a state change from the specified event.
One of the values enumerated in button_physical_t or BPS_FAILURE with errno set.