Method

FwupdPluginProgressadd_step

Declaration [src]

void
fu_progress_add_step (
  FuProgress* self,
  FwupdStatus status,
  guint value
)

Description [src]

This sets the step weighting, which you will want to do if one action will take a bigger chunk of time than another.

The progress ID must be set fu_progress_set_id() before this method is used.

Available since:1.7.0

Parameters

status FwupdStatus
 

Status value to use for this phase.

value guint
 

A step weighting variable argument array.