PolicyUpdateReceiver.ActionDevicePolicyChanged 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.
Action for a broadcast sent to admins to communicate back a change in a policy they have previously set.
[Android.Runtime.Register("ACTION_DEVICE_POLICY_CHANGED", ApiSince=34)]
public const string ActionDevicePolicyChanged;
[<Android.Runtime.Register("ACTION_DEVICE_POLICY_CHANGED", ApiSince=34)>]
val mutable ActionDevicePolicyChanged : string
Field Value
- Attributes
Remarks
Action for a broadcast sent to admins to communicate back a change in a policy they have previously set.
Admins wishing to receive these updates should include this action in the intent filter for their receiver in the manifest, the receiver must be protected by android.Manifest.permission#BIND_DEVICE_ADMIN
to ensure that only the system can send updates.
Admins shouldn't implement #onReceive
and should instead implement #onPolicyChanged
.
Java documentation for android.app.admin.PolicyUpdateReceiver.ACTION_DEVICE_POLICY_CHANGED
.
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.