progress

var progress: Int

Gets/Sets the Progress Value of Determinate ProgressBar. Can be used only in MODE_DETERMINATE Mode. Does not do anything if the ProgressDialog is in MODE_INDETERMINATE Mode. If the parameter progress is greater than MaxValue for Setter, MaxValue will be set as Progress. The Getter will return the current Progress Value if it is in MODE_DETERMINATE Mode, else -1 will be returned.

See also

Throws