Typdefinitionen
Die folgenden Typdefinitionen sind global verfügbar.
-
@enum BarcodeValueType das Wertformat von Barcode. Zum Beispiel TEXT, PRODUKT, URL usw.
Erklärung
Objective-C
typedef NSInteger MLKBarcodeValueType
-
@enum BarcodeAddressType Adresstyp.
Erklärung
Objective-C
typedef NSInteger MLKBarcodeAddressType
-
@enum BarcodeEmailType E-Mail-Typ für BarcodeEmail.
Erklärung
Objective-C
typedef NSInteger MLKBarcodeEmailType
-
@enum BarcodePhoneType Telefontyp für BarcodePhone.
Erklärung
Objective-C
typedef NSInteger MLKBarcodePhoneType
-
@enum BarcodeWiFiEncryptionType WLAN-Verschlüsselungstyp für BarcodeWiFi.
Erklärung
Objective-C
typedef NSInteger MLKBarcodeWiFiEncryptionType
-
Ein Block mit einem Array von Barcodes oder
nil
, wenn ein Fehler vorliegt.Erklärung
Objective-C
typedef void (^MLKBarcodeScanningCallback)(NSArray<MLKBarcode *> *_Nullable, NSError *_Nullable)
Parameter
barcodes
Array von Barcodes, die im Bild gescannt wurden, oder
nil
, wenn ein Fehler aufgetreten ist.error
Der Fehler oder
nil
.