/*
 * 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 <UIKit/UIKit.h>
#import <DynamsoftCaptureVisionBundle/DSBarcodeDetails.h>

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(OneDCodeDetails)
@interface DSOneDCodeDetails : DSBarcodeDetails

@property (nonatomic, readonly, nullable) NSData *startCharsBytes;

@property (nonatomic, readonly, nullable) NSData *stopCharsBytes;

@property (nonatomic, readonly, copy, nullable) NSData *checkDigitBytes;

@property (nonatomic, readonly, assign) UIFloatRange startPatternRange;

@property (nonatomic, readonly, assign) UIFloatRange middlePatternRange;

@property (nonatomic, readonly, assign) UIFloatRange endPatternRange;

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

@end

NS_ASSUME_NONNULL_END
