400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

Related Extension Fields

    • 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
    • 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 extensions) 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 extensions) 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