DownloadProgressParameter

@Serializable
data class DownloadProgressParameter(val guid: String, val totalBytes: Double, val receivedBytes: Double, val state: String, val filePath: String? = null)

Fired when download makes progress. Last call has |done| == true.

Constructors

Link copied to clipboard
constructor(guid: String, totalBytes: Double, receivedBytes: Double, state: String, filePath: String? = null)

Properties

Link copied to clipboard
val filePath: String? = null

If download is "completed", provides the path of the downloaded file. Depending on the platform, it is not guaranteed to be set, nor the file is guaranteed to exist.

Link copied to clipboard

Global unique identifier of the download.

Link copied to clipboard

Total bytes received.

Link copied to clipboard

Download status.

Link copied to clipboard

Total expected bytes to download.