Android.App.Admin.DevicePolicyManager.ActionStartEncryption Field
Activity action: begin the process of encrypting data on the device.

Syntax

[Android.Runtime.Register("ACTION_START_ENCRYPTION")]
public const string ActionStartEncryption

Remarks

Activity action: begin the process of encrypting data on the device. This activity should be launched after using DevicePolicyManager.SetStorageEncryption(Android.Content.ComponentName, System.Boolean) to request encryption be activated. After resuming from this activity, use DevicePolicyManager.GetStorageEncryption(Android.Content.ComponentName) to check encryption status. However, on some devices this activity may never return, as it may trigger a reboot and in some cases a complete data wipe of the device.

[Android Documentation]

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11