API reference

OVR_ApplicationOptions.h File

Typedefs

struct ovrApplicationOptions * ovrApplicationOptionsHandle
The Application option contains additional configuration to be passed in to ovr_Application_LaunchOtherApp() and ovr_Application_InstallAppUpdateAndRelaunch(). It contains 5 fields ovr_ApplicationOptions_SetDeeplinkMessage, ovr_ApplicationOptions_SetDestinationApiName, ovr_ApplicationOptions_SetLobbySessionId, ovr_ApplicationOptions_SetMatchSessionId and ovr_ApplicationOptions_SetRoomId.

Functions

ovrApplicationOptionsHandle ovr_ApplicationOptions_Create ( )
Creates a new instance of ovrApplicationOptionsHandle() which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
void ovr_ApplicationOptions_Destroy
Destroys an existing instance of the ovrApplicationOptionsHandle() and frees up memory when you're done using it.
void ovr_ApplicationOptions_SetDeeplinkMessage
const char * value )
A message to be passed to a launched app, which can be retrieved with ovr_LaunchDetails_GetDeeplinkMessage().
void ovr_ApplicationOptions_SetDestinationApiName
const char * value )
If provided, the intended destination to be passed to the launched app, which can be retrieved with ovr_LaunchDetails_GetDestinationApiName().
void ovr_ApplicationOptions_SetLobbySessionId
const char * value )
If provided, the intended lobby where the launched app should take the user. All users with the same lobby_session_id should end up grouped together in the launched app, which can be retrieved with ovr_LaunchDetails_GetLobbySessionID().
void ovr_ApplicationOptions_SetMatchSessionId
const char * value )
If provided, the intended instance of the destination that a user should be launched into, which can be retrieved with ovr_LaunchDetails_GetMatchSessionID().
void ovr_ApplicationOptions_SetRoomId
ovrID value )
[Deprecated]If provided, the intended room where the launched app should take the user (all users heading to the same place should have the same value). A room_id of 0 is INVALID.