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