Barcode Find 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.

SDCBarcodeFindDeserializer
@interface SDCBarcodeFindDeserializer : NSObject

Added in version 6.19.0

A deserializer to construct barcode find settings from JSON.

Related topics: Serialization.

+ barcodeFindDeserializer
+ (instancetype)barcodeFindDeserializer

Added in version 6.19.0

Creates a new deserializer object.

- settingsFromJSONString:error:
- (nullable SDCBarcodeFindSettings *)settingsFromJSONString:(NSString *)JSONString
                                                      error:(NSError **)error

Added in version 6.19.0

Constructs a new barcode find settings object with the provided JSON serialization.

- updateSettings:fromJSONString:error:
- (nullable SDCBarcodeFindSettings *)updateSettings:(SDCBarcodeFindSettings *)settings
                                     fromJSONString:(NSString *)JSONString
                                              error:(NSError **)error

Added in version 6.19.0

Updates the settings according to a JSON serialization.

- modeFromJSONString:error:
- (nullable SDCBarcodeFind *)modeFromJSONString:(NSString *)JSONString
                                          error:(NSError **)error

Added in version 6.19.0

Constructs a new barcode find object with the provided JSON serialization.

- updateMode:fromJSONString:error:
- (nullable SDCBarcodeFind *)updateMode:(SDCBarcodeFind *)mode
                         fromJSONString:(NSString *)JSONString
                                  error:(NSError **)error

Added in version 6.19.0

Updates the mode according to a JSON serialization.

delegate
@property (nonatomic, weak, nullable) id<SDCBarcodeFindDeserializerDelegate> delegate

Added in version 6.19.0

The object informed about deserialization events.