Provides information about updates to a chat subject.
The ChatEvent
is provided in an onChatUpdate
callback to a caplin.streamlink.SubscriptionListener.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.ChatEvent()
|
Attributes | Name and Description |
---|---|
|
String
getMessage()
Returns the chat message. |
|
String
getTime()
Returns the time when the chat event was raised. |
|
caplin.streamlink.ChatEventType
getUpdateType()
Returns the type of chat event that this event represents. |
|
String
getUser()
Returns the username of the user who generated this chat event. |
►
caplin.streamlink.ChatEvent()
►
String
getMessage()
Returns the chat message.
This method returns null for all events events apart from caplin.streamlink.ChatEventType.MESSAGE.
►
String
getTime()
Returns the time when the chat event was raised.
The time stamp is in the format HH:MM:SS.
►
caplin.streamlink.ChatEventType
getUpdateType()
Returns the type of chat event that this event represents.
►
String
getUser()
Returns the username of the user who generated this chat event.