Barcode Ar View Deserializer
Defined in package com.scandit.datacapture.barcode.ar.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.
- BarcodeArViewDeserializer
class BarcodeArViewDeserializer
Added in version 7.1.0
A deserializer to construct Barcode Ar views from JSON.
- BarcodeArViewDeserializer()
BarcodeArViewDeserializer()
Added in version 7.1.0
Creates a new deserializer object.
- viewFromJson(parentView, mode, context, json)
@NonNull BarcodeArView viewFromJson(@NonNull ViewGroup parentView, @NonNull BarcodeAr mode, @NonNull DataCaptureContext context, @NonNull String json)
Added in version 7.1.0
Constructs a new BarcodeArView object with the provided JSON serialization.
- updateViewFromJson(view, json)
void
updateViewFromJson(@NonNull BarcodeArView view, @NonNull String json)Added in version 7.1.0
Updates the view according to a JSON serialization.