Simple object for specifying push notification options to registerForPushNotifications.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Callback function invoked upon receiving a new push notification.
Callback function invoked upon receiving a new push notification.
Callback function called when an error occurs during registration.
Callback function called when an error occurs during registration.
Callback function called when the push registration is successfully completed.
Callback function called when the push registration is successfully completed.
Array of NOTIFICATION_TYPE
constants that the application would like to receive.
Array of NOTIFICATION_TYPE
constants that the application would like to receive.
For iOS 8 and later, setting the types
property with the
Titanium.Network.registerForPushNotifications method has no effect.
For devices running iOS 8 and later, use the Titanium.App.iOS.registerUserNotificationSettings method to register the notification types to receive.
This API can be assigned the following constants: