Documentation de référence sur le framework MLKitBarcodeScanning

BarcodeFormat

struct BarcodeFormat : OptionSet

Options permettant de spécifier les formats de code-barres que la bibliothèque peut détecter.

  • Format inconnu.

  • all

    Tous les formats.

    Déclaration

    Swift

    static var all: BarcodeFormat { get }
  • Détection du code 128.

    Déclaration

    Swift

    static var code128: BarcodeFormat { get }
  • Détection de code 39.

    Déclaration

    Swift

    static var code39: BarcodeFormat { get }
  • Détection de code 93.

    Déclaration

    Swift

    static var code93: BarcodeFormat { get }
  • Détection de codabar.

    Déclaration

    Swift

    static var codaBar: BarcodeFormat { get }
  • Détection de la matrice de données.

    Déclaration

    Swift

    static var dataMatrix: BarcodeFormat { get }
  • Détection EAN-13.

    Déclaration

    Swift

    static var EAN13: BarcodeFormat { get }
  • Détection EAN-8.

    Déclaration

    Swift

    static var EAN8: BarcodeFormat { get }
  • ITF

    Détection ITF

    Déclaration

    Swift

    static var ITF: BarcodeFormat { get }
  • Détection de code QR.

    Déclaration

    Swift

    static var qrCode: BarcodeFormat { get }
  • Détection UPC-A.

    Déclaration

    Swift

    static var UPCA: BarcodeFormat { get }
  • Détection UPC-E.

    Déclaration

    Swift

    static var UPCE: BarcodeFormat { get }
  • Détection de PDF-417

    Déclaration

    Swift

    static var PDF417: BarcodeFormat { get }
  • Détection de code aztec.

    Déclaration

    Swift

    static var aztec: BarcodeFormat { get }