MLKitBarcodeScanning Framework রেফারেন্স

টাইপ সংজ্ঞা

নিম্নলিখিত ধরনের সংজ্ঞা বিশ্বব্যাপী উপলব্ধ।

  • @enum BarcodeValueType বারকোডের মান বিন্যাস। উদাহরণস্বরূপ, TEXT, PRODUCT, URL, ইত্যাদি।

    ঘোষণা

    সুইফট

    struct BarcodeValueType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeAddressType ঠিকানার ধরন।

    ঘোষণা

    সুইফট

    struct BarcodeAddressType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeEmailType বারকোড ইমেইলের জন্য ইমেল প্রকার।

    ঘোষণা

    সুইফট

    struct BarcodeEmailType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodePhoneType বারকোডফোনের জন্য ফোনের ধরন।

    ঘোষণা

    সুইফট

    struct BarcodePhoneType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum BarcodeWiFiEncryptionType বারকোডওয়াইফাই-এর জন্য ওয়াই-ফাই এনক্রিপশন টাইপ।

    ঘোষণা

    সুইফট

    struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • একটি ব্লক যাতে বারকোডের একটি অ্যারে বা nil থাকে যদি কোনো ত্রুটি থাকে।

    ঘোষণা

    সুইফট

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

    পরামিতি

    barcodes

    চিত্রে স্ক্যান করা বারকোডের অ্যারে বা কোনো ত্রুটি থাকলে nil

    error

    ত্রুটি বা nil