BarcodeDocumentParser

Interface for BarcodeDocumentParser API. See class documentation for more details.

Inheritors

Functions

Link copied to clipboard

Creates a copy of the current acceptedFormats value.

Link copied to clipboard
abstract fun parse(rawString: String): Result<BarcodeDocumentParserResult>

Parse the given string as a barcode document.

Link copied to clipboard
abstract fun setConfiguration(acceptedFormats: List<BarcodeDocumentFormat> = BarcodeDocumentFormats.all): Result<Unit>

Inplace reconfigures the API instance with new settings.