NotificationManager.CreateNotificationChannels メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
異なる通知を投稿できる複数の通知チャネルを作成します。
[Android.Runtime.Register("createNotificationChannels", "(Ljava/util/List;)V", "GetCreateNotificationChannels_Ljava_util_List_Handler", ApiSince=26)]
public virtual void CreateNotificationChannels(System.Collections.Generic.IList<Android.App.NotificationChannel> channels);
[<Android.Runtime.Register("createNotificationChannels", "(Ljava/util/List;)V", "GetCreateNotificationChannels_Ljava_util_List_Handler", ApiSince=26)>]
abstract member CreateNotificationChannels : System.Collections.Generic.IList<Android.App.NotificationChannel> -> unit
override this.CreateNotificationChannels : System.Collections.Generic.IList<Android.App.NotificationChannel> -> unit
パラメーター
- channels
- IList<NotificationChannel>
リスト: 作成を試みるチャネルの一覧。 この値は null にすることはできません。
- 属性
注釈
異なる通知を投稿できる複数の通知チャネルを作成します。 createNotificationChannel(NotificationChannel) を参照してください。
android.app.NotificationManager.createNotificationChannelsの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。