navigator_event_get_keyboard_state()

Get the keyboard state from a navigator event.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_event_get_keyboard_state(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The NAVIGATOR_KEYBOARD_STATE event.

Library:

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

Description:

The navigator_event_get_keyboard_state() function extracts the keyboard state from a NAVIGATOR_KEYBOARD_STATE event. The result is one of the values of the navigator_keyboard_state_t enum.

Returns:

The state of the keyboard or BPS_FAILURE if there was an error.