NotificationManager.AreBubblesAllowed メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このアプリによって投稿されたすべての通知が通知網掛けの外側に表示され、他のアプリのコンテンツに浮かんでいるかどうかを取得します。
[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 ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。