Compartilhar via


DevicePolicyManager.ExtraProvisioningSkipEncryption Field

Definition

A boolean extra indicating whether device encryption can be skipped as part of device owner or managed profile provisioning.

[Android.Runtime.Register("EXTRA_PROVISIONING_SKIP_ENCRYPTION", ApiSince=23)]
public const string ExtraProvisioningSkipEncryption;
[<Android.Runtime.Register("EXTRA_PROVISIONING_SKIP_ENCRYPTION", ApiSince=23)>]
val mutable ExtraProvisioningSkipEncryption : string

Field Value

Attributes

Remarks

A boolean extra indicating whether device encryption can be skipped as part of device owner or managed profile provisioning.

Use in an NFC record with #MIME_TYPE_PROVISIONING_NFC or an intent with action #ACTION_PROVISION_MANAGED_DEVICE that starts device owner provisioning.

From android.os.Build.VERSION_CODES#N onwards, this is also supported for an intent with action #ACTION_PROVISION_MANAGED_PROFILE.

This extra can also be returned by the admin app when performing the admin-integrated provisioning flow as a result of the #ACTION_GET_PROVISIONING_MODE activity.

Java documentation for android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_SKIP_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