Room Event - OnJoin

The event is raised when Join is called. In order to obtain the room ID, you must call GetRoomID when the event is raised.

 

room.OnJoin += OnRoomJoin;
private void OnRoomJoin(bool success, uint createdTime)
{
  // If success is false, joining the room has failed.
  // bool createdTime is the timestamp to be shared by the members of the room
  // remember the  room ID
  roomID = room.GetRoomID()
}