BarcodeScanResult
BarcodeScanResult is a result class that contains all the decoded barcodes and their associated info.
Definition
Assembly: dynamsoft-barcode-reader-bundle-flutter
class BarcodeScanResult
Properties
| Property | Type | Description |
|---|---|---|
barcodes |
List<BarcodeResultItem> | Represents all the decoded barcodes in a list of BarcodeResultItem. |
status |
EnumResultStatus | Represents the result status, which can be finished, canceled or exception. |
errorCode |
int | Represents the error code should something go wrong during the barcode scanning process. |
errorString |
string | Represents the error message associated with the error code should something go wrong during the barcode scanning process. |
barcodes
Represents all the decoded barcodes in an array of BarcodeResultItem.
List<BarcodeResultItem>? barcodes;
Remarks
Each individual decoded barcode comes out as a BarcodeResultItem, which is part of the Foundational Capture Vision API.
status
Represents the status of the result, which can be finished, canceled or exception.
EnumResultStatus resultStatus;
Remarks
EnumResultStatus.finished: The barcode scanning is finished.EnumResultStatus.canceled: The barcode scanning activity is closed before the process is finished.EnumResultStatus.exception: Failed to start barcode scanning or an error occurs during the scanning process.
errorCode
Represents the error code should something go wrong during the barcode scanning process. In this case, the result status is EnumResultStatus.exception.
int? errorCode;
errorString
Represents the error message associated with the error code should something go wrong during the barcode scanning process. In this case, the result status is EnumResultStatus.exception.
String? errorString;