DevicePolicyManager.ExtraProvisioningDeviceAdminComponentName Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A ComponentName extra indicating the device admin receiver of the mobile device management application that will be set as the profile owner or device owner and active admin.
[Android.Runtime.Register("EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME", ApiSince=23)]
public const string ExtraProvisioningDeviceAdminComponentName;
[<Android.Runtime.Register("EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME", ApiSince=23)>]
val mutable ExtraProvisioningDeviceAdminComponentName : string
Field Value
- Attributes
Remarks
A ComponentName extra indicating the device admin receiver of the mobile device management application that will be set as the profile owner or device owner and active admin.
If an application starts provisioning directly via an intent with action #ACTION_PROVISION_MANAGED_PROFILE
or #ACTION_PROVISION_MANAGED_DEVICE
the package name of this component has to match the package name of the application that started provisioning.
This component is set as device owner and active admin when device owner provisioning is started by an intent with action #ACTION_PROVISION_MANAGED_DEVICE
or by an NFC message containing an NFC record with MIME type #MIME_TYPE_PROVISIONING_NFC
. For the NFC record, the component name must be flattened to a string, via ComponentName#flattenToShortString()
.
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.