| java.lang.Object | |
| ↳ | com.google.android.gms.tasks.TaskCompletionSource<TResult> |
Provides the ability to create an incomplete Task and later complete it by either
calling setResult(TResult) or setException(Exception).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Task.
| |||||||||||
Completes the Task with the specified exception.
| |||||||||||
Completes the Task with the specified result.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Completes the Task with the specified exception.
| IllegalStateException | if the Task is already complete |
|---|
Completes the Task with the specified result.
| IllegalStateException | if the Task is already complete |
|---|