/*
 * 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/DSBarcodeDetails.h>

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(PDF417Details)
@interface DSPDF417Details : DSBarcodeDetails

@property (nonatomic, readonly, assign) NSInteger rows;

@property (nonatomic, readonly, assign) NSInteger columns;

@property (nonatomic, readonly, assign) NSInteger errorCorrectionLevel;

@property (nonatomic, readonly, assign) BOOL hasLeftRowIndicator;

@property (nonatomic, readonly, assign) BOOL hasRightRowIndicator;
/**
 * The codewords of the PDF417 barcode.
 */
@property (nonatomic, readonly, copy, nullable) NSArray<NSNumber *> *codewords;

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

@end

NS_ASSUME_NONNULL_END
