onRemoteUserLeaveRoom method

void onRemoteUserLeaveRoom(
  1. String roomId,
  2. TUIUserInfo userInfo
)

Implementation

void onRemoteUserLeaveRoom(String roomId, TUIUserInfo userInfo) {
  userState.removeUser(userInfo);
}