Summary: Methods | Inherited Methods | [Expand All]
public interface

# AppInviteInvitationResult

implements Result

com.google.android.gms.appinvite.AppInviteInvitationResult

## Class Overview

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.

## Summary

Public Methods
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.

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus() Returns the status of this result.

## 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.