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.

Member Functions

AppDownloadProgressResult
( final long ptr )
long getDownloadBytes ( )
Total number of bytes that need to be downloaded
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.
Returns
long
AppStatus 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
Returns
AppStatus