disconnect

abstract fun disconnect()

Disconnects this session and goes offline. This will also trigger a call to SessionCallback.onSessionEnded at some point.

Must be called from the main thread.

See also