parseDocument
abstract fun parseDocument(rawText: String, acceptedFormats: List<BarcodeDocumentFormat>? = null): Result<BarcodeDocumentParserResult>
Parses a barcode document from the provided raw text.
Return
The result containing the parsed barcode document.
Parameters
rawText
The raw text to be parsed.
acceptedFormats
Optional list of accepted barcode document formats.