SparkScan View Deserializer
Defined in framework ScanditBarcodeCapture
Warning
The deserialization API is not yet stable and will still change over the coming releases.
- SparkScanViewDeserializer
open class SparkScanViewDeserializer : NSObject
Added in version 6.16.0
A deserializer to construct SparkScanView from JSON.
- init
init()
Added in version 6.16.0
Creates a new deserializer object.
- view
open func view(fromJSONString JSONString: String, with context: DataCaptureContext, mode: SparkScan, parentView: UIView) throws -> SparkScanView
Added in version 6.16.0
Deserializes SparkScan view from JSON.
- update
open func update(_ sparkScanView: SparkScanView, fromJSONString JSONString: String) throws -> SparkScanView
Added in version 6.16.0
Updates the mode according to a JSON serialization.