Barcode Count Deserializer Listener

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.

BarcodeCountDeserializerListener
interface BarcodeCountDeserializerListener

Added in version 8.7.0

The listener for the barcode count deserializer.

onModeDeserializationStarted(deserializer, mode, json)
fun onModeDeserializationStarted(deserializer: BarcodeCountDeserializer,
        mode: BarcodeCount,
        json: JsonValue)

Added in version 8.7.0

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

onModeDeserializationFinished(deserializer, mode, json)
fun onModeDeserializationFinished(deserializer: BarcodeCountDeserializer,
        mode: BarcodeCount,
        json: JsonValue)

Added in version 8.7.0

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

onSettingsDeserializationStarted(deserializer, settings, json)
fun onSettingsDeserializationStarted(deserializer: BarcodeCountDeserializer,
        settings: BarcodeCountSettings,
        json: JsonValue)

Added in version 8.7.0

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

onSettingsDeserializationFinished(deserializer, settings, json)
fun onSettingsDeserializationFinished(deserializer: BarcodeCountDeserializer,
        settings: BarcodeCountSettings,
        json: JsonValue)

Added in version 8.7.0

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

onBasicOverlayDeserializationStarted(deserializer, overlay, json)
fun onBasicOverlayDeserializationStarted(deserializer: BarcodeCountDeserializer,
        overlay: BarcodeCountBasicOverlay,
        json: JsonValue)

Added in version 8.7.0

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

onBasicOverlayDeserializationFinished(deserializer, overlay, json)
fun onBasicOverlayDeserializationFinished(
        deserializer: BarcodeCountDeserializer,
        overlay: BarcodeCountBasicOverlay,
        json: JsonValue)

Added in version 8.7.0

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