getOpenApiOption
Description
API to query if there are applicable options for available engine functions
getOpenApiOption()
|
- Parameters
-
Name Type Description obj void* 'ArgoEngineApi' object pointer
openApiOptionJson char** Query result string (json) for applicable options in engine functions
openApiName char* Name of function to query
- Return Value
int: Length of 'openApiOptionJson' string
Example
std::string openApiName = "TEXT_RECOGNITION";
char *resultJsonStr = nullptr;
int resultSize = getOpenApiOption(obj, &resultJsonStr, (char *)openApiName.c_str());
std::string resultJson(resultJsonStr, resultSize);