NotificationManager.Notify Method

Definition

Overloads

Notify(String, Int32, Notification)

Posts a notification to be shown in the status bar.

Notify(Int32, Notification)

Post a notification to be shown in the status bar.

Notify(String, Int32, Notification)

Posts a notification to be shown in the status bar.

[Android.Runtime.Register("notify", "(Ljava/lang/String;ILandroid/app/Notification;)V", "GetNotify_Ljava_lang_String_ILandroid_app_Notification_Handler")]
public virtual void Notify (string? tag, int id, Android.App.Notification? notification);
[<Android.Runtime.Register("notify", "(Ljava/lang/String;ILandroid/app/Notification;)V", "GetNotify_Ljava_lang_String_ILandroid_app_Notification_Handler")>]
override this.Notify : string * int * Android.App.Notification -> unit

Parameters

tag
String

A string identifier for this notification. May be null.

id
Int32

An identifier for this notification. The pair (tag, id) must be unique within your application.

notification
Notification

A Notification object describing what to show the user. Must not be null.

Attributes

Remarks

Java documentation for android.app.NotificationManager.notify(java.lang.String, int, android.app.Notification).

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

Notify(Int32, Notification)

Post a notification to be shown in the status bar.

[Android.Runtime.Register("notify", "(ILandroid/app/Notification;)V", "GetNotify_ILandroid_app_Notification_Handler")]
public virtual void Notify (int id, Android.App.Notification? notification);
[<Android.Runtime.Register("notify", "(ILandroid/app/Notification;)V", "GetNotify_ILandroid_app_Notification_Handler")>]
override this.Notify : int * Android.App.Notification -> unit

Parameters

id
Int32

An identifier for this notification unique within your application.

notification
Notification

A Notification object describing what to show the user. Must not be null.

Attributes

Remarks

Java documentation for android.app.NotificationManager.notify(int, android.app.Notification).

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