what-the-bank/sources/com/google/android/gms/common/api/PendingResult.java

34 lines
1008 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.api;
import com.google.android.gms.common.api.Result;
import java.util.concurrent.TimeUnit;
/* loaded from: classes.dex */
public abstract class PendingResult<R extends Result> {
/* loaded from: classes.dex */
public interface StatusListener {
void onComplete(Status status);
}
public void addStatusListener(StatusListener statusListener) {
throw new UnsupportedOperationException();
}
public abstract R await();
public abstract R await(long j, TimeUnit timeUnit);
public abstract void cancel();
public abstract boolean isCanceled();
public abstract void setResultCallback(ResultCallback<? super R> resultCallback);
public abstract void setResultCallback(ResultCallback<? super R> resultCallback, long j, TimeUnit timeUnit);
public <S extends Result> TransformedResult<S> then(ResultTransform<? super R, ? extends S> resultTransform) {
throw new UnsupportedOperationException();
}
}