タイプの定義
次の型の定義はグローバルに使用できます。
-
@列挙型 BarcodeValueType バーコードの値の形式。たとえば、TEXT、PRODUCT、URL などです。
宣言
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。