Data Capture Context Deserializer Listener#

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

Warning

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

DataCaptureContextDeserializerListener#
interface DataCaptureContextDeserializerListener

Added in version 6.1.0

The listener for the frame source deserializer.

onContextDeserializationStarted(deserializer, dataCaptureContext, json)#
void onContextDeserializationStarted(@NonNull DataCaptureContextDeserializer deserializer,
        @NonNull DataCaptureContext dataCaptureContext,
        @NonNull JsonValue json)

Added in version 6.1.0

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

onContextDeserializationFinished(deserializer, dataCaptureContext, json)#
void onContextDeserializationFinished(@NonNull DataCaptureContextDeserializer deserializer,
        @NonNull DataCaptureContext dataCaptureContext,
        @NonNull JsonValue json)

Added in version 6.1.0

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