From Bright Pattern Documentation
• 5.2 • 5.3
Contents
- Desktop JavaScript API Specification Introduction
- Purpose
- AudienceAPI Methods
- General InformationDialing and Transfers
- Dial Number
- Select Service
- setRescheduleWindow
- Single-Step Transfer
- Single-Step ConferenceCompleting and Terminating an Interaction
- Complete Interaction
- Complete Interaction with Disposition and Notes
- Post Variable
- Set Disposition
- Set Disposition By Name
- Set Notes
- Set Reporting Custom Field
- Terminate InteractionCall and Screen Recordings Control
- Callback
- Pause Call and Screen Recording
- Resume Call and Screen RecordingCall Recordings Control
- Get Call Recording Status
- Mute Call Recording
- Unmute Call Recording
- Start Call Recording
- Stop Call RecordingScreen Recordings Control
- Get Screen Recording Status
- Pause Screen Recording
- Resume Screen Recording
- Stop Screen Recording
Callback
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
Parameter | Type | Description | Example |
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 | "1" (for true; recording is on) |
data.muted | Boolean | Indicates if voice recording is currently muted; returned only for the voice recording methods | "0" (for false; recording is not muted) |
data.paused | Boolean | Indicates if screen recording is currently paused; returned only for the screen recording methods | "1" (for false, recording is not paused) |