rtcRoom$onUserJoined method

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

@detail callback @author luomingkang @brief 远端可见用户加入房间,或房内不可见用户切换为可见的回调。
1. 远端可见用户断网后重新连入房间时,房间内其他用户将收到该事件。
2. 新进房用户会收到进房前已在房内的可见用户的进房回调通知。 @param rtcRoom ByteRTCGameRoom 实例。 @param userInfo 用户信息,参看 ByteRTCUserInfo{@link #ByteRTCUserInfo}。

Implementation

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