Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Barcode Definition
Defined in library scandit_datacapture_barcode
- BarcodeDefinition
class BarcodeDefinition : ScanComponentDefinition
Added in version 8.1.0
A class that holds the definition for a barcode expected to be scanned as part of a certain ScanItemDefinition.
- BarcodeDefinition(identifier, symbologies)
BarcodeDefinition(BarcodeIdentifier identifier, Set<Symbology> symbologies)
Added in version 8.1.0
A constructor that receives the identifier and symbologies for the barcode definition.
- identifier
BarcodeIdentifier get identifier
Added in version 8.1.0
The unique identifier for this component.
- location
Quadrilateral? location
Added in version 8.1.0
The expected location of the barcode.
- symbologies
Set<Symbology> get symbologies
Added in version 8.1.0
The list of symbologies that the barcode could be using.
- preset
ScanComponentBarcodePreset? preset
Added in version 8.1.0
A preset to be applied to the barcode definition.
- hiddenProperties
String? hiddenProperties
Added in version 8.1.0
A list of hidden properties to set on the barcode definition.
- valueRegexes
List<String> valueRegexes
Added in version 8.1.0
A list of value regexes to use when searching for the barcode.
- anchorRegexes
List<String> anchorRegexes
Added in version 8.1.0
A list of anchor regexes to use when searching for the barcode.
- builder(identifier)
static BarcodeDefinitionBuilder builder(BarcodeIdentifier identifier)
Added in version 8.1.0
Creates a builder object that can be used to fluently create a BarcodeDefinition instance.