From Bright Pattern Documentation
(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...") |
(No difference)
|
Revision as of 13:59, 16 September 2022
• 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>