Udostępnij za pośrednictwem


DeviceAdminReceiver.ActionProfileProvisioningComplete Field

Definition

Broadcast Action: This broadcast is sent to indicate that provisioning of a managed profile or managed device has completed successfully.

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

Field Value

Attributes

Remarks

Broadcast Action: This broadcast is sent to indicate that provisioning of a managed profile or managed device has completed successfully.

The broadcast is limited to the profile that will be managed by the application that requested provisioning. In the device owner case the profile is the primary user. The broadcast will also be limited to the DeviceAdminReceiver component specified in the original intent or NFC bump that started the provisioning process (see DevicePolicyManager#ACTION_PROVISION_MANAGED_PROFILE DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE).

A device admin application which listens to this intent can find out if the device was provisioned for the device owner or profile owner case by calling respectively android.app.admin.DevicePolicyManager#isDeviceOwnerApp and android.app.admin.DevicePolicyManager#isProfileOwnerApp. You will generally handle this in DeviceAdminReceiver#onProfileProvisioningComplete.

Java documentation for android.app.admin.DeviceAdminReceiver.ACTION_PROFILE_PROVISIONING_COMPLETE.

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