Related Extension Fields
Related to room initialization
- Builder class
| Method Name | Method Description |
|---|---|
| setHasWhiteboard(boolean hasWhiteboard) | Set whether to receive whiteboard notifications |
| setTkCheckroomInterrupt(boolean tkCheckroomInterrupt) | Set whether to interrupt the room entry process (for SAAS users only) |
| setTkRoomType(@TK_ROOM_TYPE.ROOM_TYPE int tkRoomType) | Room type (check the value in the enum definition of TK_ROOM_TYPE) |
| setUseSecureSocket(boolean useSecureSocket) | Whether the socket uses encryption |
| setTkPort(int tkPort) | Private deployment port |
| setTkHost(String tkHost) | Access the domain |
Related to joining a room
- RoomParams class
| Method Name | Method Description |
|---|---|
| setRoomId(String roomId) | Set room ID |
| setThirdRoomId(String thirdRoomId) | Set third-party room ID |
| setTkVersion(String tkVersion) | Set app version |
| setUserId(String userId) | Set user ID |
| setTkToken(String tkToken) | Set token |
| setRoomType(int roomType) | Room type (check the value in the enum definition of TK_ROOM_TYPE) |
| setPassword(String password) | Set password |
| setDomain(String domain) | Set private deployment address |
| setExtensions(Map |
Set custom extended parameters for the room |
- UserParams class
| Method Name | Method Description |
|---|---|
| setUserId(String nickname) | Set user ID |
| setNickname(String nickname) | Set user nickname |
| setUserRole(@RoomRole.ROLE int userRole) | set user role (check the value in the enum definition of RoomRole) |
| setExtensions(Map |
Set user-defined extended parameters |
- TKVideoMirrorMode class
| Method Name | Method Description |
|---|---|
| TKVideoMirrorModeAuto | Default settings,enable mirror mode for the front camera, and disable mirror mode for the rear camera |
| TKVideoMirrorModeEnable | Enable mirror mode for both front and rear cameras |
| TKVideoMirrorModeDisabled | Disable mirror mode for both front and rear cameras |
- VideoProfile class
| Method Name | Method Description |
|---|---|
| width | Video width |
| height | Video height |
| maxfps | Maximum FPS |
- TK_VIDEO_STATE enumerate
| Method Name | Method Description |
|---|---|
| TK_VIDEO_STATE_FROZEN | Stop |
| TK_VIDEO_STATE_RESUME | Restore |
- TK_AUDIO_STATE enumerate
| Method Name | Method Description |
|---|---|
| TK_AUDIO_STATE_FROZEN | Stop |
| TK_AUDIO_STATE_RESUME | Restore |




