From Bright Pattern Documentation
Jump to: navigation, search
(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...")
 
(Updated via BpDeleteTranslateTags script)
 
Line 1: Line 1:
<translate>
+
 
 
=setScreenRecordingMute=
 
=setScreenRecordingMute=
  
Line 42: Line 42:
  
 
''null''
 
''null''
 
 
</translate>
 

Latest revision as of 04:01, 29 May 2024

• 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 >