- flags
- Bit mask of additional options: currently 0 and DevicePolicyManager.WipeExternalStorage are supported.
Ask the user data be wiped. This will cause the device to reboot, erasing all user data while next booting up. External storage such as SD cards will be also erased if the flag DevicePolicyManager.WipeExternalStorage is set.
The calling device admin must have requested DeviceAdminInfo.UsesPolicyWipeData to be able to call this method; if it has not, a security exception will be thrown.