Definisi Jenis
Definisi jenis berikut tersedia secara global.
-
@enum BarcodeValueType Format nilai Barcode. Misalnya, TEXT, PRODUCT, URL, dsb.
Pernyataan
Objective-C
typedef NSInteger MLKBarcodeValueType
-
@enum BarcodeAddressType Address type.
Pernyataan
Objective-C
typedef NSInteger MLKBarcodeAddressType
-
@enum BarcodeEmailType Jenis email untuk BarcodeEmail.
Pernyataan
Objective-C
typedef NSInteger MLKBarcodeEmailType
-
@enum BarcodePhoneType Jenis telepon untuk BarcodePhone.
Pernyataan
Objective-C
typedef NSInteger MLKBarcodePhoneType
-
@enum BarcodeWiFiEncryptionType Jenis enkripsi Wi-Fi untuk BarcodeWiFi.
Pernyataan
Objective-C
typedef NSInteger MLKBarcodeWiFiEncryptionType
-
Blok yang berisi array kode batang atau
nil
jika terjadi error.Pernyataan
Objective-C
typedef void (^MLKBarcodeScanningCallback)(NSArray<MLKBarcode *> *_Nullable, NSError *_Nullable)
Parameter
barcodes
Array kode batang yang dipindai pada gambar atau
nil
jika terjadi error.error
Error atau
nil
.