void onError(TUICommonDefine.Error errorCode, String message)
Parameter | Type | Description |
errorCode | TUICommonDefine.Error | Error Code |
message | String | Error Message |
void onKickedOffLine(String message)
Parameter | Type | Description |
message | String | Kicked out description |
void onUserSigExpired()
void onRoomNameChanged(String roomId, String roomName)
Parameter | Type | Description |
roomId | String | Room ID |
roomName | String | Room Name |
void onAllUserMicrophoneDisableChanged(String roomId, boolean isDisable)
Parameter | Type | Description |
roomId | String | Room ID |
isDisable | boolean | Whether it is disabled |
void onAllUserCameraDisableChanged(String roomId, boolean isDisable)
Parameter | Type | Description |
roomId | String | Room ID |
isDisable | boolean | Whether it is disabled |
void onSendMessageForAllUserDisableChanged(String roomId, boolean isDisable)
Parameter | Type | Description |
roomId | String | Room ID |
isDisable | boolean | Whether it is disabled |
void onRoomDismissed(String roomId)
Parameter | Type | Description |
roomId | String | Room ID |
void onKickedOutOfRoom(String roomId, String message)
Parameter | Type | Description |
roomId | String | Room ID |
message | String | Description of being kicked out |
void onRoomSpeechModeChanged(String roomId, TUIRoomDefine.SpeechMode speechMode)
Parameter | Type | Description |
roomId | String | Room ID |
speechMode | Mic control mode |
void onRemoteUserEnterRoom(String roomId, TUIRoomDefine.UserInfo userInfo)
Parameter | Type | Description |
roomId | String | Room ID |
userInfo | User information |
void onRemoteUserLeaveRoom(String roomId, TUIRoomDefine.UserInfo userInfo)
Parameter | Type | Description |
roomId | String | Room ID |
userInfo | User information |
void onUserRoleChanged(String userId, TUIRoomDefine.Role role)
Parameter | Type | Description |
userId | String | User ID |
role | User Role |
void onUserVideoStateChanged(String userId,TUIRoomDefine.VideoStreamType streamType,boolean hasVideo,TUIRoomDefine.ChangeReason reason)
Parameter | Type | Description |
userId | String | User ID |
streamType | Streams type | |
hasVideo | boolean | Whether there are streams |
reason | Reason for streams change |
void onUserAudioStateChanged(String userId, boolean hasAudio, TUIRoomDefine.ChangeReason reason)
Parameter | Type | Description |
userId | String | User ID |
hasAudio | boolean | Whether there are Audio streams |
reason | Reason for Audio streams change |
void onUserVoiceVolumeChanged(Map<String, Integer> volumeMap)
Parameter | Type | Description |
volumeMap | Map | User Volume Map key: userId value: Used for carrying the volume size of all speaking users, Value range 0 - 100 |
void onSendMessageForUserDisableChanged(String roomId, String userId, boolean isDisable)
Parameter | Type | Description |
roomId | String | Room ID |
userId | String | User ID |
isDisable | boolean | Whether it is prohibited to send text messages. |
void onUserNetworkQualityChanged(Map<String, TUICommonDefine.NetworkInfo> networkMap)
Parameter | Type | Description |
networkMap | Map | User Network Status Map key: userId value: Network Condition |
void onUserScreenCaptureStopped(int reason)
Parameter | Type | Description |
reason | int | Stop reason: 0: User actively stops 1: Screen window closing causes the stop 2: Screen Sharing display screen status change (such as interface being unplugged, Projection mode change, etc.) |
void onRoomMaxSeatCountChanged(String roomId, int maxSeatCount)
Parameter | Type | Description |
roomId | String | Room ID |
maxSeatCount | int | Maximum number of mic slots in the room |
void onSeatListChanged(List<TUIRoomDefine.SeatInfo> seatList,List<TUIRoomDefine.SeatInfo> seatedList,List<TUIRoomDefine.SeatInfo> leftList)
Parameter | Type | Description |
seatList | The latest user list on the mic, including newly on mic users | |
seatedList | Newly on mic user list | |
leftList | Newly off mic user list |
void onKickedOffSeat(String userId)
Parameter | Type | Description |
userId | String | Operate Kick-out of the (Host/Administrator) User ID |
void onRequestReceived(TUIRoomDefine.Request request)
Parameter | Type | Description |
request | Request content |
void onRequestCancelled(String requestId, String userId)
Parameter | Type | Description |
requestId | String | Request ID |
userId | String | Cancel signaling user ID |
void onReceiveTextMessage(String roomId, TUICommonDefine.Message message)
Parameter | Type | Description |
roomId | String | Room ID |
message | Message content |
void onReceiveCustomMessage(String roomId, TUICommonDefine.Message message)
Parameter | Type | Description |
roomId | String | Room ID |
message | Message content |
Was this page helpful?