navigator_event_get_keyboard_position()
Get the keyboard position from a navigator event.
Synopsis:
#include <bps/navigator.h>
BPS_API int navigator_event_get_keyboard_position(bps_event_t *event)
Arguments:
- event
-
The NAVIGATOR_KEYBOARD_POSITION event.
Library:
libbpsDescription:
The navigator_event_get_keyboard_position() function extracts the keyboard position from a NAVIGATOR_KEYBOARD_POSITION event. The keyboard position is the y offset in pixels of the top of the keyboard.
Returns:
The y offset in pixels of the top of the keyboard or BPS_FAILURE if there was an error.