MLKitBarcodeScanning 프레임워크 참조

유형 정의

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

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

    선언

    Swift

    struct BarcodeValueType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeAddressType 주소 유형입니다.

    선언

    Swift

    struct BarcodeAddressType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeEmailType BarcodeEmail의 이메일 유형입니다.

    선언

    Swift

    struct BarcodeEmailType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodePhoneType BarcodePhone의 전화번호 유형입니다.

    선언

    Swift

    struct BarcodePhoneType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeWiFiEncryptionType BarcodeWiFi의 Wi-Fi 암호화 유형입니다.

    선언

    Swift

    struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • 바코드 배열이 포함된 블록 또는 오류가 있는 경우 nil

    선언

    Swift

    typealias BarcodeScanningCallback = ([MLKBarcode]?, Error?) -> Void

    매개변수

    barcodes

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

    error

    오류 또는 nil.