com.telapi.api.domain
Class Recording

java.lang.Object
  extended by com.telapi.api.domain.BaseTelapiObject
      extended by 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.


Constructor Summary
Recording()
           
 
Method Summary
 String getCallSid()
           
 Long getDuration()
           
 String getRecordingUrl()
           
 void setCallSid(String callSid)
           
 void setDuration(Long duration)
           
 void setRecordingUrl(String recordingUrl)
           
 
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
 

Constructor Detail

Recording

public Recording()
Method Detail

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.