onUserJoined property

OnUserJoinedType? onUserJoined
getter/setter pair

Callback about remote users joining the room.

This callback is triggered in the following scenarios:

  • When the remote visible user calls RTCRoom.joinRoom to join the room, other users in the room will receive the callback.
  • when the remote visible user reconnects to the room after disconnecting from the network, other users in the room will receive the callback.
  • When the remote invisible user calls RTCRoom.setUserVisibility to switch themselves to visible, other users in the room will receive the callback.
  • New comers will receive this callback of exiting visible users entering the room.

Implementation

OnUserJoinedType? onUserJoined;