UploadProgress

data class UploadProgress(val bytesSent: Int, val imageSize: Int, val timestamp: Long) : FirmwareUpgradeState<Nothing>

The progress of the upload of the image, or of the envelope or resource, to the device.

Constructors

Link copied to clipboard
constructor(bytesSent: Int, imageSize: Int, timestamp: Long)

Properties

Link copied to clipboard

The number of bytes sent.

Link copied to clipboard

The total number of bytes to send.

Link copied to clipboard

The progress, from 0.0 to 1.0, or 0.0 if the size is not known.

Link copied to clipboard

The time of the report, in milliseconds since the epoch.