From Bright Pattern Documentation
Callback
This is the function that is called upon completion of the call/screen recording methods.
Syntax
callback = function(data) {
data.recording = 1/0;
data.muted = 1/0;
data.paused = 1/0;
}
Parameters
data.recording – Boolean; indicates if voice/screen recording is currently in progress; note that voice recording is applied to interactions (calls), while screen recording is applied to user sessions
data.muted – Boolean; indicates if voice recording is currently muted; returned only for the voice recording methods
data.paused – Boolean; indicates if screen recording is currently paused; returned only for the screen recording methods