Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 2.49 KB

File metadata and controls

74 lines (48 loc) · 2.49 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex ignore
default-layout
IntermediateResultManager - Dynamsoft Core Module Android Edition API Reference
The class IntermediateResultManager of Dynamsoft Core Module 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.
intermediate result manager, Java, Kotlin
true
true
true
true

IntermediateResultManager

You are reading a history page of DynamsoftCore. Start from v3.2.10, the IntermediateResultManager class is moved to the DynamsoftCaptureVisionRouter module. View the [DynamsoftCaptureVisionRouter.IntermediateResultManager]({{ site.dcv_android_api }}capture-vision-router/auxiliary-classes/intermediate-result-manager.html) for the latest version.

The IntermediateResultManager class is responsible for handling intermediate results obtained during the process of an image. It offers methods to both register and deregister receivers of these intermediate results, as well as to retrieve the original image data.

Definition

Namespace: com.dynamsoft.core.intermediate_results

Assembly: DynamsoftCore.aar

class IntermediateResultManager

Methods

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

addResultReceiver

Adds a IntermediateResultReceiver object as the receiver of intermediate results.

void addResultReceiver(IntermediateResultReceiver receiver);

Parameters

[in] receiver: A delegate object of IntermediateResultReceiver.

removeResultReceiver

Removes the specified IntermediateResultReceiver object.

void removeResultReceiver(IntermediateResultReceiver receiver);

Parameters

[in] receiver: A delegate object of IntermediateResultReceiver.

getOriginalImage

Retrieves the original image data.

ImageData getOriginalImage(String imageHashId);

Parameters

[in] imageHashId: The image hash ID.

Return Value

The original image data, of type ImageData.