คำจำกัดความของประเภท
คำจำกัดความของประเภทต่อไปนี้มีให้บริการทั่วโลก
-
@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