NotificationManager.ActionNotificationChannelBlockStateChanged Field

Definition

Intent that is broadcast when a NotificationChannel is blocked (when NotificationChannel.getImportance() is IMPORTANCE_NONE) or unblocked (when NotificationChannel.getImportance() is anything other than IMPORTANCE_NONE).

[Android.Runtime.Register("ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED", ApiSince=28)]
public const string ActionNotificationChannelBlockStateChanged;
[<Android.Runtime.Register("ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED", ApiSince=28)>]
val mutable ActionNotificationChannelBlockStateChanged : string

Field Value

Attributes

Remarks

Intent that is broadcast when a NotificationChannel is blocked (when NotificationChannel.getImportance() is IMPORTANCE_NONE) or unblocked (when NotificationChannel.getImportance() is anything other than IMPORTANCE_NONE). This broadcast is only sent to the app that owns the channel that has changed. Input: nothing Output: EXTRA_NOTIFICATION_CHANNEL_ID Output: EXTRA_BLOCKED_STATE

Android reference for android.app.NotificationManager.ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_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