|
Known Direct Subclasses
StorageTask<TResult extends StorageTask.ProvideError>
|
| Known Indirect Subclasses |
Represents an asynchronous operation that can be paused, resumed and canceled. This task also receives progress and other state change notifications.
| abstract ControllableTask<TState> |
addOnPausedListener(Activity activity, OnPausedListener<? super TState> listener)
Adds a listener that is called when the Task becomes paused.
|
| abstract ControllableTask<TState> |
addOnPausedListener(OnPausedListener<? super TState> listener)
Adds a listener that is called when the Task becomes paused.
|
| abstract ControllableTask<TState> |
addOnPausedListener(Executor executor, OnPausedListener<? super TState> listener)
Adds a listener that is called when the Task becomes paused.
|
| abstract boolean |
isPaused()
|
| abstract boolean |
pause()
Attempts to pause the task.
|
| abstract boolean |
resume()
Attempts to resume this task.
|
Adds a listener that is called when the Task becomes paused.
| activity | When the supplied Activity stops, this listener will automatically be
removed. |
|---|---|
| listener |
Adds a listener that is called when the Task becomes paused.
| listener |
|---|
Adds a listener that is called when the Task becomes paused.
| executor | the executor to use to call the listener |
|---|---|
| listener |
Attempts to pause the task. A paused task can later be resumed.
Attempts to resume this task.