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'.

Constructors

AssetFileDownloadUpdate ( o )
Signature
Oculus.Platform.Models.AssetFileDownloadUpdate.AssetFileDownloadUpdate(IntPtr o)
Parameters
o: IntPtr

Fields

AssetFileId : readonly UInt64
Signature
readonly UInt64 Oculus.Platform.Models.AssetFileDownloadUpdate.AssetFileId
AssetId : readonly UInt64
ID of the asset file. It can be retrieved using AssetDetails::AssetId.
Signature
readonly UInt64 Oculus.Platform.Models.AssetFileDownloadUpdate.AssetId
BytesTotal : readonly ulong
This field is of type uint and represents the total number of bytes in the asset file.
Signature
readonly ulong Oculus.Platform.Models.AssetFileDownloadUpdate.BytesTotal
BytesTransferred : readonly long
An integer represents the number of bytes that have been downloaded. -1 If the download hasn't started yet.
Signature
readonly long Oculus.Platform.Models.AssetFileDownloadUpdate.BytesTransferred
Completed : readonly bool
This field is of type boolean and indicates whether the download has been completed or not.
Signature
readonly bool Oculus.Platform.Models.AssetFileDownloadUpdate.Completed