Barcode Count Deserializer
Defined in package com.scandit.datacapture.barcode.count.serialization
Warning
The deserialization API is not yet stable and will still change over the coming releases.
Note
This deserializer is not thread-safe, subsequent calls for the same settings, mode or overlay have to be called on the same thread.
- BarcodeCountDeserializer
class BarcodeCountDeserializer : DataCaptureModeDeserializer
Added in version 6.16.0
A deserializer to construct barcode count settings from JSON.
Related topics: Serialization.
- BarcodeCountDeserializer()
BarcodeCountDeserializer()
Added in version 6.16.0
Creates a new deserializer object.
- createRecommendedCameraSettings()
@NonNull CameraSettings createRecommendedCameraSettings()
Added in version 6.17.0
Constructs a CameraSettings object with the recommended settings for Barcode Count.
- settingsFromJson(json)
@NonNull BarcodeCountSettings settingsFromJson(@NonNull String json)
Added in version 6.16.0
Constructs a new barcode count settings object with the provided JSON serialization.
- updateSettingsFromJson(settings, json)
@NonNull BarcodeCountSettings updateSettingsFromJson( @NonNull BarcodeCountSettings settings, @NonNull String json)
Added in version 6.16.0
Updates the settings according to a JSON serialization.
- modeFromJson(dataCaptureContext, json)
@NonNull BarcodeCount modeFromJson(@NonNull DataCaptureContext dataCaptureContext, @NonNull String json)
Added in version 6.17.0
Constructs a new barcode count object with the provided JSON serialization.
- updateModeFromJson(mode, json)
@NonNull BarcodeCount updateModeFromJson(@NonNull BarcodeCount mode, @NonNull String json)
Added in version 6.17.0
Updates the mode according to a JSON serialization.