Language

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

定義

バブルが展開された状態でポストされるかどうかを設定します。

[Android.Runtime.Register("setAutoExpandBubble", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)]
public Android.App.Notification.BubbleMetadata.Builder SetAutoExpandBubble(bool shouldExpand);
[<Android.Runtime.Register("setAutoExpandBubble", "(Z)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)>]
member this.SetAutoExpandBubble : bool -> Android.App.Notification.BubbleMetadata.Builder

パラメーター

shouldExpand
Boolean

boolean

返品

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

属性

注釈

バブルが展開された状態でポストされるかどうかを設定します。 バブルを投稿するアプリがフォアグラウンドにない場合、このフラグは無効です。 アプリは、表示されている場合はフォアグラウンドと見なされ、画面に表示されます。フォアグラウンド サービスは修飾されないことに注意してください。

通常、このフラグは、ユーザーがバブルを要求または作成するアクションを実行した場合にのみ設定する必要があります。

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

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

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

適用対象