API reference

OVR_ApplicationInvite.h File

Typedefs

struct ovrApplicationInvite * ovrApplicationInviteHandle
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 ovr_User_GetPresenceLobbySessionId() and ovr_User_GetPresenceMatchSessionId() from the inviter's viewer context.

Functions

ovrDestinationHandle ovr_ApplicationInvite_GetDestination
The destination to which the recipient is invited. This method may return null. This indicates that the value is not present or that the curent app or user is not permitted to access it.
ovrID ovr_ApplicationInvite_GetID
The ID of the application invite.
bool ovr_ApplicationInvite_GetIsActive
A boolean value indicating whether the invite is still active or not.
const char * ovr_ApplicationInvite_GetLobbySessionId
The lobby session id to which the recipient is invited. You can retrieve this by calling ovr_User_GetPresenceLobbySessionId() from the inviter's viewer context.
const char * ovr_ApplicationInvite_GetMatchSessionId
The match session id to which the recipient is invited. You can retrieve this by calling ovr_User_GetPresenceMatchSessionId() from the inviter's viewer context.
ovrUserHandle ovr_ApplicationInvite_GetRecipient
The recipient's user information, such as their ID and alias. You can get the ID of an user by calling ovr_User_GetID(). This method may return null. This indicates that the value is not present or that the curent app or user is not permitted to access it.