# join

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

Allows the user to join this conference.

#### Parameters

context

Context used to capture local media.

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 a ConferenceError if any error occurs. In case of success, error will be null.