Progress

data class Progress(val downloadedBytes: Long, val totalBytes: Long?) : DownloadEvent(source)

downloadedBytes of totalBytes (null if the server did not say) are on disk.

Constructors

Link copied to clipboard
constructor(downloadedBytes: Long, totalBytes: Long?)

Properties

Link copied to clipboard

bytes on disk so far.

Link copied to clipboard

Completed fraction in 0.0..1.0, or null if totalBytes is unknown.

Link copied to clipboard

the full file size, or null if the server did not announce it.