API reference

AppDownloadProgressResult Class

Represents the result of the download of an application. You can retrieve it using CheckAppDownloadProgress API (com.meta.horizon.platform.ovr.requests.Application#checkAppDownloadProgress()). You can use this to check the progress and the status of an ongoing app download operation.

Constructors

AppDownloadProgressResult ( ptr )
Signature
com.meta.horizon.platform.ovr.models.AppDownloadProgressResult.AppDownloadProgressResult(final long ptr)
Parameters
ptr: final long

Methods

getDownloadBytes ()
Total number of bytes that need to be downloaded
Signature
long com.meta.horizon.platform.ovr.models.AppDownloadProgressResult.getDownloadBytes()
Returns
long  long
getDownloadedBytes ()
Number of bytes that have already been downloaded. You can use this and com.meta.horizon.platform.ovr.models.AppDownloadProgressResult#getDownloadBytes() to implement the progress bar.
Signature
long com.meta.horizon.platform.ovr.models.AppDownloadProgressResult.getDownloadedBytes()
Returns
long  long
getStatusCode ()
Status code of the current app status. You can use it to find out whether the app is being downloaded or queued for downloading
Signature
AppStatus com.meta.horizon.platform.ovr.models.AppDownloadProgressResult.getStatusCode()
Returns
AppStatus  AppStatus