JavaScript

A5.audio.Recorderresume Method

Syntax

A5.audio.Recorder.resume()

Description

Resume the current recording.

Example: Resuming Recording for the AudioRecorderAndPlayer Control 

The UX Component AudioRecorderAndPlayer control's JavaScript object can be used to resume a recording. The _rec property of the object contains the audio recorder class methods. The JavaScript below demonstrates how to resume a recording for an AudioRecorderAndPlayer control:

// Get the JavaScript object for the AudioRecorderAndPlayer Control
var audioObj = {dialog.object}.getControl("AUDIORECORDERANDPLAYER");

if (audioObj) {
    // Resume the recording
    audioObj._rec.resume();
}

See Also