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:
1
DocumentReader.getAPIVersion((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
To get the Core version use:
1
DocumentReader.getCoreVersion((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
To get the Core mode use:
1
DocumentReader.getCoreMode((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
Allows you to get database id, e.g. KAZ:
1
DocumentReader.getDatabaseID((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
To get the database version use:
1
DocumentReader.getDatabaseVersion((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
Allows you to get the database export date:
1
DocumentReader.getDatabaseDate((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
To get the list of supported database documents use:
1
DocumentReader.getDatabaseDescription((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
Allows to get the number of supported database countries:
1
DocumentReader.getDatabaseCountriesNumber((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
Allows to get the number of supported database documents:
1
DocumentReader.getDatabaseDocumentsNumber((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!

License

Allows to get an expiration date of the license:
1
DocumentReader.getLicenseExpiryDate((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
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:
1
DocumentReader.getLicenseCountryFilter((str) => {
2
console.log(str);
3
},
4
(error) => {
5
console.log(error);
6
});
Copied!
Last modified 4mo ago
Copy link
Contents
SDK
License