DevicePolicyManager.LockTaskFeatureGlobalActions 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.
在 LockTask 模式下启用全局操作对话框。
[Android.Runtime.Register("LOCK_TASK_FEATURE_GLOBAL_ACTIONS", 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 LockTaskFeatureGlobalActions = 16;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_GLOBAL_ACTIONS", 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 LockTaskFeatureGlobalActions : Android.App.Admin.LockTaskFeatures
字段值
Value = 16- 特性
注解
在 LockTask 模式下启用全局操作对话框。 例如,当用户长按电源按钮时,将显示此对话框。 请注意,如果未设置此标志,则用户可能无法关闭设备。
此标志默认处于启用状态,直到 #setLockTaskFeatures(ComponentName, int) 首次调用为止。
Java文档android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_GLOBAL_ACTIONS。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。