public static interface PublisherKit.PublisherListener
Modifier and Type | Method and Description |
---|---|
void |
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.
|
void onStreamCreated(PublisherKit publisher, Stream stream)
publisher
- The publisher.stream
- The stream that that is created.void onStreamDestroyed(PublisherKit publisher, Stream stream)
publisher
- The publisher.stream
- The stream that that is destroyed.void onError(PublisherKit publisher, OpentokError error)
publisher
- The publisher.error
- The error that invoked this callback.