AppInviteInvitation

public final class AppInviteInvitation extends Object

Launches an Activity for the user to select invitees and send invitations. Provides an Intent builder that creates an Intent used to start the invitation Activity and a method to get invitation ids after the invitations have been sent.

Nested Class Summary

class AppInviteInvitation.IntentBuilder Build an Intent to launch the invitation Activity to create and send invitations. 

Public Method Summary

static String[]
getInvitationIds(int resultCode, Intent result)
Gets the invitation ids from the Intent returned in onActivityResult(int, int, android.content.Intent) after starting the activity using startActivityForResult(Intent, int) where the Intent is created using AppInviteInvitation.IntentBuilder.

Inherited Method Summary

Public Methods

public static String[] getInvitationIds (int resultCode, Intent result)

Gets the invitation ids from the Intent returned in onActivityResult(int, int, android.content.Intent) after starting the activity using startActivityForResult(Intent, int) where the Intent is created using AppInviteInvitation.IntentBuilder.

Parameters
resultCode The result code returned in onActivityResult(int, int, android.content.Intent).
result The Intent returned in onActivityResult(int, int, android.content.Intent).
Returns
  • The invitation ids for the invitations sent. Returns null if the result code is not RESULT_OK.

Send feedback about...

Need help? Visit our support page.