com.google.firebase.tasks

Interfaces

Continuation<T, R> A function that is called to continue execution after completion of a Task
OnCompleteListener<T> Listener called when a Task completes. 
OnFailureListener Listener called when a Task fails with an exception. 
OnSuccessListener<T> Listener called when a Task completes successfully. 

Classes

Task<T> This class was deprecated. Task has been deprecated in favor of ApiFuture. For every method x() that returns a Task<T>, you should be able to find a corresponding xAsync() method that returns an ApiFuture<T>.  
TaskCompletionSource<T> Provides the ability to create an incomplete Task and later complete it by either calling setResult(T) or setException(Exception)
TaskExecutors This class was deprecated. Use the ThreadManager interface to get required Executors.  
Tasks This class was deprecated. Use ApiFutures and ThreadManager interface instead.  

Exceptions

RuntimeExecutionException Runtime version of java.util.concurrent.ExecutionException. 

Send feedback about...

Need help? Visit our support page.