what-the-bank/sources/com/kofax/kmc/ken/engines/BarcodeReaderEngineManager....

48 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.kmc.ken.engines;
import android.graphics.Bitmap;
import com.kofax.kmc.ken.engines.BarCodeReader;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public class BarcodeReaderEngineManager {
private static boolean _nativeLibraryLoaded = false;
private Barcode _barcode;
private BarCodeReader.Direction _direction;
private int _maxBarcode;
private BarCodeReader.Symbology[] _symbology;
native String ABE_BarcodeEngine_GetVersion();
native RecognitionContext ABE_BarcodeEngine_Recognize(Bitmap bitmap, int i, int i2, int i3, int i4, int i5, int i6);
static {
try {
System.loadLibrary("AtalaBar");
_nativeLibraryLoaded = true;
} catch (UnsatisfiedLinkError unused) {
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public RecognitionContext a(Bitmap bitmap, int i, int i2, int i3, int i4, int i5, int i6) {
if (_nativeLibraryLoaded) {
return ABE_BarcodeEngine_Recognize(bitmap, i, i2, i3, i4, i5, i6);
}
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public String b() {
return _nativeLibraryLoaded ? ABE_BarcodeEngine_GetVersion() : "";
}
Barcode c() {
return this._barcode;
}
void a(Barcode barcode) {
this._barcode = barcode;
}
}