Package com.caplin.streamlink
Interface JsonEvent
-
- All Superinterfaces:
DataEvent
public interface JsonEvent extends DataEvent
Provides information about a JSON message.
The
JsonEvent
is provided in anonJsonUpdate
callback to aSubscriptionListener
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getJson()
Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).java.lang.String
getJsonString()
Returns the JSON string (initial image or patch) relating to the event.-
Methods inherited from interface com.caplin.streamlink.DataEvent
getSubject, isImage
-
-
-
-
Method Detail
-
getJsonString
java.lang.String getJsonString()
Returns the JSON string (initial image or patch) relating to the event.
- Returns:
- the JSON string
-
getJson
java.lang.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).
-
-