共用方式為


NotificationManager.CreateNotificationChannelGroups Method

Definition

Creates multiple notification channel groups.

[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

Parameters

groups
IList<NotificationChannelGroup>

The list of groups to create

Attributes

Remarks

Creates multiple notification channel groups.

Java documentation for android.app.NotificationManager.createNotificationChannelGroups(java.util.List<android.app.NotificationChannelGroup>).

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