ProgressState

data class ProgressState(val message: UiText = UiText.DynamicString(""), val progress: Float = 0.0f, val details: UiText? = null, val hint: UiText? = null)(source)

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

Constructors

Link copied to clipboard
constructor(message: UiText = UiText.DynamicString(""), progress: Float = 0.0f, details: UiText? = null, hint: UiText? = null)

Properties

Link copied to clipboard
val details: UiText?

Optional high-frequency detail text (e.g., "45% (12.60 kB/s, ETA: 5s)").

Link copied to clipboard
val hint: UiText?

Optional persistent advisory shown alongside the progress (e.g. a slow-bootloader tip).

Link copied to clipboard
val message: UiText

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

Link copied to clipboard

A value between 0.0 and 1.0 representing completion percentage.