class Application
Application
()
|
Signature
constructor() Returns Application |
cancelAppDownload
()
|
Cancel an app download that is in progress. It will return a result when the download is cancelled.
Signature
suspend fun cancelAppDownload(): AppDownloadResult Returns AppDownloadResult
The result of the cancellation.
|
checkAppDownloadProgress
()
|
Track download progress for an app.
Signature
suspend fun checkAppDownloadProgress(): AppDownloadProgressResult Returns AppDownloadProgressResult
The download progress for the app.
|
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
suspend fun getVersion(): ApplicationVersion Returns ApplicationVersion
The version information of the currently installed app and the latest app update.
|
installAppUpdateAndRelaunch
(
deeplinkOptions
)
|
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
suspend fun installAppUpdateAndRelaunch(deeplinkOptions: ApplicationOptions? = null): AppDownloadResult Parameters deeplinkOptions: ApplicationOptions?Returns AppDownloadResult
The result of the installation.
|
launchOtherApp
(
appId
, deeplinkOptions
)
|
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
suspend fun launchOtherApp(appId: String, deeplinkOptions: ApplicationOptions? = null): String Parameters appId: StringdeeplinkOptions: ApplicationOptions?Returns String
The result of the launch.
|
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
suspend fun startAppDownload(): AppDownloadResult Returns AppDownloadResult
The result of the download.
|