Notification.BubbleMetadata.IsNotificationSuppressed Property

Definition

Indicates whether the notification associated with the bubble is being visually suppressed from the notification shade.

public bool IsNotificationSuppressed { [Android.Runtime.Register("isNotificationSuppressed", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isNotificationSuppressed", "()Z", "", ApiSince=29)>]
member this.IsNotificationSuppressed : bool

Property Value

whether this bubble should suppress the notification when it is posted

Attributes

Remarks

Indicates whether the notification associated with the bubble is being visually suppressed from the notification shade. When true the notification is hidden, when false the notification shows as normal. Apps sending bubbles may set this flag so that the bubble is posted without the associated notification in the notification shade.

Generally the app should only set this flag if the user has performed an action to request or create a bubble, or if the user has seen the content in the notification and the notification is no longer relevant.

The system will update this flag with true to hide the notification from the user once the bubble has been expanded.

See also:

Android reference for android.app.Notification.BubbleMetadata.isNotificationSuppressed.

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