About SDK and license

This page covers the ways of obtaining the info about a SDK and a license

SDK

To get the API version use:

DocumentReader.getAPIVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

To get the Core version use:

DocumentReader.getCoreVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

To get the Core mode use:

DocumentReader.getCoreMode((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

Allows you to get database id, e.g. KAZ:

DocumentReader.getDatabaseID((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

To get the database version use:

DocumentReader.getDatabaseVersion((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

Allows you to get the database export date:

DocumentReader.getDatabaseDate((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

To get the list of supported database documents use:

DocumentReader.getDatabaseDescription((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

Allows to get the number of supported database countries:

DocumentReader.getDatabaseCountriesNumber((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

Allows to get the number of supported database documents:

DocumentReader.getDatabaseDocumentsNumber((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

License

Allows to get an expiration date of the license:

DocumentReader.getLicenseExpiryDate((str) => {
console.log(str);
},
(error) => {
console.log(error);
});

Allows to get a list of country identifiers which 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);
});
Contents
SDK
License