MLKitBarcodeScanning Framework Reference

BarcodeFormat

struct BarcodeFormat : OptionSet

Options for specifying the barcode formats that the library can detect.

  • Unknown format.

  • all

    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

    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 }