正在查看: Empower MX v1.29.4.340 应用的 m.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Empower MX v1.29.4.340 应用的 m.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package Ra;
import com.withpersona.sdk2.inquiry.network.ErrorResponse;
import com.withpersona.sdk2.inquiry.network.InternalErrorInfo;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.Intrinsics;
public abstract class m {
public static final Hb.d a(InternalErrorInfo internalErrorInfo) {
Intrinsics.checkNotNullParameter(internalErrorInfo, "<this>");
if (internalErrorInfo instanceof InternalErrorInfo.CameraErrorInfo) {
return Hb.d.v;
}
if (internalErrorInfo instanceof InternalErrorInfo.IntegrationErrorInfo) {
return Hb.d.w;
}
if (internalErrorInfo instanceof InternalErrorInfo.NetworkErrorInfo) {
ErrorResponse.Error responseError = ((InternalErrorInfo.NetworkErrorInfo) internalErrorInfo).getResponseError();
if (responseError instanceof ErrorResponse.Error.RateLimitExceededError) {
return Hb.d.G;
}
boolean z = true;
if (!(responseError instanceof ErrorResponse.Error.FieldNotFoundError ? true : responseError instanceof ErrorResponse.Error.InactiveTemplateError ? true : responseError instanceof ErrorResponse.Error.InconsistentTransitionError ? true : responseError instanceof ErrorResponse.Error.TransitionFromTerminalStateError ? true : responseError instanceof ErrorResponse.Error.InvalidConfigError ? true : responseError instanceof ErrorResponse.Error.UnauthenticatedError ? true : responseError instanceof ErrorResponse.Error.UnknownError) && responseError != null) {
z = false;
}
if (z) {
return Hb.d.d;
}
throw new NoWhenBranchMatchedException();
}
if (internalErrorInfo instanceof InternalErrorInfo.PermissionErrorInfo) {
return Hb.d.e;
}
if (internalErrorInfo instanceof InternalErrorInfo.ConfigurationErrorInfo) {
return Hb.d.i;
}
if (internalErrorInfo instanceof InternalErrorInfo.NoDiskSpaceErrorInfo) {
return Hb.d.I;
}
if (internalErrorInfo instanceof InternalErrorInfo.WebRtcIntegrationErrorInfo) {
return Hb.d.J;
}
if (internalErrorInfo instanceof InternalErrorInfo.UnknownErrorInfo) {
return Hb.d.H;
}
throw new NoWhenBranchMatchedException();
}
public static final String b(InternalErrorInfo internalErrorInfo) {
Intrinsics.checkNotNullParameter(internalErrorInfo, "<this>");
if (internalErrorInfo instanceof InternalErrorInfo.CameraErrorInfo) {
return "Unable to find a suitable camera.";
}
if (internalErrorInfo instanceof InternalErrorInfo.IntegrationErrorInfo) {
return "The SDK is misconfigured.";
}
if (internalErrorInfo instanceof InternalErrorInfo.NetworkErrorInfo) {
return "There was a problem reaching the server.";
}
if (internalErrorInfo instanceof InternalErrorInfo.PermissionErrorInfo) {
return "There was an issue with camera permissions.";
}
if (internalErrorInfo instanceof InternalErrorInfo.ConfigurationErrorInfo) {
return "The SDK needs a template ID that starts with `itmpl_`. If your template ID starts with `tmpl_`, you should use version v1.x of the Persona Android SDK. https://docs.withpersona.com/docs/mobile-sdks-v1";
}
if (internalErrorInfo instanceof InternalErrorInfo.NoDiskSpaceErrorInfo) {
return "The device has no available disk space.";
}
if (internalErrorInfo instanceof InternalErrorInfo.WebRtcIntegrationErrorInfo) {
return "WebRTC is listed as the preferred or only capture method, but it has not been configured for this project.";
}
if (internalErrorInfo instanceof InternalErrorInfo.UnknownErrorInfo) {
return "An otherwise unexpected error occurred.";
}
throw new NoWhenBranchMatchedException();
}
}