NotificationManager.GetNotificationChannelGroup(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
String
Returns
The matching channel group and its channel information, or null if it is not found for the calling package.
- 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.
Android reference for android.app.NotificationManager.getNotificationChannelGroup.
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.