Data
constructor(task: InstallationStatus.Data.InstallationTask, step: String, state: InstallationStatus.Data.InstallationState, progress: Int?, message: String?)
Parameters
task
The type of task that is being performed / has been initiated, for which this InstallationStatus is emitted.
step
The step within the given task this InstallationStatus is about. Must be one of the constants defined in InstallStep:
state
The state this step has been completed with / is currently in (one of InstallationState.Failed, InstallationState.InProgress or InstallationState.Success)
progress
the progress [0, 100]
of the current installation step. Will in practice only contain a value if state is InstallationState.InProgress.
message
A message this InstallationStatus might contain, is required if state indicated an error (InstallationState.Failed).