Skip to content

DownloadAssetsEvent

Gets fired every time a new asset file has been downloaded.

progressdouble

The overall download progress as a value from 0.0 to 1.0

downloadedByteslong

The total number of bytes downloaded so far.

totalByteslong

The total size of all assets in bytes.

currentFileString

The name or path of the asset currently being downloaded.

currentFileByteslong

The number of bytes downloaded for the current file.

currentFileSizelong

The total size of the current file in bytes.