NotificationManager.AreBubblesAllowed メソッド

定義

このアプリによって投稿されたすべての通知が通知網掛けの外側に表示され、他のアプリのコンテンツに浮かんでいるかどうかを取得します。

[Android.Runtime.Register("areBubblesAllowed", "()Z", "GetAreBubblesAllowedHandler", ApiSince=29)]
public virtual bool AreBubblesAllowed ();
[<Android.Runtime.Register("areBubblesAllowed", "()Z", "GetAreBubblesAllowedHandler", ApiSince=29)>]
abstract member AreBubblesAllowed : unit -> bool
override this.AreBubblesAllowed : unit -> bool

戻り値

属性

注釈

このアプリによって投稿されたすべての通知が通知網掛けの外側に表示され、他のアプリのコンテンツに浮かんでいるかどうかを取得します。

バブル (NotificationChannel#canBubble()) を許可しないチャネルに投稿される通知では、この値は無視されます。

このメンバーは非推奨とされます。 代わりに を使用 #getBubblePreference() してください。

android.app.NotificationManager.areBubblesAllowed()Java ドキュメント。

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

適用対象