Call

interface Call

An active voice session with an AXP agent using WebRTC.

Properties

Link copied to clipboard
abstract val audioMuted: StateFlow<Boolean>

Flow for the current audio mute state of the call.

Link copied to clipboard
abstract val callState: StateFlow<CallState>

Flow for the current state of the call.

Link copied to clipboard
abstract val participants: StateFlow<Set<Participant>>

Flow for the current participants in the call.

Functions

Link copied to clipboard
abstract fun end(endReason: EndCallReason = EndedLocally)

Terminate the call from the local end.

Link copied to clipboard
abstract fun sendDtmfTones(tones: String, playAudibleFeedback: Boolean = false)

Send DTMF tones on the call.

Link copied to clipboard
abstract fun toggleAudioMuteState()

Toggle the current audio mute state to its opposite value.