Titanium.App.iOS.NotificationParams
Dictionary object of parameters used to create a notification using Titanium.App.iOS.scheduleLocalNotification.
Since: 1.7 · Platforms: iphone, ipad, macos
Properties #
alertAction#
Type: String
Alert button text ('Open', by default) or home text ('Press Home to unlock', by default)
to display.
alertLaunchImage#
Type: String
Image to display instead of Default.png when launching the application.
category#
Type: String
String identifier of category of actions to be displayed for an interactive notification.
identifier#
Type: 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#
Type: Dictionary
Region the notification will be triggered in. Allowed parameter are:
- latitude: Latitude of the location center, in decimal degrees (required).
- longitude: Longitude of the location center, in decimal degrees (required).
- triggersOnce: Whether or not the notification will only fire once (optional, default: true).
sound#
Type: String
Path to the sound file to play when notification occurs, relative to the Resources folder.
summaryArgument#
Type: String
The string the notification adds to the category's summary format string.
summaryArgumentCount#
Type: String
The number of items the notification adds to the category's summary format string.
timezone#
Type: String
Timezone of the date configured for the notification. If not set, the system timezone is used.