com.telapi.api.domain
Class Recording
java.lang.Object
com.telapi.api.domain.BaseTelapiObject
com.telapi.api.domain.Recording
public class Recording
- extends BaseTelapiObject
Recorded calls can be viewed using the REST API. All
recordings are represented as the same type of resource, regardless of
whether initiated via InboundXML or the REST API.
| Methods inherited from class com.telapi.api.domain.BaseTelapiObject |
getAccountSid, getApiVersion, getDateCreated, getDateUpdated, getSid, getUri, setAccountSid, setApiVersion, setDateCreated, setDateUpdated, setSid, setUri |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Recording
public Recording()
getCallSid
public String getCallSid()
- Returns:
- The sid identifying the recorded call.
setCallSid
public void setCallSid(String callSid)
getDuration
public Long getDuration()
- Returns:
- Time of recording in seconds.
setDuration
public void setDuration(Long duration)
getRecordingUrl
public String getRecordingUrl()
- Returns:
- URL where .mp3 or .wav file of the recording is located.
setRecordingUrl
public void setRecordingUrl(String recordingUrl)
Copyright © 2012. All Rights Reserved.