Audio

class Audio

Methods for manipulating audio.

These methods manipulate mute, audio routes and DTMF.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun dtmfOff()
Stop generating DTMF tone.
Link copied to clipboard
open fun dtmfOn(codeInAscii: Byte)
open fun dtmfOn(code: Char)
open fun dtmfOn(codeInAscii: Byte, appendDigit: Boolean)
open fun dtmfOn(code: Char, appendDigit: Boolean)
Start generating DTMF tone for a digit.
Link copied to clipboard
Get available call audio routes.
Link copied to clipboard
Get the currently used audio route.
Link copied to clipboard
Check if the device is muted.
Link copied to clipboard
Check if the physical microphone is muted.
Check if a microphone is muted.
Link copied to clipboard
Force-reload audio endpoints.
Link copied to clipboard
Force-reload audio recorder permissions.
Link copied to clipboard
Set the desired call audio route.
Link copied to clipboard
open fun setMuted(muted: Boolean)
Mute or unmute physical microphone.
open fun setMuted(@NonNull microphone: Microphone, muted: Boolean)
Mute or unmute a microphone.