Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Scanned Component
Defined in framework ScanditBarcodeCapture
- ScannedComponent
protocol ScannedComponent<
T> : AnyObjectAdded in version 8.0.0
A protocol that defines the common interface for scanned components in the item-based scanning APIs. Scanned components represent individual scan results such as barcodes or text that have been detected and localized in the camera frame.
- identifier
var identifier: ScannedComponentIdentifier { get }
Added in version 8.0.0
The unique identifier identifying this instance of the component.
- definitionIdentifier
var definitionIdentifier:
T{ get }Added in version 8.0.0
The identifier corresponding to this component’s definition. The type of the identifier depends on the specific component type (e.g., BarcodeIdentifier for barcode components, TextIdentifier for text components).
- location
var location: Quadrilateral { get }
Added in version 8.0.0
The location of the component. The quadrilateral represents the four corner points of the detected component’s bounding area.