Can hang up conversation

This commit is contained in:
2019-02-26 17:22:36 +01:00
parent f08f1940fc
commit 959afda2cf
8 changed files with 129 additions and 2 deletions

View File

@ -71,6 +71,14 @@ public class SignalExchangerClient extends WebSocketListener {
mWebSocket = mClient.newWebSocket(request, this);
}
/**
* Close this socket
*/
public void close(){
if(mWebSocket != null)
mWebSocket.close(4999, null);
}
/**
* Get current client configuration
*