Notification.Builder.SetSortKey(String) Method

Definition

Set a sort key that orders this notification among other notifications from the same package.

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

Parameters

sortKey
String

The sort key for the notification.

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