DCVBarcodeReader class
Defines a class that provides functions for working with extracting barcode data.
You should invoke createInstance to create an instance.
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
-
decodeFile(
String path) → Future< List< BarcodeResult> ?> -
enableResultVerification(
bool isEnable) → Future -
getModeArgument(
String modesName, int index, String argumentName) → Future -
getRuntimeSettings(
) → Future< DBRRuntimeSettings> - Gets current settings
-
getVersion(
) → Future< String?> - Returns the version info of the internal SDK.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outputRuntimeSettingsToString(
) → Future< String?> - Outputs runtime settings to a string.
-
receiveResultStream(
) → Stream< List< BarcodeResult> ?> - Obtain the barcode results from the callback.
-
resetRuntimeSettings(
) → Future< void> - Resets all parameters to default values.
-
setModeArgument(
String modesName, int index, String argumentName, String argumentValue) → Future -
startScanning(
) → Future< void> - Start the video streaming barcode decoding thread.
-
stopScanning(
) → Future< void> - Stop the video streaming barcode decoding thread.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRuntimeSettings(
DBRRuntimeSettings settings) → Future< void> - Update runtime settings with a given BarcodeSettings.
-
updateRuntimeSettingsFromJson(
String jsonString) → Future< void> - Update runtime settings with the given JSON string.
-
updateRuntimeSettingsFromTemplate(
EnumDBRPresetTemplate template) → Future< void> - Update the runtime settings from a preset template.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createInstance(
) → Future< DCVBarcodeReader> - Create an instance of DynamsoftBarcodeReader.
-
initLicense(
String license) → Future< bool> - Initializes the barcode reader license and connects to the specified server for online verification.