CallClientListener

Listener interface with all the possible events that will be triggered by the CallClient.

Functions

Link copied to clipboard
open fun onActiveSpeakerChanged(activeSpeaker: Participant?)

Event emitted when the active speaker of the call has changed

Link copied to clipboard
open fun onAppMessage(message: String, from: ParticipantId)

Event emitted when a custom app message is received from another participant.

Link copied to clipboard
open fun onAppMessageFromRestApi(message: String)

Event emitted when a custom app message is received externally from the REST API.

Link copied to clipboard
open fun onAvailableDevicesUpdated(availableDevices: AvailableDevices)

Event emitted when an audio device is plugged or removed from the mobile

Link copied to clipboard
open fun onCallStateUpdated(state: CallState)

Event emitted when the call state changes, normally as a consequence of invocations to

Link copied to clipboard
open fun onError(message: String)

Event emitted when an error occurs.

Link copied to clipboard
open fun onInputsUpdated(inputSettings: InputSettings)

Event emitted when the input settings are updated, normally as a consequence of invocations to

Link copied to clipboard
open fun onLiveStreamError(streamId: StreamId, message: String)

Event emitted for all participants when a live stream encounters an error.

Link copied to clipboard

Event emitted for all participants when a live stream starts.

Link copied to clipboard
open fun onLiveStreamStopped(streamId: StreamId)

Event emitted for all participants when a live stream stops.

Link copied to clipboard
open fun onLiveStreamWarning(streamId: StreamId, message: String)

Event emitted for all participants when a live stream encounters a warning.

Link copied to clipboard
open fun onLocalAudioLevel(audioLevel: Float)

Event containing the local participant latest audio level information. Fires based on the frequency specified when starting the local audio level observer.

Link copied to clipboard

Event emitted when the network connection status changes.

Link copied to clipboard
open fun onNetworkStatsUpdated(newNetworkStatistics: NetworkStats)

Event emitted when the logging & telemetry backend updates the network statistics

Link copied to clipboard
open fun onParticipantCountsUpdated(newParticipantCounts: ParticipantCounts)

Event emitted when the participant count changes

Link copied to clipboard
open fun onParticipantJoined(participant: Participant)

Event emitted when a participant joins the call.

Link copied to clipboard
open fun onParticipantLeft(participant: Participant, reason: ParticipantLeftReason)

Event emitted when a participant has left the call.

Link copied to clipboard
open fun onParticipantUpdated(participant: Participant)

Event emitted when a participant is updated. This can mean either the participant's metadata was updated, or the tracks belonging to the participant changed.

Link copied to clipboard
open fun onPublishingUpdated(publishingSettings: PublishingSettings)

Event emitted when the publishing settings are updated, normally as a consequence of invocations to

Link copied to clipboard
open fun onRecordingError(streamId: StreamId, message: String)

Event emitted when a recording error occurs.

Link copied to clipboard

Event emitted for all participants when a recording starts.

Link copied to clipboard
open fun onRecordingStopped(streamId: StreamId)

Event emitted for all participants when a recording stops.

Link copied to clipboard
open fun onRemoteParticipantsAudioLevel(participantsAudioLevel: Map<ParticipantId, Float>)

Event containing all remote participants' latest audio level information. Fires based on the frequency specified when starting the remote participants audio level observer.

Link copied to clipboard

Event emitted when the subscription profile settings are updated as a consequence of calls to

Link copied to clipboard

Event emitted when the subscription settings are updated as a consequence of calls to

Link copied to clipboard
open fun onTranscriptionError(message: String)

Event emitted when transcription has encountered an error.

Link copied to clipboard

Event emitted when a transcription message is received.

Link copied to clipboard

Event emitted when transcription has started.

Link copied to clipboard
open fun onTranscriptionStopped(updatedBy: ParticipantId?, stoppedByError: Boolean)

Event emitted when transcription has stopped.