Freigeben über


DevicePolicyManager.ExtraProvisioningLocale Field

Definition

A String extra holding the java.util.Locale that the device will be set to.

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

Field Value

Attributes

Remarks

A String extra holding the java.util.Locale that the device will be set to. Format: xx_yy, where xx is the language code, and yy the country code.

Use only for device owner provisioning. This extra can be returned by the admin app when performing the admin-integrated provisioning flow as a result of the #ACTION_GET_PROVISIONING_MODE activity.

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_LOCALE.

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