public class UINotificationGroup
extends java.lang.Object
Constructor and Description |
---|
UINotificationGroup(java.lang.String groupName,
java.lang.String groupDisplayName) |
Modifier and Type | Method and Description |
---|---|
void |
addNotification(UINotification notification)
Adds the given notification to the list of unread notifications and
notifies interested listeners.
|
java.lang.String |
getGroupDisplayName()
Returns the display name of the group, to which this notification
belongs.
|
java.lang.String |
getGroupName()
Returns the name of the group, to which this notification belongs.
|
java.util.Iterator<UINotification> |
getUnreadNotifications()
Returns a list of all unread notifications.
|
int |
getUnreadNotificationsCount()
Returns the count of unread notifications for this group.
|
void |
removeAllNotifications()
Removes all unread notifications.
|
public UINotificationGroup(java.lang.String groupName, java.lang.String groupDisplayName)
groupName
- the name of the group to which this notification belongsgroupDisplayName
- the display name of the group to which thispublic java.lang.String getGroupName()
public java.lang.String getGroupDisplayName()
public void addNotification(UINotification notification)
notification
- the UINotification to addpublic void removeAllNotifications()
public java.util.Iterator<UINotification> getUnreadNotifications()
public int getUnreadNotificationsCount()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.