PolicyUpdateResult.ResultPolicyCleared Field

Definition

Caution

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

Result code to indicate that the policy set by the admin has been successfully cleared, admins will no longer receive policy updates for this policy after this point.

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

Field Value

Value = 2
Attributes

Remarks

Result code to indicate that the policy set by the admin has been successfully cleared, admins will no longer receive policy updates for this policy after this point.

Note that the policy can still be enforced by some other admin.

Java documentation for android.app.admin.PolicyUpdateResult.RESULT_POLICY_CLEARED.

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