HOCR_SDK_waitResult
Included header
#include <HOCR_SDK_COMMON.h>
Description
Synchronous API that waits for results from the queue returned by HOCR_SDK_runAsyncQueue and HOCR_SDK_runAsyncQueueBase64
HOCR_SDK_waitResult()
|
- Parameters
-
Name Type Description obj void* Pointer to queue object
resultJson char** Engine module execution result string (JSON)
- Return value
int: Length of the ‘resultJson’ string
Examples
void * resultQueue = HOCR_SDK_runAsyncQueue(/* ... */);
char *resultJsonStr = nullptr;
int resultSize = waitResult(resultQueue, &resultJsonStr);