how to get total online user for particular room in appwrap android ?

0 votes
asked Sep 22, 2016 in Android by bhavesh (16 points)

1 Answer

+1 vote

Hi Bhavesh,

Greetings!!!

You can use getLiveRoomInfo("rooomId") API to get online users of specific room. You will get the callback in onGetLiveRoomInfoDone(LiveRoomInfoEvent event) of RoomRequestListener.

 @Override
    public void onGetLiveRoomInfoDone(LiveRoomInfoEvent event) {
        if(event.getResult() == WarpResponseResultCode.SUCCESS){
            String[] users = event.getJoinedUsers();
        }
    }

Let me know if anu more queries are concern.

 

Thanks

Vishnu Garg

answered Sep 22, 2016 by Vishnu Garg (674 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 support@shephertz.com
...