AGCStorageDownloadTask class
Manages download tasks and encapsulates operations on storage tasks in various states.
- Inheritance
-
- Object
- AGCStorageTask<
AGCStorageDownloadResult> - AGCStorageDownloadTask
Properties
- exception ↔ AGCStorageException?
-
Task exception. Not null when task state is canceled or failure.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCanceled → bool
-
Indicates whether a task is canceled.
no setterinherited
- isComplete → bool
-
Indicates whether a task is complete. Task success, failure or cancel are considered as completion.
no setterinherited
- isInProgress → bool
-
Indicates whether a task is being executed.
no setterinherited
- isPaused → bool
-
Indicates whether a task is suspended.
no setterinherited
- isSuccessful → bool
-
Indicates whether a task is successful.
no setterinherited
- result → AGCStorageDownloadResult?
-
Current result of the task. Not null when task state is progress, paused or success.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → Future< bool> -
Cancels the current task.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent(
) → Stream< void> -
inherited
-
pause(
) → Future< bool> -
Suspends the current task.
inherited
-
resume(
) → Future< bool> -
Continues the current task.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
whenComplete(
) → Future< void> -
Waits until whether a task is completed. Task success, failure or cancel are considered as completion.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited