public class Room extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Room.Codec |
static class |
Room.CreatedMethod |
static class |
Room.EdgeLocation |
static class |
Room.EndReason |
static class |
Room.ProcessingState |
static class |
Room.RoomStatus |
static class |
Room.RoomType |
static class |
Room.TwilioRealm |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static RoomFetcher |
fetcher(String pathRoomSid)
Create a RoomFetcher to execute fetch.
|
static Room |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Room object using the provided
ObjectMapper.
|
static Room |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Room object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns Account SID associated with this room..
|
List<Room.Codec> |
getCodecs()
Returns Codecs used by participants in the room..
|
Integer |
getConcurrentParticipants()
Returns Actual number of concurrent participants..
|
Room.CreatedMethod |
getCreatedMethod()
Returns How the room was created..
|
ZonedDateTime |
getCreateTime()
Returns Creation time of the room..
|
Long |
getDurationSec()
Returns Total room duration from create time to end time..
|
Room.EdgeLocation |
getEdgeLocation()
Returns Edge location of Twilio media servers for the room..
|
Room.EndReason |
getEndReason()
Returns Reason the room ended..
|
ZonedDateTime |
getEndTime()
Returns End time for the room..
|
Map<String,String> |
getLinks()
Returns Room subresources..
|
Integer |
getMaxConcurrentParticipants()
Returns Maximum number of participants allowed in the room at the same time
allowed by the application settings..
|
Integer |
getMaxParticipants()
Returns Max number of total participants allowed by the application
settings..
|
Room.TwilioRealm |
getMediaRegion()
Returns Region of Twilio media servers for the room..
|
Room.ProcessingState |
getProcessingState()
Returns Video Log Analyzer resource state.
|
Boolean |
getRecordingEnabled()
Returns Boolean indicating if recording is enabled for the room..
|
String |
getRoomName()
Returns room friendly name..
|
String |
getRoomSid()
Returns Unique identifier for the room..
|
Room.RoomStatus |
getRoomStatus()
Returns Status of the room..
|
Room.RoomType |
getRoomType()
Returns Type of room..
|
URI |
getStatusCallback()
Returns Webhook provided for status callbacks..
|
HttpMethod |
getStatusCallbackMethod()
Returns HTTP method provided for status callback URL..
|
Long |
getTotalParticipantDurationSec()
Returns Combined amount of participant time in the room..
|
Long |
getTotalRecordingDurationSec()
Returns Combined amount of recorded seconds for participants in the room..
|
Integer |
getUniqueParticipantIdentities()
Returns Unique number of participant identities..
|
Integer |
getUniqueParticipants()
Returns Number of participants.
|
URI |
getUrl()
Returns URL for the room resource..
|
int |
hashCode() |
static RoomReader |
reader()
Create a RoomReader to execute read.
|
public static RoomFetcher fetcher(String pathRoomSid)
pathRoomSid
- The SID of the Room resource.public static RoomReader reader()
public static Room fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Room fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getRoomSid()
public final String getRoomName()
public final ZonedDateTime getCreateTime()
public final ZonedDateTime getEndTime()
public final Room.RoomType getRoomType()
public final Room.RoomStatus getRoomStatus()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final Room.CreatedMethod getCreatedMethod()
public final Room.EndReason getEndReason()
public final Integer getMaxParticipants()
public final Integer getUniqueParticipants()
public final Integer getUniqueParticipantIdentities()
public final Integer getConcurrentParticipants()
public final Integer getMaxConcurrentParticipants()
public final List<Room.Codec> getCodecs()
public final Room.TwilioRealm getMediaRegion()
public final Long getDurationSec()
public final Long getTotalParticipantDurationSec()
public final Long getTotalRecordingDurationSec()
public final Room.ProcessingState getProcessingState()
public final Boolean getRecordingEnabled()
public final Room.EdgeLocation getEdgeLocation()
public final URI getUrl()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.