DownloadEntry

data class DownloadEntry(val id: Int, val url: String, val name: String, val path: String, val mimeType: String, val receivedBytes: Long, val totalBytes: Long, val percent: Int, val bytesPerSecond: Long, val state: DownloadState)

A tracked download, delivered via CefriumViewState.downloads and CefriumViewState.onDownloadEvent. Identified by id (stable for the download's lifetime); the same id is updated in place as it progresses.

Constructors

Link copied to clipboard
constructor(id: Int, url: String, name: String, path: String, mimeType: String, receivedBytes: Long, totalBytes: Long, percent: Int, bytesPerSecond: Long, state: DownloadState)

Properties

Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String