Data Capture View 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.

DataCaptureViewDeserializerListener#
interface DataCaptureViewDeserializerListener

Added in version 6.1.0

The listener for the data capture view deserializer.

onViewDeserializationStarted(deserializer, view, json)#
void onViewDeserializationStarted(@NonNull DataCaptureViewDeserializer deserializer,
        @NonNull DataCaptureView view,
        @NonNull JsonValue json)

Added in version 6.1.0

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

onViewDeserializationFinished(deserializer, view, json)#
void onViewDeserializationFinished(@NonNull DataCaptureViewDeserializer deserializer,
        @NonNull DataCaptureView view,
        @NonNull JsonValue json)

Added in version 6.1.0

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