Instance Property

badge

The badge number to display.

Declaration

readonly attribute Number badge;

See Also

Presenting Notifications

alertActionLocalizationKey

A key to get a localized right button title that appears in the alert dialog.

alertBody

The text of the alert message.

alertLaunchImage

The filename of an image file in the app bundle used as a launch image.

alertLocalizationArgs

An array of strings that appear as variables if alertLocalizationKey is a format specifier.

alertLocalizationKey

A key to a localized alert message.

category

Name of the action group corresponding to this notification.

soundName

The name of a sound file in the app bundle to play as an alert.