rtsRoom$onUserJoined method

FutureOr<void> rtsRoom$onUserJoined(
  1. ByteRTCRTSRoom rtsRoom,
  2. ByteRTCUserInfo userInfo
)

@detail callback @brief When the remote user enters the room for the first time, or reconnects to the room after being disconnected, the other users in the room will receive this callback. @param rtsRoom ByteRTCRTSRoom object.
@param userInfo For user information. See ByteRTCUserInfo{@link #ByteRTCUserInfo}.

Implementation

FutureOr<void> rtsRoom$onUserJoined(
    ByteRTCRTSRoom rtsRoom, ByteRTCUserInfo userInfo) async {}