104 lines
3.2 KiB
Java
104 lines
3.2 KiB
Java
|
package com.kofax.mobile.sdk.capture.id;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import com.kofax.mobile.sdk._internal.dagger.Injector;
|
||
|
import com.kofax.mobile.sdk.capture.model.Id;
|
||
|
import com.kofax.mobile.sdk.capture.parameter.ExtractionParameters;
|
||
|
import com.kofax.mobile.sdk.capture.parameter.IParameters;
|
||
|
import com.kofax.mobile.sdk.capture.parameter.LookAndFeelParameters;
|
||
|
import com.kofax.mobile.sdk.capture.parameter.ProcessingParameters;
|
||
|
import com.kofax.mobile.sdk.extract.id.IdRegion;
|
||
|
import o.InterfaceC13390fZB;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class IdParameters implements IParameters {
|
||
|
|
||
|
@InterfaceC13390fZB(a = IdWorkflowActivity.ID_PARAMETERS)
|
||
|
@InterfaceC13391fZD
|
||
|
ExtractionParameters ZO;
|
||
|
|
||
|
@InterfaceC13390fZB(a = IdWorkflowActivity.ID_PARAMETERS)
|
||
|
@InterfaceC13391fZD
|
||
|
LookAndFeelParameters ZP;
|
||
|
|
||
|
@InterfaceC13390fZB(a = IdWorkflowActivity.ID_PARAMETERS)
|
||
|
@InterfaceC13391fZD
|
||
|
ProcessingParameters ZQ;
|
||
|
public String barcode;
|
||
|
public Id reverseSideId;
|
||
|
public IdSide side = IdSide.FRONT;
|
||
|
public IdState state = IdState.NOT_SPECIFIED;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public enum IdSide {
|
||
|
FRONT,
|
||
|
BACK
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public enum IdState {
|
||
|
NOT_SPECIFIED(null),
|
||
|
UNITED_STATES(IdRegion.US),
|
||
|
CANADA(IdRegion.CANADA),
|
||
|
CAMEROON(IdRegion.AFRICA),
|
||
|
AFRICA_OTHER(IdRegion.AFRICA),
|
||
|
CHINA(IdRegion.ASIA),
|
||
|
INDIA(IdRegion.ASIA),
|
||
|
SINGAPORE(IdRegion.ASIA),
|
||
|
SOUTH_KOREA(IdRegion.ASIA),
|
||
|
JAPAN(IdRegion.ASIA),
|
||
|
ASIA_OTHER(IdRegion.ASIA),
|
||
|
KEY_PASS(IdRegion.AUSTRALIA),
|
||
|
AUSTRALIA_OTHER(IdRegion.AUSTRALIA),
|
||
|
ALBANIA(IdRegion.EUROPE),
|
||
|
GERMANY(IdRegion.EUROPE),
|
||
|
LITHUANIA(IdRegion.EUROPE),
|
||
|
LUXEMBOURG(IdRegion.EUROPE),
|
||
|
EUROPE_OTHER(IdRegion.EUROPE),
|
||
|
BRAZIL(IdRegion.LATIN_AMERICA),
|
||
|
ECUADOR(IdRegion.LATIN_AMERICA),
|
||
|
EL_SALVADOR(IdRegion.LATIN_AMERICA),
|
||
|
GUATEMALA(IdRegion.LATIN_AMERICA),
|
||
|
ST_CHRIST_NEVIS(IdRegion.LATIN_AMERICA),
|
||
|
LATIN_AMERICA_OTHER(IdRegion.LATIN_AMERICA);
|
||
|
|
||
|
public final IdRegion region;
|
||
|
|
||
|
IdState(IdRegion idRegion) {
|
||
|
this.region = idRegion;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@InterfaceC13391fZD
|
||
|
public IdParameters() {
|
||
|
}
|
||
|
|
||
|
public IdParameters(Context context) {
|
||
|
Injector.getInjector(context.getApplicationContext()).injectMembers(this);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.parameter.IParameters
|
||
|
public ProcessingParameters getProcessingParameters() {
|
||
|
return this.side == IdSide.FRONT ? this.ZQ : new a();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
static class a extends ProcessingParameters {
|
||
|
public a() {
|
||
|
this.processingType = ProcessingParameters.ProcessingType.OFF;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.parameter.IParameters
|
||
|
public LookAndFeelParameters getLookAndFeelParameters() {
|
||
|
return this.ZP;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.parameter.IParameters
|
||
|
public ExtractionParameters getExtractionParameters() {
|
||
|
return this.ZO;
|
||
|
}
|
||
|
}
|