NotificationManager.CreateNotificationChannels Método

Definición

Crea varios canales de notificación a los que se pueden publicar diferentes notificaciones.

[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

Parámetros

channels
IList<NotificationChannel>

Lista: la lista de canales que se van a intentar crear. Este valor no puede ser nulo.

Atributos

Comentarios

Crea varios canales de notificación a los que se pueden publicar diferentes notificaciones. Consulte createNotificationChannel(NotificationChannel).

Referencia de Android para android.app.NotificationManager.createNotificationChannels.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a