Package com.caplin.streamlink
Interface JsonProvider
public interface 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRequest
(JsonPublisher publisher) Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerJsonProvider(...)
-
Method Details
-
onRequest
Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerJsonProvider(...)- Parameters:
publisher
- a JsonPublisher object that can be used to send data for the requested subject
-