DevicePolicyManager.ExtraProvisioningUseMobileData Field

Definition

A boolean extra indicating if mobile data should be used during the provisioning flow for downloading the admin app.

[Android.Runtime.Register("EXTRA_PROVISIONING_USE_MOBILE_DATA", ApiSince=33)]
public const string ExtraProvisioningUseMobileData;
[<Android.Runtime.Register("EXTRA_PROVISIONING_USE_MOBILE_DATA", ApiSince=33)>]
val mutable ExtraProvisioningUseMobileData : string

Field Value

Attributes

Remarks

A boolean extra indicating if mobile data should be used during the provisioning flow for downloading the admin app. If #EXTRA_PROVISIONING_WIFI_SSID is also specified, wifi network will be used instead.

Default value is false.

If this extra is set to true and #EXTRA_PROVISIONING_WIFI_SSID is not specified, this extra has different behaviour depending on the way provisioning is triggered: <ul> <li> For provisioning started via a QR code or an NFC tag, mobile data is always used for downloading the admin app. </li> <li> For all other provisioning methods, a mobile data connection check is made at the start of provisioning. If mobile data is connected at that point, the admin app download will happen using mobile data. If mobile data is not connected at that point, the end-user will be asked to pick a wifi network and the admin app download will proceed over wifi. </li> </ul>

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

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