DevicePolicyManager.IsProvisioningAllowed(String) Method
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.
Returns whether it is possible for the caller to initiate provisioning of a managed profile or device, setting itself as the device or profile owner.
[Android.Runtime.Register("isProvisioningAllowed", "(Ljava/lang/String;)Z", "GetIsProvisioningAllowed_Ljava_lang_String_Handler", ApiSince=24)]
public virtual bool IsProvisioningAllowed (string action);
[<Android.Runtime.Register("isProvisioningAllowed", "(Ljava/lang/String;)Z", "GetIsProvisioningAllowed_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member IsProvisioningAllowed : string -> bool
override this.IsProvisioningAllowed : string -> bool
Parameters
- action
- String
One of #ACTION_PROVISION_MANAGED_DEVICE
,
#ACTION_PROVISION_MANAGED_PROFILE
.
Returns
whether provisioning a managed profile or device is possible.
- Attributes
Remarks
Returns whether it is possible for the caller to initiate provisioning of a managed profile or device, setting itself as the device or profile owner.
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.