Screen Lock Usage

One of the key methods of protecting a device is the use of a system screen lock which prevents unauthorized use of the device.

In-App Protection SDK for Android is able to detect whether a system screen lock (PIN or pattern) is enabled. (This feature, however, does not determine whether the device is currently locked.)

Triggering a Manual Check

Screen lock verification can be triggered manually in RaspManager by calling the isDeviceUsingScreenLock() method. A simple boolean answer is given.

val isDeviceUsingScreenLock: Boolean = raspManager.isDeviceUsingScreenLock()

More information on general RASP feature configuration and usage can be found in this overview.

Last updated on Aug 07, 2026 (10:25) View product

develop

In-App Protection SDK for Android