ProgressBar.getFraction

Returns the current fraction of the task that’s been completed.

class ProgressBar
double
getFraction
()

Return Value

Type: double

a fraction from 0.0 to 1.0