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 appA 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 version code and version name of the currently installed app and version code, version name, size and release date of the latest app updateA 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.
Parameters
deeplink_options
Additional configuration for this relaunch. Optional.
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 ID of the app to launch
deeplink_options
Additional configuration for this requests. Optional.
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 check_app_download_progress API.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