# Conferences

class Conferences

The conference service.

This class allows performing some conference related actions like creating a new one or checking if one specific conference is still pending. It also allows adding a listener to receive the incoming conferences (@see ConferencesListener).

## Properties

currentConferences
Link copied to clipboard
val currentConferences: List<Conference>

Returns a list of currently available Conference.

rx
Link copied to clipboard
val rx: ConferencesRx

Access to the reactive API of the service.

## Functions

addListener
Link copied to clipboard
fun addListener(listener: ConferencesListener)

Adds a listener to receive new conference events.

addStatusListener
Link copied to clipboard
fun addStatusListener(listener: ConferenceStatusListener)

Adds a listener to receive new conference events.

createConference
Link copied to clipboard
fun createConference(onCompletion: (Either<Conference, ConferenceError>) -> Unit)

Creates a new conference.

createdAttendedConference
Link copied to clipboard
fun createdAttendedConference(callee: String, currentConference: Conference, onCompletion: (Either<Conference, ConferenceError>) -> Unit)

Starts a new attended transfer to the specified callee.

isConferenceStillPending
Link copied to clipboard
fun isConferenceStillPending(invitationId: String, onCompletion: (Either<Boolean, ConferenceError>) -> Unit)

Checks if a conference associated with a specific invitationId is still pending.

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

Joins the conference specified by roomUri.

removeListener
Link copied to clipboard
fun removeListener(listener: ConferencesListener)

Removes the specified listener.

removeStatusListener
Link copied to clipboard
fun removeStatusListener(listener: ConferenceStatusListener)

Removes the specified listener.