API reference

ApplicationInvite Class

An Application Invite contains information about the invite, including the application ID, destination, activity status, the lobby session id, the match session id, and recipient's user id or user alias. If the invite is generated from rich presence, the lobby/match session id will be auto populated by calling com.meta.horizon.platform.ovr.models.User#getPresenceLobbySessionId() and com.meta.horizon.platform.ovr.models.User#getPresenceMatchSessionId() from the inviter's viewer context.

Member Functions

ApplicationInvite
( final long ptr )
Destination getDestination ( )
The destination to which the recipient is invited.
Returns
long getID ( )
The ID of the application invite.
Returns
long
boolean getIsActive ( )
A boolean value indicating whether the invite is still active or not.
Returns
boolean
String getLobbySessionId ( )
The lobby session id to which the recipient is invited. You can retrieve this by calling com.meta.horizon.platform.ovr.models.User#getPresenceLobbySessionId() from the inviter's viewer context.
Returns
String
String getMatchSessionId ( )
The match session id to which the recipient is invited. You can retrieve this by calling com.meta.horizon.platform.ovr.models.User#getPresenceMatchSessionId() from the inviter's viewer context.
Returns
String
User getRecipient ( )
The recipient's user information, such as their ID and alias. You can get the ID of an user by calling com.meta.horizon.platform.ovr.models.User#getID().
Returns