Provides information about updates to a chat subject.
The ChatEvent
will be provided on a 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 that 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 that generated this chat event. |
►
caplin.streamlink.ChatEvent()
►
String
getMessage()
Returns the chat message.
This field will return null for all caplin.streamlink.ChatEventType events apart from caplin.streamlink.ChatEventType.MESSAGE.
►
String
getTime()
Returns the time that 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 that generated this chat event.