what-the-bank/sources/com/kofax/mobile/sdk/x/i.java

48 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.x;
import com.kofax.kmc.ken.engines.data.Image;
import com.kofax.mobile.sdk.extract.id.IdRegion;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class i extends t {
private static final String QM = "US";
private static final com.kofax.mobile.sdk.c.a QN = new com.kofax.mobile.sdk.c.a() { // from class: com.kofax.mobile.sdk.x.i.1
@Override // com.kofax.mobile.sdk.c.a
public final float getConfidence() {
return 1.0f;
}
@Override // com.kofax.mobile.sdk.c.a
public final String getClassId() {
return i.QM;
}
};
@InterfaceC13391fZD
public i() {
}
@Override // com.kofax.mobile.sdk.w.k.a
public Image i(com.kofax.mobile.sdk.e.a aVar) {
if (H(aVar)) {
return null;
}
return aVar.hs().NW;
}
private boolean H(com.kofax.mobile.sdk.e.a aVar) {
return aVar.hs().originalImage != null && aVar.ht().equals(IdRegion.US.getRegionName());
}
@Override // com.kofax.mobile.sdk.w.k.a
public void a(com.kofax.mobile.sdk.e.a aVar, com.kofax.mobile.sdk.c.a aVar2, Exception exc) {
if (H(aVar)) {
d(QN);
} else {
d(aVar2);
}
setException(exc);
}
}