FUIBarcodeScanMode
@objc
public enum FUIBarcodeScanMode : Int
The ScanMode enum defines a set of predefined modes to scan codes with the Scanner
. Each mode contains a set of different codes including 1D and 2D codes.
-
qr mode scans only QR codes.
Declaration
Swift
case qr
-
EAN and UPC mode scan UPC-E, EAN-8 and EAN-13 codes.
Declaration
Swift
case ean_upc
-
ONE D mode scans Code-128, Code-39, Code-39-Mod-43, Code-93, EAN-13, EAN-8, Interleaved-2-of-5, UPC-E codes.
Declaration
Swift
case one_d
-
ALL mode scans all possible codes defined in the
AVMetadataObjectTypes
(see AVFoundation).Declaration
Swift
case all