cancelAppDownload
()
|
Cancel an app download that is in progress. It will return a result when the download is cancelled.
Signature
static Request<com.meta.horizon.platform.ovr.models.AppDownloadResult> com.meta.horizon.platform.ovr.requests.Application.cancelAppDownload() |
checkAppDownloadProgress
()
|
Track download progress for an app.
Signature
static Request<com.meta.horizon.platform.ovr.models.AppDownloadProgressResult> com.meta.horizon.platform.ovr.requests.Application.checkAppDownloadProgress() |
getVersion
()
|
Requests version information, including the com.meta.horizon.platform.ovr.models.ApplicationVersion#getCurrentCode() and com.meta.horizon.platform.ovr.models.ApplicationVersion#getCurrentName() of the currently installed app and com.meta.horizon.platform.ovr.models.ApplicationVersion#getLatestCode(), com.meta.horizon.platform.ovr.models.ApplicationVersion#getLatestName(), com.meta.horizon.platform.ovr.models.ApplicationVersion#getSize() and com.meta.horizon.platform.ovr.models.ApplicationVersion#getReleaseDate() of the latest app update.
Signature
static Request<com.meta.horizon.platform.ovr.models.ApplicationVersion> com.meta.horizon.platform.ovr.requests.Application.getVersion() |
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
static Request<com.meta.horizon.platform.ovr.models.AppDownloadResult> com.meta.horizon.platform.ovr.requests.Application.installAppUpdateAndRelaunch(ApplicationOptions deeplinkOptions) Parameters deeplinkOptions: ApplicationOptions
- Additional configuration for this relaunch, which is optional. It contains 5 fields com.meta.horizon.platform.ovr.options.ApplicationOptions#setDeeplinkMessage(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setDestinationApiName(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setLobbySessionId(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setMatchSessionId(String) and com.meta.horizon.platform.ovr.options.ApplicationOptions#setRoomId(long).
|
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
static Request<String> com.meta.horizon.platform.ovr.requests.Application.launchOtherApp(long appID, ApplicationOptions deeplinkOptions) Parameters appID: long
- The unique ID of the app to be launched.
deeplinkOptions: ApplicationOptions
- Additional configuration for this request, which is optional. It contains 5 fields com.meta.horizon.platform.ovr.options.ApplicationOptions#setDeeplinkMessage(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setDestinationApiName(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setLobbySessionId(String), com.meta.horizon.platform.ovr.options.ApplicationOptions#setMatchSessionId(String) and com.meta.horizon.platform.ovr.options.ApplicationOptions#setRoomId(long).
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 com.meta.horizon.platform.ovr.requests.Application#checkAppDownloadProgress().
Signature
static Request<com.meta.horizon.platform.ovr.models.AppDownloadResult> com.meta.horizon.platform.ovr.requests.Application.startAppDownload() |