Share via


KeyguardManager.IsDeviceLocked Property

Definition

Returns whether the device is currently locked and requires a PIN, pattern or password to unlock.

public virtual bool IsDeviceLocked { [Android.Runtime.Register("isDeviceLocked", "()Z", "GetIsDeviceLockedHandler", ApiSince=22)] get; }
[<get: Android.Runtime.Register("isDeviceLocked", "()Z", "GetIsDeviceLockedHandler", ApiSince=22)>]
member this.IsDeviceLocked : bool

Property Value

true if unlocking the device currently requires a PIN, pattern or password.

Attributes

Remarks

Returns whether the device is currently locked and requires a PIN, pattern or password to unlock.

Java documentation for android.app.KeyguardManager.isDeviceLocked().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to