WipeDataFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by the WipeExternalStorage, None, and WipeExternalStorage members and taken as a parameter of the F:Android.App.Admin.DevicePolicyManager.WipeData member.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum WipeDataFlags
[<System.Flags>]
type WipeDataFlags =
- Inheritance
-
WipeDataFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No flags are set. This managed value is 0 and has no matching Android constant. |
| WipeExternalStorage | 1 | Flag for WipeData(WipeDataFlags): also erase the device's external storage. |
| WipeResetProtectionData | 2 | This flag requests erasure of factory reset protection data. It can be supplied to WipeData(WipeDataFlags) or WipeDevice(WipeDataFlags). On Android 7 through Android 11, this data can be erased even when only a user or profile is removed. On Android 12 through Android 17, the flag requests erasure of the data only when the device is erased. Authorization depends on the Android version. On Android 11 through Android 13, device owners and profile owners of organization-owned devices can use this flag. On Android 14 through Android 17, permission-based authorization can also apply. Android reference for 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. |
| WipeEuicc | 4 | When a device is erased, this flag also erases its eUICC data. It can be supplied to WipeDevice(WipeDataFlags) or WipeData(WipeDataFlags). It has no effect when only a user or profile is removed. Android reference for 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. |
Remarks
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.