Interface PublisherKit.PublisherListener

    • Method Detail

      • onStreamCreated

        void onStreamCreated​(PublisherKit publisher,
                             Stream stream)
        Invoked when the publisher's stream is created.
        Parameters:
        publisher - The publisher.
        stream - The stream that that is created.
      • onStreamDestroyed

        void onStreamDestroyed​(PublisherKit publisher,
                               Stream stream)
        Invoked when the publisher's stream is destroyed.
        Parameters:
        publisher - The publisher.
        stream - The stream that that is destroyed.
      • onError

        void onError​(PublisherKit publisher,
                     OpentokError error)
        Invoked when the publisher fails.
        Parameters:
        publisher - The publisher.
        error - The error that invoked this callback.