Udostępnij za pośrednictwem


Settings.Secure.LockPatternEnabled Field

Definition

Whether autolock is enabled (0 = false, 1 = true)

[Android.Runtime.Register("LOCK_PATTERN_ENABLED")]
public const string LockPatternEnabled;
[<Android.Runtime.Register("LOCK_PATTERN_ENABLED")>]
val mutable LockPatternEnabled : string

Field Value

Attributes

Remarks

Whether autolock is enabled (0 = false, 1 = true)

This member is deprecated. Use android.app.KeyguardManager to determine the state and security level of the keyguard. Accessing this setting from an app that is targeting VERSION_CODES#M or later throws a SecurityException.

Java documentation for android.provider.Settings.Secure.LOCK_PATTERN_ENABLED.

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