语言

DevicePolicyManager.PolicyScopeDevice 字段

定义

注意

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

用于 SetPolicy(PolicyIdentifier, DevicePolicyManagerScope, Object) 将策略应用到整个设备的标志。

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

字段值

Value = 2
特性

注解

用于 SetPolicy(PolicyIdentifier, DevicePolicyManagerScope, Object) 将策略应用到整个设备的标志。

Android 参考。android.app.admin.DevicePolicyManager.POLICY_SCOPE_DEVICE

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

适用于