TransferProgress

data class TransferProgress(val id: String, val bytesTransferred: Long, val totalBytes: Long, val percentComplete: Int)

Progress update for an active transfer.

Parameters

id

Task identifier.

bytesTransferred

Bytes transferred so far.

totalBytes

Total expected bytes (-1 if unknown).

percentComplete

Progress percentage (0-100), -1 if unknown.

Constructors

Link copied to clipboard
constructor(id: String, bytesTransferred: Long, totalBytes: Long, percentComplete: Int)

Properties

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