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
|
checkAppDownloadProgress
()
|
Track download progress for an app.
Signature
suspend fun checkAppDownloadProgress(): AppDownloadProgressResult Returns
AppDownloadProgressResult
|
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
|
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
|
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:
String
deeplinkOptions:
ApplicationOptions?
Returns
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
suspend fun startAppDownload(): AppDownloadResult Returns
AppDownloadResult
|