DevicePolicyManager.LockTaskFeatureKeyguard 字段

定义

注意

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

在 LockTask 模式下启用 Keyguard。

[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

字段值

Value = 32
属性

注解

在 LockTask 模式下启用 Keyguard。 请注意,如果已禁用 keyguard, #setKeyguardDisabled(ComponentName, boolean)则设置此标志将不起作用。 如果未设置此标志,即使用户具有锁屏凭据,也不会显示密钥保护程序。

适用于 . 的 android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_KEYGUARDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于