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.

Constructors

ApplicationInvite ( ptr )
Signature
com.meta.horizon.platform.ovr.models.ApplicationInvite.ApplicationInvite(final long ptr)
Parameters
ptr: final long

Methods

getDestination ()
The destination to which the recipient is invited.
Signature
Destination com.meta.horizon.platform.ovr.models.ApplicationInvite.getDestination()
Returns
Destination Destination
getID ()
The ID of the application invite.
Signature
long com.meta.horizon.platform.ovr.models.ApplicationInvite.getID()
Returns
long  long
getIsActive ()
A boolean value indicating whether the invite is still active or not.
Signature
boolean com.meta.horizon.platform.ovr.models.ApplicationInvite.getIsActive()
Returns
boolean  boolean
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.
Signature
String com.meta.horizon.platform.ovr.models.ApplicationInvite.getLobbySessionId()
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.
Signature
String com.meta.horizon.platform.ovr.models.ApplicationInvite.getMatchSessionId()
Returns
String  String
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().
Signature
User com.meta.horizon.platform.ovr.models.ApplicationInvite.getRecipient()
Returns
User User