Udostępnij za pośrednictwem


DevicePolicyManager.WipeResetProtectionData Field

Definition

Caution

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

Flag for #wipeData(int): also erase the factory reset protection data.

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

Field Value

Value = 2
Attributes

Remarks

Flag for #wipeData(int): also erase the factory reset protection data.

This flag may only be set by device owner admins; if it is set by other admins a SecurityException will be thrown.

Java documentation for android.app.admin.DevicePolicyManager.WIPE_RESET_PROTECTION_DATA.

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