package com.kofax.android.abc.xvrs.Detection; import com.kofax.android.abc.xvrs.XVrsDocument; import com.kofax.android.abc.xvrs.XVrsImage; /* loaded from: classes3.dex */ public class XVrsMrzDetector { private long m_impl = nativeCreate(); public static native boolean nativeStaticInitializer(); public native long nativeCreate(); public native void nativeDispose(); public native XVrsDocument nativeGetDocument(); public native void nativeInitializeFromFile(String str, String str2); public native void nativeInitializeFromString(String str, String str2); public native void nativeProcess(long j); public native void nativeReset(); static { if (!nativeStaticInitializer()) { throw new RuntimeException("com.kofax.android.abc.xvrs.Detection.XVrsMrzDetector: Static initializer failed."); } } public void dispose() { nativeDispose(); this.m_impl = 0L; } public void loadConfigurationFile(String str, String str2) { nativeInitializeFromFile(str, str2); } public void loadConfigurationString(String str, String str2) { nativeInitializeFromString(str, str2); } public void reset() { nativeReset(); } public void process(XVrsImage xVrsImage) { nativeProcess(xVrsImage.getPtr()); } public XVrsDocument getDocument() { return nativeGetDocument(); } public long getPtr() { return this.m_impl; } }