public class RoomInfo extends AbstractModel
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 |
getEndTime()
Get The room end time (Unix timestamp).
|
String |
getGroupId()
Get The ID of the group to bind.
|
Long |
getMaxMicNumber()
Get The maximum number of mic-on users (excluding the teacher).
|
String |
getName()
Get The room name.
|
Long |
getRecordLayout()
Get The recording layout.
|
Long |
getResolution()
Get The resolution.
|
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.
|
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 |
setEndTime(Long EndTime)
Set The room end time (Unix timestamp).
|
void |
setGroupId(String GroupId)
Set The ID of the group to bind.
|
void |
setMaxMicNumber(Long MaxMicNumber)
Set The maximum number of mic-on users (excluding the teacher).
|
void |
setName(String Name)
Set The room name.
|
void |
setRecordLayout(Long RecordLayout)
Set The recording layout.
|
void |
setResolution(Long Resolution)
Set The resolution.
|
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 |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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.Copyright © 2023. All rights reserved.