Reputation: 8781
How can I know if the GameHelper.signOut() request is successful in the Google Play Games API?
The documentation does not tell how to use the OnSignOutCompleteListener where in the API should I set this listener? And is it actually the right listener for the GameHelper.signOut() method.
PS: I'm not looking for the method described in this (different) question: How can i check if user sign's out from games services default view? because I'm not launching a default Play Games view (Activity).
Upvotes: 0
Views: 442
Reputation: 5330
Games.signOut()
returns a PendingResult<Status>
object on which you can set a ResultCallback
via setResultCallback()
.
Upvotes: 1