API reference
API reference
Select your platform
No SDKs available
No versions available

OVR_Requests_Application.h File

*** Application Overview: An application is what you're writing! These requests/methods will allow you to pull basic metadata about your application.

Functions

Cancel an app download that is in progress. It will return a result when the download is cancelled.A message with type ovrMessage_Application_CancelAppDownload will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrAppDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAppDownloadResult().
Track download progress for an app.A message with type ovrMessage_Application_CheckAppDownloadProgress will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrAppDownloadProgressResultHandle. Extract the payload from the message handle with ovr_Message_GetAppDownloadProgressResult().
Requests version information, including the ovr_ApplicationVersion_GetCurrentCode() and ovr_ApplicationVersion_GetCurrentName() of the currently installed app and ovr_ApplicationVersion_GetLatestCode(), ovr_ApplicationVersion_GetLatestName(), ovr_ApplicationVersion_GetSize() and ovr_ApplicationVersion_GetReleaseDate() of the latest app update.A message with type ovrMessage_Application_GetVersion will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrApplicationVersionHandle. Extract the payload from the message handle with ovr_Message_GetApplicationVersion().
Installs the app update that was previously downloaded. Once the install begins the application will exit automatically. After the installation process is complete, the app will be relaunched based on the options passed in.
Parameters
deeplink_options
Additional configuration for this relaunch, which is optional. It contains 5 fields ovr_ApplicationOptions_SetDeeplinkMessage, ovr_ApplicationOptions_SetDestinationApiName, ovr_ApplicationOptions_SetLobbySessionId, ovr_ApplicationOptions_SetMatchSessionId and ovr_ApplicationOptions_SetRoomId.
A message with type ovrMessage_Application_InstallAppUpdateAndRelaunch will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrAppDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAppDownloadResult().
Launches a different application in the user's library. If the user does not have that application installed, they will be taken to that app's page in the Oculus Store
Parameters
appID
The unique ID of the app to be launched.
deeplink_options
Additional configuration for this request, which is optional. It contains 5 fields ovr_ApplicationOptions_SetDeeplinkMessage, ovr_ApplicationOptions_SetDestinationApiName, ovr_ApplicationOptions_SetLobbySessionId, ovr_ApplicationOptions_SetMatchSessionId and ovr_ApplicationOptions_SetRoomId.
A message with type ovrMessage_Application_LaunchOtherApp will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type const char *. Extract the payload from the message handle with ovr_Message_GetString().
Starts an app download. It will return a result when the download is finished. Download progress can be monitored using the ovr_Application_CheckAppDownloadProgress().A message with type ovrMessage_Application_StartAppDownload will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrAppDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAppDownloadResult().
Did you find this page helpful?
Thumbs up icon
Thumbs down icon