public class RoomInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RoomInfo() | 
| RoomInfo(RoomInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getAssistants()Get The user IDs of the teacher assistants. | 
| Long | getAudienceType()Get The audience type. | 
| Long | getAudioQuality()Get Whether to enable the high audio quality mode. | 
| Long | getAutoMic()Get Whether to automatically turn the mic on when a user enters the room. | 
| Long | getDisableRecord()Get Whether to disable auto recording. | 
| Long | getEnableAutoStart()Get Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is valid | 
| Long | getEnableDirectControl()Get Whether the students' consent is required to control their cameras/microphones. | 
| Long | getEndDelayTime()Get Drag class time: unit minutes, 0 is unlimited (default), -1 is can't drag the class, greater than 0 is the time of dragging the class, the maximum value of 120 minutes | 
| Long | getEndTime()Get The room end time (Unix timestamp). | 
| String | getGroupId()Get The ID of the group to bind. | 
| Long | getInteractionMode()Get Turn on focus mode. | 
| Long | getIsGradingRequiredPostClass()Get Whether the room is enabled for grading after the lesson. | 
| Long | getLiveType()Get Live type: 0 regular (default) 1 Simulated Live | 
| Long | getMaxMicNumber()Get The maximum number of mic-on users (excluding the teacher). | 
| String | getName()Get The room name. | 
| String | getRecordBackground()Get Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time being | 
| String | getRecordLang()Deprecated.   | 
| Long | getRecordLayout()Get The recording layout. | 
| String | getRecordLiveUrl()Get Simulated Live link | 
| String | getRecordScene()Get Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type. | 
| Long | getResolution()Get The resolution. | 
| Long | getRoomType()Get Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class) | 
| Long | getRTCAudienceNumber()Get The number of RTC users. | 
| Long | getStartTime()Get The room start time (Unix timestamp). | 
| String | getSubType()Get The room subtype. | 
| String | getTeacherId()Get The user ID of the teacher. | 
| Long | getTurnOffMic()Get Whether to disconnect communication after audio/video permissions are revoked. | 
| Long | getVideoOrientation()Get Horizontal and vertical screen. | 
| void | setAssistants(String[] Assistants)Set The user IDs of the teacher assistants. | 
| void | setAudienceType(Long AudienceType)Set The audience type. | 
| void | setAudioQuality(Long AudioQuality)Set Whether to enable the high audio quality mode. | 
| void | setAutoMic(Long AutoMic)Set Whether to automatically turn the mic on when a user enters the room. | 
| void | setDisableRecord(Long DisableRecord)Set Whether to disable auto recording. | 
| void | setEnableAutoStart(Long EnableAutoStart)Set Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is valid | 
| void | setEnableDirectControl(Long EnableDirectControl)Set Whether the students' consent is required to control their cameras/microphones. | 
| void | setEndDelayTime(Long EndDelayTime)Set Drag class time: unit minutes, 0 is unlimited (default), -1 is can't drag the class, greater than 0 is the time of dragging the class, the maximum value of 120 minutes | 
| void | setEndTime(Long EndTime)Set The room end time (Unix timestamp). | 
| void | setGroupId(String GroupId)Set The ID of the group to bind. | 
| void | setInteractionMode(Long InteractionMode)Set Turn on focus mode. | 
| void | setIsGradingRequiredPostClass(Long IsGradingRequiredPostClass)Set Whether the room is enabled for grading after the lesson. | 
| void | setLiveType(Long LiveType)Set Live type: 0 regular (default) 1 Simulated Live | 
| void | setMaxMicNumber(Long MaxMicNumber)Set The maximum number of mic-on users (excluding the teacher). | 
| void | setName(String Name)Set The room name. | 
| void | setRecordBackground(String RecordBackground)Set Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time being | 
| void | setRecordLang(String RecordLang)Deprecated.   | 
| void | setRecordLayout(Long RecordLayout)Set The recording layout. | 
| void | setRecordLiveUrl(String RecordLiveUrl)Set Simulated Live link | 
| void | setRecordScene(String RecordScene)Set Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type. | 
| void | setResolution(Long Resolution)Set The resolution. | 
| void | setRoomType(Long RoomType)Set Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class) | 
| void | setRTCAudienceNumber(Long RTCAudienceNumber)Set The number of RTC users. | 
| void | setStartTime(Long StartTime)Set The room start time (Unix timestamp). | 
| void | setSubType(String SubType)Set The room subtype. | 
| void | setTeacherId(String TeacherId)Set The user ID of the teacher. | 
| void | setTurnOffMic(Long TurnOffMic)Set Whether to disconnect communication after audio/video permissions are revoked. | 
| void | setVideoOrientation(Long VideoOrientation)Set Horizontal and vertical screen. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RoomInfo()
public RoomInfo(RoomInfo source)
public String getName()
public void setName(String Name)
Name - The room name.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - The room start time (Unix timestamp).public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - The room end time (Unix timestamp).public Long getResolution()
public void setResolution(Long Resolution)
Resolution - The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.public Long getMaxMicNumber()
public void setMaxMicNumber(Long MaxMicNumber)
MaxMicNumber - The maximum number of mic-on users (excluding the teacher). Value range: 0-16.public String getSubType()
public void setSubType(String SubType)
SubType - The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.public String getTeacherId()
public void setTeacherId(String TeacherId)
TeacherId - The user ID of the teacher. User IDs are returned by the user registration APIs.public Long getAutoMic()
public void setAutoMic(Long AutoMic)
AutoMic - Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.public Long getTurnOffMic()
public void setTurnOffMic(Long TurnOffMic)
TurnOffMic - Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.public Long getAudioQuality()
public void setAudioQuality(Long AudioQuality)
AudioQuality - Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.public Long getDisableRecord()
public void setDisableRecord(Long DisableRecord)
DisableRecord - Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.public String[] getAssistants()
public void setAssistants(String[] Assistants)
Assistants - The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.public Long getRTCAudienceNumber()
public void setRTCAudienceNumber(Long RTCAudienceNumber)
RTCAudienceNumber - The number of RTC users.public Long getAudienceType()
public void setAudienceType(Long AudienceType)
AudienceType - The audience type.public Long getRecordLayout()
public void setRecordLayout(Long RecordLayout)
RecordLayout - The recording layout.public String getGroupId()
public void setGroupId(String GroupId)
GroupId - The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.public Long getEnableDirectControl()
public void setEnableDirectControl(Long EnableDirectControl)
EnableDirectControl - Whether the students' consent is required to control their cameras/microphones.public Long getInteractionMode()
public void setInteractionMode(Long InteractionMode)
InteractionMode - Turn on focus mode. 0 Watch all character audio and video (default) 1 Watch only teachers and teaching assistantspublic Long getVideoOrientation()
public void setVideoOrientation(Long VideoOrientation)
VideoOrientation - Horizontal and vertical screen. 0: Horizontal screen to open broadcast (default); 1: Vertical screen to open broadcast, currently only support mobile pure video typepublic Long getIsGradingRequiredPostClass()
public void setIsGradingRequiredPostClass(Long IsGradingRequiredPostClass)
IsGradingRequiredPostClass - Whether the room is enabled for grading after the lesson. 0: not enabled 1: enabledpublic Long getRoomType()
public void setRoomType(Long RoomType)
RoomType - Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class)public Long getEndDelayTime()
public void setEndDelayTime(Long EndDelayTime)
EndDelayTime - Drag class time: unit minutes, 0 is unlimited (default), -1 is can't drag the class, greater than 0 is the time of dragging the class, the maximum value of 120 minutespublic Long getLiveType()
public void setLiveType(Long LiveType)
LiveType - Live type: 0 regular (default) 1 Simulated Livepublic String getRecordLiveUrl()
public void setRecordLiveUrl(String RecordLiveUrl)
RecordLiveUrl - Simulated Live linkpublic Long getEnableAutoStart()
public void setEnableAutoStart(Long EnableAutoStart)
EnableAutoStart - Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is validpublic String getRecordBackground()
public void setRecordBackground(String RecordBackground)
RecordBackground - Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time beingpublic String getRecordScene()
public void setRecordScene(String RecordScene)
RecordScene - Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type.@Deprecated public String getRecordLang()
@Deprecated public void setRecordLang(String RecordLang)
RecordLang - Record customized language, only when recordlayout=9, this parameter is valid.Copyright © 2025. All rights reserved.