Barcode Find Deserializer
Defined in framework ScanditBarcodeCapture
Warning
The deserialization API is not yet stable and will still change over the coming releases.
Note
This deserializer is not thread-safe, subsequent calls for the same settings, mode or overlay have to be called on the same thread.
- BarcodeFindDeserializer
open class BarcodeFindDeserializer : NSObject
Added in version 6.19.0
A deserializer to construct barcode find settings from JSON.
- init
init()
Added in version 6.19.0
Creates a new deserializer object.
- settings
open func settings(fromJSONString JSONString: String) throws -> BarcodeFindSettings
Added in version 6.19.0
Constructs a new barcode find settings object with the provided JSON serialization.
- update
open func update(_ settings: BarcodeFindSettings, fromJSONString JSONString: String) throws -> BarcodeFindSettings
Added in version 6.19.0
Updates the settings according to a JSON serialization.
- mode
open func mode(fromJSONString JSONString: String) throws -> BarcodeFind
Added in version 6.19.0
Constructs a new barcode find object with the provided JSON serialization.
- updateMode
open func updateMode(_ mode: BarcodeFind, fromJSONString JSONString: String) throws -> BarcodeFind
Added in version 6.19.0
Updates the mode according to a JSON serialization.
- delegate
open weak var delegate: BarcodeFindDeserializerDelegate? { get, set }
Added in version 6.19.0
The object informed about deserialization events.