Class
caplin.streamlink

SourceStatusEvent

Provides information about the change in status of an Integration Adapter to which StreamLink is connected via the Liberator.

The SourceStatusEvent will be provided on a onSourceStatusChange callback to a caplin.streamlink.ConnectionListener.

Within Liberator, data is considered to be available through a particular data service rather than from the underlying Integration Adapters. Therefore, if your application needs to know about the availability of data, it should examine the status of the data service by looking at caplin.streamlink.ServiceStatusEvents, rather than examining SourceStatusEvents.

Constructor Summary

Attributes Name and Description
caplin.streamlink.SourceStatusEvent()

Method Summary

Attributes Name and Description
String getSourceName()

Returns the name of the Integration Adapter that has changed state.

caplin.streamlink.SourceStatus getSourceStatus()

Returns the new status of an Integration Adapter.

Constructor Detail

caplin.streamlink.SourceStatusEvent()

Method Detail

String getSourceName()

Returns the name of the Integration Adapter that has changed state.

Returns
{String} The Integration Adapter name.

caplin.streamlink.SourceStatus getSourceStatus()

Returns the new status of an Integration Adapter.

Returns
{caplin.streamlink.SourceStatus} The Integration Adapter status.