mode
Gets/Sets the mode of the ProgressDialog which is MODE_INDETERMINATE by Default. If you're going to use only one Mode constantly, no need to set this. Instead, use an appropriate Constructor to set the required Mode during Instantiation. Only MODE_DETERMINATE or MODE_INDETERMINATE should be passed as parameter for the Setter.
Throws
If any other value other than MODE_DETERMINATE or MODE_INDETERMINATE is passed to the Setter.