Barcode Ar View Deserializer

Defined in framework ScanditBarcodeCapture

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.

SDCBarcodeArViewDeserializer
@interface SDCBarcodeArViewDeserializer : NSObject

Added in version 7.1.0

A deserializer to construct Barcode Ar views from JSON.

- viewFromJSONString:parentView:mode:error:
- (nullable SDCBarcodeArView *)viewFromJSONString:(NSString *)JSONString
                                       parentView:(nonnull UIView *)parentView
                                             mode:(SDCBarcodeAr *)mode
                                            error:(NSError **)error

Added in version 7.1.0

Constructs a new SDCBarcodeArView object with the provided JSON serialization.

- updateView:fromJSONString:error:
- (nullable SDCBarcodeArView *)updateView:(SDCBarcodeArView *)view
                           fromJSONString:(nonnull NSString *)JSONString
                                    error:(NSError **)error

Added in version 7.1.0

Updates the view according to a JSON serialization.