navigator_set_keyboard_tracking()

Turns keyboard tracking on or off.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_set_keyboard_tracking(bool track)

Since:

BlackBerry 10.0.0

Arguments:

track

Whether to turn tracking on or off.

Library:

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

Description:

The navigator_set_keyboard_tracking() function turns keyboard tracking on or off. When keyboard tracking is on, the application will receive additional NAVIGATOR_KEYBOARD_POSITION events as the keyboard is sliding. These additional events are only sent if the application is currently full-screen.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.