How to get live user info

0 votes


I want to Display Number Of Users currently played in the room

so for that, I wrote this code

public void onGetLiveRoomInfoDone (LiveRoomInfoEvent eventObj)
   Log ("onGetLiveRoomInfoDone : " + eventObj.getResult());
  if (eventObj.getResult () == WarpResponseResultCode.SUCCESS) {
  print ("room id" + eventObj.getData ().getId());
  print ("joined users==" + eventObj.getJoinedUsers());

It displays onGetLiveRoomInfoDone : 0
                room id1269678926
                joined users===

so I got joined users null even if there is one user in the room why?
Please help
asked Apr 24, 2018 in AppWarpS2 by mkc110891 (16 points)
Hi, can you please help me?
I have forwarded this to my dev team, I will update you ASAP on this.

Hi Rajeev,
Is there any update?

1 Answer

0 votes


We have checked this on our side and it is working fine.

The log in your code is not printing anything because the object(eventObj.getJoinedUsers()) is an array and to print this you need to iterate in a loop and print single element as follows:


Please let me know if you have any further query, I will be happy to help you.


answered Apr 27, 2018 by rajeev.etc (1,660 points)
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