Constructor and Description |
---|
RoomCreator() |
Modifier and Type | Method and Description |
---|---|
Room |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
RoomCreator |
setEnableTurn(Boolean enableTurn)
Deprecated, now always considered to be true..
|
RoomCreator |
setMaxParticipants(Integer maxParticipants)
The maximum number of concurrent Participants allowed in the room.
|
RoomCreator |
setMediaRegion(String mediaRegion)
The region for the media server in Group Rooms.
|
RoomCreator |
setRecordParticipantsOnConnect(Boolean recordParticipantsOnConnect)
Whether to start recording when Participants connect.
|
RoomCreator |
setStatusCallback(String statusCallback)
The URL we should call using the `status_callback_method` to send status
information to your application on every room event.
|
RoomCreator |
setStatusCallback(URI statusCallback)
The URL we should call using the `status_callback_method` to send status
information to your application on every room event.
|
RoomCreator |
setStatusCallbackMethod(HttpMethod statusCallbackMethod)
The HTTP method we should use to call `status_callback`.
|
RoomCreator |
setType(Room.RoomType type)
The type of room.
|
RoomCreator |
setUniqueName(String uniqueName)
An application-defined string that uniquely identifies the resource.
|
RoomCreator |
setVideoCodecs(List<Room.VideoCodec> videoCodecs)
An array of the video codecs that are supported when publishing a track in
the room.
|
RoomCreator |
setVideoCodecs(Room.VideoCodec videoCodecs)
An array of the video codecs that are supported when publishing a track in
the room.
|
create, createAsync, createAsync
public RoomCreator setEnableTurn(Boolean enableTurn)
enableTurn
- Enable Twilio's Network Traversal TURN servicepublic RoomCreator setType(Room.RoomType type)
type
- The type of roompublic RoomCreator setUniqueName(String uniqueName)
uniqueName
- An application-defined string that uniquely identifies the
resourcepublic RoomCreator setStatusCallback(URI statusCallback)
statusCallback
- The URL to send status information to your applicationpublic RoomCreator setStatusCallback(String statusCallback)
statusCallback
- The URL to send status information to your applicationpublic RoomCreator setStatusCallbackMethod(HttpMethod statusCallbackMethod)
statusCallbackMethod
- The HTTP method we should use to call
status_callbackpublic RoomCreator setMaxParticipants(Integer maxParticipants)
maxParticipants
- The maximum number of concurrent Participants allowed
in the roompublic RoomCreator setRecordParticipantsOnConnect(Boolean recordParticipantsOnConnect)
recordParticipantsOnConnect
- Whether to start recording when
Participants connectpublic RoomCreator setVideoCodecs(List<Room.VideoCodec> videoCodecs)
videoCodecs
- An array of the video codecs that are supported when
publishing a track in the roompublic RoomCreator setVideoCodecs(Room.VideoCodec videoCodecs)
videoCodecs
- An array of the video codecs that are supported when
publishing a track in the roompublic RoomCreator setMediaRegion(String mediaRegion)
mediaRegion
- The region for the media server in Group Roomspublic Room create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.