Barcode Count 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.
- SDCBarcodeCountViewDeserializer
@interface SDCBarcodeCountViewDeserializer : NSObject
Added in version 6.17.0
A deserializer to construct barcode count views from JSON.
- + barcodeCountViewDeserializer
+ (
instancetype
)barcodeCountViewDeserializerAdded in version 6.17.0
Creates a new deserializer object.
- - viewFromJSONString:barcodeCount:context:error:
- (nullable SDCBarcodeCountView *)viewFromJSONString:(NSString *)JSONString barcodeCount:(SDCBarcodeCount *)mode context:(SDCDataCaptureContext *)context error:(NSError **)error
Added in version 6.17.0
Constructs a new barcode count view with the provided JSON serialization.
- - viewFromJSONString:barcodeCount:topLayoutAnchor:context:error:
- (nullable SDCBarcodeCountView *)viewFromJSONString:(NSString *)JSONString barcodeCount:(SDCBarcodeCount *)mode topLayoutAnchor:(nullable NSLayoutYAxisAnchor *)topLayoutAnchor context:(SDCDataCaptureContext *)context error:(NSError **)error
Added in version 6.24.0
Constructs a new barcode count view with the provided JSON serialization. An optional topLayoutAnchor can be specified.
- - updateView:fromJSONString:error:
- (nullable SDCBarcodeCountView *)updateView:(SDCBarcodeCountView *)view fromJSONString:(NSString *)JSONString error:(NSError **)error
Added in version 6.17.0
Updates the view according to a JSON serialization.
- - updateView:fromJSONString:context:error:
- (nullable SDCBarcodeCountView *)updateView:(SDCBarcodeCountView *)view fromJSONString:(NSString *)JSONString context:(SDCDataCaptureContext *)context error:(NSError **)error
Added in version 6.18.0
Updates the view according to a JSON serialization, sets the view to use the SDCDataCaptureContext instance passed as parameter.