From Bright Pattern Documentation
< 5.8:Embedded-agent-desktop-sdk-specification‎ | Methods
Revision as of 04:13, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 5.19 • 5.3 • 5.8


startCallRecording(callback)

Starts the call recording and gets confirmation that recording is on.

Request

Syntax

window.bpspat.api.startCallRecording(callback)
callback = function(data) {
}

Arguments

Parameter Type Description
callback function JavaScript method executed when API method request is completed


Response

The response object may contain the following fields.

Name Data Type Description
data.item_id string interaction ID
data.recording boolean Whether a call is being recorded ("true") or not ("false")
data.muted boolean Whether the call recording is on mute ("true") or not ("false")

Example

{
   data.item_id = "12121212";
   data.recording = true;

}

< Previous | Next >