| java.lang.Object | |||
| ↳ | com.google.android.gms.tasks.Task<TState> | ||
| ↳ | com.google.firebase.storage.CancellableTask<TState> | ||
| ↳ | com.google.firebase.storage.ControllableTask<TState> | ||
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.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a listener that is called when the Task becomes paused.
| |||||||||||
Adds a listener that is called when the Task becomes paused.
| |||||||||||
Adds a listener that is called when the Task becomes paused.
| |||||||||||
Attempts to pause the task.
| |||||||||||
Attempts to resume this task.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.firebase.storage.CancellableTask
| |||||||||||
From class
com.google.android.gms.tasks.Task
| |||||||||||
From class
java.lang.Object
| |||||||||||
Adds a listener that is called when the Task becomes paused.
| activity | When the supplied Activity stops, this listener will automatically
be removed. |
|---|
Adds a listener that is called when the Task becomes paused.
Adds a listener that is called when the Task becomes paused.
| executor | the executor to use to call the listener |
|---|
Attempts to pause the task. A paused task can later be resumed.
Attempts to resume this task.