Package com.opentok.android
Interface SubscriberKit.SubscriberListener
-
- Enclosing class:
- SubscriberKit
public static interface SubscriberKit.SubscriberListener
Monitors state changes of aSubscriberKit
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 reports an error.
-
-
-
Method Detail
-
onConnected
void onConnected(SubscriberKit subscriber)
Invoked when the instance has successfully connected to the stream and begins playing media.- Parameters:
subscriber
- The instance invoking this call.
-
onDisconnected
void onDisconnected(SubscriberKit subscriber)
Invoked when the instance has successfully destroyed.- Parameters:
subscriber
- The instance invoking this call.
-
onError
void onError(SubscriberKit subscriber, OpentokError error)
Invoked when a subscriber reports an error.- Parameters:
subscriber
- The instance invoking this call.error
- The error.
-
-