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

Application Class

The Application API provides ways to manage and interact with applications on the platform, including retrieving information about installed apps, for example: getting ApplicationVersion::CurrentCode, launching other apps and managing app downloads and updates.

Static Methods

CancelAppDownload ()
Cancel an app download that is in progress. It will return a result when the download is cancelled.
Signature
static Request<Models.AppDownloadResult> Oculus.Platform.Application.CancelAppDownload()
CheckAppDownloadProgress ()
Track download progress for an app.
Signature
static Request<Models.AppDownloadProgressResult> Oculus.Platform.Application.CheckAppDownloadProgress()
GetVersion ()
Requests version information, including the ApplicationVersion::CurrentCode and ApplicationVersion::CurrentName of the currently installed app and ApplicationVersion::LatestCode, ApplicationVersion::LatestName, ApplicationVersion::Size and ApplicationVersion::ReleaseDate of the latest app update.
Signature
static Request<Models.ApplicationVersion> Oculus.Platform.Application.GetVersion()
InstallAppUpdateAndRelaunch ( deeplink_options )
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.
Signature
static Request<Models.AppDownloadResult> Oculus.Platform.Application.InstallAppUpdateAndRelaunch(ApplicationOptions deeplink_options=null)
LaunchOtherApp ( appID , deeplink_options )
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
Signature
static Request<string> Oculus.Platform.Application.LaunchOtherApp(UInt64 appID, ApplicationOptions deeplink_options=null)
Parameters
appID: UInt64  The unique ID of the app to be launched.
Returns
Request< string >
StartAppDownload ()
Starts an app download. It will return a result when the download is finished. Download progress can be monitored using the Application.CheckAppDownloadProgress().
Signature
static Request<Models.AppDownloadResult> Oculus.Platform.Application.StartAppDownload()