Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSIntermediateResultManager

You are reading a history page of DynamsoftCore. Start from v3.2.10, the DSIntermediateResultManager class is moved to the DynamsoftCaptureVisionRouter module. View the DynamsoftCaptureVisionRouter.DSIntermediateResultManager for the latest version.

The DSIntermediateResultManager class manages intermediate results generated during data capturing. It provides methods to add and remove intermediate result receivers, as well as to get original image data using an image hash id.

Definition

Assembly: DynamsoftCore.framework

  • Objective-C
  • Swift
  1. @interface DSIntermediateResultManager: NSObject
    
  2. class IntermediateResultManager : NSObject
    

Methods

Method Description
addResultReceiver Adds a DSIntermediateResultReceiver object as the receiver of intermediate results.
removeResultReceiver Removes the specified DSIntermediateResultReceiver object.
getOriginalImage Gets the original image data.

addResultReceiver

Adds a DSIntermediateResultReceiver object as the receiver of intermediate results.

  • Objective-C
  • Swift
  1. - (BOOL)addResultReceiver:(id<DSIntermediateResultReceiver>)receiver;
    
  2. func addResultReceiver(_ receiver: DSIntermediateResultReceiver)
    

Parameters

receiver: A delegate object of DSIntermediateResultReceiver.

Return Value

A BOOL value that indicates whether the result receiver is added successfully.

Code Snippet

  • Objective-C
  • Swift
  1. BOOL result = [resultManager addResultReceiver:receiver];
    
  2. resultManager.addResultReceiver(receiver)
    

removeResultReceiver

Removes the specified DSIntermediateResultReceiver object.

  • Objective-C
  • Swift
  1. - (BOOL)removeResultReceiver:(id<DSIntermediateResultReceiver>)receiver;
    
  2. func removeResultReceiver(_ receiver: DSIntermediateResultReceiver)
    

Parameters

receiver: A delegate object of DSIntermediateResultReceiver.

Return Value

A BOOL value that indicates whether the result receiver is removed successfully.

Code Snippet

  • Objective-C
  • Swift
  1. result = [resultManager removeResultReceiver:receiver];
    
  2. resultManager.removeResultReceiver(receiver)
    

getOriginalImage

Gets the original image data.

  • Objective-C
  • Swift
  1. - (DSImageData)getOriginalImage:(NSString)imageHashId;
    
  2. func getOriginalImage(_ imageHashId: String) -> DSImageData
    

Parameters

imageHashId: The image hash ID.

Return Value

The original image data as DSImageData.

Code Snippet

  • Objective-C
  • Swift
  1. DSImageData *imageData = [resultManager getOriginalImage:imageHashId];
    
  2. let imageData = resultManager.getOriginalImage(imageHashId)
    

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
  • Version 1.x
    • Version 1.2.1
    • Version 1.2.0
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
    • Version 1.1.13
    • Version 1.1.12
    • Version 1.1.11
    • Version 1.1.9
    • Version 1.1.8
    • Version 1.1.7
    • Version 1.1.6
    • Version 1.1.5
    • Version 1.1.4
    • Version 1.1.3
    • Version 1.1.2
    • Version 1.1.1
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support