public interface ProgressListener
totalProgress(int)
you can retrieve the amount of steps the running progress need to finish
and with currentProgress(int)
you can retrieve the current step at which the running progress is.Modifier and Type | Method and Description |
---|---|
void |
currentProgress(int step)
Gets the current step of the progress indicated by a number between
0 and . |
void |
totalProgress(int amount)
Gets the total amount to finish the progress.
|
void totalProgress(int amount)
amount
- total amount of progressvoid currentProgress(int step)
0
and totalProgress(int)
.step
- the current step