/*
 * This is one of the header files of Dynamsoft Capture Vision SDK - Barcode Reader module.
 *
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import <Foundation/Foundation.h>
#import <DynamsoftCaptureVisionBundle/DSBarcodeFormat.h>

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(SimplifiedBarcodeReaderSettings)
@interface DSSimplifiedBarcodeReaderSettings : NSObject

@property (nonatomic, assign) DSBarcodeFormat barcodeFormatIds;

@property (nonatomic, assign) NSUInteger expectedBarcodesCount;

@property (nonatomic, copy, nullable) NSArray *localizationModes;

@property (nonatomic, copy, nullable) NSArray *deblurModes;

@property (nonatomic, assign) NSUInteger minResultConfidence;

@property (nonatomic, assign) NSUInteger minBarcodeTextLength;

@property (nonatomic, copy, nullable) NSString *barcodeTextRegExPattern;

@property (nonatomic, copy, nullable) NSArray *grayscaleTransformationModes;

@property (nonatomic, copy, nullable) NSArray *grayscaleEnhancementModes;

@property (nonatomic, assign) NSUInteger maxThreadsInOneTask;

@property (nonatomic, assign) NSInteger scaleDownThreshold;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
