# PushNotificationConfig

Simple object for specifying push notification options to registerForPushNotifications.

Availability
0.8
0.8
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

# callback

Availability
0.8
0.8
9.2.0
callback :Callback<PushNotificationData>

Callback function invoked upon receiving a new push notification.


# error

Availability
0.8
0.8
9.2.0
error :Callback<PushNotificationErrorArg>

Callback function called when an error occurs during registration.


# success

Availability
0.8
0.8
9.2.0
success :Callback<PushNotificationSuccessArg>

Callback function called when the push registration is successfully completed.


# types

Availability
0.8
0.8
9.2.0
types :Array<Number>

Array of NOTIFICATION_TYPE constants that the application would like to receive.

Setting the types property with the registerForPushNotifications method has no effect.

Use the registerUserNotificationSettings method to register the notification types to receive.