layout | title | description | keywords | needGenerateH3Content | needAutoGenerateSidebar | noTitleIndex |
---|---|---|---|---|---|---|
default-layout |
DSCapturedResultItem - Dynamsoft Core Module iOS Edition API Reference |
The class DSCapturedResultItem of Dynamsoft Core Module represents an item in a captured result, such as barcode, text line, detected quad, normalized image, original image, parsed item, etc. |
captured result item, objective-c, swift |
true |
true |
true |
The CapturedResultItem
class provides a common structure for representing different types of captured results. Each specific captured result item type will have its own implementation and additional properties specific to that type.
Assembly: DynamsoftCore.framework
>- Objective-C >- Swift > >1. ```objc @interface DSCapturedResultItem : NSObject ``` 2. ```swift class CapturedResultItem : NSObject ```Attributes | Type | Description |
---|---|---|
type |
DSCapturedResultItemType | The type of the captured result item, indicating what kind of data it represents. |
referencedItem |
DSCapturedResultItem * | A property of type DSCapturedResultItem that represents a reference to another captured result item. |
targetROIDefName |
NSString | The name of the [TargetROIDef ]({{ site.dcv_parameters_reference }}target-roi-def/) object which includes a task that generated the result. |
taskName |
NSString | The name of the task that generated the result. |
The type of the captured result item, indicating what kind of data it represents.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, readonly) DSCapturedResultItemType type ``` 2. ```swift var type: DSCapturedResultItemType { get } ```A property of type DSCapturedResultItem
that represents a reference to another captured result item.
The name of the [TargetROIDef
]({{ site.dcv_parameters_reference }}target-roi-def/) object which includes a task that generated the result.
The name of the task that generated the result.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, nullable, readonly) NSString *taskName ``` 2. ```swift var taskName: String? { get } ```