public class RoomRecording extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
RoomRecording.Codec |
static class |
RoomRecording.Format |
static class |
RoomRecording.Status |
static class |
RoomRecording.Type |
Modifier and Type | Method and Description |
---|---|
static RoomRecordingDeleter |
deleter(String pathRoomSid,
String pathSid)
Create a RoomRecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RoomRecordingFetcher |
fetcher(String pathRoomSid,
String pathSid)
Create a RoomRecordingFetcher to execute fetch.
|
static RoomRecording |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RoomRecording object using the provided
ObjectMapper.
|
static RoomRecording |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RoomRecording object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
RoomRecording.Codec |
getCodec()
Returns The codec used for the recording.
|
RoomRecording.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 |
getRoomSid()
Returns The SID of the Room resource the recording is associated with.
|
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.
|
RoomRecording.Status |
getStatus()
Returns The status of the recording.
|
String |
getTrackName()
Returns The name that was given to the source track of the recording.
|
RoomRecording.Type |
getType()
Returns The recording's media type.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static RoomRecordingReader |
reader(String pathRoomSid)
Create a RoomRecordingReader to execute read.
|
public static RoomRecordingFetcher fetcher(String pathRoomSid, String pathSid)
pathRoomSid
- The SID of the Room resource with the recording to fetchpathSid
- The SID that identifies the resource to fetchpublic static RoomRecordingReader reader(String pathRoomSid)
pathRoomSid
- The SID of the room with the RoomRecording resources to
readpublic static RoomRecordingDeleter deleter(String pathRoomSid, String pathSid)
pathRoomSid
- The SID of the room with the RoomRecording resource to
deletepathSid
- The SID that identifies the resource to deletepublic static RoomRecording fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static RoomRecording fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final RoomRecording.Status getStatus()
public final ZonedDateTime getDateCreated()
public final String getSid()
public final String getSourceSid()
public final Long getSize()
public final URI getUrl()
public final RoomRecording.Type getType()
public final Integer getDuration()
public final RoomRecording.Format getContainerFormat()
public final RoomRecording.Codec getCodec()
public final Map<String,Object> getGroupingSids()
public final String getTrackName()
public final Long getOffset()
public final URI getMediaExternalLocation()
public final String getRoomSid()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.