minified-launch/com.dervarex.minified.launch.events.download.assets
DownloadAssetsEvent
recordSource
Gets fired every time a new asset file has been downloaded
- Implemented interfaces
- Event
- Event
- When it fires and how to listen to it
Record components
progressdoubleThe overall download progress as a value from 0.0 to 1.0
downloadedByteslongThe total number of bytes downloaded so far
totalByteslongThe total size of all assets in bytes
currentFileStringThe name or path of the asset currently being downloaded
currentFileByteslongThe number of bytes downloaded for the current file
currentFileSizelongThe total size of the current file in bytes
Constructors
public DownloadAssetsEvent(
double progress,
long downloadedBytes,
long totalBytes,
String currentFile,
long currentFileBytes,
long currentFileSize
)| Parameters | ||
|---|---|---|
progress | double | |
downloadedBytes | long | |
totalBytes | long | |
currentFile | String | |
currentFileBytes | long | |
currentFileSize | long | |