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.

Related topics: Serialization.

BarcodeFindDeserializer()
BarcodeFindDeserializer()

Added in version 6.19.0

Creates a new deserializer object.

settingsFromJson(json)
@NonNull BarcodeFindSettings settingsFromJson(@NonNull String json)

Added in version 6.19.0

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

updateSettingsFromJson(settings, json)
@NonNull BarcodeFindSettings updateSettingsFromJson(
        @NonNull BarcodeFindSettings settings,
        @NonNull String json)

Added in version 6.19.0

Updates the settings according to a JSON serialization.

modeFromJson(json)
@NonNull BarcodeFind modeFromJson(@NonNull String json)

Added in version 6.19.0

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

updateModeFromJson(mode, json)
@NonNull BarcodeFind updateModeFromJson(@NonNull BarcodeFind mode,
        @NonNull String json)

Added in version 6.19.0

Updates the mode according to a JSON serialization.

listener
@Nullable BarcodeFindDeserializerListener getListener()
void setListener(@Nullable BarcodeFindDeserializerListener value)

Added in version 6.19.0

The object informed about deserialization events.

feedbackFromJson(json)
@NonNull BarcodeFindFeedback feedbackFromJson(@NonNull String json)

Added in version 6.20.0

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