Share via


DevicePolicyManager.ExtraProvisioningDeviceAdminPackageName Field

Definition

A String extra holding the package name of the application that will be set as Device Policy Controller.

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

Field Value

Attributes

Remarks

A String extra holding the package name of the application that will be set as Device Policy Controller.

When this extra is set, the application must have exactly one DeviceAdminReceiver device admin receiver. This receiver will be set as the Device Policy Controller.

This member is deprecated. Use #EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME.

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

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

See also