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

Application

Updated: Aug 26, 2025

Application

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

Constructors

NameSummary
Application
constructor()

Types

NameSummary
Companion
object Companion

Functions

NameSummary
cancelAppDownload
suspend fun cancelAppDownload(): AppDownloadResult
Cancel an app download that is in progress. It will return a result when the download is cancelled.
checkAppDownloadProgress
suspend fun checkAppDownloadProgress(): AppDownloadProgressResult
Track download progress for an app.
getInstalledApplications
suspend fun getInstalledApplications(): List<InstalledApplication>
Retrieves an array of all applications that are currently installed, the elements of which are horizon.platform.application.models.InstalledApplication instances.
getVersion
installAppUpdateAndRelaunch
suspend fun installAppUpdateAndRelaunch(deeplinkOptions: ApplicationOptions? = null): AppDownloadResult
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.
launchOtherApp
suspend fun launchOtherApp(appId: String, deeplinkOptions: ApplicationOptions? = null): String
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
startAppDownload
suspend fun startAppDownload(): AppDownloadResult
Starts an app download. It will return a result when the download is finished. Download progress can be monitored using the horizon.platform.application.Application.checkAppDownloadProgress.

Companion

object Companion
Did you find this page helpful?
Thumbs up icon
Thumbs down icon