joinRoomWithProperties with given number of users

0 votes


I'm developing a game and I have public and private rooms, so each room I create has a "privacy" property that's set to either "public" or "private", how do I search for a "public" room that has exactly one user? 

Using "joinRoomWithProperties" I can only search for the desired peoperties,  using joinRoomInRangeBetweenMinUsers I can search for rooms with the desired number of users; I need to do both, 

Thanks in advance

asked Sep 11, 2017 in Discuss & suggest API by Koosha Nejad (16 points)

1 Answer

+1 vote
Best answer

Hi Nejad,

As of now, AppWarp provides getRoomWithPropertiesInRange API to get rooms based on properties and number of users in the room.

Direct joinRoom method of the same flavour is not available as of now. You can find the room then you call joinRoom API to join.

I hope this will help.


answered Sep 12, 2017 by rajeev.etc (1,660 points)
selected Sep 12, 2017 by Koosha Nejad
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