I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems.
My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room.
I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener never get called and I wonder why. What does get called, is the RoomUpdateListener, but it contains not the callback methods which I need.
I know that it is recommended to use the android build in waiting room ui and to use Games.RealTimeMultiplayer.getWaitingRoomIntent() to start an activityForResult, but I need to create something like my own waiting room and do not know how. Apparently the google activity (the waiting) room does get informed about changes, so there must be a way to observe these.
As far as I can tell, Iam trying to do something like:
- creating multiple rooms with different variants
- listen on any room for updates (a player joins or created the same room)
- join the room with the update from step 2.
Does anybody have an idea how I can achieve that? I would be so glad. Sorry for my bad english.
Greetings , Steve.