Notification.BubbleMetadata.Builder.SetSuppressableBubble(Boolean) Method

Definition

Indicates whether the bubble should be visually suppressed from the bubble stack if the user is viewing the same content outside of the bubble.

[Android.Runtime.Register("setSuppressableBubble", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=31)]
public Android.App.Notification.BubbleMetadata.Builder SetSuppressableBubble(bool suppressBubble);
[<Android.Runtime.Register("setSuppressableBubble", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=31)>]
member this.SetSuppressableBubble : bool -> Android.App.Notification.BubbleMetadata.Builder

Parameters

suppressBubble
Boolean

boolean

Returns

This Android.App.Notification.BubbleMetadata.Builder instance, allowing calls to be chained.

Attributes

Remarks

Indicates whether the bubble should be visually suppressed from the bubble stack if the user is viewing the same content outside of the bubble. For example, the user has a bubble with Alice and then opens up the main app and navigates to Alice's page. To match the activity and the bubble notification, the bubble notification should have a locus id set that matches a locus id set on the activity.

See also:

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

Android reference for android.app.Notification.BubbleMetadata.Builder.setSuppressableBubble.

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