join

fun join(context: Context, mediaTypes: List<MediaType>? = null, roomUri: RoomUri, onCompletion: (Either<Conference, ConferenceError>) -> Unit)

Joins the conference specified by roomUri.

Parameters

context

Context used to capture local media.

roomUri

Class containing the unique identifier of the room or conference to join.

mediaTypes

List of media types that the user wants to share. It is null by default. If it is null and the user was invited, the media types indicated in the invitation are used. If it is null but the user was not invited, audio and video are shared.

onCompletion

Callback that will be invoked when the request is completed. It will receive the created conference in case of success or a ConferenceError otherwise.