navigator_event_get_device_lock_state()

Get the device lock state from a NAVIGATOR_DEVICE_LOCK_STATE event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

A NAVIGATOR_DEVICE_LOCK_STATE event

Library:

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

Description:

Returns:

On success, one of navigator_device_lock_state_t, otherwise BPS_FAILURE with errno set.