Represents an object that enables the processing of push messages.
The object can be accessed using the launchbox.PushNotifications
reference.
One of the following constants is passed in the
failureType
object for the
onRegistrationFailure
callback method to define the type of
registration failure.
Name | Description |
---|---|
INTERNAL_ERROR | Denotes that an internal error has occurred. |
REGISTRATION_IN_PROGRESS | Denotes that the registration process is already in progress. |
Name | Description |
---|---|
addListener | Registers a listener for push notifications. |
register | Registers the application so that it can receive push notifications. |
removeListener | Removes a previously registered push notifications listener. |