Udostępnij za pośrednictwem


PolicyUpdateResult.ResultFailureConflictingAdminPolicy 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 has not been enforced or has changed because another admin has set a conflicting policy on the device.

[Android.Runtime.Register("RESULT_FAILURE_CONFLICTING_ADMIN_POLICY", 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 ResultFailureConflictingAdminPolicy = 1;
[<Android.Runtime.Register("RESULT_FAILURE_CONFLICTING_ADMIN_POLICY", 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 ResultFailureConflictingAdminPolicy : Android.App.Admin.PolicyUpdateResultCode

Field Value

Value = 1
Attributes

Remarks

Result code to indicate that the policy has not been enforced or has changed because another admin has set a conflicting policy on the device.

The system will automatically try to enforce the policy when it can without additional calls from the admin.

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

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