public class EventNotificationListener extends Object implements RemoteNotificationListener
| Constructor and Description |
|---|
EventNotificationListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the notification managed by this listener.
|
void |
notificationReceived(CommandReader commandReader)
Handles the notification.
|
public String getName()
RemoteNotificationListenergetName in interface RemoteNotificationListenerpublic void notificationReceived(CommandReader commandReader)
RemoteNotificationListenernotificationReceived in interface RemoteNotificationListenercommandReader - the command reader to use to read the notification body.