setProgressFromRatio

Sets the progress directly from a ratio (0.0 to 1.0).

Parameters

ratio

Progress ratio between 0.0 and 1.0