API reference
API reference
Select your platform
No SDKs available
No versions available

AssetFileDownloadUpdate Class

An AssetFileDownloadUpdate represents the download status of an update for an asset file. It contains the asset file ID, the download progress of the update, and its completion status. It can be retrieved using com.meta.horizon.platform.ovr.Message.MessageType#Notification_AssetFile_DownloadUpdate.

Member Functions

AssetFileDownloadUpdate
( final long ptr )
ID of the asset file. It can be retrieved using com.meta.horizon.platform.ovr.models.AssetDetails#getAssetId().
Returns
long
This field is of type uint and represents the total number of bytes in the asset file.
Returns
long
An integer represents the number of bytes that have been downloaded. -1 If the download hasn't started yet.
Returns
int
This field is of type boolean and indicates whether the download has been completed or not.
Returns
boolean
Did you find this page helpful?
Thumbs up icon
Thumbs down icon