The PushNotifications
listener's callback can be structured as
follows:
{ onPushNotification: function(data) { ... } }
Name | Description | Return type |
---|---|---|
onPushNotification |
Called if the registration is successful. It passes the data that has been sent in a notification. | undefined |