ProgressInfo

data class ProgressInfo

Represents the progress of the download.

Since

200.6.0

Parameters

totalBytes

the total number of bytes to download, or null if the server does not provide this information

bytesRead

the number of bytes downloaded so far

Properties

Link copied to clipboard
val bytesRead: Long = 0
Link copied to clipboard
val percent: Int?

The percentage of the download that has been completed or null if totalBytes is null.

Link copied to clipboard
val totalBytes: Long? = null