com.google.android.gms.games.request.OnRequestReceivedListener |
This interface is deprecated.
Google+ no longer integrated so social APIs will not work as expected. See
Play Games authentication adopting Google Sign-In API
Listener to invoke when a new request is received.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback invoked when a new request is received.
| |||||||||||
Callback invoked when a previously received request has been removed from the local device.
|
Callback invoked when a new request is received. This allows an app to respond to the request as appropriate. If the app receives this callback, the system will not display a notification for this request.
Parameters | |
---|---|
request |
GameRequest :
The request that was received.
|
Callback invoked when a previously received request has been removed from the local device. For example, this might occur if the sender cancels the request.
Parameters | |
---|---|
requestId |
String :
The ID of the request that was removed.
|