Package com.opentok.android
Interface PublisherKit.PublisherListener
-
- Enclosing class:
- PublisherKit
public static interface PublisherKit.PublisherListenerMonitors when a publisher starts and stops streaming to the session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(PublisherKit publisher, OpentokError error)Invoked when the publisher fails.voidonStreamCreated(PublisherKit publisher, Stream stream)Invoked when the publisher's stream is created.voidonStreamDestroyed(PublisherKit publisher, Stream stream)Invoked when the publisher's stream is destroyed.
-
-
-
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.
-
-