NotificationParams

Dictionary object of parameters used to create a notification using Titanium.App.iOS.scheduleLocalNotification.

  • 1.7
  • 1.7

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

NotificationParams
alertAction : String

Alert button text ('Open', by default) or slider text ('slide to unlock...', by default) to display.

Alert button text ('Open', by default) or slider text ('slide to unlock...', by default) to display.

NotificationParams
alertBody : String

Alert message to display.

Alert message to display.

NotificationParams
alertLaunchImage : String

Image to display instead of Default.png when launching the application.

Image to display instead of Default.png when launching the application.

NotificationParams
: String
Alert title to display. ...

Alert title to display. Available since Titanium SDK 5.4.0.

  • 5.4.0
  • 5.4.0
NotificationParams
badge : Number

Application badge value.

Application badge value.

NotificationParams
category : String

String identifier of category of actions to be displayed for an interactive notification (only for iOS 8 and above).

String identifier of category of actions to be displayed for an interactive notification (only for iOS 8 and above).

NotificationParams
date : Date

Date and time for the notification to occur.

Date and time for the notification to occur.

NotificationParams
: Dictionary
Region the notification will be triggered in. ...

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).
  • identifier: Identifier of the region (optional).
  • 5.4.0
  • 5.4.0
NotificationParams
: String
Interval to repeat the notification. ...

Interval to repeat the notification. One of weekly, daily, yearly, monthly.

NotificationParams
sound : String

Path to the sound file to play when notification occurs, relative to the Resources folder.

Path to the sound file to play when notification occurs, relative to the Resources folder.

NotificationParams
: String
Timezone of the date configured for the notification. ...

Timezone of the date configured for the notification. If not set, the system timezone is used.

NotificationParams
userInfo : Dictionary

Data to pass to the application with the notification event.

Data to pass to the application with the notification event.