NotificationManager.GetNotificationChannelGroup(String) Method

Definition

Returns the notification channel group settings for a given channel group id.

[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

Parameters

channelGroupId
String

Returns

Attributes

Remarks

Returns the notification channel group settings for a given channel group id.

The channel group must belong to your package, or null will be returned.

Java documentation for android.app.NotificationManager.getNotificationChannelGroup(java.lang.String).

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