From Bright Pattern Documentation
< 5.19:AgentDesktop-client-side-javascript-api-specification
Revision as of 13:59, 16 September 2022 by Katherine (talk | contribs) (Created page with "<translate> =setScreenRecordingMute= Mutes or unmutes the user’s microphone input for screen recording. Use the ''true'' value to mute the recording and ''false'' to unmute...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 5.19

<translate>

setScreenRecordingMute

Mutes or unmutes the user’s microphone input for screen recording. Use the true value to mute the recording and false to unmute the recording.

Request

Syntax

setScreenRecordingMute(state: boolean): Promise<OperationResult<null>>

Parameters

Parameter Parameter Values Data Type Optional/Required Description
state Boolean Required Set the value to true to mute screen recording, set the value to false to unmute screen recording.

Example Request

muteScreenRecordingButton.onclick = () => {

        adApi.setScreenRecordingMute(true);

      };

unmuteScreenRecordingButton.onclick = () => {

  adApi.setScreenRecordingMute(false);

};

Return Value

null


</translate>

< Previous | Next >