Simple object for specifying push notification options to registerForPushNotifications.
This is an abstract type. Any object of this structure can be used where this type is used.
Callback function invoked upon receiving a new push notification.
Callback function called when an error occurs during registration.
Callback function called when the push registration is successfully completed.
NOTIFICATION_TYPE constants that the application would like to receive.
types property with the registerForPushNotifications method has no effect.
Use the registerUserNotificationSettings method to register the notification types to receive.
This API can be assigned the following constants: