/*
 * 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>

@class DSQuadrilateral;

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(CandidateBarcodeZone)
@interface DSCandidateBarcodeZone : NSObject

/**
 * The location of the deformation resisted barcode.
 */
@property (nonatomic, strong) DSQuadrilateral *location;
/**
 * The barcode format of the deformation resisted barcode.
 */
@property (nonatomic, assign) DSBarcodeFormat possibleFormats;

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

- (instancetype)initWithLocation:(DSQuadrilateral *)location
                 possibleFormats:(DSBarcodeFormat)possibleFormats;

@end

NS_ASSUME_NONNULL_END
