Package com.opentok.android
Interface PublisherKit.PublisherListener
- Enclosing class:
PublisherKit
public static interface PublisherKit.PublisherListener
Monitors when a publisher starts and stops streaming to the session.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onError
(PublisherKit publisher, OpentokError error) Invoked when the publisher fails.void
onStreamCreated
(PublisherKit publisher, Stream stream) Invoked when the publisher's stream is created.void
onStreamDestroyed
(PublisherKit publisher, Stream stream) Invoked when the publisher's stream is destroyed.
-
Method Details
-
onStreamCreated
Invoked when the publisher's stream is created.- Parameters:
publisher
- The publisher.stream
- The stream that that is created.
-
onStreamDestroyed
Invoked when the publisher's stream is destroyed.- Parameters:
publisher
- The publisher.stream
- The stream that that is destroyed.
-
onError
Invoked when the publisher fails.- Parameters:
publisher
- The publisher.error
- The error that invoked this callback.
-