Skip to content

About SDK and license

How to get information about the SDK and license.

SDK

  • Get the API version:
DocumentReader.Instance().version.api
DocumentReader.Instance().version.api
  • Get the Core version:
DocumentReader.Instance().version.core
DocumentReader.Instance().version.core
  • Get the Core mode:
DocumentReader.Instance().version.coreMode
DocumentReader.Instance().version.coreMode
  • Get the database ID, for example, KAZ:
DocumentReader.Instance().version.database.databaseID
DocumentReader.Instance().version.database.databaseID
  • Get the database version:
DocumentReader.Instance().version.database.version
DocumentReader.Instance().version.database.version
  • Get the database export date:
DocumentReader.Instance().version.database.date
DocumentReader.Instance().version.database.date
  • Get the list of supported database documents:
DocumentReader.Instance().version.database.databaseDescription
DocumentReader.Instance().version.database.databaseDescription
  • Get the number of supported database countries:
DocumentReader.Instance().version.database.countriesNumber
DocumentReader.Instance().version.database.countriesNumber
  • Get the number of supported database documents:
DocumentReader.Instance().version.database.documentsNumber
DocumentReader.Instance().version.database.documentsNumber

License

  • Get the expiration date of your license:
DocumentReader.Instance().license().getExpiryDate()
DocumentReader.Instance().license().expiryDate
  • 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.Instance().license().getCountryFilter()
DocumentReader.Instance().license().countryFilter