Skip to content

Function: getAudioSession()

ts
function getAudioSession(): AudioSession;

Defined in: Calls.ts:194

Gets the current audio session state.

Returns information about the audio session including whether it's active, the current category/mode, and the audio route (speaker, earpiece, etc.).

Returns

AudioSession

The current audio session state.

Released under the MIT License.