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)#
void onModeDeserializationStarted(@NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelection mode,
        @NonNull JsonValue json)

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)#
void onModeDeserializationFinished(@NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelection mode,
        @NonNull JsonValue json)

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)#
void onSettingsDeserializationStarted(@NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelectionSettings settings,
        @NonNull JsonValue json)

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)#
void onSettingsDeserializationFinished(@NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelectionSettings settings,
        @NonNull JsonValue json)

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)#
void onBasicOverlayDeserializationStarted(
        @NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelectionBasicOverlay overlay,
        @NonNull JsonValue json)

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)#
void onBasicOverlayDeserializationFinished(
        @NonNull BarcodeSelectionDeserializer deserializer,
        @NonNull BarcodeSelectionBasicOverlay overlay,
        @NonNull JsonValue json)

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.