BarcodeReader is the primary interface of the STRICH SDK.
User-supplied barcode detection handler.
This is a synchronous call, so further processing will not happen until the handler returns.
Optional user-supplied error callback.
This is invoked by the BarcodeReader if an error occurred while processing frames, and is usually not recoverable.
Destroy this BarcodeReader instance, making it unusable.
This will release all associated resources, and should be called whenever an application no longer needs to scan.
the current visibility of this BarcodeReader instance
Initialize the BarcodeReader instance.
A promise resolving to an initialized BarcodeReader instance, or an error object.
Show/hide the BarcodeReader instance.
True/false for visible/hidden
Start scanning for barcodes.
Stop the BarcodeReader instance.
This will temporarily suspend processing of camera frames / detection of codes.
Generated using TypeDoc