public interface SignalingClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasStarted()
flag to indicate if signaling client has started
|
void |
off(ChatEventType chatEventType,
RealTimeNotificationCallback listener)
Stop listening to Chat events.
|
void |
on(ChatEventType chatEventType,
RealTimeNotificationCallback listener)
Listen to Chat events.
|
void |
start(android.content.Context context,
java9.util.function.Consumer<java.lang.Throwable> errorHandler)
Start the realtime connection.
|
void |
start(java.lang.String skypeUserToken,
android.content.Context context)
Start the realtime connection.
|
void |
stop()
Stop the realtime connection and unsubscribe all event handlers.
|
boolean hasStarted()
void start(java.lang.String skypeUserToken,
android.content.Context context)
skypeUserToken - the skype user tokencontext - the android application contextvoid start(android.content.Context context,
java9.util.function.Consumer<java.lang.Throwable> errorHandler)
context - the android application contexterrorHandler - error handler callback for registration failuresvoid stop()
void on(ChatEventType chatEventType, RealTimeNotificationCallback listener)
chatEventType - the chat event kindlistener - the listener callback functionvoid off(ChatEventType chatEventType, RealTimeNotificationCallback listener)
chatEventType - the chat event kindlistener - the listener callback function