DynamsoftBarcodeReader 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
-
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.
-
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(
{required DBRRuntimeSettings settings}) → Future< void> - Update runtime settings with a given BarcodeSettings.
-
updateRuntimeSettingsFromJson(
{required String jsonString}) → Future< void> - Update runtime settings with the given JSON string.
-
updateRuntimeSettingsFromTemplate(
{required 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< DynamsoftBarcodeReader> - Create an instance of DynamsoftBarcodeReader.
-
initLicense(
{required String license}) → Future< bool> - Initializes the barcode reader license and connects to the specified server for online verification.