DeviceLockState

Since: BlackBerry 10.0.0

#include <bb/platform/DeviceLockState>

To link against this class, add the following line to your .pro file: LIBS += -lbbplatform

The set of possible lock states of the device.


Overview

Public Types Index

enum Type

Unknown = 0, Unlocked = 1, ScreenLocked = 2, PasswordLocked = 3, PinBlocked = 4

Public Types

Type

The set of possible lock states of the device.

Since:

BlackBerry 10.0.0

Unknown = 0

The current lock state is not known.

This state can occur when a HomeScreen object is first created and we have not yet received any updates on the current lock state of the device. It can also occur if there is an error while processing the events needed to establish the lock state.

Since:

BlackBerry 10.0.0

Unlocked = 1

The device is not locked at this time.

Since:

BlackBerry 10.0.0

ScreenLocked = 2

The device is screen locked but not password locked.

The device can be unlocked with a swipe gesture without the need to enter the device password.

Since:

BlackBerry 10.0.0

PasswordLocked = 3

The device is password locked.

A swipe gesture will raise a password prompt that must be completed before the device is unlocked.

Since:

BlackBerry 10.0.0

PinBlocked = 4

The device is PIN-blocked.

The device has been disabled by the provider.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus