48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
package com.kofax.mobile.sdk.x;
|
|
|
|
import com.kofax.kmc.ken.engines.data.Image;
|
|
import com.kofax.mobile.sdk.extract.id.DataField;
|
|
import com.kofax.mobile.sdk.extract.id.IdRegion;
|
|
import com.kofax.mobile.sdk.w.g;
|
|
import java.util.List;
|
|
import o.InterfaceC13391fZD;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class y implements g.a {
|
|
@InterfaceC13391fZD
|
|
public y() {
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.w.g.a
|
|
public String e(com.kofax.mobile.sdk.e.a aVar) {
|
|
return aVar.ht();
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.w.g.a
|
|
public String f(com.kofax.mobile.sdk.e.a aVar) {
|
|
com.kofax.mobile.sdk.c.a hv = aVar.hv();
|
|
if (hv != null) {
|
|
return hv.getClassId();
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.w.g.a
|
|
public Image g(com.kofax.mobile.sdk.e.a aVar) {
|
|
if (aVar.ht().equals(IdRegion.US.getRegionName())) {
|
|
return null;
|
|
}
|
|
return aVar.hr().originalImage;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.w.g.a
|
|
public void a(com.kofax.mobile.sdk.e.a aVar, List<DataField> list, Exception exc) {
|
|
aVar.h(list);
|
|
aVar.a(exc);
|
|
if (exc != null || list == null) {
|
|
return;
|
|
}
|
|
aVar.n(true);
|
|
}
|
|
}
|