Resource Base
Table of contents

ParsedResult Class

ParsedResult class stores all parsed result items that are obtained from a single image. It carries additional information such as the original image data or error messages.

Definition

Namespace: com.dynamsoft.dcp

Assembly: DynamsoftCodeParser.aar

class ParsedResult
Method Description
getOriginalImageHashId Gets the hash ID of the source image.
getOriginalImageTag Gets the tag of the source image.
getItems Gets the parsed result item at the specified index.
getErrorCode Gets the error code of the parsed result, if an error occurred.
getErrorString Gets the error message of the parsed result, if an error occurred.

getOriginalImageHashId

Gets the hash ID of the source image.

String getOriginalImageHashId();

Return value

Returns a pointer to a null-terminated string containing the hash ID of the source image.

getOriginalImageTag

Gets the tag of the source image.

ImageTag getOriginalImageTag();

Return value

Returns a pointer to a CImageTag object representing the tag of the source image.

See Also

ImageTag

getItems

Gets the parsed result item at the specified index.

ParsedResultItem[] getItems();

Return value

Returns an array of ParsedResultItem.

See Also

ParsedResultItem

getErrorCode

Gets the error code of the parsed result, if an error occurred.

int getErrorCode();

Return value

Returns the error code of the parsed result, or 0 if no error occurred.

getErrorMessage

Gets the error message of the parsed result, if an error occurred.

String getErrorMessage();

Return value

Returns a pointer to a null-terminated string containing the error message of the parsed result, or a pointer to an empty string if no error occurred.

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.0.21
      • Version 2.0.20
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support