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

50 lines
1.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.w;
import bolts.CancellationToken;
import com.kofax.mobile.sdk.extract.id.DataField;
import o.InterfaceC13391fZD;
import o.gjJ;
/* loaded from: classes3.dex */
public class r extends ae {
private final a Qa;
/* loaded from: classes3.dex */
public interface a {
void a(com.kofax.mobile.sdk.e.a aVar, DataField dataField);
boolean k(com.kofax.mobile.sdk.e.a aVar);
DataField l(com.kofax.mobile.sdk.e.a aVar);
DataField m(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 r(a aVar) {
this.Qa = aVar;
}
@Override // com.kofax.mobile.sdk.w.ae
public void a(com.kofax.mobile.sdk.e.a aVar) {
if (this.Qa.k(aVar)) {
j(aVar);
}
}
private void j(com.kofax.mobile.sdk.e.a aVar) {
DataField m;
String name;
DataField l = this.Qa.l(aVar);
if (l == null || !gjJ.b((CharSequence) l.getObject()) || (m = this.Qa.m(aVar)) == null || (name = com.kofax.mobile.sdk._internal.impl.extraction.onDevice.g.getName(m.getObject())) == null) {
return;
}
this.Qa.a(aVar, new DataField(l.getName(), name, m.getConfidence(), m.getLocation()));
}
}