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.Instance().version.api

To get the Core version use:

DocumentReader.Instance().version.core

To get the Core mode use:

DocumentReader.Instance().version.coreMode

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

DocumentReader.Instance().version.database.databaseID

To get the database version use:

DocumentReader.Instance().version.database.version

Allows you to get the database export date:

DocumentReader.Instance().version.database.date

To get the list of supported database documents use:

DocumentReader.Instance().version.database.databaseDescription

Allows to get the number of supported database countries:

DocumentReader.Instance().version.database.countriesNumber

Allows to get the number of supported database documents:

DocumentReader.Instance().version.database.documentsNumber

License

Allows to get an expiration date of the license:

DocumentReader.Instance().license().getExpiryDate()

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.Instance().license().getCountryFilter()

Last updated