Langue

NotificationManager.CreateNotificationChannels Méthode

Définition

Crée plusieurs canaux de notification auxquels différentes notifications peuvent être publiées.

[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

Paramètres

channels
IList<NotificationChannel>

Liste : liste des canaux à créer. Cette valeur ne peut pas être null.

Attributs

Remarques

Crée plusieurs canaux de notification auxquels différentes notifications peuvent être publiées. Voir createNotificationChannel(NotificationChannel).

Référence Android pour android.app.NotificationManager.createNotificationChannels.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à