Share via


Notification.Number Property

Definition

The number of events that this notification represents.

[Android.Runtime.Register("number")]
public int Number { get; set; }
[<Android.Runtime.Register("number")>]
member this.Number : int with get, set

Property Value

Attributes

Remarks

The number of events that this notification represents. For example, in a new mail notification, this could be the number of unread messages.

The system may or may not use this field to modify the appearance of the notification. Starting with android.os.Build.VERSION_CODES#O, the number may be displayed as a badge icon in Launchers that support badging.

Java documentation for android.app.Notification.number.

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