create

open override fun create(acceptedFormats: List<BarcodeDocumentFormat>): Result<BarcodeDocumentParser>

Creates a new instance of BarcodeDocumentParser with the specified accepted formats.

Return

A new instance of BarcodeDocumentParser.

Parameters

acceptedFormats

List of BarcodeDocumentFormat that the parser should accept.