Barcode Find View Deserializer
Defined in package com.scandit.datacapture.barcode.find.serialization
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.
- BarcodeFindViewDeserializer
class BarcodeFindViewDeserializerAdded in version 6.19.0
A deserializer to construct BarcodeFindView instances from JSON.
- BarcodeFindViewDeserializer()
BarcodeFindViewDeserializer()Added in version 6.19.0
Creates a new deserializer object.
- viewFromJson(parentView, dataCaptureContext, barcodeFind, json)
fun viewFromJson(parentView: View, dataCaptureContext: DataCaptureContext, barcodeFind: BarcodeFind, json: String): BarcodeFindView
Added in version 6.19.0
Constructs a new BarcodeFindView with the provided JSON serialization.
- updateViewFromJson(view, json)
fun updateViewFromJson(view: BarcodeFindView, json: String)
Added in version 6.19.0
Updates the view according to a JSON serialization.