Notification.BubbleMetadata.Builder.SetSuppressNotification(Boolean) メソッド

定義

通知の網掛けに関連付けられた通知なしでバブルをポストするかどうかを設定します。

[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

パラメーター

shouldSuppressNotif
Boolean

boolean

返品

この Android.App.Notification.BubbleMetadata.Builder インスタンスでは、呼び出しをチェーンできます。

属性

注釈

通知の網掛けに関連付けられた通知なしでバブルをポストするかどうかを設定します。 通常、このフラグは、ユーザーがバブルを要求または作成するアクションを実行した場合、またはユーザーが通知内のコンテンツを見て通知が関連しなくなった場合にのみ設定する必要があります。

このフラグの設定は省略可能です。既定値は false です。

android.app.Notification.BubbleMetadata.Builder.setSuppressNotificationの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象