AppInviteInvitationResult

public interface AppInviteInvitationResult implements Result

The result returned by AppInviteApi from getInvitation(GoogleApiClient, android.app.Activity, boolean). The first time the api is called after the app is installed from an accepted invitation, or for already installed apps with the launched activity set as the launchActivity, then the result will include an intent with the invitation data as indicated by the returned status.

Public Method Summary

abstract Intent
getInvitationIntent()
Get an intent with invitation data including the invitation id and possibly a deep link if set when creating the invitation.
abstract Status
getStatus()
Return the status of the result.

Inherited Method Summary

Public Methods

public abstract Intent getInvitationIntent ()

Get an intent with invitation data including the invitation id and possibly a deep link if set when creating the invitation. The invitation data is retrieved using AppInviteReferral.

Returns
  • An intent with invitation data or null.

public abstract Status getStatus ()

Return the status of the result.

Returns
  • Status is RESULT_SUCCESS if invitation intent is set, otherwise is RESULT_CANCELED and the invitation intent is null.

Send feedback about...

Need help? Visit our support page.