com.google.android.gms.tasks

Interfaces

Continuation

A function that is called to continue execution after completion of a Task.

OnCanceledListener

Listener called when a Task is canceled.

OnCompleteListener

Listener called when a Task completes.

OnFailureListener

Listener called when a Task fails with an exception.

OnSuccessListener

Listener called when a Task completes successfully.

OnTokenCanceledListener

Listener called when a CancellationToken is canceled successfully.

SuccessContinuation

A function that is called to continue execution then a Task succeeds.

Classes

CancellationToken

Propagates notification that operations should be canceled.

CancellationTokenSource

Creates a new CancellationToken or cancels one that has already created.

Task

Represents an asynchronous operation.

TaskCompletionSource

Provides the ability to create Task-based APIs.

TaskExecutors

Standard Executor instances for use with Task.

Tasks

Task utility methods.

Exceptions

DuplicateTaskCompletionException

An exception indicating that something attempted to set a result, exception, or cancellation on a Task that was already completed.

RuntimeExecutionException

Runtime version of java.util.concurrent.ExecutionException.