From Bright Pattern Documentation
< 3.15:Desktop-javascript-api-specification
Revision as of 16:57, 30 May 2017 by Tracy (talk | contribs) (Callback)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

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


< Previous
< Previous