public class UINotification
extends java.lang.Object
Constructor and Description |
---|
UINotification(java.lang.String displayName,
long time,
UINotificationGroup parentGroup)
Creates an instance of UINotification by specifying the
notification name and time.
|
UINotification(java.lang.String displayName,
long time,
UINotificationGroup parentGroup,
int unreadObjects)
Creates an instance of UINotification by specifying the
notification name and time.
|
UINotification(java.lang.String name,
java.lang.String displayName,
long time,
UINotificationGroup parentGroup,
int unreadObjects)
Creates an instance of UINotification by specifying the
notification name and time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDisplayName()
Returns the name associated with this notification.
|
UINotificationGroup |
getGroup()
Returns the parent notification group.
|
long |
getTime()
Returns the time in milliseconds the notification was received.
|
int |
getUnreadObjects()
Returns the number of unread objects for this notification.
|
int |
hashCode() |
public UINotification(java.lang.String displayName, long time, UINotificationGroup parentGroup)
displayName
- the name associated to this notificationtime
- the time in milliseconds when the notification was receivedparentGroup
- the group of notifications, to which this notification
belongspublic UINotification(java.lang.String displayName, long time, UINotificationGroup parentGroup, int unreadObjects)
displayName
- the name associated to this notificationtime
- the time in milliseconds when the notification was receivedparentGroup
- the group of notifications, to which this notification
belongsunreadObjects
- number of unread objects for this notification.public UINotification(java.lang.String name, java.lang.String displayName, long time, UINotificationGroup parentGroup, int unreadObjects)
name
- the notification namedisplayName
- the name associated to this notificationtime
- the time in milliseconds when the notification was receivedparentGroup
- the group of notifications, to which this notification
belongsunreadObjects
- number of unread objects for this notification.public java.lang.String getDisplayName()
public long getTime()
public UINotificationGroup getGroup()
public int getUnreadObjects()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.