public class Recording extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
Recording(TwilioRestClient client)
Instantiates a new recording.
|
Recording(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new recording.
|
Recording(TwilioRestClient client,
String sid)
Instantiates a new recording.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete this Recording
|
String |
getAccountSid()
Gets the account sid.
|
String |
getApiVersion()
Gets the api version.
|
String |
getCallSid()
Gets the call sid.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
int |
getDuration()
Gets the duration.
|
InputStream |
getMedia(String extension)
Gets the media.
|
String |
getPrice()
Gets the price.
|
String |
getPriceUnit()
Gets the Price Unit.
|
String |
getSid()
Gets the sid.
|
TranscriptionList |
getTranscriptions()
Returns the list of associated transcriptions
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic Recording(TwilioRestClient client)
client - the clientpublic Recording(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic Recording(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public TranscriptionList getTranscriptions()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getCallSid()
public int getDuration()
public String getApiVersion()
public String getPrice()
public String getPriceUnit()
public InputStream getMedia(String extension)
extension - the extensionpublic boolean delete()
throws TwilioRestException
TwilioRestException - the twilio rest exceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.