recordSource
public record DownloadLibrariesEvent(
    double progress,
    long downloadedBytes,
    long totalBytes,
    String currentFile,
    long currentFileBytes,
    long currentFileSize
)
    implements Event

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

progressdouble

The overall download progress as a value from 0.0 to 1.0

Accessor: progress()
downloadedByteslong

The total number of bytes downloaded so far

Accessor: downloadedBytes()
totalByteslong

The total size of all libraries in bytes

Accessor: totalBytes()
currentFileString

The name or path of the library currently being downloaded

Accessor: currentFile()
currentFileByteslong

The number of bytes downloaded for the current file

Accessor: currentFileBytes()
currentFileSizelong

The total size of the current file in bytes

Accessor: currentFileSize()

Constructors

public DownloadLibrariesEvent(
    double progress,
    long downloadedBytes,
    long totalBytes,
    String currentFile,
    long currentFileBytes,
    long currentFileSize
)
Parameters
progressdouble
downloadedByteslong
totalByteslong
currentFileString
currentFileByteslong
currentFileSizelong