navigator_device_lock_state_t

Device lock states.

Synopsis:

#include <bps/navigator.h>
 
typedef enum {
      NAVIGATOR_DEVICE_LOCK_STATE_UNLOCKED = 0   
      NAVIGATOR_DEVICE_LOCK_STATE_SCREEN_LOCKED = 1   
      NAVIGATOR_DEVICE_LOCK_STATE_PASSWORD_LOCKED = 2   
} navigator_device_lock_state_t;

Since:

BlackBerry 10.0.0

Data:

NAVIGATOR_DEVICE_LOCK_STATE_UNLOCKED
The device is unlocked.
NAVIGATOR_DEVICE_LOCK_STATE_SCREEN_LOCKED
The device is locked.
NAVIGATOR_DEVICE_LOCK_STATE_PASSWORD_LOCKED
The device is locked, and a password is required to unlock.

Library:

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

Description:

This enumeration defines the different lock states that a device can be in.