Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

Delegates

Delegate Description
CB_Error Represents the method that will handle the error code returned by the SDK.
CB_IntermediateResult Represents the method that will handle the intermediate result array returned by the SDK.
CB_TextResult Represents the method that will handle the text result array returned by the SDK.

CB_Error

Represents the method that will handle the error code returned by the SDK.

delegate void Dynamsoft.DBR.CB_Error(int frameId, int errorCode, IntPtr pUser)

Parameters
[in, out] frameId The id of the frame.
[in, out] errorCode Error Code generated when decoding the frame.
[in, out] pUser Arguments pass to your function.

CB_IntermediateResult

Represents the method that will handle the intermediate result array returned by the SDK.

delegate void Dynamsoft.DBR.CB_IntermediateResult(int frameId, IntermediateResult[] intermediateResults, IntPtr pUser)

Parameters
[in, out] frameId The id of the frame.
[in, out] intermediateResults The intermediate results of the frame. [in, out] pUser Arguments pass to your function.

CB_TextResult

Represents the method that will handle the text result array returned by the SDK.

delegate void Dynamsoft.DBR.CB_TextResult(int frameId, TextResult[]  textResults, IntPtr pUser) 

Parameters
[in, out] frameId The id of the frame.
[in, out] textResults Recognized barcode results of the frame. [in, out] pUser Arguments pass to your function.

This page is compatible for:

Is this page helpful?

YesYes NoNo