類型定義
下列類型定義適用於全球。
-
@列舉 BarcodeValueType 條碼的值格式。例如 TEXT、PRODUCT、網址等。
聲明
Swift
struct BarcodeValueType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@列舉 BarcodeAddressType 地址類型。
聲明
Swift
struct BarcodeAddressType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@列舉 BarcodeEmailType BarcodeEmail 的電子郵件類型。
聲明
Swift
struct BarcodeEmailType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@列舉 BarcodePhoneType BarcodePhone 的電話類型。
聲明
Swift
struct BarcodePhoneType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@列舉 BarcodeWiFiEncryptionType BarcodeWiFi 的 Wi-Fi 加密類型。
聲明
Swift
struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
包含條碼陣列或
nil的區塊 (如果發生錯誤)。聲明
Swift
typealias BarcodeScanningCallback = ([MLKBarcode]?, Error?) -> Void參數
barcodes圖片中掃描的條碼陣列。如果發生錯誤,則為
nil。error錯誤或
nil。