Share via


NotificationManager.CreateNotificationChannels Method

Definition

Creates multiple notification channels that different notifications can be posted to.

[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

Parameters

channels
IList<NotificationChannel>

the list of channels to attempt to create.

Attributes

Remarks

Creates multiple notification channels that different notifications can be posted to. See #createNotificationChannel(NotificationChannel).

Java documentation for android.app.NotificationManager.createNotificationChannels(java.util.List<android.app.NotificationChannel>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to