| // Signature format: 3.0 |
| package androidx.concurrent.futures { |
| |
| public final class CallbackToFutureAdapter { |
| method public static <T> com.google.common.util.concurrent.ListenableFuture<T!> getFuture(androidx.concurrent.futures.CallbackToFutureAdapter.Resolver<T!>); |
| } |
| |
| public static final class CallbackToFutureAdapter.Completer<T> { |
| method public void addCancellationListener(Runnable, java.util.concurrent.Executor); |
| method protected void finalize(); |
| method public boolean set(T!); |
| method public boolean setCancelled(); |
| method public boolean setException(Throwable); |
| } |
| |
| public static interface CallbackToFutureAdapter.Resolver<T> { |
| method public Object? attachCompleter(androidx.concurrent.futures.CallbackToFutureAdapter.Completer<T!>) throws java.lang.Exception; |
| } |
| |
| } |
| |