Internet Connection Loss in Turn room

0 votes
Hi

my question is if two users are playing a game in turn based room at that time if one user has lost their internet connection and he/she won't unable to re-connect the game then how the as other user know he/she is disconnected from the game.
asked Jan 19, 2015 in AppWarp by amit.bagada (43 points)
recategorized Mar 3, 2015 by sushil

1 Answer

0 votes
Hi Amit,

When two players are playing in a turn based room,and if one user loses connectivity and is unable to re-connect,thee are two possible scenarios :

1. If the user1 has set recovery allowance,then user2 will first get the onUserPaused Notification and then OnUserLeftRoom notification after the recovery allowance time lapses.

2. If user1 has not set recovery allowance, then user2 will get the OnUserLeftRoom notification.

For this you will have to call the AddNotificationListener API and pass the NotifyListener object to it at the time of initializing the WarpClient object.

Thanks

AppWarp Team
answered Jan 20, 2015 by kanika mittal (50 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
...