| Name | Summary |
|---|---|
Application | constructor() |
| Name | Summary |
|---|---|
Companion | object Companion |
| Name | Summary |
|---|---|
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 | suspend fun getVersion(): ApplicationVersion Requests version information, including the horizon.platform.application.models.ApplicationVersion.currentCode and horizon.platform.application.models.ApplicationVersion.currentName of the currently installed app and horizon.platform.application.models.ApplicationVersion.latestCode, horizon.platform.application.models.ApplicationVersion.latestName, horizon.platform.application.models.ApplicationVersion.size and horizon.platform.application.models.ApplicationVersion.releaseDate of the latest app update. |
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. |