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.

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-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus