One Logo Pool Ball
Vision · IOS API REFERENCE

RecognizeDocumentsRequest.BarcodeDetectionOptions

struct · iOS 26.0+ · SDK 27.1

struct BarcodeDetectionOptions

A configuration object for detecting barcodes in a document.

Members (6)

get · iOS 26.0+

symbologies

TypeScript
get symbologies(): Array<BarcodeSymbology>
Swift declaration
var symbologies: [BarcodeSymbology]

The barcode symbologies that the request detects in an image. By default, a request scans for all symbologies. Specify a subset of symbologies to limit the request's detection range. To see the specific codes recognized refer to ``RecognizeDocumentsRequest/supportedBarcodeSymbologies``.

set · iOS 26.0+

symbologies

TypeScript
set symbologies(value: Array<BarcodeSymbology>)
Swift declaration
var symbologies: [BarcodeSymbology]

The barcode symbologies that the request detects in an image. By default, a request scans for all symbologies. Specify a subset of symbologies to limit the request's detection range. To see the specific codes recognized refer to ``RecognizeDocumentsRequest/supportedBarcodeSymbologies``.

get · iOS 26.0+

coalesceCompositeSymbologies

TypeScript
get coalesceCompositeSymbologies(): boolean
Swift declaration
var coalesceCompositeSymbologies: Bool

A Boolean value that indicates whether the request combines multiple codes. The default value for this property is `false`.

set · iOS 26.0+

coalesceCompositeSymbologies

TypeScript
set coalesceCompositeSymbologies(value: boolean)
Swift declaration
var coalesceCompositeSymbologies: Bool

A Boolean value that indicates whether the request combines multiple codes. The default value for this property is `false`.

get · iOS 26.0+

enabled

TypeScript
get enabled(): boolean
Swift declaration
var enabled: Bool

Boolean value that indicates whether to detect barcodes in the document. The value is unavailable by default. To enable barcode detection, set the property value to `true`.

set · iOS 26.0+

enabled

TypeScript
set enabled(value: boolean)
Swift declaration
var enabled: Bool

Boolean value that indicates whether to detect barcodes in the document. The value is unavailable by default. To enable barcode detection, set the property value to `true`.

Skipped declarations

No declarations were skipped in this snapshot.

All Vision types →