Interface for receiving updates on the channel from the Liberator.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.ChannelListener()
|
Attributes | Name and Description |
---|---|
|
void
onChannelData( channel, evt)
* Called when an update is received. |
|
void
onChannelError( channel, evt)
* Called when there is an error on the channel. |
|
void
onChannelStatus( channel, evt)
* Called when there is a change in the status for the channel. |
►
caplin.streamlink.ChannelListener()
►
void
onChannelData( channel, evt)
*
Called when an update is received.
*@param {caplin.streamlink.Channel} channel The channel for which the update occurred. *@param {caplin.streamlink.RecordType1Event} evt The record update.channel | ||
evt |
►
void
onChannelError( channel, 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.
* *@param {caplin.streamlink.Channel} channel The channel for which the error occurred. *@param {caplin.streamlink.SubscriptionErrorEvent} evt The error event.channel | ||
evt |
►
void
onChannelStatus( channel, evt)
*
Called when there is a change in the status for the channel.
*@param {caplin.streamlink.Channel} channel The channel for which the update occurred. *@param {caplin.streamlink.SubscriptionStatusEvent} evt The status event.channel | ||
evt |