public class LastNotificationListener
- extends NotificationListener
Sample implementation of the "last" notification listener. It extends
Note: This listener will only be triggered if the PushApplication it is being used with has 'lastNotificationEnabled' flag set
to true. Keep in mind enabling last notification does incur a performance penalty.
NotificationListener and sets the
ListenerType.LAST. Any class that extends this class should provide an implementation of the
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- Constructs a "last" notification listener.
public void processNotification(String pushId,
- Description copied from class:
- Processes the result notification.
The client address (e.g. PIN) in the result notification from the PPG was mapped to the address in the provided
PushOutcome using the currently known mapping. This may result in incorrect results if a subscriber or device
swap occurred after the push request was issued.
PushOutcome.getAddress() may return a value of '*' (without the quotes) that indicates the code
applies to all addresses of the push with the specified push id.
- Specified by:
processNotification in class
pushId - push id to which the notification pertains
outcome - the outcome of pushing to a particular address
PushSDKException - error from processing the result notification. The exception stack trace will have details of the error
Copyright © 2013 BlackBerry. All rights reserved.