Skip to content

Function: addSetMutedActionListener() ​

ts
function addSetMutedActionListener(listener): EventSubscription;

Defined in: Calls.ts:716

Subscribes to set muted action events.

Fired when the system requests to set the mute state (e.g., user pressed mute button). Apply the change to your media connection when you receive this event.

On Android, the module has already muted or unmuted the device microphone when this fires.

Parameters ​

ParameterTypeDescription
listener(event) => voidCallback invoked when set muted action is requested.

Returns ​

EventSubscription

A subscription that can be removed by calling .remove().

See ​

setMuted — for the app-initiated direction (programmatic mute toggle).