語言

Notification.Builder.SetGroupSummary(Boolean) 方法

定義

將此通知設為一組通知的群組摘要。

[Android.Runtime.Register("setGroupSummary", "(Z)Landroid/app/Notification$Builder;", "GetSetGroupSummary_ZHandler")]
public virtual Android.App.Notification.Builder SetGroupSummary(bool isGroupSummary);
[<Android.Runtime.Register("setGroupSummary", "(Z)Landroid/app/Notification$Builder;", "GetSetGroupSummary_ZHandler")>]
abstract member SetGroupSummary : bool -> Android.App.Notification.Builder
override this.SetGroupSummary : bool -> Android.App.Notification.Builder

參數

isGroupSummary
Boolean

布林值:此通知是否應該作為群組摘要

傳回

這個 Android.App.Notification.Builder 實例,允許通話串接。

屬性

備註

將此通知設為一組通知的群組摘要。 在支援此類渲染的裝置上,群組通知可能會以叢集或堆疊形式顯示。 也需要使用 setGroup(String) 設定群組金鑰。 若群組中通知數量過少,群組摘要可能會被抑制。

Android 參考資料。android.app.Notification.Builder.setGroupSummary

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

適用於