语言

DevicePolicyManager.KeyguardDisableWidgetsAll 字段

定义

注意

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

禁用所有 Keyguard 小组件。

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

字段值

Value = 1
特性

注解

禁用所有 Keyguard 小组件。 在 Android 版本低于 5.0 和android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE高于 14 的版本上仅支持 keyguard 小组件(包括这两者)之间android.os.Build.VERSION_CODES#LOLLIPOP不起作用( 含)。

Java文档android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于