public class Recording extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Recording.Codec |
static class |
Recording.Format |
static class |
Recording.Status |
static class |
Recording.Type |
Modifier and Type | Method and Description |
---|---|
static RecordingDeleter |
deleter(String pathSid)
Create a RecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RecordingFetcher |
fetcher(String pathSid)
Create a RecordingFetcher to execute fetch.
|
static Recording |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Recording object using the provided
ObjectMapper.
|
static Recording |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Recording object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
Recording.Codec |
getCodec()
Returns The codec used to encode the track.
|
Recording.Format |
getContainerFormat()
Returns The file format for the recording.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
Integer |
getDuration()
Returns The duration of the recording in seconds.
|
Map<String,Object> |
getGroupingSids()
Returns A list of SIDs related to the recording.
|
Map<String,String> |
getLinks()
Returns The URLs of related resources.
|
URI |
getMediaExternalLocation()
Returns The URL of the media file associated with the recording when stored
externally.
|
Long |
getOffset()
Returns The number of milliseconds between a point in time that is common to
all rooms in a group and when the source room of the recording started.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
Long |
getSize()
Returns The size of the recorded track, in bytes.
|
String |
getSourceSid()
Returns The SID of the recording source.
|
Recording.Status |
getStatus()
Returns The status of the recording.
|
URI |
getStatusCallback()
Returns The URL called to send status information on every recording event..
|
HttpMethod |
getStatusCallbackMethod()
Returns The HTTP method used to call `status_callback`.
|
String |
getTrackName()
Returns The name that was given to the source track of the recording.
|
Recording.Type |
getType()
Returns The recording's media type.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static RecordingReader |
reader()
Create a RecordingReader to execute read.
|
public static RecordingFetcher fetcher(String pathSid)
pathSid
- The SID that identifies the resource to fetchpublic static RecordingReader reader()
public static RecordingDeleter deleter(String pathSid)
pathSid
- The SID that identifies the resource to deletepublic static Recording fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Recording fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Recording.Status getStatus()
public final ZonedDateTime getDateCreated()
public final String getSid()
public final String getSourceSid()
public final Long getSize()
public final URI getUrl()
public final Recording.Type getType()
public final Integer getDuration()
public final Recording.Format getContainerFormat()
public final Recording.Codec getCodec()
public final Map<String,Object> getGroupingSids()
public final String getTrackName()
public final Long getOffset()
public final URI getMediaExternalLocation()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.