interface BarcodeCameraViewScannerConfiguration {
    barcodeFormatConfigurations?: BarcodeFormatConfigurationBase[];
    engineMode?: BarcodeScannerEngineMode;
    extractedDocumentFormats?: BarcodeDocumentFormat[];
    onlyAcceptDocuments?: boolean;
    returnBarcodeImage?: boolean;
}

Properties

barcodeFormatConfigurations?: BarcodeFormatConfigurationBase[]

Options for barcode decoding.

The engine mode for barcode scanning. Default is NEXT_GEN

extractedDocumentFormats?: BarcodeDocumentFormat[]

List of document formats to be extracted. Barcodes that decode to one of the extracted document formats will have extractedDocument field in BarcodeItem populated with the parsed document. By default all supported barcode document formats are accepted. If empty, no barcodes will be parsed into documents.

onlyAcceptDocuments?: boolean

If true and acceptedDocumentFormats is not empty, then barcodes that don't decode to one of the accepted document formats will be ignored. Default is false

returnBarcodeImage?: boolean

If true, the barcode image will be returned in the BarcodeItem. Default is false