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:

Swift
Objective-C
Swift
DocReader.shared.version.api
Objective-C
[RGLDocReader shared].version.api

To get the Core version use:

Swift
Objective-C
Swift
DocReader.shared.version.core
Objective-C
[RGLDocReader shared].version.core

To get the Core mode use:

Swift
Objective-C
Swift
DocReader.shared.version.coreMode
Objective-C
[RGLDocReader shared].version.coreMode

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

Swift
Objective-C
Swift
DocReader.shared.version.database.databaseID
Objective-C
[RGLDocReader shared].version.database.databaseID

To get the database version use:

Swift
Objective-C
Swift
DocReader.shared.version.database.version
Objective-C
[RGLDocReader shared].version.database.version

Allows you to get the database export date:

Swift
Objective-C
Swift
DocReader.shared.version.database.date
Objective-C
[RGLDocReader shared].version.database.date

To get the list of supported database documents use:

Swift
Objective-C
Swift
DocReader.shared.version.database.databaseDescription
Objective-C
[RGLDocReader shared].version.database.databaseDescription

Allows to get the number of supported database countries:

Swift
Objective-C
Swift
DocReader.shared.version.database.countriesNumber
Objective-C
[RGLDocReader shared].version.database.countriesNumber

Allows to get the number of supported database documents:

Swift
Objective-C
Swift
DocReader.shared.version.database.documentsNumber
Objective-C
[RGLDocReader shared].version.database.documentsNumber

License

Allows to get an expiration date of your license:

Swift
Objective-C
Swift
DocReader.shared.license.expiryDate
Objective-C
[RGLDocReader shared].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:

Swift
Objective-C
Swift
DocReader.shared.license.countryFilter
Objective-C
[RGLDocReader shared].license.countryFilter
Contents
SDK
License