NotificationManager.GetNotificationChannelGroup(String) 方法

定義

傳回指定通道群組標識碼的通知通道群組設定。

[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

傳回

屬性

備註

傳回指定通道群組標識碼的通知通道群組設定。

通道群組必須屬於您的套件,否則會傳回 null。

android.app.NotificationManager.getNotificationChannelGroup(java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於