what-the-bank/sources/com/kofax/mobile/sdk/g/d.java

70 lines
2.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.g;
import com.kofax.kmc.kut.utilities.appstats.AppStatsClientEventLogger;
import com.kofax.kmc.kut.utilities.appstats.dao.AppStatsDao;
import com.kofax.kmc.kut.utilities.appstats.dao.DocumentEventDao;
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsDsOpType;
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsEventIDType;
/* loaded from: classes3.dex */
public class d extends a {
private static final String TAG = "d";
private AppStatsEventIDType xD = AppStatsEventIDType.APP_STATS_UNKNOWN_EVENT;
private String iL = null;
private String documentType = "";
private DocumentEventDao xJ = null;
public void a(AppStatsEventIDType appStatsEventIDType, String str, String str2) {
this.xD = appStatsEventIDType;
this.iL = str;
this.documentType = str2;
a(appStatsEventIDType, new AppStatsClientEventLogger(this) { // from class: com.kofax.mobile.sdk.g.d.1
final d xK;
{
this.xK = this;
}
@Override // com.kofax.kmc.kut.utilities.appstats.AppStatsClientEventLogger
public void logEvent(AppStatsEventIDType appStatsEventIDType2) {
if (AnonymousClass2.xL[appStatsEventIDType2.ordinal()] == 1) {
this.xK.iG();
}
}
});
}
/* renamed from: com.kofax.mobile.sdk.g.d$2, reason: invalid class name */
/* loaded from: classes3.dex */
static /* synthetic */ class AnonymousClass2 {
static final int[] xL;
static {
int[] iArr = new int[AppStatsEventIDType.values().length];
xL = iArr;
try {
iArr[AppStatsEventIDType.APP_STATS_DOCUMENT_CREATE_EVENT.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public void iG() {
DocumentEventDao documentEventDao = new DocumentEventDao();
this.xJ = documentEventDao;
documentEventDao.setId(this.iL);
this.xJ.setCreationTime(Long.valueOf(this.asFriend.currentEventTime()));
DocumentEventDao documentEventDao2 = this.xJ;
documentEventDao2.setSessionKey(documentEventDao2.getAppStatsSessionKey());
this.xJ.setDocumentType(this.documentType);
this.xJ.setDsOperation(AppStatsDsOpType.APP_STATS_DS_INSERT);
a(new AppStatsDao[]{this.xJ});
}
@Override // com.kofax.mobile.sdk.g.a
protected AppStatsEventIDType it() {
return this.xD;
}
}