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 Message::MessageType::Notification_AssetFile_DownloadUpdate.
AssetFileDownloadUpdate::Completed is true means downloaded but probably not installed yet. Call AssetFile.StatusById() until AssetDetails::DownloadStatus changes from 'available' to 'installed'.

Fields

ID of the asset file. It can be retrieved using AssetDetails::AssetId.
This field is of type uint and represents the total number of bytes in the asset file.
An integer represents the number of bytes that have been downloaded. -1 If the download hasn't started yet.
This field is of type boolean and indicates whether the download has been completed or not.

Member Functions

AssetFileDownloadUpdate
( IntPtr o )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon