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
getItems
Gets the parsed result item at the specified index.
ParsedResultItem[] getItems();
Return value
Returns an array of ParsedResultItem
.
See Also
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.