Barcode Selection Deserializer Listener

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

Warning

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

BarcodeSelectionDeserializerListener
interface BarcodeSelectionDeserializerListener

Added in version 6.10.0

The listener for the barcode selection deserializer.

onModeDeserializationStarted(deserializer, mode, json)
fun onModeDeserializationStarted(deserializer: BarcodeSelectionDeserializer,
        mode: BarcodeSelection,
        json: JsonValue)

Added in version 6.10.0

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

onModeDeserializationFinished(deserializer, mode, json)
fun onModeDeserializationFinished(deserializer: BarcodeSelectionDeserializer,
        mode: BarcodeSelection,
        json: JsonValue)

Added in version 6.10.0

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

onSettingsDeserializationStarted(deserializer, settings, json)
fun onSettingsDeserializationStarted(deserializer: BarcodeSelectionDeserializer,
        settings: BarcodeSelectionSettings,
        json: JsonValue)

Added in version 6.10.0

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

onSettingsDeserializationFinished(deserializer, settings, json)
fun onSettingsDeserializationFinished(deserializer: BarcodeSelectionDeserializer,
        settings: BarcodeSelectionSettings,
        json: JsonValue)

Added in version 6.10.0

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

onBasicOverlayDeserializationStarted(deserializer, overlay, json)
fun onBasicOverlayDeserializationStarted(deserializer: BarcodeSelectionDeserializer,
        overlay: BarcodeSelectionBasicOverlay,
        json: JsonValue)

Added in version 6.10.0

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

onBasicOverlayDeserializationFinished(deserializer, overlay, json)
fun onBasicOverlayDeserializationFinished(
        deserializer: BarcodeSelectionDeserializer,
        overlay: BarcodeSelectionBasicOverlay,
        json: JsonValue)

Added in version 6.10.0

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