disconnect User
fun disconnectUser(request: DisconnectUserRequest, callback: DisconnectUserCallback? = null)
Content copied to clipboard
Sends a disconnect user request through a socket connection.
Parameters
request
identifies the user to be disconnected and also related reason
callback
callback interface called on either success or rejection of the request by the server
Throws
when room is not connected
when provided request fails to serialise