what-the-bank/sources/com/kofax/mobile/sdk/w/ag.java

50 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.w;
import bolts.CancellationToken;
import com.kofax.kmc.kut.utilities.error.ErrorInfo;
import com.kofax.kmc.kut.utilities.error.KmcRuntimeException;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class ag extends ae {
private final a Qr;
/* loaded from: classes3.dex */
public interface a {
boolean A(com.kofax.mobile.sdk.e.a aVar);
void d(com.kofax.mobile.sdk.e.a aVar, Exception exc);
boolean k(com.kofax.mobile.sdk.e.a aVar);
boolean z(com.kofax.mobile.sdk.e.a aVar);
}
@Override // com.kofax.mobile.sdk.w.ae, com.kofax.mobile.sdk.e.c
public /* bridge */ /* synthetic */ void a(Object obj, CancellationToken cancellationToken) {
super.a(obj, cancellationToken);
}
@InterfaceC13391fZD
public ag(a aVar) {
this.Qr = aVar;
}
@Override // com.kofax.mobile.sdk.w.ae
public void a(com.kofax.mobile.sdk.e.a aVar) {
if (this.Qr.k(aVar)) {
if (!this.Qr.z(aVar)) {
this.Qr.d(aVar, new KmcRuntimeException(ErrorInfo.KMC_CL_CLASSIFICATION_CONFIDENCE_LOW));
return;
} else {
if (this.Qr.A(aVar)) {
return;
}
this.Qr.d(aVar, new KmcRuntimeException(ErrorInfo.KMC_EX_PASSPORT_MRZ_DATA_NOT_FOUND));
return;
}
}
this.Qr.d(aVar, null);
}
}