Udostępnij za pośrednictwem


DevicePolicyManager.ExtraProvisioningKeepAccountOnMigration Field

Definition

Boolean extra to indicate that the migrated account should be kept.

[Android.Runtime.Register("EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION", ApiSince=26)]
public const string ExtraProvisioningKeepAccountOnMigration;
[<Android.Runtime.Register("EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION", ApiSince=26)>]
val mutable ExtraProvisioningKeepAccountOnMigration : string

Field Value

Attributes

Remarks

Boolean extra to indicate that the migrated account should be kept. This is used in conjunction with #EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE. If it's set to true, the account will not be removed from the primary user after it is migrated to the newly created user or profile.

Defaults to false

Use with #ACTION_PROVISION_MANAGED_PROFILE or set as an extra to the intent result of the #ACTION_GET_PROVISIONING_MODE activity.

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

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