Udostępnij za pośrednictwem


NotificationManager.ActionNotificationPolicyChanged Field

Definition

Intent that is broadcast when the state of getNotificationPolicy() changes.

[Android.Runtime.Register("ACTION_NOTIFICATION_POLICY_CHANGED", ApiSince=23)]
public const string ActionNotificationPolicyChanged;
[<Android.Runtime.Register("ACTION_NOTIFICATION_POLICY_CHANGED", ApiSince=23)>]
val mutable ActionNotificationPolicyChanged : string

Field Value

Attributes

Remarks

Intent that is broadcast when the state of getNotificationPolicy() changes.

This broadcast is only sent to registered receivers and (starting from Build.VERSION_CODES#Q) receivers in packages that have been granted Do Not Disturb access (see #isNotificationPolicyAccessGranted()).

Java documentation for android.app.NotificationManager.ACTION_NOTIFICATION_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.

Applies to