CaptureVisionRouter class

Represents the JavaScript Barcode Reader class from Dynamsoft Barcode SDK.

This class provides methods for barcode decoding and runtime settings manipulation. It is accessed via JavaScript interop (@JS) and interacts with the underlying Dynamsoft Barcode Reader (DBR) Web SDK.

Annotations
  • @JS('CVR.CaptureVisionRouter')

Constructors

CaptureVisionRouter.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

capture(dynamic data, String template) PromiseJsImpl<CapturedResult>
Decodes barcodes from a source.
getSimplifiedSettings(String templateName) PromiseJsImpl
Retrieves the simplified runtime settings for barcode decoding.
initSettings(String settings) PromiseJsImpl<void>
Initializes runtime settings from a JSON string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputSettings(String templateName) PromiseJsImpl
Outputs the current runtime settings as a JSON string.
toString() String
A string representation of this object.
inherited
updateSettings(String templateName, String settings) PromiseJsImpl<void>
Updates simplified runtime settings with a JSON string.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createInstance() PromiseJsImpl<CaptureVisionRouter>
Creates a new instance of CaptureVisionRouter.