Notification.BubbleMetadata.Builder.SetSuppressNotification(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the bubble will be posted without the associated notification in the notification shade.
[Android.Runtime.Register("setSuppressNotification", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)]
public Android.App.Notification.BubbleMetadata.Builder SetSuppressNotification(bool shouldSuppressNotif);
[<Android.Runtime.Register("setSuppressNotification", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)>]
member this.SetSuppressNotification : bool -> Android.App.Notification.BubbleMetadata.Builder
Parameters
- shouldSuppressNotif
- Boolean
boolean
Returns
This Android.App.Notification.BubbleMetadata.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets whether the bubble will be posted without the associated notification in the notification shade. Generally, this flag should only be set 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.
Setting this flag is optional; it defaults to false.
Android reference for android.app.Notification.BubbleMetadata.Builder.setSuppressNotification.
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.