Barcode Count View Deserializer
Defined in package com.scandit.datacapture.barcode.count.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.
- BarcodeCountViewDeserializer
class BarcodeCountViewDeserializerAdded in version 6.17.0
A deserializer to construct barcode count views from JSON.
- BarcodeCountViewDeserializer()
BarcodeCountViewDeserializer()Added in version 6.17.0
Creates a new deserializer object.
- viewFromJson(context, dataCaptureContext, mode, json)
fun viewFromJson(context: Context, dataCaptureContext: DataCaptureContext, mode: BarcodeCount, json: String): BarcodeCountView
Added in version 6.17.0
Constructs a new barcode count view with the provided JSON serialization.
- updateViewFromJson(view, json)
fun updateViewFromJson(view: BarcodeCountView, json: String)
Added in version 6.17.0
Updates the view according to a JSON serialization.