what-the-bank/sources/com/facetec/sdk/FaceTecCustomization.java

346 lines
17 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.facetec.sdk;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public final class FaceTecCustomization {
public static int activityThemeId;
public static String overrideResultScreenSuccessMessage;
static HashMap<cm, String> r;
static HashMap<dd, String> s;
boolean a;
boolean b;
boolean c;
boolean d;
boolean e;
public int exitAnimationSuccessResourceID;
public int exitAnimationUnsuccessResourceID;
FaceTecGuidanceCustomization f;
FaceTecOverlayCustomization g;
FaceTecIDScanCustomization h;
FaceTecOCRConfirmationCustomization i;
FaceTecResultScreenCustomization j;
FaceTecCancelButtonCustomization k;
FaceTecFrameCustomization l;
FaceTecInitialLoadingAnimationCustomization m;
FaceTecOvalCustomization n;
/* renamed from: o, reason: collision with root package name */
FaceTecFeedbackCustomization f6400o;
Map<String, String> p;
FaceTecExitAnimationStyle q;
public FaceTecSecurityWatermarkImage securityWatermarkImage;
FaceTecExitAnimationStyle t;
@Deprecated
private FaceTecSessionTimerCustomization v;
public FaceTecVocalGuidanceCustomization vocalGuidanceCustomization;
public static void setIDScanResultScreenMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14) {
HashMap<cm, String> hashMap = new HashMap<>();
r = hashMap;
hashMap.put(cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH, str10);
r.put(cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE, str11);
r.put(cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH, str12);
r.put(cm.IDSCAN_RETRY_ID_TYPE_NOT_SUPPORTED, str13);
r.put(cm.IDSCAN_SKIP_OR_ERROR_NFC, str14);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE, str);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT, str2);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_NFC_NEXT, str3);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE, str4);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE_NFC_NEXT, str5);
r.put(cm.IDSCAN_SUCCESS_PASSPORT, str6);
r.put(cm.IDSCAN_SUCCESS_PASSPORT_NFC_NEXT, str7);
r.put(cm.IDSCAN_SUCCESS_USER_CONFIRMATION, str8);
r.put(cm.IDSCAN_SUCCESS_NFC, str9);
}
public static void setIDScanResultScreenMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12) {
ao.e(String.format("FaceTec SDK Deprecated Method Warning: The %s function with these arguments is deprecated, please use the updated overload in order to customize all available strings.", "setIDScanResultScreenMessageOverrides"));
HashMap<cm, String> hashMap = new HashMap<>();
r = hashMap;
hashMap.put(cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH, str8);
r.put(cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE, str9);
r.put(cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH, str10);
r.put(cm.IDSCAN_RETRY_ID_TYPE_NOT_SUPPORTED, str11);
r.put(cm.IDSCAN_SKIP_OR_ERROR_NFC, str12);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE, str);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT, str2);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_NFC_NEXT, str3);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE, str4);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE_NFC_NEXT, str5);
r.put(cm.IDSCAN_SUCCESS_USER_CONFIRMATION, str6);
r.put(cm.IDSCAN_SUCCESS_NFC, str7);
}
public static void setIDScanResultScreenMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10) {
ao.e(String.format("FaceTec SDK Deprecated Method Warning: The %s function with these arguments is deprecated, please use the updated overload in order to customize all available strings.", "setIDScanResultScreenMessageOverrides"));
HashMap<cm, String> hashMap = new HashMap<>();
r = hashMap;
hashMap.put(cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH, str6);
r.put(cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE, str7);
r.put(cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH, str8);
r.put(cm.IDSCAN_RETRY_ID_TYPE_NOT_SUPPORTED, str9);
r.put(cm.IDSCAN_SKIP_OR_ERROR_NFC, str10);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE, str);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT, str2);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE, str3);
r.put(cm.IDSCAN_SUCCESS_USER_CONFIRMATION, str4);
r.put(cm.IDSCAN_SUCCESS_NFC, str5);
}
@Deprecated
public static void setIDScanResultScreenMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9) {
ao.e(String.format("FaceTec SDK Deprecated Method Warning: The %s function with these arguments is deprecated, please use the updated overload in order to customize all available strings.", "setIDScanResultScreenMessageOverrides"));
HashMap<cm, String> hashMap = new HashMap<>();
r = hashMap;
hashMap.put(cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH, str6);
r.put(cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE, str7);
r.put(cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH, str8);
r.put(cm.IDSCAN_SKIP_OR_ERROR_NFC, str9);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE, str);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT, str2);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE, str3);
r.put(cm.IDSCAN_SUCCESS_USER_CONFIRMATION, str4);
r.put(cm.IDSCAN_SUCCESS_NFC, str5);
}
@Deprecated
public static void setIDScanResultScreenMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7) {
ao.e(String.format("FaceTec SDK Deprecated Method Warning: The %s function with these arguments is deprecated, please use the updated overload in order to customize all available strings.", "setIDScanResultScreenMessageOverrides"));
HashMap<cm, String> hashMap = new HashMap<>();
r = hashMap;
hashMap.put(cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH, str5);
r.put(cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE, str6);
r.put(cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH, str7);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE, str);
r.put(cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT, str2);
r.put(cm.IDSCAN_SUCCESS_BACK_SIDE, str3);
r.put(cm.IDSCAN_SUCCESS_USER_CONFIRMATION, str4);
}
public static void setIDScanUploadMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14, String str15, String str16, String str17, String str18, String str19, String str20) {
HashMap<dd, String> hashMap = new HashMap<>();
s = hashMap;
hashMap.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_STARTED, str);
s.put(dd.IDSCAN_FRONT_SIDE_STILL_UPLOADING, str2);
s.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_COMPLETE_AWAITING_RESPONSE, str3);
s.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_COMPLETE_AWAITING_PROCESSING, str4);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_STARTED, str5);
s.put(dd.IDSCAN_BACK_SIDE_STILL_UPLOADING, str6);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_COMPLETE_AWAITING_RESPONSE, str7);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_COMPLETE_AWAITING_PROCESSING, str8);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_STARTED, str9);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_STILL_UPLOADING, str10);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_COMPLETE_AWAITING_RESPONSE, str11);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_COMPLETE_AWAITING_PROCESSING, str12);
s.put(dd.NFC_UPLOAD_STARTED, str13);
s.put(dd.NFC_STILL_UPLOADING, str14);
s.put(dd.NFC_UPLOAD_COMPLETE_AWAITING_RESPONSE, str15);
s.put(dd.NFC_UPLOAD_COMPLETE_AWAITING_PROCESSING, str16);
s.put(dd.SKIPPED_NFC_UPLOAD_STARTED, str17);
s.put(dd.SKIPPED_NFC_STILL_UPLOADING, str18);
s.put(dd.SKIPPED_NFC_UPLOAD_COMPLETE_AWAITING_RESPONSE, str19);
s.put(dd.SKIPPED_NFC_UPLOAD_COMPLETE_AWAITING_PROCESSING, str20);
}
@Deprecated
public static void setIDScanUploadMessageOverrides(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14, String str15, String str16) {
ao.e(String.format("FaceTec SDK Deprecated Method Warning: The %s function with these arguments is deprecated, please use the updated overload in order to customize all available strings.", "setIDScanUploadMessageOverrides"));
HashMap<dd, String> hashMap = new HashMap<>();
s = hashMap;
hashMap.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_STARTED, str);
s.put(dd.IDSCAN_FRONT_SIDE_STILL_UPLOADING, str2);
s.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_COMPLETE_AWAITING_RESPONSE, str3);
s.put(dd.IDSCAN_FRONT_SIDE_UPLOAD_COMPLETE_AWAITING_PROCESSING, str4);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_STARTED, str5);
s.put(dd.IDSCAN_BACK_SIDE_STILL_UPLOADING, str6);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_COMPLETE_AWAITING_RESPONSE, str7);
s.put(dd.IDSCAN_BACK_SIDE_UPLOAD_COMPLETE_AWAITING_PROCESSING, str8);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_STARTED, str9);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_STILL_UPLOADING, str10);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_COMPLETE_AWAITING_RESPONSE, str11);
s.put(dd.IDSCAN_USER_CONFIRMED_INFO_UPLOAD_COMPLETE_AWAITING_PROCESSING, str12);
s.put(dd.NFC_UPLOAD_STARTED, str13);
s.put(dd.NFC_STILL_UPLOADING, str14);
s.put(dd.NFC_UPLOAD_COMPLETE_AWAITING_RESPONSE, str15);
s.put(dd.NFC_UPLOAD_COMPLETE_AWAITING_PROCESSING, str16);
}
public FaceTecCustomization(Map<String, String> map) {
this.b = true;
this.a = false;
this.c = false;
this.d = false;
this.e = false;
this.l = new FaceTecFrameCustomization();
this.f6400o = new FaceTecFeedbackCustomization();
this.n = new FaceTecOvalCustomization();
this.k = new FaceTecCancelButtonCustomization();
this.f = new FaceTecGuidanceCustomization();
this.j = new FaceTecResultScreenCustomization();
this.g = new FaceTecOverlayCustomization();
this.h = new FaceTecIDScanCustomization();
this.i = new FaceTecOCRConfirmationCustomization();
this.v = new FaceTecSessionTimerCustomization();
this.m = new FaceTecInitialLoadingAnimationCustomization();
this.t = FaceTecExitAnimationStyle.RIPPLE_OUT;
this.q = FaceTecExitAnimationStyle.NONE;
this.exitAnimationUnsuccessResourceID = -1;
this.exitAnimationSuccessResourceID = -1;
this.p = map;
this.securityWatermarkImage = FaceTecSecurityWatermarkImage.FACETEC_ZOOM;
this.vocalGuidanceCustomization = new FaceTecVocalGuidanceCustomization();
}
public FaceTecCustomization() {
this(new HashMap());
}
public final void setExitAnimationSuccessCustom(FaceTecExitAnimationStyle faceTecExitAnimationStyle) {
if (faceTecExitAnimationStyle == null) {
faceTecExitAnimationStyle = FaceTecExitAnimationStyle.CIRCLE_FADE;
}
this.t = faceTecExitAnimationStyle;
FaceTecExitAnimationStyle faceTecExitAnimationStyle2 = FaceTecExitAnimationStyle.CIRCLE_FADE;
}
public final void setExitAnimationUnsuccessCustom(FaceTecExitAnimationStyle faceTecExitAnimationStyle) {
if (faceTecExitAnimationStyle == null) {
faceTecExitAnimationStyle = FaceTecExitAnimationStyle.CIRCLE_FADE;
}
this.q = faceTecExitAnimationStyle;
FaceTecExitAnimationStyle faceTecExitAnimationStyle2 = FaceTecExitAnimationStyle.CIRCLE_FADE;
}
public final void setFrameCustomization(FaceTecFrameCustomization faceTecFrameCustomization) {
if (faceTecFrameCustomization == null) {
faceTecFrameCustomization = new FaceTecFrameCustomization();
}
this.l = faceTecFrameCustomization;
}
public final void setFeedbackCustomization(FaceTecFeedbackCustomization faceTecFeedbackCustomization) {
if (faceTecFeedbackCustomization == null) {
faceTecFeedbackCustomization = new FaceTecFeedbackCustomization();
}
this.f6400o = faceTecFeedbackCustomization;
}
public final void setOvalCustomization(FaceTecOvalCustomization faceTecOvalCustomization) {
if (faceTecOvalCustomization == null) {
faceTecOvalCustomization = new FaceTecOvalCustomization();
}
this.n = faceTecOvalCustomization;
}
public final void setCancelButtonCustomization(FaceTecCancelButtonCustomization faceTecCancelButtonCustomization) {
if (faceTecCancelButtonCustomization == null) {
faceTecCancelButtonCustomization = new FaceTecCancelButtonCustomization();
}
this.k = faceTecCancelButtonCustomization;
}
public final void setGuidanceCustomization(FaceTecGuidanceCustomization faceTecGuidanceCustomization) {
if (faceTecGuidanceCustomization == null) {
faceTecGuidanceCustomization = new FaceTecGuidanceCustomization();
}
this.f = faceTecGuidanceCustomization;
}
public final void setResultScreenCustomization(FaceTecResultScreenCustomization faceTecResultScreenCustomization) {
if (faceTecResultScreenCustomization == null) {
faceTecResultScreenCustomization = new FaceTecResultScreenCustomization();
}
this.j = faceTecResultScreenCustomization;
}
public final void setOverlayCustomization(FaceTecOverlayCustomization faceTecOverlayCustomization) {
if (faceTecOverlayCustomization == null) {
faceTecOverlayCustomization = new FaceTecOverlayCustomization();
}
this.g = faceTecOverlayCustomization;
}
public final void setIdScanCustomization(FaceTecIDScanCustomization faceTecIDScanCustomization) {
if (faceTecIDScanCustomization == null) {
faceTecIDScanCustomization = new FaceTecIDScanCustomization();
}
this.h = faceTecIDScanCustomization;
}
public final void setOcrConfirmationCustomization(FaceTecOCRConfirmationCustomization faceTecOCRConfirmationCustomization) {
if (faceTecOCRConfirmationCustomization == null) {
faceTecOCRConfirmationCustomization = new FaceTecOCRConfirmationCustomization();
}
this.i = faceTecOCRConfirmationCustomization;
}
public final void setSessionTimerCustomization(FaceTecSessionTimerCustomization faceTecSessionTimerCustomization) {
if (faceTecSessionTimerCustomization == null) {
faceTecSessionTimerCustomization = new FaceTecSessionTimerCustomization();
}
this.v = faceTecSessionTimerCustomization;
}
public final void setInitialLoadingAnimationCustomization(FaceTecInitialLoadingAnimationCustomization faceTecInitialLoadingAnimationCustomization) {
if (faceTecInitialLoadingAnimationCustomization == null) {
faceTecInitialLoadingAnimationCustomization = new FaceTecInitialLoadingAnimationCustomization();
}
this.m = faceTecInitialLoadingAnimationCustomization;
}
public final FaceTecSessionTimerCustomization getSessionTimerCustomization() {
return this.v;
}
public final FaceTecResultScreenCustomization getResultScreenCustomization() {
return this.j;
}
public final FaceTecOverlayCustomization getOverlayCustomization() {
return this.g;
}
public final FaceTecOvalCustomization getOvalCustomization() {
return this.n;
}
public final FaceTecOCRConfirmationCustomization getOcrConfirmationCustomization() {
return this.i;
}
public final FaceTecInitialLoadingAnimationCustomization getInitialLoadingAnimationCustomization() {
return this.m;
}
public final FaceTecIDScanCustomization getIdScanCustomization() {
return this.h;
}
public final FaceTecGuidanceCustomization getGuidanceCustomization() {
return this.f;
}
public final FaceTecFrameCustomization getFrameCustomization() {
return this.l;
}
public final FaceTecFeedbackCustomization getFeedbackCustomization() {
return this.f6400o;
}
public final FaceTecExitAnimationStyle getExitAnimationUnsuccessCustom() {
return this.q;
}
public final FaceTecExitAnimationStyle getExitAnimationSuccessCustom() {
return this.t;
}
public final FaceTecCancelButtonCustomization getCancelButtonCustomization() {
return this.k;
}
}