ID Capture Deserializer Listener#

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

Warning

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

IdCaptureDeserializerListener#
interface IdCaptureDeserializerListener

Added in version 6.6.0

The listener for the id capture deserializer.

onModeDeserializationStarted(deserializer, mode, json)#
void onModeDeserializationStarted(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCapture mode,
        @NonNull JsonValue json)

Added in version 6.6.0

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

onModeDeserializationFinished(deserializer, mode, json)#
void onModeDeserializationFinished(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCapture mode,
        @NonNull JsonValue json)

Added in version 6.6.0

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

onSettingsDeserializationStarted(deserializer, settings, json)#
void onSettingsDeserializationStarted(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCaptureSettings settings,
        @NonNull JsonValue json)

Added in version 6.6.0

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

onSettingsDeserializationFinished(deserializer, settings, json)#
void onSettingsDeserializationFinished(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCaptureSettings settings,
        @NonNull JsonValue json)

Added in version 6.6.0

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

onOverlayDeserializationStarted(deserializer, overlay, json)#
void onOverlayDeserializationStarted(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCaptureOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.6.0

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

onOverlayDeserializationFinished(deserializer, overlay, json)#
void onOverlayDeserializationFinished(@NonNull IdCaptureDeserializer deserializer,
        @NonNull IdCaptureOverlay overlay,
        @NonNull JsonValue json)

Added in version 6.6.0

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