# MLKitBarcodeScanning Framework Reference

# MLKBarcodeFormat

    enum MLKBarcodeFormat : NSInteger {}

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


  ### [MLKBarcodeFormatUnknown](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatUnknown)


  ` Unknown format.

  #### Declaration

  Objective-C

      MLKBarcodeFormatUnknown = 0

- `


  ### [MLKBarcodeFormatAll](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatAll)


  ` All format.

  #### Declaration

  Objective-C

      MLKBarcodeFormatAll = 0xFFFF

- `


  ### [MLKBarcodeFormatCode128](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatCode128)


  ` Code-128 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatCode128 = 0x0001

- `


  ### [MLKBarcodeFormatCode39](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatCode39)


  ` Code-39 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatCode39 = 0x0002

- `


  ### [MLKBarcodeFormatCode93](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatCode93)


  ` Code-93 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatCode93 = 0x0004

- `


  ### [MLKBarcodeFormatCodaBar](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatCodaBar)


  ` Codabar detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatCodaBar = 0x0008

- `


  ### [MLKBarcodeFormatDataMatrix](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatDataMatrix)


  ` Data Matrix detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatDataMatrix = 0x0010

- `


  ### [MLKBarcodeFormatEAN13](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatEAN13)


  ` EAN-13 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatEAN13 = 0x0020

- `


  ### [MLKBarcodeFormatEAN8](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatEAN8)


  ` EAN-8 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatEAN8 = 0x0040

- `


  ### [MLKBarcodeFormatITF](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatITF)


  ` ITF detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatITF = 0x0080

- `


  ### [MLKBarcodeFormatQRCode](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatQRCode)


  ` QR Code detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatQRCode = 0x0100

- `


  ### [MLKBarcodeFormatUPCA](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatUPCA)


  ` UPC-A detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatUPCA = 0x0200

- `


  ### [MLKBarcodeFormatUPCE](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatUPCE)


  ` UPC-E detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatUPCE = 0x0400

- `


  ### [MLKBarcodeFormatPDF417](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatPDF417)


  ` PDF-417 detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatPDF417 = 0x0800

- `


  ### [MLKBarcodeFormatAztec](https://developers.google.com/ml-kit/reference/ios/mlkitbarcodescanning/api/reference/Enums/MLKBarcodeFormat#/c:@E@MLKBarcodeFormat@MLKBarcodeFormatAztec)


  ` Aztec code detection.

  #### Declaration

  Objective-C

      MLKBarcodeFormatAztec = 0x1000