public interface ScanbotBarcodeDetector
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScanbotBarcodeDetector.BarcodeDetectorType
Supported barcode detector libraries
|
| Modifier and Type | Method and Description |
|---|---|
BarcodeScanningResult |
decodeWithState(byte[] data,
int width,
int height,
int frameOrientation)
Decode the data within the viewfinder rectangle, and time how long it took.
|
BarcodeScanningResult |
decodeWithState(byte[] data,
int width,
int height,
int frameOrientation,
android.graphics.Rect finderRect)
Decode the data within the viewfinder rectangle, and time how long it took.
|
void |
enableBarcodeScan(boolean barcodeScanEnabled) |
void |
setBarcodeFormat(BarcodeFormat barcodeFormat)
Sets
BarcodeFormat to scan |
void enableBarcodeScan(boolean barcodeScanEnabled)
barcodeScanEnabled - if true barcode scanning will be enabled, false - will be disabledvoid setBarcodeFormat(BarcodeFormat barcodeFormat)
BarcodeFormat to scanbarcodeFormat - BarcodeScanningResult decodeWithState(byte[] data, int width, int height, int frameOrientation)
data - The YUV preview frame.width - The width of the preview frame.height - The height of the preview frame.frameOrientation - The frame orientation degrees.BarcodeScanningResult decodeWithState(byte[] data, int width, int height, int frameOrientation, android.graphics.Rect finderRect)
data - The YUV preview frame.width - The width of the preview frame.height - The height of the preview frame.finderRect - decode areaframeOrientation - The frame orientation degrees.