connect
suspend fun connect(appContext: Context, url: String, token: String, options: ConnectOptions = ConnectOptions(), roomOptions: RoomOptions = RoomOptions(), listener: RoomListener? = null, overrides: LiveKitOverrides = LiveKitOverrides()): Room
Content copied to clipboard
Connect to a LiveKit room
Parameters
url
URL to LiveKit server (i.e. ws://mylivekitdeploy.io)
listener
Listener to Room events. LiveKit interactions take place with these callbacks
Sources
SDK source
Link copied to clipboard