Part Number Barcode
Defined in package com.scandit.datacapture.label
- PartNumberBarcode
class PartNumberBarcode : BarcodeField
Added in version 6.21.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.
- name
val name: String
Added in version 6.21.0
The name of this field definition, used to identify it within the label definition.
- valueRegexes
val valueRegexes: List<String>
Added in version 8.0.0
The regexes that identify the target string in the scanned content.
- isOptional
val isOptional:
BooleanAdded in version 6.21.0
Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.
- numberOfMandatoryInstances
val numberOfMandatoryInstances: Int?
Added in version 7.6.0
The minimum number of instances of this field that must be captured for the label to be considered complete. This is useful for fields that may appear multiple times on a label, such as multiple serial numbers or repeated information.
- symbologies
val symbologies: List<SymbologySettings>
Added in version 6.21.0
The list of barcode symbologies that this field can accept, along with their specific settings.