Udostępnij za pośrednictwem


DevicePolicyManager.ExtraProvisioningDeviceAdminMinimumVersionCode Field

Definition

An int extra holding a minimum required version code for the device admin package.

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

Field Value

Attributes

Remarks

An int extra holding a minimum required version code for the device admin package. If the device admin is already installed on the device, it will only be re-downloaded from #EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION if the version of the installed package is less than this version code.

Use in an NFC record with #MIME_TYPE_PROVISIONING_NFC that starts device owner provisioning via an NFC bump. It can also be used for QR code provisioning.

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

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