About SDK and license
SDK
To get the API version use:
DocumentReader.getAPIVersion().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
To get the Core version use:
DocumentReader.getCoreVersion().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
To get the Core mode use:
DocumentReader.getCoreMode().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
Allows you to get database id, e.g. KAZ:
DocumentReader.getDatabaseID().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
To get the database version use:
DocumentReader.getDatabaseVersion().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
Allows you to get the database export date:
DocumentReader.getDatabaseDate().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
To get the list of supported database documents use:
DocumentReader.getDatabaseDescription().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
Allows to get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
Allows to get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
License
Allows to get an expiration date of the license:
DocumentReader.getLicenseExpiryDate().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));
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.getLicenseCountryFilter().then((str) {
print(str);
}).catchError(
(Object error) => print((error as PlatformException).message));