Package com.twilio.twiml.voice
Class Record
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Record
-
public class Record extends TwiML
TwiML wrapper for<Record>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecord.BuilderCreate a new<Record>elementstatic classRecord.RecordingEventstatic classRecord.Trim
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetAction()Action URLStringgetFinishOnKey()Finish recording on keyIntegergetMaxLength()Max time to record in secondsHttpMethodgetMethod()Action URL methodURIgetRecordingStatusCallback()Status callback URLList<Record.RecordingEvent>getRecordingStatusCallbackEvents()Recording status callback eventsHttpMethodgetRecordingStatusCallbackMethod()Status callback URL methodIntegergetTimeout()Timeout to begin recordingURIgetTranscribeCallback()Transcribe callback URLRecord.TrimgetTrim()Trim the recordingBooleanisPlayBeep()Play beepBooleanisTranscribe()Transcribe the recording-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getAction
public URI getAction()
Action URL- Returns:
- Action URL
-
getMethod
public HttpMethod getMethod()
Action URL method- Returns:
- Action URL method
-
getTimeout
public Integer getTimeout()
Timeout to begin recording- Returns:
- Timeout to begin recording
-
getFinishOnKey
public String getFinishOnKey()
Finish recording on key- Returns:
- Finish recording on key
-
getMaxLength
public Integer getMaxLength()
Max time to record in seconds- Returns:
- Max time to record in seconds
-
isPlayBeep
public Boolean isPlayBeep()
Play beep- Returns:
- Play beep
-
getTrim
public Record.Trim getTrim()
Trim the recording- Returns:
- Trim the recording
-
getRecordingStatusCallback
public URI getRecordingStatusCallback()
Status callback URL- Returns:
- Status callback URL
-
getRecordingStatusCallbackMethod
public HttpMethod getRecordingStatusCallbackMethod()
Status callback URL method- Returns:
- Status callback URL method
-
getRecordingStatusCallbackEvents
public List<Record.RecordingEvent> getRecordingStatusCallbackEvents()
Recording status callback events- Returns:
- Recording status callback events
-
isTranscribe
public Boolean isTranscribe()
Transcribe the recording- Returns:
- Transcribe the recording
-
getTranscribeCallback
public URI getTranscribeCallback()
Transcribe callback URL- Returns:
- Transcribe callback URL
-
-