minified-launch/com.dervarex.minified.launch.events.download.libraries
DownloadLibrariesEvent
recordSource
Gets fired every time a new library 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 libraries in bytes
currentFileStringThe name or path of the library currently being downloaded
currentFileByteslongThe number of bytes downloaded for the current file
currentFileSizelongThe total size of the current file in bytes
Constructors
public DownloadLibrariesEvent(
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 | |