NotificationManager.NotificationChannels プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
呼び出し元パッケージに属するすべての通知チャネルを返します。
public virtual System.Collections.Generic.IList<Android.App.NotificationChannel>? NotificationChannels { [Android.Runtime.Register("getNotificationChannels", "()Ljava/util/List;", "GetGetNotificationChannelsHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getNotificationChannels", "()Ljava/util/List;", "GetGetNotificationChannelsHandler", ApiSince=26)>]
member this.NotificationChannels : System.Collections.Generic.IList<Android.App.NotificationChannel>
プロパティ値
- 属性
注釈
呼び出し元パッケージに属するすべての通知チャネルを返します。 承認された通知デリゲート (canNotifyAsPackage(String) を参照) は、代理人であるパッケージに属する通知チャネルに対してクエリを実行できます。 これを行うには、そのパッケージ用に作成されたコンテキストからこのメソッドを呼び出します (Context.createPackageContext(String,int) を参照してください)。
android.app.NotificationManager.getNotificationChannelsの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。