com.google.android.gms.games.multiplayer.OnInvitationReceivedListener |
Listener to invoke when a new invitation is received.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback invoked when a new invitation is received.
| |||||||||||
Callback invoked when a previously received invitation has been removed from the local
device.
|
Callback invoked when a new invitation is received. This allows an app to respond to the invitation as appropriate. If the app receives this callback, the system will not display a notification for this invitation.
Parameters | |
---|---|
invitation |
Invitation :
The invitation that was received.
|
Callback invoked when a previously received invitation has been removed from the local device. For example, this might occur if the inviting player leaves the match.
Parameters | |
---|---|
invitationId |
String :
The ID of the invitation that was removed.
|