public class NotificationMessage
extends java.lang.Object
MessageWaitingListener, MessageWaitingEvent
Constructor and Description |
---|
NotificationMessage(java.lang.Object source,
java.lang.String fromContact,
java.lang.String messageGroup,
java.lang.String messageDetails,
java.lang.String messageText)
Creates an instance of NotificationMessage by specifying the
name of the contact from which the message is, the message group, any
additional details and the message actual text.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFromContact()
Returns the contact from which the message is coming
|
java.lang.String |
getMessageDetails()
Returns the additional details related to the message
|
java.lang.String |
getMessageGroup()
Returns the name of the group of messages to which this
message belongs.
|
java.lang.String |
getMessageText()
Returns the text of the message
|
java.lang.Object |
getSource()
Returns the notification message source.
|
public NotificationMessage(java.lang.Object source, java.lang.String fromContact, java.lang.String messageGroup, java.lang.String messageDetails, java.lang.String messageText)
source
- the notification message sourcefromContact
- the contact from which the message is comingmessageGroup
- the name of the group of messages to which this
message belongsmessageDetails
- additional details related to the messagemessageText
- the text of the messagepublic java.lang.Object getSource()
public java.lang.String getFromContact()
public java.lang.String getMessageGroup()
public java.lang.String getMessageDetails()
public java.lang.String getMessageText()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.