Text Capture Deserializer Listener
Defined in package com.scandit.datacapture.text.capture.serialization
Warning
The deserialization API is not yet stable and will still change over the coming releases.
- TextCaptureDeserializerListener
interface TextCaptureDeserializerListenerAdded in version 6.3.0
Deprecated since version 6.26.0.
The listener for the text capture deserializer.
- onModeDeserializationStarted(deserializer, mode, json)
voidonModeDeserializationStarted(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCapture mode, @NonNull JsonValue json)Added in version 6.3.0
Called before the deserialization of text capture started. This is the point to overwrite defaults before the deserialization is performed.
- onModeDeserializationFinished(deserializer, mode, json)
voidonModeDeserializationFinished(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCapture mode, @NonNull JsonValue json)Added in version 6.3.0
Called when the deserialization of text capture finished. This is the point to do additional deserialization.
- onSettingsDeserializationStarted(deserializer, settings, json)
voidonSettingsDeserializationStarted(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCaptureSettings settings, @NonNull JsonValue json)Added in version 6.3.0
Called before the deserialization of the text capture settings started. This is the point to overwrite defaults before the deserialization is performed.
- onSettingsDeserializationFinished(deserializer, settings, json)
voidonSettingsDeserializationFinished(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCaptureSettings settings, @NonNull JsonValue json)Added in version 6.3.0
Called when the deserialization of the text capture settings finished. This is the point to do additional deserialization.
- onOverlayDeserializationStarted(deserializer, overlay, json)
voidonOverlayDeserializationStarted(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCaptureOverlay overlay, @NonNull JsonValue json)Added in version 6.3.0
Called before the deserialization of the text capture overlay started. This is the point to overwrite defaults before the deserialization is performed.
- onOverlayDeserializationFinished(deserializer, overlay, json)
voidonOverlayDeserializationFinished(@NonNull TextCaptureDeserializer deserializer, @NonNull TextCaptureOverlay overlay, @NonNull JsonValue json)Added in version 6.3.0
Called when the deserialization of the text capture overlay finished. This is the point to do additional deserialization.