Attributes | Name and Description |
---|---|
|
caplin.streamlink.JsonPublisher()
|
Attributes | Name and Description |
---|---|
|
void
send(Object jsonObject, caplin.streamlink.CommandListener commandListener)
Sends a Message to Liberator for the current subject |
|
void
setDiscardHandler(caplin.streamlink.JsonDiscardHandler discardHandler)
Sets an object to be called back when a discard is received for the current subject |
►
caplin.streamlink.JsonPublisher()
►
void
send(Object jsonObject, caplin.streamlink.CommandListener commandListener)
Sends a Message to Liberator for the current subject
Object | jsonObject | the json object to send |
caplin.streamlink.CommandListener | commandListener | an object with callbacks for the success/failure of sending this message |
►
void
setDiscardHandler(caplin.streamlink.JsonDiscardHandler discardHandler)
Sets an object to be called back when a discard is received for the current subject
caplin.streamlink.JsonDiscardHandler | discardHandler | a JsonDiscardHandler object to receive the onDiscard callback |