MultimediaSessionOperations

Operations available on an active multimedia session.

Provides methods to control audio input/output, hold state, and session lifecycle. Convenience methods like muteMicrophone and unmuteMicrophone delegate to the underlying audioInput and audioOutput controls.

Inheritors

Functions

Link copied to clipboard
open fun activate()

Takes the session off hold. Equivalent to hold(false).

Link copied to clipboard
abstract fun audioInput(muteMicrophone: Boolean)

Enables or disables the microphone (audio input).

Link copied to clipboard
abstract fun audioOutput(muteSpeaker: Boolean)

Enables or disables the speaker (audio output).

Link copied to clipboard
open fun deactivate()

Places the session on hold. Equivalent to hold(true).

Link copied to clipboard
open fun end()

Ends the session. Equivalent to leave.

Link copied to clipboard
abstract fun hold(onHold: Boolean)

Places the session on hold or takes it off hold.

Link copied to clipboard
abstract fun join()

Joins the multimedia session.

Link copied to clipboard
abstract fun leave()

Leaves the multimedia session.

Link copied to clipboard
open fun muteMicrophone()

Mutes the microphone. Equivalent to audioInput(false).

Link copied to clipboard
open fun muteSpeakers()

Mutes the speaker. Equivalent to audioOutput(false).

Link copied to clipboard
open fun unmuteMicrophone()

Unmutes the microphone. Equivalent to audioInput(true).

Link copied to clipboard
open fun unmuteSpeakers()

Unmutes the speaker. Equivalent to audioOutput(true).