BarcodeScannerOutputOptions
interface BarcodeScannerOutputOptionsExtended by
Properties
barcodeFormats
barcodeFormats: TargetBarcodeFormat[]Specifies the formats to be used for Barcode scanning.
If you want to detect all kinds of barcodes,
use ['all']
onBarcodeScanned()
onBarcodeScanned: (barcodes: Barcode[]) => voidCalled whenever barcodes have been detected.
onError()
onError: (error: Error) => voidCalled when there was an error detecting barcodes.
outputResolution?
optional outputResolution: BarcodeScannerOutputResolutionControls which camera buffer resolution should be used.
'preview': Prefer preview-sized buffers for lower latency.'full': Prefer full/highest available buffers for better detail.
Default
'preview'