connect

suspend fun connect(appContext: Context, url: String, token: String, options: ConnectOptions = ConnectOptions(), roomOptions: RoomOptions = RoomOptions(), listener: RoomListener? = null, overrides: LiveKitOverrides = LiveKitOverrides()): Room

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