Udostępnij za pośrednictwem


Notification.BubbleMetadata.IsBubbleSuppressable Property

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.

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

Property Value

whether this bubble should be suppressed when the same content is visible outside of the bubble.

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.

Java documentation for android.app.Notification.BubbleMetadata.isBubbleSuppressable().

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