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.

Constructors

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

Methods

getAssetFileId ()
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDownloadUpdate.getAssetFileId()
Returns
long  long
getAssetId ()
ID of the asset file. It can be retrieved using com.meta.horizon.platform.ovr.models.AssetDetails#getAssetId().
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDownloadUpdate.getAssetId()
Returns
long  long
getBytesTotal ()
This field is of type uint and represents the total number of bytes in the asset file.
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDownloadUpdate.getBytesTotal()
Returns
long  long
getBytesTransferred ()
An integer represents the number of bytes that have been downloaded. -1 If the download hasn't started yet.
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDownloadUpdate.getBytesTransferred()
Returns
long  int
getCompleted ()
This field is of type boolean and indicates whether the download has been completed or not.
Signature
boolean com.meta.horizon.platform.ovr.models.AssetFileDownloadUpdate.getCompleted()
Returns
boolean  boolean