Class
caplin.streamlink

JsonProvider

Definition of the interface that Streamlink calls back when the liberator requests json objects that match the pattern registered via the StreamLink.registerJsonProvider(...) method

Constructor Summary

Attributes Name and Description
caplin.streamlink.JsonProvider()

Method Summary

Attributes Name and Description
void onRequest(caplin.streamlink.JsonPublisher publisher)

Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerJsonProvider(.

Constructor Detail

caplin.streamlink.JsonProvider()

Method Detail

void onRequest(caplin.streamlink.JsonPublisher publisher)

Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerJsonProvider(...)

Parameters
caplin.streamlink.JsonPublisher publisher a JsonPublisher object that can be used to send data for the requested subject