Frame Source Deserializer Listener

Defined in package com.scandit.datacapture.core.source.serialization

Warning

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

FrameSourceDeserializerListener
interface FrameSourceDeserializerListener

Added in version 6.1.0

The listener for the frame source deserializer.

onFrameSourceDeserializationStarted(deserializer, frameSource, json)
void onFrameSourceDeserializationStarted(@NonNull FrameSourceDeserializer deserializer,
        @NonNull FrameSource frameSource,
        @NonNull JsonValue json)

Added in version 6.1.0

Called before the deserialization of the frame source started. This is the point to overwrite defaults before the deserialization is performed.

onFrameSourceDeserializationFinished(deserializer, frameSource, json)
void onFrameSourceDeserializationFinished(
        @NonNull FrameSourceDeserializer deserializer,
        @NonNull FrameSource frameSource,
        @NonNull JsonValue json)

Added in version 6.1.0

Called when the deserialization of the frame source finished. This is the point to do additional deserialization.

onCameraSettingsDeserializationStarted(deserializer, settings, json)
void onCameraSettingsDeserializationStarted(
        @NonNull FrameSourceDeserializer deserializer,
        @NonNull CameraSettings settings,
        @NonNull JsonValue json)

Added in version 6.1.0

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

onCameraSettingsDeserializationFinished(deserializer, settings, json)
void onCameraSettingsDeserializationFinished(
        @NonNull FrameSourceDeserializer deserializer,
        @NonNull CameraSettings settings,
        @NonNull JsonValue json)

Added in version 6.1.0

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