Class Record

java.lang.Object
com.bandwidth.voice.bxml.verbs.Record
All Implemented Interfaces:
Verb

public class Record
extends java.lang.Object
implements Verb
The Record verb is used to Record the current XML execution to another URL.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Record.RecordBuilder  
  • 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 int maxDuration
    (optional) Maximum length of recording (in seconds).
    protected java.lang.String password
    (optional) The password to send in the HTTP request to recordCompleteUrl or recordingAvailableUrl.
    protected java.lang.String terminatingDigits
    (optional) When pressed, this digit will terminate the recording.
    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
    Record()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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).
    • terminatingDigits

      protected java.lang.String terminatingDigits
      (optional) When pressed, this digit will terminate the recording. Default value is “#”.
    • maxDuration

      protected int maxDuration
      (optional) Maximum length of recording (in seconds). Max 10800 (3 hours). Default value is 60.
    • 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