public static interface SubscriberKit.SubscriberListener
SubscriberKit
instance.Modifier and Type | Method and Description |
---|---|
void |
onConnected(SubscriberKit subscriber)
Invoked when the instance has successfully connected to the stream and begins playing
media.
|
void |
onDisconnected(SubscriberKit subscriber)
Invoked when the instance has successfully destroyed.
|
void |
onError(SubscriberKit subscriber,
OpentokError error)
Invoked when a subscriber has failed to connect to the OpenTok server.
|
void onConnected(SubscriberKit subscriber)
subscriber
- The instance invoking this call.void onDisconnected(SubscriberKit subscriber)
subscriber
- The instance invoking this call.void onError(SubscriberKit subscriber, OpentokError error)
subscriber
- The instance invoking this call.error
- The error.