# ConferencesRx

class ConferencesRx

Reactive API of Conferences.

This class replicates some of the methods included in Conferences but using Rx types as return values instead of callbacks. It also exposes the new conference events using a Rx observable.

## Properties

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

Returns a list of currently available Conference.

isAvailable
Link copied to clipboard
val isAvailable: Observable<Boolean>
newAttendedTransfer
Link copied to clipboard
val newAttendedTransfer: Observable<Conference>

Emits when a new attended transfer is received. This emitter takes into account whether the user has enabled the Do-not-disturb option or not.

newConference
Link copied to clipboard
val newConference: Observable<Conference>

Emits when a new Conference is received. This emitter takes into account whether the user has enabled the Do-not-disturb option or not.

state
Link copied to clipboard
val state: Observable<QssClient.State>

Emits the conference QssClient.State whenever it changes. When a subscriber is added, it will also emit the current session state.

## Functions

createConference
Link copied to clipboard
fun createConference(): Single<Conference>

Creates a new conference.

createdAttendedConference
Link copied to clipboard
fun createdAttendedConference(callee: String, currentConference: Conference): Single<Conference>

Starts a new attended transfer to the specified callee.

isConferenceStillPending
Link copied to clipboard
fun isConferenceStillPending(invitationId: String): Single<Boolean>

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

join
Link copied to clipboard
fun join(context: Context, roomUri: RoomUri, mediaTypes: List<MediaType>? = null): Single<Conference>

Joins the conference specified by roomUri.