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:

Java
Kotlin
Java
DocumentReader.Instance().version.api
Kotlin
DocumentReader.Instance().version.api

To get the Core version use:

Java
Kotlin
Java
DocumentReader.Instance().version.core
Kotlin
DocumentReader.Instance().version.core

To get the Core mode use:

Java
Kotlin
Java
DocumentReader.Instance().version.coreMode
Kotlin
DocumentReader.Instance().version.coreMode

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

Java
Kotlin
Java
DocumentReader.Instance().version.database.databaseID
Kotlin
DocumentReader.Instance().version.database.databaseID

To get the database version use:

Java
Kotlin
Java
DocumentReader.Instance().version.database.version
Kotlin
DocumentReader.Instance().version.database.version

Allows you to get the database export date:

Java
Kotlin
Java
DocumentReader.Instance().version.database.date
Kotlin
DocumentReader.Instance().version.database.date

To get the list of supported database documents use:

Java
Kotlin
Java
DocumentReader.Instance().version.database.databaseDescription
Kotlin
DocumentReader.Instance().version.database.databaseDescription

Allows to get the number of supported database countries:

Java
Kotlin
Java
DocumentReader.Instance().version.database.countriesNumber
Kotlin
DocumentReader.Instance().version.database.countriesNumber

Allows to get the number of supported database documents:

Java
Kotlin
Java
DocumentReader.Instance().version.database.documentsNumber
Kotlin
DocumentReader.Instance().version.database.documentsNumber

License

Allows to get an expiration date of the license:

Java
Kotlin
Java
DocumentReader.Instance().license().getExpiryDate()
Kotlin
DocumentReader.Instance().license().expiryDate

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:

Java
Kotlin
Java
DocumentReader.Instance().license().getCountryFilter()
Kotlin
DocumentReader.Instance().license().countryFilter
Contents
SDK
License