MLKitBarcodeScanning Framework Reference

  • MLKBarcodeFormat is an enum defining the various barcode formats the ML Kit barcode scanning API can detect.

  • It includes a wide range of formats such as Code 128, Code 39, QR Code, Data Matrix, EAN-13, and more.

  • Developers can specify which formats to detect, including an option (MLKBarcodeFormatAll) for detecting all supported formats.

  • Each format has a corresponding constant declared in Objective-C, like MLKBarcodeFormatCode128 or MLKBarcodeFormatQRCode.

  • An MLKBarcodeFormatUnknown constant represents an unidentified barcode format.

MLKBarcodeFormat

enum MLKBarcodeFormat : NSInteger {}

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