Label Capture Settings

Defined in framework ScanditLabelCapture

SDCLabelCaptureSettings
@interface SDCLabelCaptureSettings : NSObject <NSCopying>

Added in version 6.0.0

- initWithString:error:
- (nullable instancetype)initWithString:(nonnull NSString *)string
                                  error:(NSError **)error

Added in version 6.13.0

Load the settings from the string representation (JSON) of a label blueprint, provided to you by Scandit.

Deprecated since version 6.21: Use initializers that take SDCLabelDefinition instead:

+ settingsFromString:error:
+ (nullable instancetype)settingsFromString:(nonnull NSString *)string
                                      error:(NSError **)error

Added in version 6.0.0

Load the settings from the string representation (JSON) of a label blueprint, provided to you by Scandit.

Deprecated since version 6.21: Deprecated in favor of the Builder pattern.

- initWithLabelDefinitions:error:
- (nullable instancetype)initWithLabelDefinitions:(NSArray<SDCLabelDefinition *> *)definitions
                                            error:(NSError **)error

Added in version 6.21.0

Load the settings from an array of SDCLabelDefinition

+ settingsFromLabelDefinitions:error:
+ (nullable instancetype)settingsFromLabelDefinitions:(NSArray<SDCLabelDefinition *> *)definitions
                                                error:(NSError **)error

Added in version 6.21.0

Load the settings from an array of SDCLabelDefinition

- initWithLabelDefinitions:hiddenProperties:error:
- (nullable instancetype)initWithLabelDefinitions:(NSArray<SDCLabelDefinition *> *)definitions
                                 hiddenProperties:(nullable NSDictionary *)dictionary
                                            error:(NSError **)error

Added in version 6.21.0

Load the settings from an array of SDCLabelDefinition with optional hidden properties

+ settingsFromLabelDefinitions:hiddenProperties:error:
+ (nullable instancetype)settingsFromLabelDefinitions:(NSArray<SDCLabelDefinition *> *)definitions
                                     hiddenProperties:(nullable NSDictionary *)dictionary
                                                error:(NSError **)error

Added in version 6.21.0

Load the settings from an array of SDCLabelDefinition with optional hidden properties

locationSelection
@property (nonatomic, strong, nullable) id<SDCLocationSelection> locationSelection

Added in version 6.9.0

Defines the strategy with which to select one out of many visible labels. By default, this property is nil and label selection is disabled.

Currently only SDCRectangularLocationSelection is supported.

- setValue:forProperty:
- (void)setValue:(nullable id)value
     forProperty:(nonnull NSString *)property

Added in version 6.3.0

Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may change in a future release.

- valueForProperty:
- (nullable id)valueForProperty:(nonnull NSString *)property

Added in version 6.3.0

Retrieves the value of a previously set property. In case the property does not exist, nil is returned. Use this method to get properties that are not yet part of a stable API. These properties may change in a future release.