public final class NewNotificationsResult extends Object
Constructor and Description |
---|
NewNotificationsResult(NotificationId lastNotificationId,
Collection<Notification> notifications) |
Modifier and Type | Method and Description |
---|---|
NotificationId |
getLastNotificationId()
Returns the id of the last registered notification.
|
List<Notification> |
getNotifications()
Returns the notifications that have occurred since the last query.
|
public NewNotificationsResult(NotificationId lastNotificationId, Collection<Notification> notifications)
public NotificationId getLastNotificationId()
public List<Notification> getNotifications()
Copyright © 2004-2011. All Rights Reserved.