Part Number Barcode

Defined in library scandit_datacapture_label

PartNumberBarcode
class PartNumberBarcode : BarcodeField

Added in version 7.2.0

A specialized barcode field for capturing part numbers. This predefined field type is configured with default settings optimized for common part number barcode formats used in manufacturing, inventory, and logistics.

Use the builder pattern with PartNumberBarcodeBuilder for convenient configuration, or create instances directly using the various factory methods.

PartNumberBarcode.initWithNameAndSymbologySettings(name, symbologySettings)
factory PartNumberBarcode.initWithNameAndSymbologySettings(
        String name,
        List<SymbologySettings> symbologySettings)

Added in version 7.2.0

Builds a new instance of this class with the provided name.

PartNumberBarcode.initWithNameAndSymbologies(name, symbologies)
factory PartNumberBarcode.initWithNameAndSymbologies(
        String name,
        Set<Symbology> symbologies)

Added in version 7.2.0

Builds a new instance of this class with the provided name.

PartNumberBarcode.initWithNameAndSymbology(name, symbology)
factory PartNumberBarcode.initWithNameAndSymbology(
        String name,
        Symbology symbology)

Added in version 7.2.0

Builds a new instance of this class with the provided name.

name
String get name

Added in version 7.2.0

The name of this field definition, used to identify it within the label definition.

patterns
List<String> get patterns

Added in version 7.2.0

The regex patterns that identify the target string in the scanned content.

isOptional
bool get isOptional

Added in version 7.2.0

Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.

symbologies
List<SymbologySettings> get symbologies

Added in version 7.2.0

The list of barcode symbologies that this field can accept, along with their specific settings.