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

String

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Attributes

Remarks

Set the notification category.

See also:

Android reference for android.app.Notification.Builder.setCategory.

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