tencent cloud

Feedback

SeatGridViewObserver

Last updated: 2024-12-03 17:47:30

    Event

    Function List
    Description
    Event of Room Termination Received
    Event of Being Kicked Out of the Room Received
    Event of Request for Speaking/Invitation to Speak Received
    Event of Request for Speaking/Invitation to Speak Canceled
    Event of User Kicked Off Seat Received
    Event of User Audio Status Changed
    Seat View Click Event

    Event Callback Details

    onRoomDismissed

    Event of Live Room Destroyed
    void onRoomDismissed(String roomId);
    Parameter:
    Parameter
    Type
    Description
    roomId
    String
    Room ID
    Return Value:void

    onKickedOutOfRoom

    Event of Being Kicked Out of the Room
    void onKickedOutOfRoom(String roomId, TUIRoomDefine.KickedOutOfRoomReason reason, String message);
    Parameter:
    Parameter
    Type
    Description
    roomId
    String
    Room ID
    reason
    KickedOutOfRoomReason
    Reason for Being Kicked Out
    message
    String
    Description of Being Kicked Out
    Return Value:void

    onSeatRequestReceived

    Event of Request for Speaking/Invitation to Speak Received
    void onSeatRequestReceived(VoiceRoomDefine.RequestType type, TUIRoomDefine.UserInfo userInfo);
    Parameter:
    Parameter
    Type
    Description
    type
    Request type (Request for Speaking, Invitation to Speak)
    userInfo
    UserInfo
    Information of the user who sent the request
    Return Value:void

    onSeatRequestCancelled

    Event of Request for Speaking/Invitation to Speak Canceled
    void onSeatRequestCancelled(VoiceRoomDefine.RequestType type, TUIRoomDefine.UserInfo userInfo);
    Parameter:
    Parameter
    Type
    Description
    type
    Request type (Request for Speaking, Invitation to Speak)
    userInfo
    UserInfo
    Information of the user who canceled the request
    Return Value:void

    onKickedOffSeat

    Event of User Kicked Off Seat
    void onKickedOffSeat(UserInfo userInfo);
    Parameter:
    Parameter
    Type
    Description
    userInfo
    UserInfo
    Information of the host who kicked the user off the seat
    Return Value:void

    onUserAudioStateChanged

    Event of User Audio Status Changed
    void onUserAudioStateChanged(UserInfo userInfo, boolean hasAudio, TUIRoomDefine.ChangeReason reason);
    Parameter:
    Parameter
    Type
    Description
    userInfo
    UserInfo
    User Information
    hasAudio
    boolean
    Is there an audio stream
    reason
    ChangeReason
    Reason for audio stream change
    Return Value:void

    onSeatViewClicked

    Seat View Click Event
    void onSeatViewClicked(View seatView, TUIRoomDefine.SeatInfo seatInfo);
    Parameter:
    Parameter
    Type
    Description
    seatView
    View
    Currently clicked seat view object
    seatInfo
    SeatInfo
    Seat information
    Return Value:void
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support