DownloadProgressEvent

data class DownloadProgressEvent(guid: String, totalBytes: Double, receivedBytes: Double, state: String) : Event

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

Constructors

DownloadProgressEvent
Link copied to clipboard
fun DownloadProgressEvent(guid: String, totalBytes: Double, receivedBytes: Double, state: String)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

guid
Link copied to clipboard
val guid: String
Global unique identifier of the download.
receivedBytes
Link copied to clipboard
val receivedBytes: Double
Total bytes received.
state
Link copied to clipboard
val state: String
Download status.
totalBytes
Link copied to clipboard
val totalBytes: Double
Total expected bytes to download.

Sources

jvm source
Link copied to clipboard