From Bright Pattern Documentation
Pause Screen Recording
This function pauses screen recording of the user session.
For the period when screen recording is paused, the recording will contain a static snapshot of the desktop at the moment when pause was applied.
Syntax
pauseScreenRecording(callback);
Parameters
callback – Function that will be called upon completion of the method