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

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

@class DSParsedResultItem;
@class DSImageTag;

NS_ASSUME_NONNULL_BEGIN

/**
 * DSParsedResult class represents the result of a parsed content.
 */
NS_SWIFT_NAME(ParsedResult)
@interface DSParsedResult : DSCapturedResultBase

/**
 * An array of DSParsedResultItems, which are the basic unit of the captured results.
 */
@property (nonatomic, readonly, copy, nullable) NSArray<DSParsedResultItem *> *items;

+ (instancetype)new NS_UNAVAILABLE;

- (instancetype)init NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
