Notification.Builder.SetCategory(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.