KeyguardManager.IsDeviceLocked Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.