CapturedResultReceiver
The CapturedResultReceiver
interface is designed as a standardized way for retrieving captured results in the Dynamsoft Capture Vision architecture. By implementing the CapturedResultReceiver
, you will receive the callback of the various types of captured results, such as original image, decoded barcode, recognized text line, detected quad, normalized image, or parsed data. The CapturedResultReceiver
can add a receiver for any type of captured result or for a specific type of captured result, based on the method that is implemented.
Definition
Namespace: Dynamsoft.CaptureVisionRouter.Maui
Assembly: Dynamsoft.CaptureVisionRouter.Maui
interface ICapturedResultReceiver
Methods
Method | Description |
---|---|
OnCapturedResultReceived |
This callback method delivers a CapturedResult , which is an object containning all kinds of captured result items that are captured from the image. |
OnDecodedBarcodesReceived |
This callback method delivers a DecodedBarcodesResult , which is an object containning all CRIT_BARCODE typed captured result items that are captured from the image. |
OnParsedResultsReceived |
This callback method delivers a ParsedResult , which is an object containning all CRIT_PARSED_RESULT typed captured result items that are captured from the image. |
OnCapturedResultReceived
This callback method delivers a CapturedResult
, which is an object containning all kinds of captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnCapturedResultReceived(CapturedResult result);
Parameters
[in] result
: The captured result, an instance of CapturedResult
.
OnDecodedBarcodesReceived
This callback method delivers a DecodedBarcodesResult
, which is an object containning all CRIT_BARCODE
typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnDecodedBarcodesReceived(DecodedBarcodesResult result);
Parameters
[in] result
: The decoded barcode result, an instance of DecodedBarcodesResult
.
OnParsedResultsReceived
This callback method delivers a ParsedResult
, which is an object containning all CRIT_PARSED_RESULT
typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnParsedResultsReceived(ParsedResult result);
Parameters
[in] result
: The parsed result, an instance of ParsedResult
.