NotificationManager.CreateNotificationChannels メソッド

定義

異なる通知を投稿できる複数の通知チャネルを作成します。

[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 リファレンス。

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

適用対象