rtcRoom$onUserJoined method
@detail callback
@author shenpengliang
@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 user sets themselves to be visible by calling the setUserVisibility:{@link #ByteRTCRoom#setUserVisibility} method and then joins the room, other users in the room will receive this event.
2. When a remote visible user who has been disconnected re-enters the room, other users in the room will receive this event.
3. When a hidden remote user in the room switches to being visible by calling the setUserVisibility:{@link #ByteRTCRoom#setUserVisibility} method, other users in the room will receive this event.
4. 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 ByteRTCRoom object.
@param userInfo For user information. See ByteRTCUserInfo{@link #ByteRTCUserInfo}.
Implementation
FutureOr<void> rtcRoom$onUserJoined(
ByteRTCRoom rtcRoom, ByteRTCUserInfo userInfo) async {}