Freigeben über


DevicePolicyManager.ExtraProvisioningKeepScreenOn Field

Definition

A boolean flag that indicates whether the screen should be on throughout the provisioning flow.

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

Field Value

Attributes

Remarks

A boolean flag that indicates whether the screen should be on throughout the provisioning flow.

This extra can either be passed as an extra to the #ACTION_PROVISION_MANAGED_PROFILE intent, or it can be returned by the admin app when performing the admin-integrated provisioning flow as a result of the #ACTION_GET_PROVISIONING_MODE activity.

This member is deprecated. from android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE, the flag wouldn't be functional. The screen is kept on throughout the provisioning flow.

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

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