# UserNotificationDictionary

Dictionary of notification data used in the array of notifications when receiving pending or local notifications in getPendingNotifications and getDeliveredNotifications.

Availability
7.3.0
7.3.0
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# alertAction

Availability
7.3.0
7.3.0
9.2.0
alertAction :String

Alert button text ('Open', by default) or home text ('Press Home to unlock', by default) type: String


# alertBody

Availability
7.3.0
7.3.0
9.2.0
alertBody :String

Alert message.


# alertLaunchImage

Availability
7.3.0
7.3.0
9.2.0
alertLaunchImage :String

Image displayed instead of Default.png when launching the application.


# alertSubtitle

Availability
7.3.0
7.3.0
9.2.0
alertSubtitle :String

Subtitle of the notification.


# alertTitle

Availability
7.3.0
7.3.0
9.2.0
alertTitle :String

Title of the notification.


# badge

Availability
7.3.0
7.3.0
9.2.0
badge :Number

Application badge value.


# category

Availability
7.3.0
7.3.0
9.2.0
category :String

Category identifier of the notification.


# date

Availability
7.3.0
7.3.0
9.2.0
date :Date

Date and time when the notification was configured to fire.


# identifier

Availability
7.3.0
7.3.0
9.2.0
identifier :String

The notification identifier.

This property is required in iOS 10+ and will fallback to a generated UUID-string if not set. It is recommended to manage the identifier yourself, but you can also get the generated UUID by accessing via the "userInfo.id" field for parity with older iOS versions.


# region

Availability
7.3.0
7.3.0
9.2.0
region :Dictionary

Region of the notification.

The following keys are included:

  • latitude: The latitude of the region.
  • longitude: The longitude of the region.
  • radius: The radius of the region.
  • identifier: The identifier of the region.

# sound

Availability
7.3.0
7.3.0
9.2.0
sound :String

Path to the sound file configured to play when the notification was fired.


# timezone

Availability
7.3.0
7.3.0
9.2.0
timezone :String

Timezone of the date when the notification was configured to fire.


# userInfo

Availability
7.3.0
7.3.0
9.2.0
userInfo :UserInfoDictionary

Custom data object.