Language

DevicePolicyManager.PolicyScopeDevice Field

Definition

Caution

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

Flag used by #setPolicy to apply the policy to the entire device.

[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

Field Value

Value = 2
Attributes

Remarks

Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the entire device.

Android reference for android.app.admin.DevicePolicyManager.POLICY_SCOPE_DEVICE.

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