disconnectUser

fun disconnectUser(request: DisconnectUserRequest, callback: DisconnectUserCallback? = null)

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