MLKitBarcodeScanning 架構參考資料

BarcodeFormat

struct BarcodeFormat : OptionSet

指定程式庫可偵測的條碼格式選項。

  • 不明格式。

  • all

    所有格式。

    聲明

    Swift

    static var all: BarcodeFormat { get }
  • 程式碼-128 偵測。

    聲明

    Swift

    static var code128: BarcodeFormat { get }
  • Code-39 偵測。

    聲明

    Swift

    static var code39: BarcodeFormat { get }
  • Code-93 偵測。

    聲明

    Swift

    static var code93: BarcodeFormat { get }
  • Codabar 偵測。

    聲明

    Swift

    static var codaBar: BarcodeFormat { get }
  • 資料矩陣偵測。

    聲明

    Swift

    static var dataMatrix: BarcodeFormat { get }
  • EAN-13 偵測。

    聲明

    Swift

    static var EAN13: BarcodeFormat { get }
  • EAN-8 偵測。

    聲明

    Swift

    static var EAN8: BarcodeFormat { get }
  • ITF

    ITF 偵測。

    聲明

    Swift

    static var ITF: BarcodeFormat { get }
  • QR code 偵測:

    聲明

    Swift

    static var qrCode: BarcodeFormat { get }
  • UPC-A 偵測。

    聲明

    Swift

    static var UPCA: BarcodeFormat { get }
  • UPC-E 偵測。

    聲明

    Swift

    static var UPCE: BarcodeFormat { get }
  • PDF-417 偵測

    聲明

    Swift

    static var PDF417: BarcodeFormat { get }
  • Aztec 程式碼偵測。

    聲明

    Swift

    static var aztec: BarcodeFormat { get }