Package com.bandwidth.voice.bxml.verbs
Class StartRecording
java.lang.Object
com.bandwidth.voice.bxml.verbs.StartRecording
- All Implemented Interfaces:
Verb
public class StartRecording extends java.lang.Object implements Verb
The StartRecording verb allows a segment of a call to be recorded while other verbs are executing.
All audio on both sides of the call will be recorded until the call ends or the verb is used or the verb is used.
All audio on both sides of the call will be recorded until the call ends or the
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StartRecording.StartRecordingBuilder
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fileFormat
(optional) The audio format that the recording will be saved as: mp3 or wav.protected boolean
multiChannel
(optional) A boolean value indicating whether or not the recording file should separate each side of the call into its own audio channel.protected java.lang.String
password
(optional) The password to send in the HTTP request to recordCompleteUrl or recordingAvailableUrl.static java.lang.String
TYPE_NAME
protected java.lang.String
username
(optional) The username to send in the HTTP request to recordCompleteUrl or recordingAvailableUrl. -
Constructor Summary
Constructors Constructor Description StartRecording()
-
Method Summary
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
username
protected java.lang.String username(optional) The username to send in the HTTP request to recordCompleteUrl or recordingAvailableUrl. If specified, the URLs must be TLS-encrypted (i.e., https). -
password
protected java.lang.String password(optional) The password to send in the HTTP request to recordCompleteUrl or recordingAvailableUrl. If specified, the URLs must be TLS-encrypted (i.e., https). -
multiChannel
protected boolean multiChannel(optional) A boolean value indicating whether or not the recording file should separate each side of the call into its own audio channel. Default value is false. true results in two channels. -
fileFormat
protected java.lang.String fileFormat(optional) The audio format that the recording will be saved as: mp3 or wav. Default value is wav.
-
-
Constructor Details
-
StartRecording
public StartRecording()
-