Barcode AR View 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.
- BarcodeArViewDeserializer
open class BarcodeArViewDeserializer : NSObject
Added in version 7.1.0
A deserializer to construct Barcode AR views from JSON.
- init
init()
Added in version 7.1.0
Creates a new deserializer object.
- view
open func view(fromJSONString JSONString: String, parentView: UIView, mode: BarcodeAr) throws -> BarcodeArView
Added in version 7.1.0
Constructs a new BarcodeArView object with the provided JSON serialization.
- update
open func update(_ view: BarcodeArView, fromJSONString JSONString: String) throws -> BarcodeArView
Added in version 7.1.0
Updates the view according to a JSON serialization.