Class BarcodeDocumentParserResult

The result of barcode document parsing.

Example

Since the instance of the class contains objects backed by native resources (e.g. images) and implements AsyncDisposable it's highly recommended to use the await using syntax when an instance is created or is received from an API:

await using instance = await getBarcodeDocumentParserResultFromAnApi();

Alternatively, one can explicitly call release method to release the native resources or use autorelease convenience function. If neither is used, the resource will be released when the instance is garbage collected which is not recommended.

Implements

  • AsyncDisposable

Constructors

Properties

parsedDocument: null | GenericDocument

In case of success, the parsed document.

success: boolean

True if any document was parsed.

Methods

  • Returns Promise<void>

  • Returns Promise<void>