class HttpDownloadProgress
source · line 40public
public class HttpDownloadProgress internal constructor(
/**
* The final response URL.
*/
public val url: Url,
/**
* Total bytes present in the download so far, including any reused prefix.
*/
public val bytesWritten: Long,
/**
* The expected complete size when known.
*/
public val totalBytes: Long?,
/**
* Bytes retained from a previously validated partial file.
*/
public val resumedBytes: Long = 0L
)
A download progress snapshot with current written bytes, known total, and any reused prefix.
property totalBytes
source · line 52public
public val totalBytes: Long?
get: public read-only
The expected complete size when known.
property url
source · line 44public
public val url: Url
get: public read-only
The final response URL.
property bytesWritten
source · line 48public
public val bytesWritten: Long
get: public read-only
Total bytes present in the download so far, including any reused prefix.
property resumedBytes
source · line 56public
public val resumedBytes: Long = 0L
get: public read-only
Bytes retained from a previously validated partial file.