تعريفات الأنواع
تتوفّر تعريفات الأنواع التالية على مستوى العالم.
-
@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 نوع تشفير Wi-Fi لـ BarcodeWiFi
بيان
Swift
struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
عنصر يحتوي على صفيف من الرموز الشريطية أو
nil
في حال حدوث خطأبيان
Swift
typealias BarcodeScanningCallback = ([MLKBarcode]?, Error?) -> Void
المعلمات
barcodes
صفيف من الرموز الشريطية التي تم مسحها ضوئيًا في الصورة أو
nil
في حال حدوث خطأerror
الخطأ أو
nil