Class
caplin.streamlink

JsonEvent

Provides information about a JSON message.

The JsonEvent is provided in an onJsonUpdate callback to a SubscriptionListener.

Constructor Summary

Attributes Name and Description
caplin.streamlink.JsonEvent()

Method Summary

Attributes Name and Description
Object getJson()

Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).

String getJsonString()

Returns the JSON string (initial image or patch) relating to the event.

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

Constructor Detail

caplin.streamlink.JsonEvent()

Method Detail

Object getJson()

Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).

Returns
{Object} the JSON object (the type of this object is platform specific and depends on the JsonHandler configured).

String getJsonString()

Returns the JSON string (initial image or patch) relating to the event.

Returns
{String} the JSON string