what-the-bank/sources/com/google/android/gms/common/internal/ICancelToken.java

37 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.internal;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
/* loaded from: classes.dex */
public interface ICancelToken extends IInterface {
/* loaded from: classes.dex */
public static abstract class Stub extends com.google.android.gms.internal.common.zzb implements ICancelToken {
public Stub() {
super("com.google.android.gms.common.internal.ICancelToken");
}
public static ICancelToken asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.ICancelToken");
return queryLocalInterface instanceof ICancelToken ? (ICancelToken) queryLocalInterface : new zzw(iBinder);
}
@Override // com.google.android.gms.internal.common.zzb
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
if (i != 2) {
return false;
}
cancel();
return true;
}
}
void cancel() throws RemoteException;
}