Type | Description |
Layout modes of the seat position list support element layout, grid layout, vertical layout, and custom layout | |
Alignment of seat position layout | |
Request type (apply to speak and invite to speak) | |
Size of the seat position layout | |
Microphone position layout configuration information | |
Seating Layout Row Configuration Information | |
Request Callback | |
Seat view adapter |
Type | Description |
FOCUS | Element Layout |
GRID | Grid Layout |
VERTICAL | Vertical layout |
FREE | Customized Layout |
Type | Description |
START | Seat position near the start |
END | Seat position near the end |
CENTER | Seat position near the middle |
SPACE_BETWEEN | No space before the first and after the last seat positions, evenly distribute the remaining space between other seat positions |
SPACE_AROUND | Distribute half of the space before the first and after the last seat positions, evenly distribute the remaining space between other seat positions |
SPACE_EVENLY | Evenly distribute the remaining space between all seat positions |
Type | Description |
APPLY_TO_TAKE_SEAT | Apply to speak |
INVITE_TO_TAKE_SEAT | Invite to speak |
Type | Description |
width | Layout width |
height | Layout height |
Type | Description |
rowConfigs | List of all row configuration information in the seat layout, refer to SeatViewLayoutRowConfig for content. |
rowSpacing | Seat row spacing |
Type | Description |
count | Number of seats displayed in this row |
seatSpacing | Horizontal spacing of each seat in this row (effective only when the alignment is START, END, or CENTER) |
seatSize | Size of the seat layout in this row |
alignment |
API | Description |
Request accepted | |
Request rejected | |
Request canceled | |
Request timeout | |
Request Exception |
API | Description |
Callback when creating a single seat layout. | |
Callback when updating the seat view. | |
Callback when updating user volume. |
void onAccepted(TUIRoomDefine.UserInfo userInfo);
Parameter | Type | Description |
userInfo | UserInfo | Response to the current request's user information |
void onRejected(TUIRoomDefine.UserInfo userInfo);
Parameter | Type | Description |
userInfo | UserInfo | Response to the current request's user information |
void onCancelled(TUIRoomDefine.UserInfo userInfo);
Parameter | Type | Description |
userInfo | UserInfo | User information for the canceled request |
void onTimeout(TUIRoomDefine.UserInfo userInfo);
Parameter | Type | Description |
userInfo | UserInfo | User information for the initiated request |
void onError(TUIRoomDefine.UserInfo userInfo, TUICommonDefine.Error error, String message);
Parameter | Type | Description |
userInfo | UserInfo | User information for the initiated request |
error | TUICommonDefine.Error | Error code |
message | String | Error message |
View createSeatView(SeatGridView seatGridView, TUIRoomDefine.SeatInfo seatInfo);
Parameter | Type | Description |
seatGridView | SeatGridView | Core components of voice chat room |
seatInfo | SeatInfo | Seat information |
void updateSeatView(SeatGridView seatGridView, TUIRoomDefine.SeatInfo seatInfo, View seatView);
Parameter | Type | Description |
seatGridView | SeatGridView | Core components of voice chat room |
seatInfo | SeatInfo | Seat information |
seatView | View | Current updated seat view |
void updateUserVolume(SeatGridView seatGridView, int volume, View seatView);
Parameter | Type | Description |
seatGridView | SeatGridView | Core components of voice chat room |
volume | int | Volume level |
seatView | View | Current seat layout view with volume changes |
Was this page helpful?