package android.support.customtabs; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import android.support.customtabs.ICustomTabsCallback; /* loaded from: classes.dex */ public interface IPostMessageService extends IInterface { public static abstract class Stub extends Binder implements IPostMessageService { public Stub() { attachInterface(this, "android.support.customtabs.IPostMessageService"); } @Override // android.os.IInterface public IBinder asBinder() { return this; } @Override // android.os.Binder public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i == 2) { parcel.enforceInterface("android.support.customtabs.IPostMessageService"); a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); parcel2.writeNoException(); return true; } if (i != 3) { if (i != 1598968902) { return super.onTransact(i, parcel, parcel2, i2); } parcel2.writeString("android.support.customtabs.IPostMessageService"); return true; } parcel.enforceInterface("android.support.customtabs.IPostMessageService"); a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); parcel2.writeNoException(); return true; } } void a(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException; void a(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException; }