ScannedCode

iOS
interface ScannedCode extends ScannedObject

Represents a machine-readable code, such as a QR code.

Properties

boundingBox

readonly boundingBox: BoundingBox

The bounding box coordinates of this ScannedObject.

Coordinates are in camera-space (0.0 ... 1.0), and can be converted to view-space via the PreviewView.

Inherited from

ScannedObject.boundingBox


cornerPoints

readonly cornerPoints: Point[]

The corner points outlining this ScannedCode.

Coordinates are in camera-space (0.0 ... 1.0), and can be converted to view-space via the PreviewView.


type

readonly type: ScannedObjectType

The ScannedObjectType of this ScannedObject.

Inherited from

ScannedObject.type


value?

readonly optional value: string

The decoded string value of this ScannedCode, or undefined if the value cannot be decoded. This is error-corrected.