createBarcodeDocumentParser

Provides BarcodeDocumentParser.

Return

a Result.Success containing a new instance of BarcodeDocumentParser or a Result.*Error if something went wrong.

Parameters

acceptedFormats

list of accepted formats for the barcode document parser. If not provided, all formats will be accepted.