ProgressState

data class ProgressState(val message: UiText = UiText.DynamicString(""), val progress: Float = 0.0f, val details: String? = 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: String? = null, hint: UiText? = null)

Properties

Link copied to clipboard

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

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.