Installation and Getting Started Guide

Installation and Getting Started Guide

Retrieving the State of the Engine

Retrieving the State of the Engine

To retrieve the current state of the data verification engine, use an IDVE_GetJSON() or IDVE_GetJSONW() function call and pass the URI value in the function call as
State
. The IDVE_GetJSON() function returns the data in a UTF-8-encoded string, while the IDVE_GetJSONW() function returns the data in a UTF-16-encoded string.
The following sample code shows an IDVE_GetJSON() call that can retrieve the engine state:
char sJSON[ 50*1024]; char sExtStatusMsg[ IDVE_EXT_STATUS_MSG_BUFFER_SIZE]; IDVE_StatusCode i32StatusCode= IDVE_GetJSON("", "State", sJSON, sizeo f(sJSON), NULL, NULL, sExtStatusMsg);
The
IDVEState.schema.json
file lists the elements and properties that each function call returns.
The elements and properties in the file are organized in the following groups:

0 COMMENTS

We’d like to hear from you!