הגדרות סוגים
ההגדרות הבאות של סוגים זמינות בכל העולם.
-
@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
.