Share via


DevicePolicyManager.LockTaskFeatureKeyguard Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.

Enable the keyguard during LockTask mode.

[Android.Runtime.Register("LOCK_TASK_FEATURE_KEYGUARD", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)]
public const Android.App.Admin.LockTaskFeatures LockTaskFeatureKeyguard = 32;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_KEYGUARD", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)>]
val mutable LockTaskFeatureKeyguard : Android.App.Admin.LockTaskFeatures

Field Value

Value = 32
Attributes

Remarks

Enable the keyguard during LockTask mode. Note that if the keyguard is already disabled with #setKeyguardDisabled(ComponentName, boolean), setting this flag will have no effect. If this flag is not set, the keyguard will not be shown even if the user has a lock screen credential.

Java documentation for android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_KEYGUARD.

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