Note

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

Scanned Text

Defined in framework ScanditBarcodeCapture

ScannedText
class ScannedText : NSObject, ScannedComponent

Added in version 8.0.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
var definitionIdentifier: TextIdentifier { get }

Added in version 8.0.0

The unique identifier for the definition of this text component.

identifier
var identifier: ScannedComponentIdentifier { get }

Added in version 8.0.0

The unique identifier for this instance of the text component.

location
var location: Quadrilateral { get }

Added in version 8.0.0

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

text
var text: String { get }

Added in version 8.0.0

The recognized text content.