Definizioni dei tipi
Le seguenti definizioni del tipo sono disponibili a livello globale.
-
@enum BarcodeValueType Formato del valore del codice a barre. Ad esempio, TEXT, PRODUCT, URL ecc.
Dichiarazione
Swift
struct BarcodeValueType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeAddressType Tipo di indirizzo.
Dichiarazione
Swift
struct BarcodeAddressType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeEmailType Tipo di email per BarcodeEmail.
Dichiarazione
Swift
struct BarcodeEmailType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodePhoneType Tipo di telefono per BarcodePhone.
Dichiarazione
Swift
struct BarcodePhoneType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum BarcodeWiFiEncryptionType Tipo di crittografia Wi-Fi per BarcodeWiFi.
Dichiarazione
Swift
struct BarcodeWiFiEncryptionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
Un blocco contenente un array di codici a barre o
nil
in caso di errore.Dichiarazione
Swift
typealias BarcodeScanningCallback = ([MLKBarcode]?, Error?) -> Void
Parametri
barcodes
Array di codici a barre scansionati nell'immagine o
nil
se si è verificato un errore.error
L'errore o
nil
.