語言

NotificationManager.GetNotificationChannelGroup(String) 方法

定義

回傳該頻道群組 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

參數

channelGroupId
String

String

傳回

屬性

備註

回傳該頻道群組 ID 的通知頻道群組設定。該頻道群組必須屬於你的包裹,否則會被回傳空碼。

Android 參考資料。android.app.NotificationManager.getNotificationChannelGroup

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於