Version Information
How to get information about the SDK and license.
SDK
- Get the API version:
DocumentReader.getAPIVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the Core version:
DocumentReader.getCoreVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the Core mode:
DocumentReader.getCoreMode((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the database ID, for example, KAZ:
DocumentReader.getDatabaseID((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the database version:
DocumentReader.getDatabaseVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the database export date:
DocumentReader.getDatabaseDate((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the list of supported database documents:
DocumentReader.getDatabaseDescription((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
License
- Get the expiration date of your license:
DocumentReader.getLicenseExpiryDate((str) => {
console.log(str);
},
(error) => {
console.log(error);
});
- Get the list of country identifiers that are defined for processing in the license. If the array is empty, there are no restrictions for processing:
DocumentReader.getLicenseCountryFilter((str) => {
console.log(str);
},
(error) => {
console.log(error);
});