VoiceCall

data class VoiceCall : Serializable

Wrapper class for RTCCall that contains all mid-call features.

Parameters

call

Object containing all call information.

Types

Link copied to clipboard

Call direction

Properties

Link copied to clipboard

Read-only property for the callee's avatar url type String

Link copied to clipboard

Read-only property to know call quality.

Link copied to clipboard

Read-only property for the time the call started type Long.

Link copied to clipboard

Read-only property to know call state.

Link copied to clipboard

Read-only property for the callee's id from the contact object in RTCCall.

Link copied to clipboard

Read-only property to know call direction.

Link copied to clipboard

Read-only property for the callee's name.

Link copied to clipboard

Read-only property to know if call is in disconnected state.

Link copied to clipboard

Read-only property to know if call is in failed state.

Link copied to clipboard

Read-only property for the call's incoming state. True if the state is incoming, False otherwise.

Link copied to clipboard

Read-only property for the call's audio state. True if it states is incoming, False otherwise.

Link copied to clipboard

Read-only property to know if call is in ongoing state.

Link copied to clipboard

Read-only property to know if call is in outgoing state.

Link copied to clipboard

Read-only property for the call's peer on hold state. True if peer is on hold , False otherwise.

Link copied to clipboard

Read-only property for the callee's phone number.

Link copied to clipboard
val uuid: UUID

Read-only property for the call's unique identifier.

Functions

Link copied to clipboard

Accepts an incoming call. Accepting second call will put ongoing call on hold.

Link copied to clipboard

Accepts incoming call and end Ongoing call.

Link copied to clipboard

Hangs up current active call.

Link copied to clipboard

Puts current call on hold.

Link copied to clipboard
fun mute()

Mutes user during a call.

Link copied to clipboard

Rejects or denies an incoming call.

Link copied to clipboard

Resumes call that was on hold.

Link copied to clipboard
fun unmute()

Un-mutes user during a call.