语言

NotificationManager.CreateNotificationChannelGroups 方法

定义

创建多个通知通道组。

[Android.Runtime.Register("createNotificationChannelGroups", "(Ljava/util/List;)V", "GetCreateNotificationChannelGroups_Ljava_util_List_Handler", ApiSince=26)]
public virtual void CreateNotificationChannelGroups(System.Collections.Generic.IList<Android.App.NotificationChannelGroup> groups);
[<Android.Runtime.Register("createNotificationChannelGroups", "(Ljava/util/List;)V", "GetCreateNotificationChannelGroups_Ljava_util_List_Handler", ApiSince=26)>]
abstract member CreateNotificationChannelGroups : System.Collections.Generic.IList<Android.App.NotificationChannelGroup> -> unit
override this.CreateNotificationChannelGroups : System.Collections.Generic.IList<Android.App.NotificationChannelGroup> -> unit

参数

groups
IList<NotificationChannelGroup>

列表:要创建的组列表。 此值不能为 null。

特性

注解

创建多个通知通道组。

Android 参考。android.app.NotificationManager.createNotificationChannelGroups

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于