NotificationManager.ExtraBlockedState Field

Definition

Extra for #ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED or #ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED containing the new blocked state as a boolean.

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

Field Value

Attributes

Remarks

Extra for #ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED or #ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED containing the new blocked state as a boolean.

The value will be true if this channel or group is now blocked and false if this channel or group is now unblocked.

Java documentation for android.app.NotificationManager.EXTRA_BLOCKED_STATE.

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