Note

This API is still in beta and may change in future versions of Scandit Data Capture SDK.

Scanned Text

Defined in library scandit_datacapture_barcode

ScannedText
class ScannedText : ScannedComponent

Added in version 8.1.0

A scanned text component in the item-based scanning APIs. This class represents detected and recognized text with its associated location and identification information.

ScannedText implements the ScannedComponent protocol, providing a unique identifier and location information, along with the recognized text content.

definitionIdentifier
TextIdentifier get definitionIdentifier

Added in version 8.1.0

The unique identifier for the definition of this text component.

identifier
ScannedComponentIdentifier get identifier

Added in version 8.1.0

The unique identifier for this instance of the text component.

location
Quadrilateral get location

Added in version 8.1.0

The location of the text in the image as a quadrilateral.

text
String get text

Added in version 8.1.0

The recognized text content.