Package com.caplin.streamlink
Interface JsonEvent
- All Superinterfaces:
DataEvent
Provides information about a JSON message.
The JsonEvent
is provided in an onJsonUpdate
callback to a SubscriptionListener
.
-
Method Summary
Modifier and TypeMethodDescriptiongetJson()
Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).Returns the JSON string (initial image or patch) relating to the event.Methods inherited from interface com.caplin.streamlink.DataEvent
getSubject, isImage
-
Method Details
-
getJsonString
String getJsonString()Returns the JSON string (initial image or patch) relating to the event.
- Returns:
- the JSON string
-
getJson
Object getJson()Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).
- Returns:
- the JSON object (the type of this object is platform specific and depends on the JsonHandler configured).
-