Language

DevicePolicyManager.PolicyScopeUser 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 same user as the current user.

[Android.Runtime.Register("POLICY_SCOPE_USER", 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 PolicyScopeUser = 1;
[<Android.Runtime.Register("POLICY_SCOPE_USER", 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 PolicyScopeUser : Android.App.Admin.DevicePolicyManagerScope

Field Value

Value = 1
Attributes

Remarks

Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the same user as the current user.

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

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