From Bright Pattern Documentation
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 >