30 lines
918 B
Java
30 lines
918 B
Java
package com.huawei.hms.support.api.client;
|
|
|
|
import android.os.Looper;
|
|
import com.huawei.hms.support.api.client.Result;
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public abstract class PendingResult<R extends Result> {
|
|
public abstract R await();
|
|
|
|
public abstract R await(long j, TimeUnit timeUnit);
|
|
|
|
@Deprecated
|
|
public abstract void cancel();
|
|
|
|
public <S extends Result> ConvertedResult<S> convertResult(ResultConvert<? super R, ? extends S> resultConvert) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@Deprecated
|
|
public abstract boolean isCanceled();
|
|
|
|
public abstract void setResultCallback(Looper looper, ResultCallback<R> resultCallback);
|
|
|
|
public abstract void setResultCallback(ResultCallback<R> resultCallback);
|
|
|
|
@Deprecated
|
|
public abstract void setResultCallback(ResultCallback<R> resultCallback, long j, TimeUnit timeUnit);
|
|
}
|