Notification.Builder.SetCategory(String) Method

Definition

Set the notification category.

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

Parameters

category
String

The Category that best describes 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