null if no call is active.
Signature
Parameters
None.Returns
CallSession | null — the active call session, or null if no call is in progress.
Example
Toggle Mute Based on Current State
More Information
- CallSession — session type definition
- mute — mute the microphone
- unmute — unmute the microphone