Language

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

返品

属性

注釈

このメソッドは、API レベル 31 では非推奨になりました。 代わりに getBubblePreference() を使用してください。

このアプリによって投稿されたすべての通知が通知網掛けの外側に表示され、他のアプリのコンテンツに浮動できるかどうかを取得します。 バブルを許可しないチャネル (NotificationChannel.canBubble()) に投稿される通知では、この値は無視されます。

関連項目も参照:

android.app.NotificationManager.areBubblesAllowedの Android リファレンス。

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

適用対象