Barcode Capture Deserializer Listener

Defined in package com.scandit.datacapture.barcode.capture.serialization

Warning

The deserialization API is not yet stable and will still change over the coming releases.

BarcodeCaptureDeserializerListener
interface BarcodeCaptureDeserializerListener

Added in version 6.1.0

The listener for the barcode capture deserializer.

onModeDeserializationStarted(deserializer, mode, json)
fun onModeDeserializationStarted(deserializer: BarcodeCaptureDeserializer,
        mode: BarcodeCapture,
        json: JsonValue)

Added in version 6.1.0

Called before the deserialization of barcode capture started. This is the point to overwrite defaults before the deserialization is performed.

onModeDeserializationFinished(deserializer, mode, json)
fun onModeDeserializationFinished(deserializer: BarcodeCaptureDeserializer,
        mode: BarcodeCapture,
        json: JsonValue)

Added in version 6.1.0

Called when the deserialization of barcode capture finished. This is the point to do additional deserialization.

onSettingsDeserializationStarted(deserializer, settings, json)
fun onSettingsDeserializationStarted(deserializer: BarcodeCaptureDeserializer,
        settings: BarcodeCaptureSettings,
        json: JsonValue)

Added in version 6.1.0

Called before the deserialization of the barcode capture settings started. This is the point to overwrite defaults before the deserialization is performed.

onSettingsDeserializationFinished(deserializer, settings, json)
fun onSettingsDeserializationFinished(deserializer: BarcodeCaptureDeserializer,
        settings: BarcodeCaptureSettings,
        json: JsonValue)

Added in version 6.1.0

Called when the deserialization of the barcode capture settings finished. This is the point to do additional deserialization.

onOverlayDeserializationStarted(deserializer, overlay, json)
fun onOverlayDeserializationStarted(deserializer: BarcodeCaptureDeserializer,
        overlay: BarcodeCaptureOverlay,
        json: JsonValue)

Added in version 6.1.0

Called before the deserialization of the barcode capture overlay started. This is the point to overwrite defaults before the deserialization is performed.

onOverlayDeserializationFinished(deserializer, overlay, json)
fun onOverlayDeserializationFinished(deserializer: BarcodeCaptureDeserializer,
        overlay: BarcodeCaptureOverlay,
        json: JsonValue)

Added in version 6.1.0

Called when the deserialization of the barcode capture overlay finished. This is the point to do additional deserialization.