ProgressState

data class ProgressState(val message: String = "", val progress: Float = 0.0f, val details: String? = null)(source)

Represents the progress of a long-running firmware update task.

Constructors

Link copied to clipboard
constructor(message: String = "", progress: Float = 0.0f, details: String? = null)

Properties

Link copied to clipboard

Optional high-frequency detail text (e.g., "1.2 MiB/s, 45%").

Link copied to clipboard

A high-level status message (e.g., "Downloading...").

Link copied to clipboard

A value between 0.0 and 1.0 representing completion percentage.