| 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)
The enable_turn.
|
RoomCreator |
setMaxParticipants(Integer maxParticipants)
The max_participants.
|
RoomCreator |
setMediaRegion(String mediaRegion)
The media_region.
|
RoomCreator |
setRecordParticipantsOnConnect(Boolean recordParticipantsOnConnect)
The record_participants_on_connect.
|
RoomCreator |
setStatusCallback(String statusCallback)
The status_callback.
|
RoomCreator |
setStatusCallback(URI statusCallback)
The status_callback.
|
RoomCreator |
setStatusCallbackMethod(HttpMethod statusCallbackMethod)
The status_callback_method.
|
RoomCreator |
setType(Room.RoomType type)
The type.
|
RoomCreator |
setUniqueName(String uniqueName)
The unique_name.
|
RoomCreator |
setVideoCodecs(List<Room.VideoCodec> videoCodecs)
The video_codecs.
|
RoomCreator |
setVideoCodecs(Room.VideoCodec videoCodecs)
The video_codecs.
|
create, createAsync, createAsyncpublic RoomCreator setEnableTurn(Boolean enableTurn)
enableTurn - The enable_turnpublic RoomCreator setType(Room.RoomType type)
type - The typepublic RoomCreator setUniqueName(String uniqueName)
uniqueName - The unique_namepublic RoomCreator setStatusCallback(URI statusCallback)
statusCallback - The status_callbackpublic RoomCreator setStatusCallback(String statusCallback)
statusCallback - The status_callbackpublic RoomCreator setStatusCallbackMethod(HttpMethod statusCallbackMethod)
statusCallbackMethod - The status_callback_methodpublic RoomCreator setMaxParticipants(Integer maxParticipants)
maxParticipants - The max_participantspublic RoomCreator setRecordParticipantsOnConnect(Boolean recordParticipantsOnConnect)
recordParticipantsOnConnect - The record_participants_on_connectpublic RoomCreator setVideoCodecs(List<Room.VideoCodec> videoCodecs)
videoCodecs - The video_codecspublic RoomCreator setVideoCodecs(Room.VideoCodec videoCodecs)
videoCodecs - The video_codecspublic RoomCreator setMediaRegion(String mediaRegion)
mediaRegion - The media_regionpublic Room create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.