Class
caplin.streamlink

ChannelListener

Interface for receiving updates on the channel from the Liberator.

Constructor Summary

Attributes Name and Description
caplin.streamlink.ChannelListener()

Method Summary

Attributes Name and Description
void onChannelData(caplin.streamlink.Channel channel, caplin.streamlink.RecordType1Event evt)

Called when an update is received.

void onChannelError(caplin.streamlink.Channel channel, caplin.streamlink.SubscriptionErrorEvent evt)

Called when there is an error on the channel.

void onChannelStatus(caplin.streamlink.Channel channel, caplin.streamlink.SubscriptionStatusEvent evt)

Called when there is a change in the status for the channel.

Constructor Detail

caplin.streamlink.ChannelListener()

Method Detail

void onChannelData(caplin.streamlink.Channel channel, caplin.streamlink.RecordType1Event evt)

Called when an update is received.

Parameters
caplin.streamlink.Channel channel The channel for which the update occurred.
caplin.streamlink.RecordType1Event evt The record update.

void onChannelError(caplin.streamlink.Channel 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.

Parameters
caplin.streamlink.Channel channel The channel for which the error occurred.
caplin.streamlink.SubscriptionErrorEvent evt The error event.

void onChannelStatus(caplin.streamlink.Channel channel, caplin.streamlink.SubscriptionStatusEvent evt)

Called when there is a change in the status for the channel.

Parameters
caplin.streamlink.Channel channel The channel for which the update occurred.
caplin.streamlink.SubscriptionStatusEvent evt The status event.