public interface IAsyncTaskState
Provides access to the state of the asynchronous task.
Modifier and Type | Method and Description |
---|---|
AsyncTaskProgress |
getProgress()
Gets the progress of the asynchronous task.
|
boolean |
isCanceled()
Gets a value indicating whether the asynchronous task is canceled.
|
void |
setProgress(int progressPercentage)
Sets the progress of the asynchronous task.
|
boolean isCanceled()
Gets a value indicating whether the asynchronous task is canceled.
Value:true
if the asynchronous task is canceled; otherwise, false
.AsyncTaskProgress getProgress()
Gets the progress of the asynchronous task.
Value: The progress of the asynchronous task.void setProgress(int progressPercentage)
Sets the progress of the asynchronous task.
progressPercentage
- The progress percentage.