56 lines
1.7 KiB
Java
56 lines
1.7 KiB
Java
|
package com.kofax.mobile.sdk.f;
|
||
|
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsEventIDType;
|
||
|
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsInstanceType;
|
||
|
import com.kofax.mobile.sdk._internal.IBus;
|
||
|
import o.InterfaceC13006fNs;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class l {
|
||
|
private IBus _bus;
|
||
|
private com.kofax.mobile.sdk.g.g xr;
|
||
|
private com.kofax.mobile.sdk.g.c xs = null;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public l(IBus iBus) {
|
||
|
this._bus = iBus;
|
||
|
iBus.register(this);
|
||
|
}
|
||
|
|
||
|
@InterfaceC13006fNs
|
||
|
public void a(com.kofax.mobile.sdk.s.c cVar) {
|
||
|
this.xr = new com.kofax.mobile.sdk.g.g(AppStatsInstanceType.INST_TYPE_IMAGE_PROCESSOR);
|
||
|
}
|
||
|
|
||
|
@InterfaceC13006fNs
|
||
|
public void a(com.kofax.mobile.sdk.s.d dVar) {
|
||
|
this.xr.iw();
|
||
|
}
|
||
|
|
||
|
@InterfaceC13006fNs
|
||
|
public void a(com.kofax.mobile.sdk.s.b bVar) {
|
||
|
com.kofax.mobile.sdk.g.c cVar = new com.kofax.mobile.sdk.g.c();
|
||
|
this.xs = cVar;
|
||
|
cVar.V(bVar.image.getImageID());
|
||
|
this.xr.a(AppStatsEventIDType.APP_STATS_IMG_PROCESSING_START_EVENT, this.xs);
|
||
|
}
|
||
|
|
||
|
@InterfaceC13006fNs
|
||
|
public void a(com.kofax.mobile.sdk.s.a aVar) {
|
||
|
com.kofax.mobile.sdk.g.c cVar = this.xs;
|
||
|
if (cVar != null) {
|
||
|
cVar.U(aVar.iC);
|
||
|
this.xs.setResultCode(aVar.be.getErr());
|
||
|
Image image = aVar.image;
|
||
|
if (image != null) {
|
||
|
this.xs.T(image.getImageID());
|
||
|
this.xs.f((int) image.getImageSize());
|
||
|
}
|
||
|
this.xr.a(AppStatsEventIDType.APP_STATS_IMG_PROCESSING_STOP_EVENT, this.xs);
|
||
|
this.xs = null;
|
||
|
}
|
||
|
}
|
||
|
}
|