Package com.opentok.android
Interface SubscriberKit.SubscriberListener
-
- Enclosing class:
- SubscriberKit
public static interface SubscriberKit.SubscriberListenerMonitors state changes of aSubscriberKitinstance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonConnected(SubscriberKit subscriber)Invoked when the instance has successfully connected to the stream and begins playing media.voidonDisconnected(SubscriberKit subscriber)Invoked when the instance has successfully destroyed.voidonError(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.
-
-