共用方式為


DevicePolicyManager.ActionCheckPolicyCompliance Field

Definition

Activity action: launch the DPC to check policy compliance.

[Android.Runtime.Register("ACTION_CHECK_POLICY_COMPLIANCE", ApiSince=30)]
public const string ActionCheckPolicyCompliance;
[<Android.Runtime.Register("ACTION_CHECK_POLICY_COMPLIANCE", ApiSince=30)>]
val mutable ActionCheckPolicyCompliance : string

Field Value

Attributes

Remarks

Activity action: launch the DPC to check policy compliance. This intent is launched when the user taps on the notification about personal apps suspension. When handling this intent the DPC must check if personal apps should still be suspended and either unsuspend them or instruct the user on how to resolve the noncompliance causing the suspension.

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

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