public interface

OnInvitationReceivedListener

com.google.android.gms.games.multiplayer.OnInvitationReceivedListener

Class Overview

Listener to invoke when a new invitation is received.

Summary

Public Methods
abstract void onInvitationReceived(Invitation invitation)
Callback invoked when a new invitation is received.

Public Methods

public abstract void onInvitationReceived (Invitation invitation)

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 The invitation that was received.