Interface RecordProvider


public interface RecordProvider
Definition of the interface that Streamlink calls back when the liberator requests record objects that match the pattern registered via the StreamLink.registerRecordProvider(...) method
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerRecordProvider(...)
  • Method Details

    • onRequest

      void onRequest(RecordPublisher publisher)
      Method called when a subject is requested by the Liberator that matches the pattern registered via StreamLink.registerRecordProvider(...)
      Parameters:
      publisher - a RecordPublisher object that can be used to send data for the requested subject