Class
caplin.streamlink

ChatEvent

Provides information about updates to a chat subject.

The ChatEvent will be provided on a onChatUpdate callback to a caplin.streamlink.SubscriptionListener.

Constructor Summary

Attributes Name and Description
caplin.streamlink.ChatEvent()

Method Summary

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.

Methods inherited from class caplin.streamlink.DataEvent:
getSubject, isImage

Constructor Detail

caplin.streamlink.ChatEvent()

Method Detail

String getMessage()

Returns the chat message.

This field will return null for all caplin.streamlink.ChatEventType events apart from caplin.streamlink.ChatEventType.MESSAGE.

Returns
{String} The chat message.

String getTime()

Returns the time that the chat event was raised.

The time stamp is in the format HH:MM:SS.

Returns
{String} The timestamp.

caplin.streamlink.ChatEventType getUpdateType()

Returns the type of chat event that this event represents.

Returns
{caplin.streamlink.ChatEventType} the event type.

String getUser()

Returns the username of the user that generated this chat event.

Returns
{String} The username.