Page Summary
-
BarcodeFormatis anOptionSetdefining the barcode types a library can detect, including common formats like QR Code, UPC-A, EAN-13, and more. -
It provides options for detecting specific barcode formats or enabling detection for all supported formats using the
allproperty. -
Each barcode format, like
code128,qrCode,dataMatrix, etc., has a corresponding static property within theBarcodeFormatstructure. -
The library is implemented in Swift and provides declarations for each barcode format property.
BarcodeFormat
struct BarcodeFormat : OptionSetOptions for specifying the barcode formats that the library can detect.
-
Unknown format.
-
All format.
Declaration
Swift
static var all: BarcodeFormat { get } -
Code-128 detection.
Declaration
Swift
static var code128: BarcodeFormat { get } -
Code-39 detection.
Declaration
Swift
static var code39: BarcodeFormat { get } -
Code-93 detection.
Declaration
Swift
static var code93: BarcodeFormat { get } -
Codabar detection.
Declaration
Swift
static var codaBar: BarcodeFormat { get } -
Data Matrix detection.
Declaration
Swift
static var dataMatrix: BarcodeFormat { get } -
EAN-13 detection.
Declaration
Swift
static var EAN13: BarcodeFormat { get } -
EAN-8 detection.
Declaration
Swift
static var EAN8: BarcodeFormat { get } -
ITF detection.
Declaration
Swift
static var ITF: BarcodeFormat { get } -
QR Code detection.
Declaration
Swift
static var qrCode: BarcodeFormat { get } -
UPC-A detection.
Declaration
Swift
static var UPCA: BarcodeFormat { get } -
UPC-E detection.
Declaration
Swift
static var UPCE: BarcodeFormat { get } -
PDF-417 detection.
Declaration
Swift
static var PDF417: BarcodeFormat { get } -
Aztec code detection.
Declaration
Swift
static var aztec: BarcodeFormat { get }