DevicePolicyManager.ExtraProvisioningSensorsPermissionGrantOptOut Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A boolean extra indicating the admin of a fully-managed device opts out of controlling
permission grants for sensor-related permissions,
see #setPermissionGrantState(ComponentName, String, String, int)
.
[Android.Runtime.Register("EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT", ApiSince=31)]
public const string ExtraProvisioningSensorsPermissionGrantOptOut;
[<Android.Runtime.Register("EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT", ApiSince=31)>]
val mutable ExtraProvisioningSensorsPermissionGrantOptOut : string
Field Value
- Attributes
Remarks
A boolean extra indicating the admin of a fully-managed device opts out of controlling permission grants for sensor-related permissions, see #setPermissionGrantState(ComponentName, String, String, int)
.
The default for this extra is false
- by default, the admin of a fully-managed device has the ability to grant sensors-related permissions.
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.
This extra may also be provided to the admin app via an intent extra for #ACTION_GET_PROVISIONING_MODE
.
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.