MLKitBarcodeScanning 프레임워크 참조

유형 정의

다음 유형 정의가 전역으로 제공됩니다.

  • @enum BarcodeValueType 바코드의 값 형식입니다. 예: TEXT, PRODUCT, URL

    선언

    Objective-C

    typedef NSInteger MLKBarcodeValueType
  • @enum BarcodeAddressType 주소 유형입니다.

    선언

    Objective-C

    typedef NSInteger MLKBarcodeAddressType
  • @enum BarcodeEmailType BarcodeEmail의 이메일 유형입니다.

    선언

    Objective-C

    typedef NSInteger MLKBarcodeEmailType
  • @enum BarcodePhoneType BarcodePhone의 전화번호 유형입니다.

    선언

    Objective-C

    typedef NSInteger MLKBarcodePhoneType
  • @enum BarcodeWiFiEncryptionType BarcodeWiFi의 Wi-Fi 암호화 유형입니다.

    선언

    Objective-C

    typedef NSInteger MLKBarcodeWiFiEncryptionType
  • 바코드 배열이 포함된 블록 또는 오류가 있는 경우 nil

    선언

    Objective-C

    typedef void (^MLKBarcodeScanningCallback)(NSArray<MLKBarcode *> *_Nullable,
                                               NSError *_Nullable)

    매개변수

    barcodes

    이미지에서 스캔한 바코드의 배열 또는 오류가 있는 경우 nil입니다.

    error

    오류 또는 nil.