Langue

NotificationManager.GetNotificationChannelGroup(String) Méthode

Définition

Retourne les paramètres du groupe de canaux de notification pour un ID de groupe de canaux donné.

[Android.Runtime.Register("getNotificationChannelGroup", "(Ljava/lang/String;)Landroid/app/NotificationChannelGroup;", "GetGetNotificationChannelGroup_Ljava_lang_String_Handler", ApiSince=28)]
public virtual Android.App.NotificationChannelGroup? GetNotificationChannelGroup(string? channelGroupId);
[<Android.Runtime.Register("getNotificationChannelGroup", "(Ljava/lang/String;)Landroid/app/NotificationChannelGroup;", "GetGetNotificationChannelGroup_Ljava_lang_String_Handler", ApiSince=28)>]
abstract member GetNotificationChannelGroup : string -> Android.App.NotificationChannelGroup
override this.GetNotificationChannelGroup : string -> Android.App.NotificationChannelGroup

Paramètres

channelGroupId
String

String

Retours

Attributs

Remarques

Retourne les paramètres du groupe de canaux de notification pour un ID de groupe de canaux donné. Le groupe de canaux doit appartenir à votre package, ou null est retourné.

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

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 à