From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = stopCallRecording(callback) = Stops the call recording and gets confirmation that recording is off. == Request == === Syntax === window.bpspat.api.stopCallReco...")
 
Line 2: Line 2:
 
= stopCallRecording(callback) =
 
= stopCallRecording(callback) =
 
Stops the call recording and gets confirmation that recording is off.
 
Stops the call recording and gets confirmation that recording is off.
 +
 +
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/getCallRecordingStatus |  Use Cases]] section for ways to use this method.
  
 
== Request ==
 
== Request ==

Revision as of 23:41, 26 March 2019

• 5.19 • 5.3 • 5.8

<translate>

stopCallRecording(callback)

Stops the call recording and gets confirmation that recording is off.

See the Embedded Agent Desktop Specification's Use Cases section for ways to use this method.

Request

Syntax

window.bpspat.api.stopCallRecording(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 = false;
}




</translate>

< Previous | Next >