removeListener


Purpose

Removes a previously registered push notifications listener.

Signature

removeListener( callback )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callback Passed to process the notification. undefined required

Callback structure

The PushNotifications listener's callback can be structured as follows:

{
  onPushNotification: function(data)  { ... }
}

Methods

Name Description Return type
onPushNotification Called if the registration is successful. It passes the data that has been sent in a notification. undefined

Related topics

PushNotifications
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...