From Bright Pattern Documentation
< 5.19:AgentDesktop-client-side-javascript-api-specification
Revision as of 04:01, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 5.19


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

< Previous | Next >