Barcode Ar 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.
- SDCBarcodeArDeserializerDelegate
@protocol SDCBarcodeArDeserializerDelegate <NSObject>
Added in version 7.1.0
The delegate for the BarcodeAr deserializer.
- - barcodeArDeserializer:didStartDeserializingMode:fromJSONValue:
- (
void
)barcodeArDeserializer:(SDCBarcodeArDeserializer *)deserializer didStartDeserializingMode:(SDCBarcodeAr *)mode fromJSONValue:(SDCJSONValue *)JSONValueAdded in version 7.1.0
Called before the deserialization of BarcodeAr is started. This is the point to overwrite defaults before the deserialization is performed.
- - barcodeArDeserializer:didFinishDeserializingMode:fromJSONValue:
- (
void
)barcodeArDeserializer:(SDCBarcodeArDeserializer *)deserializer didFinishDeserializingMode:(SDCBarcodeAr *)mode fromJSONValue:(SDCJSONValue *)JSONValueAdded in version 7.1.0
Called when the deserialization of BarcodeAr is finished. This is the point to do additional deserialization.
- - barcodeArDeserializer:didStartDeserializingSettings:fromJSONValue:
- (
void
)barcodeArDeserializer:(SDCBarcodeArDeserializer *)deserializer didStartDeserializingSettings:(SDCBarcodeArSettings *)settings fromJSONValue:(SDCJSONValue *)JSONValueAdded in version 7.1.0
Called before the deserialization of the BarcodeAr settings is started. This is the point to overwrite defaults before the deserialization is performed.
- - barcodeArDeserializer:didFinishDeserializingSettings:fromJSONValue:
- (
void
)barcodeArDeserializer:(SDCBarcodeArDeserializer *)deserializer didFinishDeserializingSettings:(SDCBarcodeArSettings *)settings fromJSONValue:(SDCJSONValue *)JSONValueAdded in version 7.1.0
Called when the deserialization of the BarcodeAr settings is finished. This is the point to do additional deserialization.
- SDCBarcodeArDeserializer
@interface SDCBarcodeArDeserializer : NSObject
Added in version 7.1.0
A deserializer to construct Barcode Ar settings and mode from JSON.
- - settingsFromJSONString:error:
- (nullable SDCBarcodeArSettings *)settingsFromJSONString:(NSString *)JSONString error:(NSError **)error
Added in version 7.1.0
Constructs a new SDCBarcodeArSettings object with the provided JSON serialization.
- - updateSettings:fromJSONString:error:
- (nullable SDCBarcodeArSettings *)updateSettings:(SDCBarcodeArSettings *)settings fromJSONString:(NSString *)JSONString error:(NSError **)error
Added in version 7.1.0
Updates the settings according to a JSON serialization.
- - modeFromJSONString:context:error:
- (nullable SDCBarcodeAr *)modeFromJSONString:(NSString *)JSONString context:(SDCDataCaptureContext *)context error:(NSError **)error
Added in version 7.1.0
Constructs a new SDCBarcodeAr object with the provided JSON serialization.
- - updateMode:fromJSONString:error:
- (nullable SDCBarcodeAr *)updateMode:(SDCBarcodeAr *)mode fromJSONString:(NSString *)JSONString error:(NSError **)error
Added in version 7.1.0
Updates the mode according to a JSON serialization.
- delegate
@property (nonatomic, weak, nullable)
id
<SDCBarcodeArDeserializerDelegate> delegateAdded in version 7.1.0
The object informed about deserialization events.