rtcRoom$onUserJoined method

FutureOr<void> rtcRoom$onUserJoined(
  1. ByteRTCGameRoom rtcRoom,
  2. ByteRTCUserInfo userInfo
)

@detail callback @author luomingkang @brief Callback for when a remote visible user joins the room, or when an invisible user in the room switches to being visible.
1. When a remote visible user who has been disconnected re-enters the room, other users in the room will receive this event.
2. A new user entering the room will receive an entry callback notification for visible users who were already in the room before they entered. @param rtcRoom ByteRTCGameRoom instance. @param userInfo For user information. See ByteRTCUserInfo{@link #ByteRTCUserInfo}.

Implementation

FutureOr<void> rtcRoom$onUserJoined(
    ByteRTCGameRoom rtcRoom, ByteRTCUserInfo userInfo) async {}