Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Scanned Component
Defined in package com.scandit.datacapture.usi.capture.component
- ScannedComponent
interface ScannedComponent<T>
Added 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
@NonNull ScannedComponentIdentifier getIdentifier()
Added in version 8.0.0
The unique identifier identifying this instance of the component.
- definitionIdentifier
@NonNull
TgetDefinitionIdentifier()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
@NonNull Quadrilateral getLocation()
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.