FirebaseMLVision Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
struct VisionBarcodeFormat : OptionSet
@options VisionBarcodeFormat
This option specifies the barcode formats that the library should detect.
-
-
Declaration
Swift
static var all: VisionBarcodeFormat { get }
-
Declaration
Swift
static var code128: VisionBarcodeFormat { get }
-
Declaration
Swift
static var code39: VisionBarcodeFormat { get }
-
Declaration
Swift
static var code93: VisionBarcodeFormat { get }
-
Declaration
Swift
static var codaBar: VisionBarcodeFormat { get }
-
Declaration
Swift
static var dataMatrix: VisionBarcodeFormat { get }
-
Declaration
Swift
static var EAN13: VisionBarcodeFormat { get }
-
Declaration
Swift
static var EAN8: VisionBarcodeFormat { get }
-
Declaration
Swift
static var ITF: VisionBarcodeFormat { get }
-
Declaration
Swift
static var qrCode: VisionBarcodeFormat { get }
-
Declaration
Swift
static var UPCA: VisionBarcodeFormat { get }
-
Declaration
Swift
static var UPCE: VisionBarcodeFormat { get }
-
Declaration
Swift
static var PDF417: VisionBarcodeFormat { get }
-
Declaration
Swift
static var aztec: VisionBarcodeFormat { get }
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-11 UTC."],[],[],null,["VisionBarcodeFormat \n\n struct VisionBarcodeFormat : OptionSet\n\n@options VisionBarcodeFormat\nThis option specifies the barcode formats that the library should detect.\n- `\n ``\n ``\n `\n\n [FIRVisionBarcodeFormatUnKnown](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatUnKnown)`\n ` \n Unknown format.\n- `\n ``\n ``\n `\n\n [all](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatAll)`\n ` \n All format. \n\n Declaration \n Swift \n\n static var all: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [code128](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatCode128)`\n ` \n Code-128 detection. \n\n Declaration \n Swift \n\n static var code128: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [code39](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatCode39)`\n ` \n Code-39 detection. \n\n Declaration \n Swift \n\n static var code39: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [code93](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatCode93)`\n ` \n Code-93 detection. \n\n Declaration \n Swift \n\n static var code93: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [codaBar](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatCodaBar)`\n ` \n Codabar detection. \n\n Declaration \n Swift \n\n static var codaBar: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [dataMatrix](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatDataMatrix)`\n ` \n Data Matrix detection. \n\n Declaration \n Swift \n\n static var dataMatrix: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [EAN13](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatEAN13)`\n ` \n EAN-13 detection. \n\n Declaration \n Swift \n\n static var EAN13: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [EAN8](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatEAN8)`\n ` \n EAN-8 detection. \n\n Declaration \n Swift \n\n static var EAN8: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [ITF](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatITF)`\n ` \n ITF detection. \n\n Declaration \n Swift \n\n static var ITF: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [qrCode](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatQRCode)`\n ` \n QR Code detection. \n\n Declaration \n Swift \n\n static var qrCode: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [UPCA](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatUPCA)`\n ` \n UPC-A detection. \n\n Declaration \n Swift \n\n static var UPCA: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [UPCE](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatUPCE)`\n ` \n UPC-E detection. \n\n Declaration \n Swift \n\n static var UPCE: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [PDF417](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatPDF417)`\n ` \n PDF-417 detection. \n\n Declaration \n Swift \n\n static var PDF417: VisionBarcodeFormat { get }\n\n- `\n ``\n ``\n `\n\n [aztec](#/c:@E@FIRVisionBarcodeFormat@FIRVisionBarcodeFormatAztec)`\n ` \n Aztec code detection. \n\n Declaration \n Swift \n\n static var aztec: VisionBarcodeFormat { get }"]]