Typdefinitionen
Die folgenden Typdefinitionen sind global verfügbar.
-
@enum BarcodeValueType das Wertformat von Barcode. Zum Beispiel TEXT, PRODUKT, URL usw.
Erklärung
Swift
struct BarcodeValueType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeAddressType Adresstyp.
Erklärung
Swift
struct BarcodeAddressType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeEmailType E-Mail-Typ für BarcodeEmail.
Erklärung
Swift
struct BarcodeEmailType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodePhoneType Telefontyp für BarcodePhone.
Erklärung
Swift
struct BarcodePhoneType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeWiFiEncryptionType WLAN-Verschlüsselungstyp für BarcodeWiFi.
Erklärung
Swift
struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
Ein Block mit einem Array von Barcodes oder
nil
, wenn ein Fehler vorliegt.Erklärung
Swift
typealias BarcodeScanningCallback = ([MLKBarcode]?, Error?) -> Void
Parameter
barcodes
Array von Barcodes, die im Bild gescannt wurden, oder
nil
, wenn ein Fehler aufgetreten ist.error
Der Fehler oder
nil
.