@Deprecated public class GoogleVisionBarcodeDetector extends java.lang.Object implements ScanbotBarcodeDetector
ScanbotBarcodeDetector.BarcodeDetectorType| Constructor and Description |
|---|
GoogleVisionBarcodeDetector(android.content.Context context)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
decodeWithState(byte[] data,
int width,
int height,
int frameOrientation)
Deprecated.
Decode the data within the viewfinder rectangle, and time how long it took.
|
Result |
decodeWithState(byte[] data,
int width,
int height,
int frameOrientation,
android.graphics.Rect finderRect)
Deprecated.
Decode the data within the viewfinder rectangle, and time how long it took.
|
void |
enableBarcodeScan(boolean barcodeScanEnabled)
Deprecated.
|
public GoogleVisionBarcodeDetector(android.content.Context context)
public void enableBarcodeScan(boolean barcodeScanEnabled)
enableBarcodeScan in interface ScanbotBarcodeDetectorbarcodeScanEnabled - if true barcode scanning will be enabled, false - will be disabledpublic Result decodeWithState(byte[] data,
int width,
int height,
int frameOrientation)
ScanbotBarcodeDetectordecodeWithState in interface ScanbotBarcodeDetectordata - The YUV preview frame.width - The width of the preview frame.height - The height of the preview frame.frameOrientation - The frame orientation degrees.public Result decodeWithState(byte[] data,
int width,
int height,
int frameOrientation,
android.graphics.Rect finderRect)
ScanbotBarcodeDetectordecodeWithState in interface ScanbotBarcodeDetectordata - The YUV preview frame.width - The width of the preview frame.height - The height of the preview frame.frameOrientation - The frame orientation degrees.finderRect - decode area