DevicePolicyManager.IsComplianceAcknowledgementRequired Property
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.
Called by a profile owner of an organization-owned managed profile to query whether it needs to acknowledge device compliance to allow the user to turn the profile off if needed according to the maximum profile time off policy.
public virtual bool IsComplianceAcknowledgementRequired { [Android.Runtime.Register("isComplianceAcknowledgementRequired", "()Z", "GetIsComplianceAcknowledgementRequiredHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isComplianceAcknowledgementRequired", "()Z", "GetIsComplianceAcknowledgementRequiredHandler", ApiSince=31)>]
member this.IsComplianceAcknowledgementRequired : bool
Property Value
- Attributes
Remarks
Called by a profile owner of an organization-owned managed profile to query whether it needs to acknowledge device compliance to allow the user to turn the profile off if needed according to the maximum profile time off policy.
Normally when acknowledgement is needed the DPC gets a DeviceAdminReceiver#onComplianceAcknowledgementRequired(Context, Intent)
callback. But if the callback was not delivered or handled for some reason, this method can be used to verify if acknowledgement is needed.
Java documentation for android.app.admin.DevicePolicyManager.isComplianceAcknowledgementRequired()
.
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.