public interface ChatEvent extends DataEvent
Provides information about updates to a chat subject.
The ChatEvent
is provided in an onChatUpdate
callback to a SubscriptionListener
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the chat message.
|
java.lang.String |
getTime()
Returns the time when the chat event was raised.
|
ChatEventType |
getUpdateType()
Returns the type of chat event that this event represents.
|
java.lang.String |
getUser()
Returns the username of the user who generated this chat event.
|
getSubject, isImage
ChatEventType getUpdateType()
Returns the type of chat event that this event represents.
java.lang.String getUser()
Returns the username of the user who generated this chat event.
java.lang.String getTime()
Returns the time when the chat event was raised.
The time stamp is in the format HH:MM:SS.
java.lang.String getMessage()
Returns the chat message.
This method returns null for all events events apart from
ChatEventType.MESSAGE
.
ChatEventType.MESSAGE
, otherwise null.Please send bug reports and comments to Caplin support