Freigeben über


DevicePolicyManager.ActionStartEncryption Field

Definition

Activity action: begin the process of encrypting data on the device.

[Android.Runtime.Register("ACTION_START_ENCRYPTION")]
public const string ActionStartEncryption;
[<Android.Runtime.Register("ACTION_START_ENCRYPTION")>]
val mutable ActionStartEncryption : string

Field Value

Attributes

Remarks

Activity action: begin the process of encrypting data on the device. This activity should be launched after using #setStorageEncryption to request encryption be activated. After resuming from this activity, use #getStorageEncryption 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.

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

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