Udostępnij za pośrednictwem


Notification.Builder.SetGroup(String) Method

Definition

Set this notification to be part of a group of notifications sharing the same key.

[Android.Runtime.Register("setGroup", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetSetGroup_Ljava_lang_String_Handler")]
public virtual Android.App.Notification.Builder SetGroup (string? groupKey);
[<Android.Runtime.Register("setGroup", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetSetGroup_Ljava_lang_String_Handler")>]
abstract member SetGroup : string -> Android.App.Notification.Builder
override this.SetGroup : string -> Android.App.Notification.Builder

Parameters

groupKey
String

The group key of the group.

Returns

Attributes

Remarks

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