Barcode Find 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.

BarcodeFindDeserializer
class BarcodeFindDeserializer : DataCaptureModeDeserializer

Added in version 6.19.0

A deserializer to construct barcode find settings from JSON.

BarcodeFindDeserializer()
BarcodeFindDeserializer()

Added in version 6.19.0

Creates a new deserializer object.

settingsFromJson(json)
fun settingsFromJson(json: String): BarcodeFindSettings

Added in version 6.19.0

Constructs a new barcode find settings object with the provided JSON serialization.

updateSettingsFromJson(settings, json)
fun updateSettingsFromJson(settings: BarcodeFindSettings,
        json: String): BarcodeFindSettings

Added in version 6.19.0

Updates the settings according to a JSON serialization.

modeFromJson(json)
fun modeFromJson(json: String): BarcodeFind

Added in version 6.19.0

Constructs a new barcode find object with the provided JSON serialization.

updateModeFromJson(mode, json)
fun updateModeFromJson(mode: BarcodeFind,
        json: String): BarcodeFind

Added in version 6.19.0

Updates the mode according to a JSON serialization.

listener
var listener: BarcodeFindDeserializerListener?

Added in version 6.19.0

The object informed about deserialization events.

feedbackFromJson(json)
fun feedbackFromJson(json: String): BarcodeFindFeedback

Added in version 6.20.0

Constructs a new barcode find feedback object with the provided JSON serialization.