connect

fun connect(context: Context, token: String, roomListener: Room.Listener, connectOptionsBuilder: ConnectOptionsBuilder? = null): Room

Connect to a Room with specified options.

Return

room being connected to.

See also

com.twilio.video.Video
com.twilio.video.ConnectOptions
com.twilio.video.Room

Parameters

context

application context.

token

access token required to connect to a room.

roomListener

listener of room related events.

connectOptionsBuilder

options for connecting to a room. (optional)