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