Label Capture Deserializer Listener

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

Warning

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

LabelCaptureDeserializerListener
interface LabelCaptureDeserializerListener

Added in version 6.4.0

The listener for the label capture deserializer.

onModeDeserializationStarted(deserializer, mode, json)
void onModeDeserializationStarted(@NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCapture mode,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onModeDeserializationFinished(deserializer, mode, json)
void onModeDeserializationFinished(@NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCapture mode,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onSettingsDeserializationStarted(deserializer, settings, json)
void onSettingsDeserializationStarted(@NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureSettings settings,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onSettingsDeserializationFinished(deserializer, settings, json)
void onSettingsDeserializationFinished(@NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureSettings settings,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onBasicOverlayDeserializationStarted(deserializer, overlay, json)
void onBasicOverlayDeserializationStarted(
        @NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureBasicOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onBasicOverlayDeserializationFinished(deserializer, overlay, json)
void onBasicOverlayDeserializationFinished(
        @NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureBasicOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.4.0

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

onAdvancedOverlayDeserializationStarted(deserializer, overlay, json)
void onAdvancedOverlayDeserializationStarted(
        @NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureAdvancedOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.16.0

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

onAdvancedOverlayDeserializationFinished(deserializer, overlay, json)
void onAdvancedOverlayDeserializationFinished(
        @NonNull LabelCaptureDeserializer deserializer,
        @NonNull LabelCaptureAdvancedOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.16.0

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