public static interface RespokeCall.Listener
Modifier and Type | Method and Description |
---|---|
void |
directConnectionAvailable(RespokeDirectConnection directConnection,
RespokeEndpoint endpoint)
This event is fired when the local end of the directConnection is available.
|
void |
onConnected(RespokeCall sender)
When on a call, receive remote media when it becomes available.
|
void |
onError(java.lang.String errorMessage,
RespokeCall sender)
Receive a notification that an error has occurred while on a call
|
void |
onHangup(RespokeCall sender)
When on a call, receive notification the call has been hung up
|
void onError(java.lang.String errorMessage, RespokeCall sender)
errorMessage
- A human-readable description of the error.sender
- The RespokeCall that experienced the errorvoid onHangup(RespokeCall sender)
sender
- The RespokeCall that has hung upvoid onConnected(RespokeCall sender)
sender
- The RespokeCall that has connectedvoid directConnectionAvailable(RespokeDirectConnection directConnection, RespokeEndpoint endpoint)
directConnection
- The direct connection objectendpoint
- The remote endpoint