Interface for receiving updates on the JSON channel from the Liberator.
Attributes | Name and Description |
---|---|
| caplin.streamlink.JsonChannelListener() |
Attributes | Name and Description |
---|---|
| void onChannelData(caplin.streamlink.JsonChannel channel, caplin.streamlink.JsonEvent evt) Called when an update is received. |
| void onChannelError(caplin.streamlink.JsonChannel channel, caplin.streamlink.SubscriptionErrorEvent evt) Called when there is an error on the channel. |
| void onChannelStatus(caplin.streamlink.JsonChannel channel, caplin.streamlink.SubscriptionStatusEvent evt) Called when there is a change in the status for the channel. |
► caplin.streamlink.JsonChannelListener()
► void onChannelData(caplin.streamlink.JsonChannel channel, caplin.streamlink.JsonEvent evt)
Called when an update is received.
caplin.streamlink.JsonChannel | channel | The channel for which the update occurred. |
caplin.streamlink.JsonEvent | evt | The json update. |
► void onChannelError(caplin.streamlink.JsonChannel channel, caplin.streamlink.SubscriptionErrorEvent evt)
Called when there is an error on the channel.
This callback being invoked is a final state for the channel and no further callbacks will be received for it.
caplin.streamlink.JsonChannel | channel | The channel for which the error occurred. |
caplin.streamlink.SubscriptionErrorEvent | evt | The error event. |
► void onChannelStatus(caplin.streamlink.JsonChannel channel, caplin.streamlink.SubscriptionStatusEvent evt)
Called when there is a change in the status for the channel.
caplin.streamlink.JsonChannel | channel | The channel for which the update occurred. |
caplin.streamlink.SubscriptionStatusEvent | evt | The status event. |