Get Room name using room Id in Unity

0 votes
How can I get room name using roomId?  In this namespace "" there is a class "RoomData". I need that class's object when I give roomId...
asked Jun 25, 2014 in App42PaaS & BPaaS by patel.sagar2611 (34 points)

1 Answer

+1 vote
Best answer

Use getLiveRoomInfo() method. This will return result in onGetLiveRoomInfoDone() callback.  onGetLiveRoomInfoDone() provides onGetLiveRoomInfoDone object. Calling getData() will return RoomData object.

For e.g.

public void onGetLiveRoomInfoDone(LiveRoomInfoEvent eventObj){
    string roomName = eventObj.getData ().getName ();
answered Jun 25, 2014 by Suyash Mohan (900 points)
selected Jun 25, 2014 by patel.sagar2611's working.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on