This interface was deprecated.
Entry point for invitations functionality.
Nested Class Summary
|interface||Invitations.LoadInvitationsResult||This interface was deprecated.
Public Method Summary
public abstract Intent getInvitationInboxIntent (GoogleApiClient apiClient)
Returns an intent that will let the user see and manage any outstanding invitations.
Note that this must be invoked using
startActivityForResult(Intent, int) so that the identity of the calling
package can be established.
If the user canceled the result will be
If the user selected an invitation to accept, the result will be
and the data intent will contain the selected invitation as a parcelable extra in the
extras. Based on the type of the match (TTMP/RBMP), the result will include either
Intentthat can be started to view the invitation inbox UI.
public abstract PendingResult<Invitations.LoadInvitationsResult> loadInvitations (GoogleApiClient apiClient)
public abstract PendingResult<Invitations.LoadInvitationsResult> loadInvitations (GoogleApiClient apiClient, int sortOrder)
Asynchronously load the list of invitations for the current game.
|sortOrder||How to sort the returned invitations. Must be either
PendingResultto access the data when available.
public abstract void registerInvitationListener (GoogleApiClient apiClient, OnInvitationReceivedListener listener)
Register a listener to intercept incoming invitations for the currently signed-in user. If a listener is registered by this method, the incoming invitation will not generate a status bar notification as long as this client remains connected.
Note that only one invitation listener may be active at a time. Calling this method while another invitation listener was previously registered will replace the original listener with the new one.
|listener||The listener that is called when a new invitation is received. The listener is called on the main thread.|