diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index a6796475d8..82cdca9e1e 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -3,129 +3,153 @@ "packages": [ { "name": "async", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/async-2.11.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/async-2.13.1", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "boolean_selector", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.1" }, { "name": "characters", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/characters-1.3.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "clock", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/clock-1.1.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "collection", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/collection-1.18.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "fake_async", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/fake_async-1.3.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/fake_async-1.3.3", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.3" }, { "name": "flutter", "rootUri": "file:///Users/administratorregula/development/flutter/packages/flutter", "packageUri": "lib/", - "languageVersion": "3.2" + "languageVersion": "3.8" }, { "name": "flutter_test", "rootUri": "file:///Users/administratorregula/development/flutter/packages/flutter_test", "packageUri": "lib/", + "languageVersion": "3.8" + }, + { + "name": "leak_tracker", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/leak_tracker-11.0.2", + "packageUri": "lib/", + "languageVersion": "3.2" + }, + { + "name": "leak_tracker_flutter_testing", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", + "packageUri": "lib/", + "languageVersion": "3.2" + }, + { + "name": "leak_tracker_testing", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.2", + "packageUri": "lib/", "languageVersion": "3.2" }, + { + "name": "lints", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/lints-4.0.0", + "packageUri": "lib/", + "languageVersion": "3.1" + }, { "name": "matcher", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/matcher-0.12.16", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/matcher-0.12.17", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/material_color_utilities-0.5.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/meta-1.10.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/meta-1.17.0", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.5" }, { "name": "path", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/path-1.8.3", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "sky_engine", "rootUri": "file:///Users/administratorregula/development/flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", - "languageVersion": "3.2" + "languageVersion": "3.8" }, { "name": "source_span", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/source_span-1.10.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/source_span-1.10.2", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.1" }, { "name": "stack_trace", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "stream_channel", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/stream_channel-2.1.4", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.3" }, { "name": "string_scanner", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/string_scanner-1.4.1", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/term_glyph-1.2.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.1" }, { "name": "test_api", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/test_api-0.6.1", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/test_api-0.7.7", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.5" }, { "name": "vector_math", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/vector_math-2.1.4", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", - "languageVersion": "2.14" + "languageVersion": "3.1" }, { - "name": "web", - "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/web-0.3.0", + "name": "vm_service", + "rootUri": "file:///Users/administratorregula/.pub-cache/hosted/pub.dev/vm_service-15.2.0", "packageUri": "lib/", - "languageVersion": "3.2" + "languageVersion": "3.5" }, { "name": "flutter_document_reader_api", @@ -134,7 +158,9 @@ "languageVersion": "3.1" } ], - "generated": "2024-04-21T09:24:38.425253Z", "generator": "pub", - "generatorVersion": "3.2.0" + "generatorVersion": "3.10.0-290.4.beta", + "flutterRoot": "file:///Users/administratorregula/development/flutter", + "flutterVersion": "3.38.0", + "pubCache": "file:///Users/administratorregula/.pub-cache" } diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index ca40e33641..0000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us improve -title: "[BR] " -labels: bug -assignees: '' - ---- - -**Before Submitting, be sure to** -- [ ] Update to the latest stable version. -- [ ] Read and follow the guides described in the [documentation](https://docs.regulaforensics.com?utm_source=github). -- [ ] Try to reproduce in our demo project. -- [ ] Search for your issue in the existing GitHub issues. - -**Bug Description** - - -**Steps To Reproduce** - - -**Expected behavior** - - -**Screenshots** - - -**Environment:** - - Device: - - OS: - - OS version: - -**Additional context** - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index bb2ed0f614..bc25558656 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - - name: Regula Help Center + - name: Submit a request url: https://support.regulaforensics.com/hc/requests/new?utm_source=github - about: Please submit any requests here + about: Submit any requests to Regula Support Team diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 05181749e5..0000000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature Request -about: Suggest an idea for this product -title: "[FR] " -labels: enhancement -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** - - -**Describe the solution you'd like** - - -**Describe alternatives you've considered** - - -**Additional context** - diff --git a/.gitignore b/.gitignore index 103beb9bea..9a864388ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,10 @@ .DS_Store -test/json \ No newline at end of file + +test/json + +.dart_tool/ +.packages +.pub/ +build/ + +doc \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..c680352df4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,49 @@ +stages: + - test + - reports + +include: + - template: Jobs/SAST.gitlab-ci.yml + - template: Jobs/Secret-Detection.gitlab-ci.yml + - template: Jobs/Dependency-Scanning.gitlab-ci.yml + - local: .gitlab/report.yaml + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + inputs: + stage: reports + image: ubuntu:22.04 + ignore_vulnerabilities: "false" + sast_report_file: gl-sast-report.json + secret_detection_report_file: gl-secret-detection-report.json + dependency_scanning_report_file: gl-dependency-scanning-report.json + +trivy scan: + stage: test + image: aquasec/trivy + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + script: + - trivy fs --severity CRITICAL,HIGH,MEDIUM,LOW --ignore-unfixed --db-repository container-registry.regula.local:80/aquasecurity/trivy-db:2 --exit-code 1 . + +semgrep-sast: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + artifacts: + paths: + - gl-sast-report.json + +secret_detection: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + artifacts: + paths: + - gl-secret-detection-report.json + +gemnasium-dependency_scanning: + variables: + DS_MAX_DEPTH: -1 + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + artifacts: + paths: + - gl-dependency-scanning-report.json diff --git a/.gitlab/report.yaml b/.gitlab/report.yaml new file mode 100644 index 0000000000..6ebfab0bb4 --- /dev/null +++ b/.gitlab/report.yaml @@ -0,0 +1,75 @@ +spec: + inputs: + stage: + default: reports + image: + default: ubuntu:22.04 + ignore_vulnerabilities: + default: "false" + sast_report_file: + default: gl-sast-report.json + secret_detection_report_file: + default: gl-secret-detection-report.json + dependency_scanning_report_file: + default: gl-dependency-scanning-report.json +--- + +view reports: + image: $[[ inputs.image ]] + stage: $[[ inputs.stage ]] + variables: + IGNORE_VULNERABILITIES: $[[ inputs.ignore_vulnerabilities ]] + SAST_REPORT_FILE: $[[ inputs.sast_report_file ]] + SECRET_DETECTION_REPORT_FILE: $[[ inputs.secret_detection_report_file ]] + DEPENDENCY_SCANNING_REPORT_FILE: $[[ inputs.dependency_scanning_report_file ]] + RED: \033[0;31m + YELLOW: \033[1;33m + GREEN: \033[0;32m + NC: \033[0m + needs: + - job: semgrep-sast + artifacts: true + - job: secret_detection + artifacts: true + - job: gemnasium-dependency_scanning + artifacts: true + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + script: + - ls -la + - apt update && apt install -y jq + - | + for f in SAST_REPORT_FILE SECRET_DETECTION_REPORT_FILE DEPENDENCY_SCANNING_REPORT_FILE + do + if [[ -f "${!f}" ]] + then + echo -e "${GREEN}File ${!f} exists, adding report${NC}" + r=${f/%_FILE} + declare $r="$(cat ${!f} | jq 'select(.vulnerabilities != []).vulnerabilities')" + if [[ ! -z "${!r}" ]] + then + VULNERABILITIES_FOUND=true + echo -e "${RED}Found $r vulnerabilities${NC}" + echo "${!r}" + echo + fi + else + echo -e "${YELLOW}File ${!f} doesn't exist, skipping${NC}" + fi + done + + if [[ "$VULNERABILITIES_FOUND" == true ]] + then + if [[ "$IGNORE_VULNERABILITIES" == true ]] + then + echo -e "${GREEN}All found vulnerabilities were ignored due to IGNORE_VULNERABILITIES=true${NC}" + exit 0 + else + echo -e "${RED}Vulnerabilities found, please see reports above${NC}" + exit 1 + fi + fi + + echo -e "${GREEN}No vulnerabilities found${NC}" + + exit 0 diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..1943b866cd --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Flutter", + "cwd": "example", + "request": "launch", + "type": "dart", + "flutterMode": "profile" + } + ] +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f1c1a3853..86232441f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,442 +1,92 @@ -# 7.1 +## 9.5.1250-beta +# 7.5.0 -#### Plugin: +* Changes in `RecognizeConfig` class, see [migration guide](https://docs.regulaforensics.com/develop/doc-reader-sdk/migration/7-4-to-7-5/#mobile) +* [Document Reader SDK 7.5 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/7-5/) + +# 7.4.0 + +* [Document Reader SDK 7.4 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/7-4/) + +# 7.3.0 + +* [Document Reader SDK 7.3 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/7-3/) + +# 7.2.0 + +* Fixed the issue with incorrect selection of orientation in the `setOrientation` method. +* [Document Reader SDK 7.2 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/7-2/) + +# 7.1.0 * BREAKING CHANGE: whole DocumentReader plugin rewritten from scratch with focus on user experience and convenience. Migration instructions can be found [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/migration/v6-to-v7/flutter/). +* [Document Reader SDK 7.1 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/7-1/) + +# 6.9.0 + +* [Document Reader SDK 6.9 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-9/) + +# 6.8.0 + +* [Document Reader SDK 6.8 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-8/) + +# 6.7.0 + +* [Document Reader SDK 6.7 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-7/) + +# 6.6.0 + +* [Document Reader SDK 6.6 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-6/) + +# 6.5.0 + +* [Document Reader SDK 6.5 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-5/) + +# 6.4.0 + +* [Document Reader SDK 6.4 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-4/) + +# 6.3.0 + +* [Document Reader SDK 6.3 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-3/) + +# 6.2.0 + +* [Document Reader SDK 6.2 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-2/) + +# 6.1.0 + +* [Document Reader SDK 6.1 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-6-1/) + # 5.8.0 -#### API: - -* Added capability to load and process a PDF file or an image in the form of binary data -* Added the ability to change many new properties through processParams, and not through customParams only, as it was before -* Added the ability to disable automatic license renewal -* Added the ability to disable barcode parsing -* Changed processParams, most values are now objects -* Fixed memory leak when using the readRFID function -* Fixed the display of prompts while reading several pages of a document -* Fixed a problem with the display of the flashlight button -* Added new values to the `eVisualFieldType` parameter - * `FT_DLCLASSCODE_CD_FROM` - * `FT_DLCLASSCODE_CD_TO` - * `FT_DLCLASSCODE_CD_NOTES` - -#### Core: - -* Document detection and crop - * Multiple optimizations and improvements that reduce processing time and allow more precise cropping of the documents from an input image and better recognition - * Improvements of processing two sides of an ID card in one image - * Added support for Brazilian Driving Licenses format (unfolded) -* OCR - * Significantly improved recognition quality for Arabic, Chinese and Japanese - * Added correct support for perforation fonts used in the Philippines, Equatorial Guinea, Ireland, Poland - * Fixed issue with reading perforated numbers in Finland, Sweden -* MRZ - * Updated parsers: - * Albania ID card - * Cote d'Ivoire ID card - * Kenya Foreigner Certificate - * Korea passport - * Morocco ID card - * Netherlands’s passport - * Norway ID card - * Improved MRZ detection on complex backgrounds - * Fixed issue with ID1 2x30 format detection / parameters output -* Barcode - * Added new parsers: - * Argentina DL - * Bangladesh ID card - * Colombia ID card - * Honduras ID card - * Mexico DL - * Moldova Residence Permit - * Myanmar DL - * Nicaragua ID card - * Panama ID card - * Philippines DL - * Russian Federation housing and utilities bills - * Santa Lucia ID card - * Updated parsers: - * AAMWA (Issuer Identification Number added) - * Belarus ID card / Residence permit - * Jamaica Firearm License - * Rwanda ID card - * Togo ID card, Residence permit - * Minor fixes for 1D, 2D codes reading -* Text data parsing and validation - * Added parsing and conversion of the Taiwan calendar dates into Gregorian and creation of additional fields of the same type as original with LCID equal to 0 - * Added “customParams.convertCase” parameter, that may specify the desired conversion of text case in output results based on the dedicated enumeration. By default, text fields are returned in the original case as they are in the document - * Added “processParam.minimalHolderAge” parameter, that may specify minimum age threshold of document holder. If the calculated age is below this threshold, then age field validity and document validity will fail. By default, not set and restrictions are not applied - * Added possibility to specify the need of transliteration from Cyrillic to Latin for specific fields in the document template - * Added conversion from issuing authority code to its name for Belarus - * Fixed issue with field value mask used for OCR and parsing. Now they can be separated - * Fixed issue with “processParam.dateFormat” applied from the previous request if not set in consequent requests - * Fixed issue with transliteration of “ñ” in Peru documents - * Fixed issue with comparison of values from transliterated text fields from Arabic to Latin with original Latin fields. Now such transliterated fields are excluded from the comparison - * Fixed issue with Hijri dates conversion to the Gregorian calendar - * Fixed issue with Japanese dates conversion – original value was missing from results - * Fixed issue with partial comparison of the document numbers - * Fixed issue with names comparison when the visual field value is shorter than in MRZ (truncated/abbreviated) - * Updated stop words list for names -* Image QA - * Updated NN for focus detection (accuracy, size, and inference time improved) - * Updated NN for moiré detection (accuracy, size, and inference time improved) -* Authenticity - * Fixed issue with false luminescence check which led to false rejections - * Fixed issue with hologram detection in some documents -* Added new NN for face detection with improved detection accuracy and speed -* Fixed issue with not reading CAN from ID cards on normal scans when only MRZ is enabled (without Visual OCR) -* Fixed issue with requesting more than one additional page for ID cards in some cases (ID1, ID2) -* Fixed issue with the processing of some PDF files that led to incorrect results or crashes -* Fixed performance issue with performing face detection and MRZ reading twice in case the original image is already cropped, but the processParam.alreadyCropped option is not set -* Fixed performance issue with processing multiple pages in one request that led to increased processing time depending on the order of the submitted pages -* Fixed issue with no returning RFID reading results in case session saving was enabled -* Fixed issue with reducing cropped image resolution when capturing UV and IR on 7310 devices -* Fixed issue with incorrect behavior if input images in base64 in /process request contain headers with description of contents like "data:image/jpeg;base64", etc -* Fixed issue with not clearing results of the previous scan when it was submitted in encrypted format (mobile capture session for reprocessing on the server) -* Fixed issue when processing multiple pages of unknown documents and not all of them were in output results -* Fixed issue with incorrect elapsedTime value in output results -* Fixed significant performance issue with loading input data from JSON -* Fixed significant performance issue with output results into JSON -* Fixed performance and high memory usage issue with cropping of graphical fields -* Fixed performance issue when processing some cases of PDF files -* Fixed issue with losing connection to 3rd party devices when portrait comparison is called -* Fixed issue with log output format and depth setting -* Code quality improved with lots of small issues fixed - -#### Core RFID SDK: - -* Implemented capability to perform BAC after PACE was performed unsuccessfully -* Fixed issue with using extended length commands when performing AA when using key/signature length of 229 bytes - -#### Licensing: - -* Implemented capability to hide Regula logo with online transaction based mobile SDK license -* Implemented capability to automatically update an expired license on mobile via a request to our licensing service when using an offline static license in the mobile app. This is very useful, as the application does not have to be recompiled for updating the license only on its expiration. In case renewed offline license was issued for this specific application ID / bundleID, this new license will be automatically downloaded and used on SDK initialization. This can be disabled by setting a specific property in mobile SDK before initialization - -#### Database: - -* Fixed issues in multiple (over 100) document templates for better quality results -* Changed dType to diPassportPage value in passport other page templates, except for main biographical data page -* 248 countries and territories / 9813 documents included -* 166 new documents added -* For details see Supported documents list +* [Document Reader SDK 5.8 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-8/) # 5.7.0 -#### API: - -* Added restart of the process on the camera switch during the scanning process -* Added restart of the process on the camera orientation change during the scanning process. The orientation cannot be changed after the processing of at least one page is completed. -* Added the ability to receive events about the connection to the RFID chip and errors in the process of reading the chip -* Android: - * Added the ability to provide the database as a binary file during SDK initialization - * Fixed a crash on devices that do not have Google Play Services - * Removed `android.permission.INTERNET` from framework manifest. Now, if necessary, this permission should be set at the application level -* iOS: - * Implemented delivery of SDK in “.xcframework” format - * Added the `RGLCameraViewControllerActionProcessWhiteFlashLight` event notifying that the flash was turned on forcibly - * All `@import` native libraries have been replaced with `#import` -* Added new values to the [`eVisualFieldType`](https://docs.regulaforensics.com/flutter/enumerations/evisualfieldtype) parameter - -#### Core: - -* OCR - * Significantly improved recognition quality for Arabic, Western European, Chinese and Japanese - * Implemented correct reading for Arabic and Persian numbers \(correct Unicode symbols in output values\) - * Improved reading of perforated document numbers in different countries \(new fonts supported\) - * Fixed issue with not returning required fields on timeout. Now they are returned anyway, with empty values if the fields were not read -* MRZ - * Updated parsers: - * Belarus passport - * Comoros ID card - * Dominican Republic ID card - * Jordan ID card - * Russian visa - * Serbian ID card - * Switzerland DL - * Thailand passport -* Barcode - * Added new parsers: - * Belgium ID card - * Costa Rica Child ID card - * ECOWAS Id card - * India AADHAAR ID card - * Viet Nam ID card - * Improved processing time for 1D, 2D codes - * Fixed issue with CODE128 wrong treated checksums in rare cases -* Text data parsing and validation - * Added parsing and conversion of the Japanese calendar dates into Gregorian and creation of additional fields of the same type as original with LCID equal to 0 - * Added parsing and conversion of the Islamic calendar dates into Gregorian and creation of additional fields of the same type as original with LCID equal to 0 - * Added capability to shift the expiry date when calculating the document expiration status. Set the [`customParams "shiftExpiryDate"`](https://docs.regulaforensics.com/flutter/custom-settings#custom-params) parameter for shifting the date of expiry into the future or past for the number of months specified. This is useful, for example, in some cases when the document might be still valid for some period after the original expiration date to prevent negative validity status for such documents. Shifting the date to the past will set negative validity for the documents that is about to expire in the specified number of months - * Added transliteration from Arabic letters to Latin according to ICAO and creation of additional fields of the same type as original with LCID equal to 0 - * Added transliteration from Arabic and Persian numbers to ASCII numbers and creation of additional fields of the same type as original with LCID equal to 0 - * Added parsing of data from DG11 in eDL of Netherlands and extraction of the BSN number as a separate field - * Fixed issue with Vietnamese character uppercase conversion and further validation -* Image QA - * Fixed issue with glare detection on the whole portrait area instead of the face area -* Authenticity - * Fixed issue with element coordinates in output for image patterns check - * Fixed issue with UV dull paper check parameters for different documents in one series - * Fixed issue with hologram detection in some documents -* Added capability to guarantee that output image will contain correct MRZ on it in series process mode \(on mobile, for example\). Set the [`customParams "forceReadMrzBeforeLocate"`](https://docs.regulaforensics.com/flutter/custom-settings#custom-params)Boolean flag to True to enable this logic. False by default -* Added capability to provide in [`customParams`](https://docs.regulaforensics.com/flutter/custom-settings#custom-params) JSON parameters “config” object, that may contain specific settings on a per-document basis. Currently, it is possible to disable some of the authenticity checks for the listed document IDs -* Fixed issue with incorrect DPI detection in some rare cases -* Fixed issue with the expectance of additional pages for two-sided documents when both sides are already scanned -* Fixed issue with non-zero page index for one-page document results -* Fixed issue with random page indexes on multiple pages processing -* Fixed issue with rare crashes when processing specific images \(very small images\) -* Code quality improved with lots of small issues fixed -* RFID - * Implemented sending of IS certificate as part of the TA\_Signature request - * Improved the algorithm of building certificate chains for the TA process where multiple certificates from different chains are stored in one folder - * Fixed issue with TCC communication that led to exception on connection - -**Licensing:** - -* Fixed issue with the license for bank card reading functionality only - -#### Database: - -* Fixed issues in multiple document templates for better quality results -* 248 countries and territories / 9647 documents included -* 215 new documents added -* For details see [Supported documents list](https://downloads.regulaforensics.com/work/SDK/SDK%20Release%20Notes%20%28en%29.pdf) +* [Document Reader SDK 5.7 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-7/) # 5.6.0 -**API**: -* Implemented ability to read multiple pages of a document in manual mode \([`manualMultipageMode`](https://docs.regulaforensics.com/flutter/custom-settings#scanning-modes)\) -* Implemented ability to change the background for the [status message](https://docs.regulaforensics.com/flutter/custom-settings#status-message) on the scanning screen -* Fixed stopRFIDReader function -* Fixed an issue with saving video of the scanning process. Now the video is automatically saved to a separate subfolder -* Added new values to the [`eVisualFieldType`](https://docs.regulaforensics.com/flutter/enumerations/evisualfieldtype) parameter - * `FT_DLCLASSCODE_NT_FROM` - * `FT_DLCLASSCODE_NT_TO` - * `FT_DLCLASSCODE_NT_NOTES` - * `FT_DLCLASSCODE_TN_FROM` - * `FT_DLCLASSCODE_TN_TO` - * `FT_DLCLASSCODE_TN_NOTES` - * `FT_DLCLASSCODE_D3_FROM` - * `FT_DLCLASSCODE_D3_TO` - * `FT_DLCLASSCODE_D3_NOTES` - -**Core**: -* Document detection and crop - * Multiple improvements that allow more precise cropping of the documents from input image and better recognition - * Added "processParam.documentAreaMin" parameter to set area percent that document should fill on the image to be considered as document. Allowed values from 0 to 1. Default value 0.3 - * Added “processParam.forceDocFormat” parameter to force use of specified document format when locating and recognizing document to reduce the number of candidates - * Fixed issue with detection of ID card on A4 flatbed scanner produced image with incorrect resolution set -* OCR - * Significantly improved recognition quality for Korean, Hebrew, and Cyrillic alphabets. -* MRZ - * Added new parsers: - * Switzerland DL. - * Updated parsers: - * Bulgaria ID card - * Croatia ID card - * Ecuador ID card - * Netherlands passport - * Implemented 2x30 MRZ detection and reading for Switzerland DL - * Fixed issue with coordinates for rotated MRZ -* Barcode - * Added new parsers: - * France ID card - * Updated parsers: - * Guatemala passport - * Implemented mask check for data from 1D barcodes - * Fixed issue with base64 decoding from barcodes data - * Fixed issue with absence of data parsing results from images with low resolution - * Fixed issue with parsing data from multiple barcodes in one document -* Text data parsing and validation - * Fixed issue with document number validation for Ireland DL - * Fixed issue with generating full name when same parts of the name are present on different sides of the ID card -* Image QA - * Added screen captured images detection as a separate check - * Added portrait occlusion detection as a separate check - * Improved algorithm for detection of colorless images -* Authenticity - * Added new check of the halo around the portrait in UV that can be result of photo substitution. - * Improved fibers detection and validation algorithms - * Fixed issue with luminescence mask validation for some cases - * Implemented rotation of output results so the document image is correctly oriented - * Fixed issue with some PDF files processing led to crash in some rare cases - * Fixed issue with processing of multiple pages led to different results based on page order - * Fixed issue with symbols visibility on mobile platforms, that lead to incompatibility with other frameworks that use same dependencies as OpenSSL - * Code quality improved with lots of small issues fixed -* RFID - * Implemented re-processing of the previously obtained session from mobile or desktop station for validating PA and further processing data on the server side - * Fixed issue with TA status calculation based on EF.CVCA ReadingStatus for both ePassport and eDL - * Fixed issue with duplicated nodes instead of the array in JSON results generation for eRFID\_ResultType.RFID\_ResultType\_RFID\_BinaryData - -**Licensing:** -* Online transaction-based license usage implemented on mobile. Now it is possible to use same online license on mobile and on the server -* Application ID/platform/OS agnostic license implemented on mobile. This special kind of license allows running SDK on mobile for capturing data as usual but delivers encrypted results package including document images and chip reading data for further processing on the server side with separate online transaction-based license. This allows easy redistribution of the SDK inside custom mobile SDKs without licensing management efforts and issues -* Regula Reader device-based application ID agnostic offline license for Android use implemented. In this case device is storing the license, and license is checked by SDK querying device presence and reading the license from it on initialization - -**Database**: -* Templates updated in whole database where applicable: - * Rotation angle to get correct document display position - * Fibers description with regards to updated algorithms - * Nationality field output enabled for ID cards - * Supported documents list now contains details on image patterns in which lights are checked for each document template - * 248 countries and territories / 9432 documents included - * 101 new documents added - * For details see Supported documents + +* [Document Reader SDK 5.6 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-6/) # 5.5.0 -**API**: -* Added the ability to [save a video](https://docs.regulaforensics.com/flutter/custom-settings#video-settings) of the document recognition process. -* Added the ability to use the [`FullAuth`](https://docs.regulaforensics.com/flutter/scenarios) scenario in multipage mode. -* Added the ability to set the mode via [`checkRequiredTextFields`](https://docs.regulaforensics.com/flutter/custom-settings#filters) parameter where field validity would be set to failed if the required field value is missing in Visual OCR. -* Completely redesigned camera focus control implementation -* Added new values to the [`eVisualFieldType`](https://docs.regulaforensics.com/flutter/enumerations/evisualfieldtype)parameter - * `FT_DLCLASSCODE_CA_NOTES` - * `FT_CITIZENSHIP_STATUS` - * `FT_MILITARY_SERVICE_FROM` - * `FT_MILITARY_SERVICE_TO` -* `DocumentReaderResults` now contains an array of `DocumentPosition`, `BarcodePosition`, `MRZPosition`, and `ImageQualityGroup` items with information for each document page that was read, where available -* Added interactive documentation inside the SDK \(Option + tap in XCode\) -* `getTextFieldValueByType` function call with LCID parameter returns nil if the value with such LCID is not presented in the results -* RFID chip reading works correctly without first scanning the document, if the MRZ or CAN key is pre-set -* Fixed the operation of the completion block in the `stopRFIDReader` function -* Fixed the rendering position of the [help animation](https://docs.regulaforensics.com/flutter/custom-settings#animation) and the [multipage mode animations](https://docs.regulaforensics.com/flutter/custom-settings#animation) -* Fixed the position of custom statuses \([`status`](https://docs.regulaforensics.com/flutter/custom-settings#status-message) and [`resultStatus`](https://docs.regulaforensics.com/flutter/custom-settings#result-status-message)\), now they are displayed in the center -* Fixed issue with [`Capture`](https://docs.regulaforensics.com/flutter/scenarios) scenario when using the 1120 device - -**Core**: -* Document detection and crop - * Fixed issue with locating already cropped documents in [`FullAuth`](https://docs.regulaforensics.com/flutter/scenarios) scenario - * Fixed issue with locating documents on backgrounds with multiple lines aligned with the document edges - * Fixed issue with locating two sides of ID card on one image - * Fixed issue with locating documents on non-contrast backgrounds -* OCR - * Greatly improved bank cards OCR - * Improved OCR of perforated fields -* MRZ - * Added new parsers: - * Pakistan ID card - * Updated parsers: - * Austrian residence permit - * EU residence permit - * France ID card - * Kazakhstan Residence permit - * Malta ID card - * Norway ID card - * Poland ID card - * Fixed issue with incorrect MRZ detection on some images - * Fixed issue with incorrect symbol probabilities in some cases - * Fixed issue with 1-line MRZ in DL parsing -* Barcode - * Added new parsers: - * Belarus ID card - * Colombia DL - * France ID card - * Ghana Voter card - * Nigeria Voter card - * Pakistan ID card - * Updated parsers: - * Korea Alien registration card - * Moldova ID card - * Fixed issue with code types for recognition filter -* Text data parsing and validation - * Added capability to verify date of issue validity based on document template activity term - * Added capability for Italy tax code validation - * Added capability for comparison of the field value from one source with abbreviature of this value from another source - * Added XXK nationality code for Kosovo - * Fixed issue with comparison between MRZ and Visual for document without expiration date - * Fixed issue with probabilities for transliterated fields: they will have probability of original field - * Fixed issue with German Ü letter transliteration - * Fixed issue with composite surnames comparison where last part is missing in MRZ - * Fixed issue with measure units on locale change - * Fixed issue with `FT_DATE_FIRST_RENEWAL` and `FT_DATE_SECOND_RENEWAL`fields validity -* Image QA - * Improved focus detection NN - * Improved algorithm for detection of colorless images -* Authenticity - * Added new algorithm for obtaining correct IR image on 7310 devices - * Implemented correct processing of all authenticity checks in FullAuth scenario - * Improved IR visibility check for photo area, where grayscale photo should look the same in visible and IR - * Improved variable patterns check for documents with a lot of UV luminescence - * Fixed issue with hologram checks on series of frames -* Added support of reading data from both sides of bank cards -* Added support of single page \(back page\) data bank cards -* Improved processing of bank cards: now it is payment system agnostic -* Fixed issue with input images page indexes. Now they will be set automatically and correctly if missing -* Code quality improved with lots of small issues fixed -* RFID - * Fixed issue with different `.ldif` format support - * Fixed issue with parsing certificates on different platforms - -**Database**: -* Added to templates in whole database where applicable: - * Perforated text fields - * Hologram areas and checks - * Activity term for template - * Extended description for visible patterns - * Barcode format check parameters - * IR visibility for portraits, where they are the same in visible and IR -* 248 countries and territories / 9331 documents included -* 179 new documents added + +* [Document Reader SDK 5.5 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-5/) # 5.4.0 -**API**: -- Added document authentication based on the detection of the presence of a hologram -- Updated document image for NFC chip reading activity animation for USA passport which can be read only when passport book is open -- Added the ability to disable checking for the presence of a flashlight on the device -- Added new values to the `eCheckDiagnose` parameter: - - `PHOTO_WHITE_IR_DONT_MATCH` - - `FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA` - - `HOLOGRAM_FRAMES_IS_ABSENT` - - `HOLOGRAM_HOLO_FIELD_IS_ABSENT` - - `FINGERPRINTS_COMPARISON_MISMATCH` - - `HOLO_PHOTO_FACE_NOT_DETECTED` - - `HOLO_PHOTO_FACE_COMPARISON_FAILED` - - `HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT` - - `HOLO_ELEMENT_SHAPE_ERROR` - - `ALGORITHM_STEPS_ERROR` - - `HOLO_AREAS_NOT_LOADED` - - `FINISHED_BY_TIMEOUT` - -- Updated enumeration values of `eImageQualityCheckType` -- Updated `DocumentReaderException` enumeration values related to licensing errors that may occur during initialization -- Fixed an issue with incorrect camera focus in camera activity -- Fixed an issue in the `zoomFactor` property. Now when setting a value above the maximum allowed value, the camera will be zoomed to the maximum available value for this camera - -**Core**: - -- Document detection and crop - - Added Boolean flag `processParam.fastDocDetect` to shorten the list of candidates to process during document detection in a single image process mode. Enabled by default. This solves the issue introduced in 5.2, that lead to significantly longer processing times on the images with specific backgrounds - - Improved ID2 MRZ documents cropping in some cases -- OCR - - Added support for Amharic (fidäl / Ephiopian) - - Added support for perforated numbers OCR (different fonts, straight and mirror) - - Added Boolean flag `processParam.checkRequiredTextFields`. When enabled, each field in template will be checked for value presence and if the field is marked as required, but has no value, it will have "error" in validity status. Disabled by default - - Added Boolean flag `processParam.updateOCRValidityByGlare`. When enabled, OCR field validity will be updated with | tr_GlaresOnField value, if there is a glare over the text field on the image. Disabled by default - - Improved Latin NN - - Improved Hebrew NN -- Barcode - - Updated Peru ID Card parser - - Fixed issue with multiple pages processing -- Text data parsing and validation - - Implemented conversion from ROC dates (Minguo) into Gregorian - - Fixed issue with DL class field comparison between barcode and visual - - Fixed issue with incorrect validity for dates in Hijri -- Image QA - - Added new Resolution assessment check. Should be above threshold (150 ppi), otherwise the check will fail. Can be set via `processParam.imageQA.dpiThreshold` - - Added new Perspective angle assessment check. Should be below threshold (5 degrees), otherwise the check will fail. Can be set via `processParam.imageQA.angleThreshold` - - Added new Documents bounds inside the image check. All document corners should be inside the image, otherwise the check will fail -- Authenticity - - Added support for hologram presence detection by analysis of multiple frames - - Improved patterns check for visible and IR light images - - Improved patterns check for Russian Federation domestic passport - - Fixed issue with AV on specific images in IR visibility check -- Fixed issue with 1- and 8-bit images processing -- Code quality improved with lots of small issues fixed - -**Database**: -- 246 countries and territories / 9152 documents included -- 193 new documents added -- For details see [Supported documents list](https://downloads.regulaforensics.com/work/SDK/doc/AllDocs/Documents%20List.xls) + +* [Document Reader SDK 5.4 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-4/) # 5.3.0 -Flutter plugin for reading and validation of identification documents based on the Regula Document Reader SDK. + +* [Document Reader SDK 5.3 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-3/) + +# 5.2.0 + +* [Document Reader SDK 5.2 Release Notes](https://docs.regulaforensics.com/develop/doc-reader-sdk/release-notes/doc-reader-release-notes-5-2/) + +# 0.0.1 + +* Initial Release diff --git a/README.md b/README.md index 3effb58571..4dcb4460c9 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,11 @@ [![pub package](https://img.shields.io/pub/v/flutter_document_reader_api.svg)](https://pub.dev/packages/flutter_document_reader_api) -Regula Document Reader SDK allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely _**offline**_ on your device. No any data leaving your device. - -You can use native camera to scan the documents or image from gallery for extract all data from it. - -This repository contains the source code of the Document Reader API, and the sample application that demonstrates the _**API**_ calls you can use to interact with the Document Reader library. +Document Reader allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely offline on your device. This plugin makes possible to use it with flutter. ## Documentation - -You can find documentation [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile/flutter). - -## License - -To obtaining the production license or other purchasing information, please [submit an inquiry](https://regulaforensics.com/talk-to-an-expert) and our sales team will contact you shortly. +* [Documentation](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile) +* [API Reference](https://pub.dev/documentation/flutter_document_reader_api) ## Support - -Please do not hesitate to [contact us](https://support.regulaforensics.com/hc/requests/new), if you need any assistance or want to report a bug / suggest an improvement. +If you have any technical questions, feel free to [contact](mailto:support@regulaforensics.com) us or create issues [here](https://github.com/regulaforensics/DocumentReader-Flutter/issues). diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000000..cf16386eb6 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:lints/core.yaml +analyzer: + errors: + deprecated_member_use_from_same_package: ignore diff --git a/android/build.gradle b/android/build.gradle index 499a3fd963..6525512d2e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,25 +1,34 @@ +rootProject.allprojects { + repositories { + google() + mavenCentral() + maven { + url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage" + } + } +} + apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - // Conditional for compatibility with AGP <4.2. - if (project.android.hasProperty("namespace")) { - namespace 'io.flutter.plugins.regula.documentreader.flutter_document_reader_api' + namespace 'com.regula.plugin.documentreader' + compileSdk 36 + + defaultConfig { + minSdk 24 } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - - compileSdk 34 - - defaultConfig { - minSdk 21 + kotlinOptions { + jvmTarget = '11' } dependencies { - implementation('com.regula.documentreader:api:7.2.9835') { + implementation('com.regula.documentreader:api:9.5.12944') { transitive = true } @@ -43,13 +52,3 @@ android { } } } - -rootProject.allprojects { - repositories { - google() - mavenCentral() - maven { - url "https://maven.regulaforensics.com/RegulaDocumentReader" - } - } -} diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 3c85cfe057..0000000000 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index b7f095be89..227314eeb7 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,7 +1 @@ - - - - - - - + \ No newline at end of file diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/BluetoothUtil.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/BluetoothUtil.kt new file mode 100644 index 0000000000..b47543c6b0 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/BluetoothUtil.kt @@ -0,0 +1,164 @@ +package com.regula.plugin.documentreader + +import android.Manifest.permission.ACCESS_FINE_LOCATION +import android.Manifest.permission.BLUETOOTH_CONNECT +import android.Manifest.permission.BLUETOOTH_SCAN +import android.annotation.SuppressLint +import android.app.Activity +import android.bluetooth.BluetoothAdapter +import android.content.ComponentName +import android.content.Context.BIND_AUTO_CREATE +import android.content.Intent +import android.content.ServiceConnection +import android.content.pm.PackageManager.PERMISSION_GRANTED +import android.os.Build +import android.os.IBinder +import android.provider.Settings +import android.util.Log +import androidx.core.content.ContextCompat.checkSelfPermission +import com.regula.common.ble.BLEWrapper +import com.regula.common.ble.BleWrapperCallback +import com.regula.common.ble.RegulaBleService +import com.regula.documentreader.api.internal.permission.BluetoothPermissionHelper.BLE_ACCESS_PERMISSION +import com.regula.documentreader.api.internal.permission.BluetoothSettingsHelper.isBluetoothEnabled +import com.regula.documentreader.api.internal.permission.BluetoothSettingsHelper.isLocationServiceEnabled +import java.util.Timer +import java.util.TimerTask + +const val SEARCHING_TIMEOUT: Long = 7000 + +const val INTENT_REQUEST_ENABLE_LOCATION = 196 +const val INTENT_REQUEST_ENABLE_BLUETOOTH = 197 + +@SuppressLint("StaticFieldLeak") +var bluetooth: BLEWrapper? = null +lateinit var savedDeviceNameForPermissionResult: String +lateinit var savedCallbackForPermissionResult: Callback + +fun connectBluetoothDevice(deviceName: String, callback: Callback) { + if (bluetooth?.isConnected == true) { + Log.e("REGULA", "Bluetooth device already connected, returning false") + callback(false) + return + } + + if (!isBluetoothSettingsReady(activity)) { + savedDeviceNameForPermissionResult = deviceName + savedCallbackForPermissionResult = callback + return + } + + val timeout = object : TimerTask() { + override fun run() { + callback(false) + bluetooth?.stopDeviceScan() + bluetooth?.disconnect() + } + } + Timer().schedule(timeout, SEARCHING_TIMEOUT) + + val bleIntent = Intent(context, RegulaBleService::class.java) + bleIntent.putExtra(RegulaBleService.DEVICE_NAME, deviceName) + context.startService(bleIntent) + context.bindService(bleIntent, object : ServiceConnection { + override fun onServiceConnected(name: ComponentName, service: IBinder) { + bluetooth = (service as RegulaBleService.LocalBinder).service.bleManager + if (bluetooth!!.isConnected) callback(true) + else bluetooth!!.addCallback(object : BleWrapperCallback() { + override fun onDeviceReady() { + timeout.cancel() + bluetooth!!.removeCallback(this) + callback(true) + } + }) + } + + override fun onServiceDisconnected(name: ComponentName) {} + }, BIND_AUTO_CREATE) +} + +fun onRequestPermissionsResult( + requestCode: Int, + permissions: Array, + grantResults: IntArray +): Boolean { + if (requestCode != BLE_ACCESS_PERMISSION || permissions.isEmpty()) return false + if (grantResults.isEmpty() || grantResults[0] != PERMISSION_GRANTED) { + savedCallbackForPermissionResult(false) + return true + } + connectBluetoothDevice(savedDeviceNameForPermissionResult, savedCallbackForPermissionResult) + return true +} + +fun onActivityResult(requestCode: Int, rc: Int, @Suppress("UNUSED_PARAMETER") data: Intent?): Boolean { + var resultCode = rc + if (requestCode == INTENT_REQUEST_ENABLE_LOCATION) + resultCode = if (isLocationServiceEnabled(activity)) Activity.RESULT_OK + else requestCode + + if (requestCode == INTENT_REQUEST_ENABLE_BLUETOOTH || requestCode == INTENT_REQUEST_ENABLE_LOCATION) { + if (resultCode == Activity.RESULT_OK) + connectBluetoothDevice(savedDeviceNameForPermissionResult, savedCallbackForPermissionResult) + else + savedCallbackForPermissionResult(false) + return true + } + return false +} + +fun isBluetoothSettingsReady(activity: Activity): Boolean { + deniedBluetoothPermissions()?.let { + requestPermissions(activity, it, BLE_ACCESS_PERMISSION) + return false + } + if (!isBluetoothEnabled(activity)) { + requestEnableBluetooth(activity) + return false + } + if (!isLocationServiceEnabled(activity)) { + requestEnableLocationService(activity) + return false + } + return true +} + +fun deniedBluetoothPermissions(): Array? { + val result = mutableListOf() + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + result.addAll(deniedBluetoothPermission(BLUETOOTH_SCAN)) + result.addAll(deniedBluetoothPermission(BLUETOOTH_CONNECT)) + } else + result.addAll(deniedBluetoothPermission(ACCESS_FINE_LOCATION)) + return result.let { if (it.isNotEmpty()) it.toTypedArray() else null } +} + +fun deniedBluetoothPermission(permission: String): Array { + if (checkSelfPermission(context, permission) != PERMISSION_GRANTED) + return arrayOf(permission) + return arrayOf() +} + +fun requestEnableBluetooth(activity: Activity) { + val enableIntent = Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE) + startActivityForResult(activity, enableIntent, INTENT_REQUEST_ENABLE_BLUETOOTH) +} + +fun requestEnableLocationService(activity: Activity) { + val myIntent = Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS) + startActivityForResult(activity, myIntent, INTENT_REQUEST_ENABLE_LOCATION) +} + +// btDevice functionality(temporary, will be reworked) + +fun btDeviceRequestFlashing() { + bluetooth?.requestFlashing() +} + +fun btDeviceRequestFlashingFullIR() { + bluetooth?.requestFlashingFullIR() +} + +fun btDeviceRequestTurnOffAll() { + bluetooth?.requestTurnOffAll() +} diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/Config.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/Config.kt new file mode 100644 index 0000000000..23a649c0f6 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/Config.kt @@ -0,0 +1,993 @@ +@file:Suppress("EnumValuesSoftDeprecate", "DEPRECATION") + +package com.regula.plugin.documentreader + +import android.graphics.Matrix +import android.graphics.Paint +import android.graphics.Typeface +import android.graphics.drawable.Drawable +import android.text.SpannableString +import android.widget.ImageView +import com.regula.documentreader.api.enums.CustomizationColor +import com.regula.documentreader.api.enums.CustomizationFont +import com.regula.documentreader.api.enums.CustomizationImage +import com.regula.documentreader.api.enums.CustomizationMatrix +import com.regula.documentreader.api.enums.CustomizationScaleType +import com.regula.documentreader.api.enums.CustomizationTiming +import com.regula.documentreader.api.enums.LogLevel +import com.regula.documentreader.api.params.AuthenticityParams +import com.regula.documentreader.api.params.Functionality +import com.regula.documentreader.api.params.ImageQA +import com.regula.documentreader.api.params.LivenessParams +import com.regula.documentreader.api.params.ParamsCustomization +import com.regula.documentreader.api.params.ProcessParam +import com.regula.documentreader.api.params.RfidScenario +import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup +import com.regula.documentreader.api.params.rfid.dg.DataGroups +import com.regula.documentreader.api.params.rfid.dg.EIDDataGroups +import com.regula.documentreader.api.params.rfid.dg.EPassportDataGroups +import com.regula.plugin.documentreader.Convert.toBase64 +import com.regula.plugin.documentreader.Convert.toDrawable +import org.json.JSONArray +import org.json.JSONObject + +fun setFunctionality(config: Functionality, input: JSONObject) = input.forEach { k, v -> + val editor = config.edit() + when (k) { + "pictureOnBoundsReady" -> editor.setPictureOnBoundsReady(v as Boolean) + "showTorchButton" -> editor.setShowTorchButton(v as Boolean) + "showCloseButton" -> editor.setShowCloseButton(v as Boolean) + "videoCaptureMotionControl" -> editor.setVideoCaptureMotionControl(v as Boolean) + "showCaptureButton" -> editor.setShowCaptureButton(v as Boolean) + "showChangeFrameButton" -> editor.setShowChangeFrameButton(v as Boolean) + "showSkipNextPageButton" -> editor.setShowSkipNextPageButton(v as Boolean) + "useAuthenticator" -> editor.setUseAuthenticator(v as Boolean) + "skipFocusingFrames" -> editor.setSkipFocusingFrames(v as Boolean) + "showCameraSwitchButton" -> editor.setShowCameraSwitchButton(v as Boolean) + "displayMetadata" -> editor.setDisplayMetadata(v as Boolean) + "isZoomEnabled" -> editor.setZoomEnabled(v as Boolean) + "isCameraTorchCheckDisabled" -> editor.setIsCameraTorchCheckDisabled(v as Boolean) + "recordScanningProcess" -> editor.setDoRecordProcessingVideo(v as Boolean) + "manualMultipageMode" -> editor.setManualMultipageMode(v as Boolean) + "torchTurnedOn" -> editor.setTorchTurnedOn(v as Boolean) + "preventScreenRecording" -> editor.setPreventScreenRecording(v as Boolean) + "hideStatusBar" -> editor.setHideStatusBar(v as Boolean) + "showCaptureButtonDelayFromDetect" -> editor.setShowCaptureButtonDelayFromDetect(v.toLong()) + "showCaptureButtonDelayFromStart" -> editor.setShowCaptureButtonDelayFromStart(v.toLong()) + "orientation" -> editor.setOrientation(v.toInt()) + "captureMode" -> editor.setCaptureMode(v.toInt()) + "cameraMode" -> editor.setCameraMode(v.toInt()) + "rfidTimeout" -> editor.setRfidTimeout(v.toInt()) + "forcePagesCount" -> editor.setForcePagesCount(v.toInt()) + "cameraFrame" -> editor.setCameraFrame(v as String) + "btDeviceName" -> editor.setBtDeviceName(v as String) + "zoomFactor" -> editor.setZoomFactor(v.toFloat()) + "exposure" -> editor.setExposure(v.toFloat()) + "videoRecordingSizeDownscaleFactor" -> editor.setVideoRecordingSizeDownscaleFactor(v.toFloat()) + "mdlTimeout" -> editor.setMDLTimeout(v.toDouble()) + "excludedCamera2Models" -> editor.setExcludedCamera2Models((v as JSONArray).toList()) + "cameraSize" -> editor.setCameraSize(cameraSizeFromJSON(v as JSONObject).first, cameraSizeFromJSON(v).second) + } + editor.apply() +} + +fun getFunctionality(input: Functionality) = mapOf( + "pictureOnBoundsReady" to input.isPictureOnBoundsReady, + "showTorchButton" to input.isShowTorchButton, + "showCloseButton" to input.isShowCloseButton, + "videoCaptureMotionControl" to input.isVideoCaptureMotionControl, + "showCaptureButton" to input.isShowCaptureButton, + "showChangeFrameButton" to input.isShowChangeFrameButton, + "showSkipNextPageButton" to input.isShowSkipNextPageButton, + "useAuthenticator" to input.isUseAuthenticator, + "skipFocusingFrames" to input.isSkipFocusingFrames, + "showCameraSwitchButton" to input.isShowCameraSwitchButton, + "displayMetadata" to input.isDisplayMetaData, + "isZoomEnabled" to input.isZoomEnabled, + "isCameraTorchCheckDisabled" to input.isCameraTorchCheckDisabled, + "recordScanningProcess" to input.doRecordProcessingVideo(), + "manualMultipageMode" to input.isManualMultipageMode, + "torchTurnedOn" to input.isTorchTurnedOn, + "preventScreenRecording" to input.doPreventScreenRecording(), + "hideStatusBar" to input.doHideStatusBar(), + "showCaptureButtonDelayFromDetect" to input.showCaptureButtonDelayFromDetect, + "showCaptureButtonDelayFromStart" to input.showCaptureButtonDelayFromStart, + "orientation" to input.orientation, + "captureMode" to input.captureMode, + "cameraMode" to input.cameraMode, + "rfidTimeout" to input.rfidTimeout, + "forcePagesCount" to input.forcePagesCount, + "cameraFrame" to input.cameraFrame, + "btDeviceName" to input.btDeviceName, + "zoomFactor" to input.zoomFactor, + "exposure" to input.exposure, + "videoRecordingSizeDownscaleFactor" to input.videoRecordingSizeDownscaleFactor, + "mdlTimeout" to input.mdlTimeout, + "excludedCamera2Models" to input.excludedCamera2Models.toJson(), + "cameraSize" to generateCameraSize(input.cameraWidth, input.cameraHeight) +).toJson() + +@Suppress("DEPRECATION") +fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "multipageProcessing" -> processParams.multipageProcessing = v as Boolean + "logs" -> processParams.setLogs(v as Boolean) + "debugSaveImages" -> processParams.debugSaveImages = v as Boolean + "debugSaveLogs" -> processParams.debugSaveLogs = v as Boolean + "returnUncroppedImage" -> processParams.returnUncroppedImage = v as Boolean + "uvTorchEnabled" -> processParams.uvTorchEnabled = v as Boolean + "debugSaveCroppedImages" -> processParams.debugSaveCroppedImages = v as Boolean + "disableFocusingCheck" -> processParams.disableFocusingCheck = v as Boolean + "debugSaveRFIDSession" -> processParams.debugSaveRFIDSession = v as Boolean + "doublePageSpread" -> processParams.doublePageSpread = v as Boolean + "manualCrop" -> processParams.manualCrop = v as Boolean + "integralImage" -> processParams.integralImage = v as Boolean + "returnCroppedBarcode" -> processParams.returnCroppedBarcode = v as Boolean + "checkRequiredTextFields" -> processParams.checkRequiredTextFields = v as Boolean + "depersonalizeLog" -> processParams.depersonalizeLog = v as Boolean + "generateDoublePageSpreadImage" -> processParams.generateDoublePageSpreadImage = v as Boolean + "alreadyCropped" -> processParams.alreadyCropped = v as Boolean + "matchTextFieldMask" -> processParams.matchTextFieldMask = v as Boolean + "updateOCRValidityByGlare" -> processParams.updateOCRValidityByGlare = v as Boolean + "noGraphics" -> processParams.noGraphics = v as Boolean + "multiDocOnImage" -> processParams.multiDocOnImage = v as Boolean + "parseBarcodes" -> processParams.parseBarcodes = v as Boolean + "shouldReturnPackageForReprocess" -> processParams.shouldReturnPackageForReprocess = v as Boolean + "disablePerforationOCR" -> processParams.disablePerforationOCR = v as Boolean + "respectImageQuality" -> processParams.respectImageQuality = v as Boolean + "strictImageQuality" -> processParams.strictImageQuality = v as Boolean + "splitNames" -> processParams.splitNames = v as Boolean + "doDetectCan" -> processParams.doDetectCan = v as Boolean + "useFaceApi" -> processParams.useFaceApi = v as Boolean + "useAuthenticityCheck" -> processParams.useAuthenticityCheck = v as Boolean + "checkHologram" -> processParams.checkHologram = v as Boolean + "generateNumericCodes" -> processParams.generateNumericCodes = v as Boolean + "strictBarcodeDigitalSignatureCheck" -> processParams.strictBarcodeDigitalSignatureCheck = v as Boolean + "selectLongestNames" -> processParams.selectLongestNames = v as Boolean + "generateDTCVC" -> processParams.generateDTCVC = v as Boolean + "strictDLCategoryExpiry" -> processParams.strictDLCategoryExpiry = v as Boolean + "generateAlpha2Codes" -> processParams.generateAlpha2Codes = v as Boolean + "disableAuthResolutionFilter" -> processParams.disableAuthResolutionFilter = v as Boolean + "strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean + "returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean + "checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean + "strictExpiryDate" -> processParams.strictExpiryDate = v as Boolean + "debugSaveBinarySession" -> processParams.debugSaveBinarySession = v as Boolean + "checkVDS" -> processParams.checkVDS = v as Boolean + "strictAgeCheck" -> processParams.strictAgeCheck = v as Boolean + "measureSystem" -> processParams.measureSystem = v.toInt() + "barcodeParserType" -> processParams.barcodeParserType = v.toInt() + "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt() + "minDPI" -> processParams.minDPI = v.toInt() + "imageDpiOutMax" -> processParams.imageDpiOutMax = v.toInt() + "forceDocID" -> processParams.forceDocID = v.toInt() + "forceDocFormat" -> processParams.forceDocFormat = v.toInt() + "shiftExpiryDate" -> processParams.shiftExpiryDate = v.toInt() + "minimalHolderAge" -> processParams.minimalHolderAge = v.toInt() + "imageOutputMaxHeight" -> processParams.imageOutputMaxHeight = v.toInt() + "imageOutputMaxWidth" -> processParams.imageOutputMaxWidth = v.toInt() + "processAuth" -> processParams.processAuth = v.toInt() + "convertCase" -> processParams.convertCase = v.toInt() + "logLevel" -> processParams.logLevel = LogLevel.valueOf(v.toString()) + "mrzDetectMode" -> processParams.mrzDetectMode = v.toInt() + "pdfPagesLimit" -> processParams.pdfPagesLimit = v.toInt() + "dateFormat" -> processParams.dateFormat = v as String + "scenario" -> processParams.scenario = v as String + "captureButtonScenario" -> processParams.captureButtonScenario = v as String + "timeout" -> processParams.timeout = v.toDouble() + "timeoutFromFirstDetect" -> processParams.timeoutFromFirstDetect = v.toDouble() + "timeoutFromFirstDocType" -> processParams.timeoutFromFirstDocType = v.toDouble() + "documentAreaMin" -> processParams.documentAreaMin = v.toDouble() + "timeoutLiveness" -> processParams.timeoutLiveness = v.toDouble() + "documentIDList" -> processParams.documentIDList = v.toIntArray() + "fieldTypesFilter" -> processParams.fieldTypesFilter = v.toIntArray() + "resultTypeOutput" -> processParams.resultTypeOutput = v.toIntArray() + "documentGroupFilter" -> processParams.documentGroupFilter = v.toIntArray() + "lcidIgnoreFilter" -> processParams.lcidIgnoreFilter = v.toIntArray() + "lcidFilter" -> processParams.lcidFilter = v.toIntArray() + "fieldTypesIgnoreFilter" -> processParams.fieldTypesIgnoreFilter = v.toIntArray() + "barcodeTypes" -> processParams.doBarcodes = barcodeTypeArrayFromJson(v as JSONArray) + "mrzFormatsFilter" -> processParams.mrzFormatsFilter = (v as JSONArray).toArray() + "customParams" -> processParams.customParams = v as JSONObject + "imageQA" -> setImageQA(processParams.imageQA, v as JSONObject) + "rfidParams" -> processParams.rfidParams = rfidParamsFromJSON(v as JSONObject) + "faceApiParams" -> processParams.faceApiParams = faceApiParamsFromJSON(v as JSONObject) + "backendProcessingConfig" -> processParams.backendProcessingConfig = backendProcessingConfigFromJSON(v as JSONObject) + "bsiTr03135" -> processParams.bsiTr03135 = bsiFromJSON(v as JSONObject) + "authenticityParams" -> { + if (processParams.authenticityParams == null) processParams.authenticityParams = AuthenticityParams.defaultParams() + setAuthenticityParams(processParams.authenticityParams!!, v as JSONObject) + } + } +} + +@Suppress("DEPRECATION") +fun getProcessParams(processParams: ProcessParam) = mapOf( + "multipageProcessing" to processParams.multipageProcessing, + "logs" to processParams.isLogEnable, + "debugSaveImages" to processParams.debugSaveImages, + "debugSaveLogs" to processParams.debugSaveLogs, + "returnUncroppedImage" to processParams.returnUncroppedImage, + "uvTorchEnabled" to processParams.uvTorchEnabled, + "debugSaveCroppedImages" to processParams.debugSaveCroppedImages, + "disableFocusingCheck" to processParams.disableFocusingCheck, + "debugSaveRFIDSession" to processParams.debugSaveRFIDSession, + "doublePageSpread" to processParams.doublePageSpread, + "manualCrop" to processParams.manualCrop, + "integralImage" to processParams.integralImage, + "returnCroppedBarcode" to processParams.returnCroppedBarcode, + "checkRequiredTextFields" to processParams.checkRequiredTextFields, + "depersonalizeLog" to processParams.depersonalizeLog, + "generateDoublePageSpreadImage" to processParams.generateDoublePageSpreadImage, + "alreadyCropped" to processParams.alreadyCropped, + "matchTextFieldMask" to processParams.matchTextFieldMask, + "updateOCRValidityByGlare" to processParams.updateOCRValidityByGlare, + "noGraphics" to processParams.noGraphics, + "multiDocOnImage" to processParams.multiDocOnImage, + "parseBarcodes" to processParams.parseBarcodes, + "shouldReturnPackageForReprocess" to processParams.shouldReturnPackageForReprocess, + "disablePerforationOCR" to processParams.disablePerforationOCR, + "respectImageQuality" to processParams.respectImageQuality, + "strictImageQuality" to processParams.strictImageQuality, + "splitNames" to processParams.splitNames, + "doDetectCan" to processParams.doDetectCan, + "useFaceApi" to processParams.useFaceApi, + "useAuthenticityCheck" to processParams.useAuthenticityCheck, + "checkHologram" to processParams.checkHologram, + "generateNumericCodes" to processParams.generateNumericCodes, + "strictBarcodeDigitalSignatureCheck" to processParams.strictBarcodeDigitalSignatureCheck, + "selectLongestNames" to processParams.selectLongestNames, + "generateDTCVC" to processParams.generateDTCVC, + "strictDLCategoryExpiry" to processParams.strictDLCategoryExpiry, + "generateAlpha2Codes" to processParams.generateAlpha2Codes, + "disableAuthResolutionFilter" to processParams.disableAuthResolutionFilter, + "strictSecurityChecks" to processParams.strictSecurityChecks, + "returnTransliteratedFields" to processParams.returnTransliteratedFields, + "checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity, + "strictExpiryDate" to processParams.strictExpiryDate, + "debugSaveBinarySession" to processParams.debugSaveBinarySession, + "checkVDS" to processParams.checkVDS, + "strictAgeCheck" to processParams.strictAgeCheck, + "measureSystem" to processParams.measureSystem, + "barcodeParserType" to processParams.barcodeParserType, + "perspectiveAngle" to processParams.perspectiveAngle, + "minDPI" to processParams.minDPI, + "imageDpiOutMax" to processParams.imageDpiOutMax, + "forceDocID" to processParams.forceDocID, + "forceDocFormat" to processParams.forceDocFormat, + "shiftExpiryDate" to processParams.shiftExpiryDate, + "minimalHolderAge" to processParams.minimalHolderAge, + "imageOutputMaxHeight" to processParams.imageOutputMaxHeight, + "imageOutputMaxWidth" to processParams.imageOutputMaxWidth, + "processAuth" to processParams.processAuth, + "convertCase" to processParams.convertCase, + "logLevel" to processParams.logLevel?.toString(), + "mrzDetectMode" to processParams.mrzDetectMode, + "pdfPagesLimit" to processParams.pdfPagesLimit, + "dateFormat" to processParams.dateFormat, + "scenario" to processParams.scenario, + "captureButtonScenario" to processParams.captureButtonScenario, + "timeout" to processParams.timeout, + "timeoutFromFirstDetect" to processParams.timeoutFromFirstDetect, + "timeoutFromFirstDocType" to processParams.timeoutFromFirstDocType, + "documentAreaMin" to processParams.documentAreaMin, + "timeoutLiveness" to processParams.timeoutLiveness, + "documentIDList" to processParams.documentIDList.toJson(), + "fieldTypesFilter" to processParams.fieldTypesFilter.toJson(), + "documentGroupFilter" to processParams.documentGroupFilter.toJson(), + "lcidIgnoreFilter" to processParams.lcidIgnoreFilter.toJson(), + "lcidFilter" to processParams.lcidFilter.toJson(), + "fieldTypesIgnoreFilter" to processParams.fieldTypesIgnoreFilter.toJson(), + "resultTypeOutput" to processParams.resultTypeOutput.toJson(), + "mrzFormatsFilter" to processParams.mrzFormatsFilter.toJson(), + "barcodeTypes" to generateBarcodeTypeArray(processParams.doBarcodes), + "imageQA" to getImageQA(processParams.imageQA), + "rfidParams" to generateRFIDParams(processParams.rfidParams), + "faceApiParams" to generateFaceApiParams(processParams.faceApiParams), + "backendProcessingConfig" to generateBackendProcessingConfig(processParams.backendProcessingConfig), + "bsiTr03135" to generateBsi(processParams.bsiTr03135), + "authenticityParams" to getAuthenticityParams(processParams.authenticityParams), + "customParams" to processParams.customParams, +).toJson() + +fun setCustomization(customization: ParamsCustomization, opts: JSONObject) = opts.forEach { k, v -> + val editor = customization.edit() + when (k) { + "showStatusMessages" -> editor.setShowStatusMessages(v as Boolean) + "showResultStatusMessages" -> editor.setShowResultStatusMessages(v as Boolean) + "showHelpAnimation" -> editor.setShowHelpAnimation(v as Boolean) + "showNextPageAnimation" -> editor.setShowNextPageAnimation(v as Boolean) + "showBackgroundMask" -> editor.setShowBackgroundMask(v as Boolean) + "cameraFrameBorderWidth" -> editor.setCameraFrameBorderWidth(v.toInt()) + "cameraFrameLineLength" -> editor.setCameraFrameLineLength(v.toInt()) + "cameraFrameShapeType" -> editor.setCameraFrameShapeType(v.toInt()) + "cameraFrameOffsetWidth" -> editor.setCameraFrameOffsetWidth(v.toInt()) + "activityIndicatorSize" -> editor.setActivityIndicatorSize(v.toInt()) + "status" -> editor.setStatus(v as String) + "resultStatus" -> editor.setResultStatus(v as String) + "multipageButtonText" -> editor.setMultipageButtonText(v as String) + "cameraFrameDefaultColor" -> editor.setCameraFrameDefaultColor(v.toColor()) + "cameraFrameActiveColor" -> editor.setCameraFrameActiveColor(v.toColor()) + "statusTextColor" -> editor.setStatusTextColor(v.toColor()) + "resultStatusTextColor" -> editor.setResultStatusTextColor(v.toColor()) + "resultStatusBackgroundColor" -> editor.setResultStatusBackgroundColor(v.toColor()) + "multipageButtonBackgroundColor" -> editor.setMultipageButtonBackgroundColor(v.toColor()) + "tintColor" -> editor.setTintColor(v.toColor()) + "activityIndicatorColor" -> editor.setActivityIndicatorColor(v.toColor()) + "statusBackgroundColor" -> editor.setStatusBackgroundColor(v.toColor()) + "cameraPreviewBackgroundColor" -> editor.setCameraPreviewBackgroundColor(v.toColor()) + "backgroundMaskColor" -> editor.setBackgroundMaskColor(v.toColor()) + "multipageButtonTextColor" -> editor.setMultipageButtonTextColor(v.toColor()) + "statusPositionMultiplier" -> editor.setStatusPositionMultiplier(v.toFloat()) + "resultStatusPositionMultiplier" -> editor.setResultStatusPositionMultiplier(v.toFloat()) + "toolbarSize" -> editor.setToolbarSize(v.toFloat()) + "backgroundMaskAlpha" -> editor.setBackgroundMaskAlpha(v.toFloat()) + "customStatusPositionMultiplier" -> editor.setCustomStatusPositionMultiplier(v.toFloat()) + "cameraFrameVerticalPositionMultiplier" -> editor.setCameraFrameVerticalPositionMultiplier(v.toFloat()) + "cameraFrameLandscapeAspectRatio" -> editor.setCameraFrameLandscapeAspectRatio(v.toFloat()) + "cameraFramePortraitAspectRatio" -> editor.setCameraFramePortraitAspectRatio(v.toFloat()) + "cameraFrameCornerRadius" -> editor.setCameraFrameCornerRadius(v.toFloat()) + "livenessAnimationPositionMultiplier" -> editor.setLivenessAnimationPositionMultiplier(v.toFloat()) + "nextPageAnimationStartDelay" -> editor.setNextPageAnimationStartDelay(v.toFloat()) + "nextPageAnimationEndDelay" -> editor.setNextPageAnimationEndDelay(v.toFloat()) + "activityIndicatorPortraitPositionMultiplier" -> editor.setActivityIndicatorPortraitPositionMultiplier(v.toFloat()) + "activityIndicatorLandscapePositionMultiplier" -> editor.setActivityIndicatorLandscapePositionMultiplier(v.toFloat()) + "cameraPreviewVerticalPositionMultiplier" -> editor.setCameraPreviewVerticalPositionMultiplier(v.toFloat()) + "multipageButtonPositionMultiplier" -> editor.setMultipageButtonPositionMultiplier(v.toFloat()) + "multipageAnimationFrontImage" -> editor.setMultipageAnimationFrontImage(v.toDrawable()) + "multipageAnimationBackImage" -> editor.setMultipageAnimationBackImage(v.toDrawable()) + "borderBackgroundImage" -> editor.setBorderBackgroundImage(v.toDrawable()) + "helpAnimationImage" -> editor.setHelpAnimationImage(v.toDrawable()) + "closeButtonImage" -> editor.setCloseButtonImage(v.toDrawable()) + "captureButtonImage" -> editor.setCaptureButtonImage(v.toDrawable()) + "changeFrameButtonCollapseImage" -> editor.setChangeFrameCollapseButtonImage(v.toDrawable()) + "changeFrameButtonExpandImage" -> editor.setChangeFrameExpandButtonImage(v.toDrawable()) + "cameraSwitchButtonImage" -> editor.setCameraSwitchButtonImage(v.toDrawable()) + "torchButtonOnImage" -> editor.setTorchImageOn(v.toDrawable()) + "torchButtonOffImage" -> editor.setTorchImageOff(v.toDrawable()) + "livenessAnimationImage" -> editor.setLivenessAnimationImage(v.toDrawable()) + "multipageButtonImage" -> editor.setMultipageButtonImage(v.toDrawable()) + "helpAnimationImageMatrix" -> editor.setHelpAnimationImageMatrix(matrixFromJSON(v as JSONArray?)).setHelpAnimationImageScaleType(ImageView.ScaleType.MATRIX) + "multipageAnimationFrontImageMatrix" -> editor.setMultipageAnimationFrontImageMatrix(matrixFromJSON(v as JSONArray?)).setMultipageAnimationFrontImageScaleType(ImageView.ScaleType.MATRIX) + "multipageAnimationBackImageMatrix" -> editor.setMultipageAnimationBackImageMatrix(matrixFromJSON(v as JSONArray?)).setMultipageAnimationBackImageScaleType(ImageView.ScaleType.MATRIX) + "livenessAnimationImageMatrix" -> editor.setLivenessAnimationImageMatrix(matrixFromJSON(v as JSONArray?)).setLivenessAnimationImageScaleType(ImageView.ScaleType.MATRIX) + "borderBackgroundImageMatrix" -> editor.setBorderBackgroundImageMatrix(matrixFromJSON(v as JSONArray?)).setBorderBackgroundImageScaleType(ImageView.ScaleType.MATRIX) + "customLabelStatus" -> editor.setCustomLabelStatus(SpannableString(v as String)) + "cameraFrameLineCap" -> editor.setCameraFrameLineCap(Paint.Cap.values()[v.toInt()]) + "uiCustomizationLayer" -> editor.setUiCustomizationLayer(JSONObject(v.toString())) + "colors" -> setColors(editor, v as JSONObject) + "fonts" -> setFonts(editor, v as JSONObject) + "images" -> setImages(editor, v as JSONObject) + "timings" -> setTimings(editor, v as JSONObject) + "matrices" -> setMatrices(editor, v as JSONObject) + "statusTextFont" -> { + val font = typefaceFromJSON(v as JSONObject) + editor.setStatusTextFont(font.first) + font.second?.let { editor.setStatusTextSize(it) } + } + + "resultStatusTextFont" -> { + val font = typefaceFromJSON(v as JSONObject) + editor.setResultStatusTextFont(font.first) + font.second?.let { editor.setResultStatusTextSize(it) } + } + + "multipageButtonTextFont" -> { + val font = typefaceFromJSON(v as JSONObject) + editor.setMultipageButtonTextFont(font.first) + font.second?.let { editor.setMultipageButtonTextSize(it) } + } + } + editor.applyImmediately(context) +} + +fun getCustomization(customization: ParamsCustomization) = mapOf( + "showStatusMessages" to customization.isShowStatusMessages, + "showResultStatusMessages" to customization.isShowResultStatusMessages, + "showHelpAnimation" to customization.isShowHelpAnimation, + "showNextPageAnimation" to customization.isShowNextPageAnimation, + "showBackgroundMask" to customization.isShowBackgroundMask, + "cameraFrameBorderWidth" to customization.cameraFrameBorderWidth, + "cameraFrameLineLength" to customization.cameraFrameLineLength, + "cameraFrameShapeType" to customization.cameraFrameShapeType, + "cameraFrameOffsetWidth" to customization.cameraFrameOffsetWidth, + "activityIndicatorSize" to customization.activityIndicatorSize, + "status" to customization.status, + "resultStatus" to customization.resultStatus, + "multipageButtonText" to customization.multipageButtonText, + "cameraFrameDefaultColor" to customization.cameraFrameDefaultColor.colorToLong(), + "cameraFrameActiveColor" to customization.cameraFrameActiveColor.colorToLong(), + "statusTextColor" to customization.statusTextColor.colorToLong(), + "resultStatusTextColor" to customization.resultStatusTextColor.colorToLong(), + "resultStatusBackgroundColor" to customization.resultStatusBackgroundColor.colorToLong(), + "multipageButtonBackgroundColor" to customization.multipageButtonBackgroundColor.colorToLong(), + "tintColor" to customization.tintColor.colorToLong(), + "activityIndicatorColor" to customization.activityIndicatorColor.colorToLong(), + "statusBackgroundColor" to customization.statusBackgroundColor.colorToLong(), + "cameraPreviewBackgroundColor" to customization.cameraPreviewBackgroundColor.colorToLong(), + "backgroundMaskColor" to customization.backgroundMaskColor.colorToLong(), + "multipageButtonTextColor" to customization.multipageButtonTextColor.colorToLong(), + "statusPositionMultiplier" to customization.statusPositionMultiplier, + "resultStatusPositionMultiplier" to customization.resultStatusPositionMultiplier, + "backgroundMaskAlpha" to customization.backgroundMaskAlpha, + "toolbarSize" to customization.toolbarSize, + "customStatusPositionMultiplier" to customization.customStatusPositionMultiplier, + "cameraFrameVerticalPositionMultiplier" to customization.cameraFrameVerticalPositionMultiplier, + "cameraFrameLandscapeAspectRatio" to customization.cameraFrameLandscapeAspectRatio, + "cameraFramePortraitAspectRatio" to customization.cameraFramePortraitAspectRatio, + "cameraFrameCornerRadius" to customization.cameraFrameCornerRadius, + "livenessAnimationPositionMultiplier" to customization.livenessAnimationPositionMultiplier, + "nextPageAnimationStartDelay" to customization.nextPageAnimationStartDelay, + "nextPageAnimationEndDelay" to customization.nextPageAnimationEndDelay, + "activityIndicatorPortraitPositionMultiplier" to customization.activityIndicatorPortraitPositionMultiplier, + "activityIndicatorLandscapePositionMultiplier" to customization.activityIndicatorLandscapePositionMultiplier, + "cameraPreviewVerticalPositionMultiplier" to customization.cameraPreviewVerticalPositionMultiplier, + "multipageButtonPositionMultiplier" to customization.multipageButtonPositionMultiplier, + "multipageAnimationFrontImage" to customization.multipageAnimationFrontImage.toBase64(), + "multipageAnimationBackImage" to customization.multipageAnimationBackImage.toBase64(), + "borderBackgroundImage" to customization.borderBackgroundImage.toBase64(), + "helpAnimationImage" to customization.helpAnimationImageDrawable.toBase64(), + "closeButtonImage" to customization.closeButtonDrawable.toBase64(), + "captureButtonImage" to customization.captureButtonDrawable.toBase64(), + "changeFrameButtonCollapseImage" to customization.changeFrameCollapseButtonDrawable.toBase64(), + "changeFrameButtonExpandImage" to customization.changeFrameExpandButtonDrawable.toBase64(), + "cameraSwitchButtonImage" to customization.cameraSwitchButtonDrawable.toBase64(), + "torchButtonOnImage" to customization.torchImageOnDrawable.toBase64(), + "torchButtonOffImage" to customization.torchImageOffDrawable.toBase64(), + "livenessAnimationImage" to customization.livenessAnimationImage.toBase64(), + "multipageButtonImage" to customization.multipageButtonDrawable.toBase64(), + "helpAnimationImageMatrix" to generateMatrix(customization.helpAnimationImageMatrix), + "multipageAnimationFrontImageMatrix" to generateMatrix(customization.multipageAnimationFrontImageMatrix), + "multipageAnimationBackImageMatrix" to generateMatrix(customization.multipageAnimationBackImageMatrix), + "livenessAnimationImageMatrix" to generateMatrix(customization.livenessAnimationImageMatrix), + "borderBackgroundImageMatrix" to generateMatrix(customization.borderBackgroundImageMatrix), + "statusTextFont" to generateTypeface(customization.statusTextFont, customization.statusTextSize), + "resultStatusTextFont" to generateTypeface(customization.resultStatusTextFont, customization.resultStatusTextSize), + "multipageButtonTextFont" to generateTypeface(customization.multipageButtonTextFont, customization.multipageButtonTextSize), + "customLabelStatus" to customization.customLabelStatus?.toString(), + "cameraFrameLineCap" to customization.cameraFrameLineCap.ordinal, + "uiCustomizationLayer" to customization.uiCustomizationLayer, + "colors" to getColors(customization.colors), + "fonts" to getFonts(customization.typeFaces, customization.fontSizes), + "images" to getImages(customization.images), + "timings" to getTimings(customization.timings), + "matrices" to getMatrices(customization.matrices), +).toJson() + +fun setRfidScenario(rfidScenario: RfidScenario, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "paceStaticBinding" -> rfidScenario.isPaceStaticBinding = v as Boolean + "onlineTA" -> rfidScenario.isOnlineTA = v as Boolean + "writeEid" -> rfidScenario.isWriteEid = v as Boolean + "universalAccessRights" -> rfidScenario.isUniversalAccessRights = v as Boolean + "authorizedRestrictedIdentification" -> rfidScenario.isAuthorizedRestrictedIdentification = v as Boolean + "auxVerificationCommunityID" -> rfidScenario.isAuxVerificationCommunityID = v as Boolean + "auxVerificationDateOfBirth" -> rfidScenario.isAuxVerificationDateOfBirth = v as Boolean + "skipAA" -> rfidScenario.isSkipAA = v as Boolean + "strictProcessing" -> rfidScenario.isStrictProcessing = v as Boolean + "pkdDSCertPriority" -> rfidScenario.isPkdDSCertPriority = v as Boolean + "pkdUseExternalCSCA" -> rfidScenario.isPkdUseExternalCSCA = v as Boolean + "trustedPKD" -> rfidScenario.isTrustedPKD = v as Boolean + "passiveAuth" -> rfidScenario.isPassiveAuth = v as Boolean + "useSFI" -> rfidScenario.isUseSFI = v as Boolean + "readEPassport" -> rfidScenario.isReadEPassport = v as Boolean + "readEID" -> rfidScenario.isReadEID = v as Boolean + "readEDL" -> rfidScenario.isReadEDL = v as Boolean + "authorizedSTSignature" -> rfidScenario.isAuthorizedSTSignature = v as Boolean + "authorizedSTQSignature" -> rfidScenario.isAuthorizedSTQSignature = v as Boolean + "authorizedWriteDG17" -> rfidScenario.isAuthorizedWriteDG17 = v as Boolean + "authorizedWriteDG18" -> rfidScenario.isAuthorizedWriteDG18 = v as Boolean + "authorizedWriteDG19" -> rfidScenario.isAuthorizedWriteDG19 = v as Boolean + "authorizedWriteDG20" -> rfidScenario.isAuthorizedWriteDG20 = v as Boolean + "authorizedWriteDG21" -> rfidScenario.isAuthorizedWriteDG21 = v as Boolean + "authorizedVerifyAge" -> rfidScenario.isAuthorizedVerifyAge = v as Boolean + "authorizedVerifyCommunityID" -> rfidScenario.isAuthorizedVerifyCommunityID = v as Boolean + "authorizedPrivilegedTerminal" -> rfidScenario.isAuthorizedPrivilegedTerminal = v as Boolean + "authorizedCANAllowed" -> rfidScenario.isAuthorizedCANAllowed = v as Boolean + "authorizedPINManagement" -> rfidScenario.isAuthorizedPINManagment = v as Boolean + "authorizedInstallCert" -> rfidScenario.isAuthorizedInstallCert = v as Boolean + "authorizedInstallQCert" -> rfidScenario.isAuthorizedInstallQCert = v as Boolean + "applyAmendments" -> rfidScenario.isApplyAmendments = v as Boolean + "autoSettings" -> rfidScenario.isAutoSettings = v as Boolean + "proceedReadingAlways" -> rfidScenario.proceedReadingAlways = v as Boolean + "readDTC" -> rfidScenario.isReadDTC = v as Boolean + "mrzStrictCheck" -> rfidScenario.isMrzStrictCheck = v as Boolean + "loadCRLFromRemote" -> rfidScenario.isLoadCRLFromRemote = v as Boolean + "independentSODStatus" -> rfidScenario.isIndependentSODStatus = v as Boolean + "signManagementAction" -> rfidScenario.signManagementAction = v.toInt() + "readingBuffer" -> rfidScenario.readingBuffer = v.toInt() + "onlineTAToSignDataType" -> rfidScenario.onlineTAToSignDataType = v.toInt() + "profilerType" -> rfidScenario.profilerType = v.toInt() + "authProcType" -> rfidScenario.authProcType = v.toInt() + "baseSMProcedure" -> rfidScenario.baseSMProcedure = v.toInt() + "pacePasswordType" -> rfidScenario.pacePasswordType = v.toInt() + "terminalType" -> rfidScenario.terminalType = v.toInt() + "defaultReadingBufferSize" -> rfidScenario.defaultReadingBufferSize = v.toInt() + "password" -> rfidScenario.password = v as String + "pkdPA" -> rfidScenario.pkdPA = v as String + "pkdEAC" -> rfidScenario.pkdEAC = v as String + "mrz" -> rfidScenario.mrz = v as String + "eSignPINDefault" -> rfidScenario.seteSignPINDefault(v as String) + "eSignPINNewValue" -> rfidScenario.seteSignPINNewValue(v as String) + "cardAccess" -> rfidScenario.cardAccess = v as String + "mrzHash" -> rfidScenario.mrzHash = v as String + "documentNumber" -> rfidScenario.documentNumber = v as String + "dateOfBirth" -> rfidScenario.dateOfBirth = v as String + "dateOfExpiry" -> rfidScenario.dateOfExpiry = v as String + "ePassportDataGroups" -> setDataGroups(rfidScenario.ePassportDataGroups(), v as JSONObject) + "eIDDataGroups" -> setDataGroups(rfidScenario.eIDDataGroups(), v as JSONObject) + "eDLDataGroups" -> setDataGroups(rfidScenario.eDLDataGroups(), v as JSONObject) + "dtcDataGroups" -> setDTCDataGroup(rfidScenario.DTCDataGroup(), v as JSONObject) + } +} + +fun getRfidScenario(rfidScenario: RfidScenario) = mapOf( + "paceStaticBinding" to rfidScenario.isPaceStaticBinding, + "onlineTA" to rfidScenario.isOnlineTA, + "writeEid" to rfidScenario.isWriteEid, + "universalAccessRights" to rfidScenario.isUniversalAccessRights, + "authorizedRestrictedIdentification" to rfidScenario.isAuthorizedRestrictedIdentification, + "auxVerificationCommunityID" to rfidScenario.isAuxVerificationCommunityID, + "auxVerificationDateOfBirth" to rfidScenario.isAuxVerificationDateOfBirth, + "skipAA" to rfidScenario.isSkipAA, + "strictProcessing" to rfidScenario.isStrictProcessing, + "pkdDSCertPriority" to rfidScenario.isPkdDSCertPriority, + "pkdUseExternalCSCA" to rfidScenario.isPkdUseExternalCSCA, + "trustedPKD" to rfidScenario.isTrustedPKD, + "passiveAuth" to rfidScenario.isPassiveAuth, + "useSFI" to rfidScenario.isUseSFI, + "readEPassport" to rfidScenario.isReadEPassport, + "readEID" to rfidScenario.isReadEID, + "readEDL" to rfidScenario.isReadEDL, + "authorizedSTSignature" to rfidScenario.isAuthorizedSTSignature, + "authorizedSTQSignature" to rfidScenario.isAuthorizedSTQSignature, + "authorizedWriteDG17" to rfidScenario.isAuthorizedWriteDG17, + "authorizedWriteDG18" to rfidScenario.isAuthorizedWriteDG18, + "authorizedWriteDG19" to rfidScenario.isAuthorizedWriteDG19, + "authorizedWriteDG20" to rfidScenario.isAuthorizedWriteDG20, + "authorizedWriteDG21" to rfidScenario.isAuthorizedWriteDG21, + "authorizedVerifyAge" to rfidScenario.isAuthorizedVerifyAge, + "authorizedVerifyCommunityID" to rfidScenario.isAuthorizedVerifyCommunityID, + "authorizedPrivilegedTerminal" to rfidScenario.isAuthorizedPrivilegedTerminal, + "authorizedCANAllowed" to rfidScenario.isAuthorizedCANAllowed, + "authorizedPINManagement" to rfidScenario.isAuthorizedPINManagment, + "authorizedInstallCert" to rfidScenario.isAuthorizedInstallCert, + "authorizedInstallQCert" to rfidScenario.isAuthorizedInstallQCert, + "applyAmendments" to rfidScenario.isApplyAmendments, + "autoSettings" to rfidScenario.isAutoSettings, + "proceedReadingAlways" to rfidScenario.proceedReadingAlways, + "readDTC" to rfidScenario.isReadDTC, + "mrzStrictCheck" to rfidScenario.isMrzStrictCheck, + "loadCRLFromRemote" to rfidScenario.isLoadCRLFromRemote, + "independentSODStatus" to rfidScenario.isIndependentSODStatus, + "signManagementAction" to rfidScenario.signManagementAction, + "readingBuffer" to rfidScenario.readingBuffer, + "onlineTAToSignDataType" to rfidScenario.onlineTAToSignDataType, + "profilerType" to rfidScenario.profilerType, + "authProcType" to rfidScenario.authProcType, + "baseSMProcedure" to rfidScenario.baseSMProcedure, + "pacePasswordType" to rfidScenario.pacePasswordType, + "terminalType" to rfidScenario.terminalType, + "defaultReadingBufferSize" to rfidScenario.defaultReadingBufferSize, + "password" to rfidScenario.password, + "pkdPA" to rfidScenario.pkdPA, + "pkdEAC" to rfidScenario.pkdEAC, + "mrz" to rfidScenario.mrz, + "eSignPINDefault" to rfidScenario.geteSignPINDefault(), + "eSignPINNewValue" to rfidScenario.geteSignPINNewValue(), + "cardAccess" to rfidScenario.cardAccess, + "mrzHash" to rfidScenario.mrzHash, + "documentNumber" to rfidScenario.documentNumber, + "dateOfBirth" to rfidScenario.dateOfBirth, + "dateOfExpiry" to rfidScenario.dateOfExpiry, + "ePassportDataGroups" to getDataGroups(rfidScenario.ePassportDataGroups()), + "eIDDataGroups" to getDataGroups(rfidScenario.eIDDataGroups()), + "eDLDataGroups" to getDataGroups(rfidScenario.eDLDataGroups()), + "dtcDataGroups" to getDTCDataGroup(rfidScenario.DTCDataGroup()) +).toJson() + +fun setDataGroups(dataGroup: DataGroups, opts: JSONObject) = opts.forEach { k, v -> + val value = v as Boolean + when (k) { + "DG1" -> dataGroup.isDG1 = value + "DG2" -> dataGroup.isDG2 = value + "DG3" -> dataGroup.isDG3 = value + "DG4" -> dataGroup.isDG4 = value + "DG5" -> dataGroup.isDG5 = value + "DG6" -> dataGroup.isDG6 = value + "DG7" -> dataGroup.isDG7 = value + "DG8" -> dataGroup.isDG8 = value + "DG9" -> dataGroup.isDG9 = value + "DG10" -> dataGroup.isDG10 = value + "DG11" -> dataGroup.isDG11 = value + "DG12" -> dataGroup.isDG12 = value + "DG13" -> dataGroup.isDG13 = value + "DG14" -> dataGroup.isDG14 = value + } + if (dataGroup is EPassportDataGroups) when (k) { + "DG15" -> dataGroup.isDG15 = value + "DG16" -> dataGroup.isDG16 = value + } + if (dataGroup is EIDDataGroups) when (k) { + "DG15" -> dataGroup.isDG15 = value + "DG16" -> dataGroup.isDG16 = value + "DG17" -> dataGroup.isDG17 = value + "DG18" -> dataGroup.isDG18 = value + "DG19" -> dataGroup.isDG19 = value + "DG20" -> dataGroup.isDG20 = value + "DG21" -> dataGroup.isDG21 = value + } +} + +fun getDataGroups(dataGroup: DataGroups): JSONObject { + val result = mutableMapOf( + "DG1" to dataGroup.isDG1, + "DG2" to dataGroup.isDG2, + "DG3" to dataGroup.isDG3, + "DG4" to dataGroup.isDG4, + "DG5" to dataGroup.isDG5, + "DG6" to dataGroup.isDG6, + "DG7" to dataGroup.isDG7, + "DG8" to dataGroup.isDG8, + "DG9" to dataGroup.isDG9, + "DG10" to dataGroup.isDG10, + "DG11" to dataGroup.isDG11, + "DG12" to dataGroup.isDG12, + "DG13" to dataGroup.isDG13, + "DG14" to dataGroup.isDG14 + ) + if (dataGroup is EPassportDataGroups) { + result["DG15"] = dataGroup.isDG15 + result["DG16"] = dataGroup.isDG16 + } + if (dataGroup is EIDDataGroups) { + result["DG15"] = dataGroup.isDG15 + result["DG16"] = dataGroup.isDG16 + result["DG17"] = dataGroup.isDG17 + result["DG18"] = dataGroup.isDG18 + result["DG19"] = dataGroup.isDG19 + result["DG20"] = dataGroup.isDG20 + result["DG21"] = dataGroup.isDG21 + } + return result.toJson() +} + +fun setDTCDataGroup(dataGroup: DTCDataGroup, opts: JSONObject) = opts.forEach { k, v -> + val value = v as Boolean + when (k) { + "DG17" -> dataGroup.isDG17 = value + "DG18" -> dataGroup.isDG18 = value + "DG22" -> dataGroup.isDG22 = value + "DG23" -> dataGroup.isDG23 = value + "DG24" -> dataGroup.isDG24 = value + } +} + +fun getDTCDataGroup(dataGroup: DTCDataGroup) = mapOf( + "DG17" to dataGroup.isDG17, + "DG18" to dataGroup.isDG18, + "DG22" to dataGroup.isDG22, + "DG23" to dataGroup.isDG23, + "DG24" to dataGroup.isDG24, +).toJson() + +fun setImageQA(input: ImageQA, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "focusCheck" -> input.focusCheck = v as Boolean + "glaresCheck" -> input.glaresCheck = v as Boolean + "colornessCheck" -> input.colornessCheck = v as Boolean + "screenCapture" -> input.screenCapture = v as Boolean + "dpiThreshold" -> input.dpiThreshold = v.toInt() + "angleThreshold" -> input.angleThreshold = v.toInt() + "documentPositionIndent" -> input.documentPositionIndent = v.toInt() + "brightnessThreshold" -> input.brightnessThreshold = v.toDouble() + "expectedPass" -> input.expectedPass = v.toIntArray() + "glaresCheckParams" -> input.glaresCheckParams = glaresCheckParamsFromJSON(v as JSONObject) + "occlusionCheck" -> input.occlusionCheck = v as Boolean + } +} + +fun getImageQA(input: ImageQA) = mapOf( + "focusCheck" to input.focusCheck, + "glaresCheck" to input.glaresCheck, + "colornessCheck" to input.colornessCheck, + "screenCapture" to input.screenCapture, + "dpiThreshold" to input.dpiThreshold, + "angleThreshold" to input.angleThreshold, + "documentPositionIndent" to input.documentPositionIndent, + "brightnessThreshold" to input.brightnessThreshold, + "expectedPass" to input.expectedPass.toJson(), + "glaresCheckParams" to generateGlaresCheckParams(input.glaresCheckParams), + "occlusionCheck" to input.occlusionCheck, +).toJson() + +fun setAuthenticityParams(input: AuthenticityParams, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "useLivenessCheck" -> input.useLivenessCheck = v as Boolean + "checkUVLuminiscence" -> input.checkUVLuminiscence = v as Boolean + "checkIRB900" -> input.checkIRB900 = v as Boolean + "checkImagePatterns" -> input.checkImagePatterns = v as Boolean + "checkFibers" -> input.checkFibers = v as Boolean + "checkExtMRZ" -> input.checkExtMRZ = v as Boolean + "checkExtOCR" -> input.checkExtOCR = v as Boolean + "checkAxial" -> input.checkAxial = v as Boolean + "checkBarcodeFormat" -> input.checkBarcodeFormat = v as Boolean + "checkIRVisibility" -> input.checkIRVisibility = v as Boolean + "checkIPI" -> input.checkIPI = v as Boolean + "checkPhotoEmbedding" -> input.checkPhotoEmbedding = v as Boolean + "checkPhotoComparison" -> input.checkPhotoComparison = v as Boolean + "checkLetterScreen" -> input.checkLetterScreen = v as Boolean + "checkSecurityText" -> input.checkSecurityText = v as Boolean + "livenessParams" -> { + if (input.livenessParams == null) input.livenessParams = LivenessParams.defaultParams() + setLivenessParams(input.livenessParams!!, v as JSONObject) + } + } +} + +fun getAuthenticityParams(input: AuthenticityParams?) = input?.let { + mapOf( + "useLivenessCheck" to it.useLivenessCheck, + "checkUVLuminiscence" to it.checkUVLuminiscence, + "checkIRB900" to input.checkIRB900, + "checkImagePatterns" to it.checkImagePatterns, + "checkFibers" to it.checkFibers, + "checkExtMRZ" to it.checkExtMRZ, + "checkExtOCR" to it.checkExtOCR, + "checkAxial" to it.checkAxial, + "checkBarcodeFormat" to it.checkBarcodeFormat, + "checkIRVisibility" to it.checkIRVisibility, + "checkIPI" to it.checkIPI, + "checkPhotoEmbedding" to it.checkPhotoEmbedding, + "checkPhotoComparison" to it.checkPhotoComparison, + "checkLetterScreen" to it.checkLetterScreen, + "checkSecurityText" to it.checkSecurityText, + "livenessParams" to getLivenessParams(it.livenessParams) + ).toJson() +} + +fun setLivenessParams(input: LivenessParams, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "checkOVI" -> input.checkOVI = v as Boolean + "checkMLI" -> input.checkMLI = v as Boolean + "checkHolo" -> input.checkHolo = v as Boolean + "checkED" -> input.checkED = v as Boolean + "checkBlackAndWhiteCopy" -> input.checkBlackAndWhiteCopy = v as Boolean + "checkDynaprint" -> input.checkDynaprint = v as Boolean + "checkGeometry" -> input.checkGeometry = v as Boolean + "checkBarcodeBackground" -> input.checkBarcodeBackground = v as Boolean + } +} + +fun getLivenessParams(input: LivenessParams?) = input?.let { + mapOf( + "checkOVI" to input.checkOVI, + "checkMLI" to input.checkMLI, + "checkHolo" to input.checkHolo, + "checkED" to input.checkED, + "checkBlackAndWhiteCopy" to input.checkBlackAndWhiteCopy, + "checkDynaprint" to input.checkDynaprint, + "checkGeometry" to input.checkGeometry, + "checkBarcodeBackground" to input.checkBarcodeBackground, + ).toJson() +} + +fun setColors(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { k, value -> + val v = value.toLong() + when (k) { + "rfidProcessingScreenBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_BACKGROUND, v) + "rfidProcessingScreenHintLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT, v) + "rfidProcessingScreenHintLabelBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND, v) + "rfidProcessingScreenProgressLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT, v) + "rfidProcessingScreenProgressBar" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR, v) + "rfidProcessingScreenProgressBarBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND, v) + "rfidProcessingScreenResultLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT, v) + "rfidProcessingScreenLoadingBar" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_LOADING_BAR, v) + "rfidEnableNfcTitleText" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_TITLE_TEXT, v) + "rfidEnableNfcDescriptionText" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_DESCRIPTION_TEXT, v) + "rfidEnableNfcButtonText" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_BUTTON_TEXT, v) + "rfidEnableNfcButtonBackground" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_BUTTON_BACKGROUND, v) + "mdlProcessingScreenBackground" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_BACKGROUND, v) + "mdlProcessingScreenHintLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT, v) + "mdlProcessingScreenHintLabelBackground" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND, v) + "mdlProcessingScreenProgressLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT, v) + "mdlProcessingScreenResultLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT, v) + "mdlProcessingScreenLoadingBar" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_LOADING_BAR, v) + "mdlEnableNfcTitleText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_TITLE_TEXT, v) + "mdlEnableNfcDescriptionText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_DESCRIPTION_TEXT, v) + "mdlEnableNfcButtonText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_BUTTON_TEXT, v) + "mdlEnableNfcButtonBackground" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_BUTTON_BACKGROUND, v) + "nextPageIdCardFront" -> input.setColor(CustomizationColor.NEXT_PAGE_ID_CARD_FRONT, v) + "nextPageIdCardBack" -> input.setColor(CustomizationColor.NEXT_PAGE_ID_CARD_BACK, v) + "nextPagePassportShift" -> input.setColor(CustomizationColor.NEXT_PAGE_PASSPORT_SHIFT, v) + "nextPagePassportFlip" -> input.setColor(CustomizationColor.NEXT_PAGE_PASSPORT_FLIP, v) + } +} + +fun getColors(input: Map) = mapOf( + "rfidProcessingScreenBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_BACKGROUND], + "rfidProcessingScreenHintLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT], + "rfidProcessingScreenHintLabelBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND], + "rfidProcessingScreenProgressLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT], + "rfidProcessingScreenProgressBar" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR], + "rfidProcessingScreenProgressBarBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND], + "rfidProcessingScreenResultLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT], + "rfidProcessingScreenLoadingBar" to input[CustomizationColor.RFID_PROCESSING_SCREEN_LOADING_BAR], + "rfidEnableNfcTitleText" to input[CustomizationColor.RFID_ENABLE_NFC_TITLE_TEXT], + "rfidEnableNfcDescriptionText" to input[CustomizationColor.RFID_ENABLE_NFC_DESCRIPTION_TEXT], + "rfidEnableNfcButtonText" to input[CustomizationColor.RFID_ENABLE_NFC_BUTTON_TEXT], + "rfidEnableNfcButtonBackground" to input[CustomizationColor.RFID_ENABLE_NFC_BUTTON_BACKGROUND], + "mdlProcessingScreenBackground" to input[CustomizationColor.MDL_PROCESSING_SCREEN_BACKGROUND], + "mdlProcessingScreenHintLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT], + "mdlProcessingScreenHintLabelBackground" to input[CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND], + "mdlProcessingScreenProgressLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT], + "mdlProcessingScreenResultLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT], + "mdlProcessingScreenLoadingBar" to input[CustomizationColor.MDL_PROCESSING_SCREEN_LOADING_BAR], + "mdlEnableNfcTitleText" to input[CustomizationColor.MDL_ENABLE_NFC_TITLE_TEXT], + "mdlEnableNfcDescriptionText" to input[CustomizationColor.MDL_ENABLE_NFC_DESCRIPTION_TEXT], + "mdlEnableNfcButtonText" to input[CustomizationColor.MDL_ENABLE_NFC_BUTTON_TEXT], + "mdlEnableNfcButtonBackground" to input[CustomizationColor.MDL_ENABLE_NFC_BUTTON_BACKGROUND], + "nextPageIdCardFront" to input[CustomizationColor.NEXT_PAGE_ID_CARD_FRONT], + "nextPageIdCardBack" to input[CustomizationColor.NEXT_PAGE_ID_CARD_BACK], + "nextPagePassportShift" to input[CustomizationColor.NEXT_PAGE_PASSPORT_SHIFT], + "nextPagePassportFlip" to input[CustomizationColor.NEXT_PAGE_PASSPORT_FLIP], +).toJson() + +fun setFonts(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "rfidProcessingScreenHintLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_HINT_LABEL.setFont(input, v) + "rfidProcessingScreenProgressLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_PROGRESS_LABEL.setFont(input, v) + "rfidProcessingScreenResultLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_RESULT_LABEL.setFont(input, v) + "rfidEnableNfcTitleText" -> CustomizationFont.RFID_ENABLE_NFC_TITLE_TEXT.setFont(input, v) + "rfidEnableNfcDescriptionText" -> CustomizationFont.RFID_ENABLE_NFC_DESCRIPTION_TEXT.setFont(input, v) + "rfidEnableNfcButtonText" -> CustomizationFont.RFID_ENABLE_NFC_BUTTON_TEXT.setFont(input, v) + "mdlProcessingScreenHintLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_HINT_LABEL.setFont(input, v) + "mdlProcessingScreenProgressLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_PROGRESS_LABEL.setFont(input, v) + "mdlProcessingScreenResultLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_RESULT_LABEL.setFont(input, v) + "mdlEnableNfcTitleText" -> CustomizationFont.MDL_ENABLE_NFC_TITLE_TEXT.setFont(input, v) + "mdlEnableNfcDescriptionText" -> CustomizationFont.MDL_ENABLE_NFC_DESCRIPTION_TEXT.setFont(input, v) + "mdlEnableNfcButtonText" -> CustomizationFont.MDL_ENABLE_NFC_BUTTON_TEXT.setFont(input, v) + } +} + +fun getFonts(fonts: Map, sizes: Map) = mapOf( + "rfidProcessingScreenHintLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_HINT_LABEL.getFont(fonts, sizes), + "rfidProcessingScreenProgressLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_PROGRESS_LABEL.getFont(fonts, sizes), + "rfidProcessingScreenResultLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_RESULT_LABEL.getFont(fonts, sizes), + "rfidEnableNfcTitleText" to CustomizationFont.RFID_ENABLE_NFC_TITLE_TEXT.getFont(fonts, sizes), + "rfidEnableNfcDescriptionText" to CustomizationFont.RFID_ENABLE_NFC_DESCRIPTION_TEXT.getFont(fonts, sizes), + "rfidEnableNfcButtonText" to CustomizationFont.RFID_ENABLE_NFC_BUTTON_TEXT.getFont(fonts, sizes), + "mdlProcessingScreenHintLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_HINT_LABEL.getFont(fonts, sizes), + "mdlProcessingScreenProgressLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_PROGRESS_LABEL.getFont(fonts, sizes), + "mdlProcessingScreenResultLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_RESULT_LABEL.getFont(fonts, sizes), + "mdlEnableNfcTitleText" to CustomizationFont.MDL_ENABLE_NFC_TITLE_TEXT.getFont(fonts, sizes), + "mdlEnableNfcDescriptionText" to CustomizationFont.MDL_ENABLE_NFC_DESCRIPTION_TEXT.getFont(fonts, sizes), + "mdlEnableNfcButtonText" to CustomizationFont.MDL_ENABLE_NFC_BUTTON_TEXT.getFont(fonts, sizes), +).toJson() + +fun setImages(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "helpAnimation" -> input.setImage(CustomizationImage.HELP_ANIMATION, v.toDrawable()) + "livenessAnimation" -> input.setImage(CustomizationImage.LIVENESS_ANIMATION, v.toDrawable()) + "borderBackground" -> input.setImage(CustomizationImage.BORDER_BACKGROUND, v.toDrawable()) + "torchButtonOn" -> input.setImage(CustomizationImage.TORCH_BUTTON_ON, v.toDrawable()) + "torchButtonOff" -> input.setImage(CustomizationImage.TORCH_BUTTON_OFF, v.toDrawable()) + "captureButton" -> input.setImage(CustomizationImage.CAPTURE_BUTTON, v.toDrawable()) + "switchButton" -> input.setImage(CustomizationImage.SWITCH_BUTTON, v.toDrawable()) + "closeButton" -> input.setImage(CustomizationImage.CLOSE_BUTTON, v.toDrawable()) + "multipageButton" -> input.setImage(CustomizationImage.MULTIPAGE_BUTTON, v.toDrawable()) + "rfidProcessingScreenFailureImage" -> input.setImage(CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE, v.toDrawable()) + "rfidEnableNfcImage" -> input.setImage(CustomizationImage.RFID_ENABLE_NFC_IMAGE, v.toDrawable()) + "rfidDisableNfcImage" -> input.setImage(CustomizationImage.RFID_DISABLE_NFC_IMAGE, v.toDrawable()) + "mdlProcessingScreenFailureImage" -> input.setImage(CustomizationImage.MDL_PROCESSING_SCREEN_FAILURE_IMAGE, v.toDrawable()) + "mdlEnableNfcImage" -> input.setImage(CustomizationImage.MDL_ENABLE_NFC_IMAGE, v.toDrawable()) + "mdlDisableNfcImage" -> input.setImage(CustomizationImage.MDL_DISABLE_NFC_IMAGE, v.toDrawable()) + "nextPageIdCardFront" -> input.setImage(CustomizationImage.NEXT_PAGE_ID_CARD_FRONT, v.toDrawable()) + "nextPageIdCardBack" -> input.setImage(CustomizationImage.NEXT_PAGE_ID_CARD_BACK, v.toDrawable()) + "nextPagePassportShift" -> input.setImage(CustomizationImage.NEXT_PAGE_PASSPORT_SHIFT, v.toDrawable()) + "nextPagePassportFlipStart" -> input.setImage(CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_START, v.toDrawable()) + "nextPagePassportFlipClean" -> input.setImage(CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_CLEAN, v.toDrawable()) + "nextPagePassportFlipTop" -> input.setImage(CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_TOP, v.toDrawable()) + "nextPagePassportFlipBottom" -> input.setImage(CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_BOTTOM, v.toDrawable()) + } +} + +fun getImages(input: Map) = mapOf( + "helpAnimation" to input[CustomizationImage.HELP_ANIMATION.value].toBase64(), + "livenessAnimation" to input[CustomizationImage.LIVENESS_ANIMATION.value].toBase64(), + "borderBackground" to input[CustomizationImage.BORDER_BACKGROUND.value].toBase64(), + "torchButtonOn" to input[CustomizationImage.TORCH_BUTTON_ON.value].toBase64(), + "torchButtonOff" to input[CustomizationImage.TORCH_BUTTON_OFF.value].toBase64(), + "captureButton" to input[CustomizationImage.CAPTURE_BUTTON.value].toBase64(), + "switchButton" to input[CustomizationImage.SWITCH_BUTTON.value].toBase64(), + "closeButton" to input[CustomizationImage.CLOSE_BUTTON.value].toBase64(), + "multipageButton" to input[CustomizationImage.MULTIPAGE_BUTTON.value].toBase64(), + "rfidProcessingScreenFailureImage" to input[CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE.value].toBase64(), + "rfidEnableNfcImage" to input[CustomizationImage.RFID_ENABLE_NFC_IMAGE.value].toBase64(), + "rfidDisableNfcImage" to input[CustomizationImage.RFID_DISABLE_NFC_IMAGE.value].toBase64(), + "mdlProcessingScreenFailureImage" to input[CustomizationImage.MDL_PROCESSING_SCREEN_FAILURE_IMAGE.value].toBase64(), + "mdlEnableNfcImage" to input[CustomizationImage.MDL_ENABLE_NFC_IMAGE.value].toBase64(), + "mdlDisableNfcImage" to input[CustomizationImage.MDL_DISABLE_NFC_IMAGE.value].toBase64(), + "nextPageIdCardFront" to input[CustomizationImage.NEXT_PAGE_ID_CARD_FRONT.value].toBase64(), + "nextPageIdCardBack" to input[CustomizationImage.NEXT_PAGE_ID_CARD_BACK.value].toBase64(), + "nextPagePassportShift" to input[CustomizationImage.NEXT_PAGE_PASSPORT_SHIFT.value].toBase64(), + "nextPagePassportFlipStart" to input[CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_START.value].toBase64(), + "nextPagePassportFlipClean" to input[CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_CLEAN.value].toBase64(), + "nextPagePassportFlipTop" to input[CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_TOP.value].toBase64(), + "nextPagePassportFlipBottom" to input[CustomizationImage.NEXT_PAGE_PASSPORT_FLIP_BOTTOM.value].toBase64(), +).toJson() + +fun setTimings(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "nextPageIdCardStartDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_ID_CARD_START_DELAY, v.toInt()) + "nextPageIdCardEndDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_ID_CARD_END_DELAY, v.toInt()) + "nextPagePassportShiftStartDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_PASSPORT_SHIFT_START_DELAY, v.toInt()) + "nextPagePassportShiftEndDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_PASSPORT_SHIFT_END_DELAY, v.toInt()) + "nextPagePassportFlipStartDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_PASSPORT_FLIP_START_DELAY, v.toInt()) + "nextPagePassportFlipEndDelay" -> input.setTiming(CustomizationTiming.NEXT_PAGE_PASSPORT_FLIP_END_DELAY, v.toInt()) + } +} + +fun getTimings(input: Map) = mapOf( + "nextPageIdCardStartDelay" to input[CustomizationTiming.NEXT_PAGE_ID_CARD_START_DELAY], + "nextPageIdCardEndDelay" to input[CustomizationTiming.NEXT_PAGE_ID_CARD_END_DELAY], + "nextPagePassportShiftStartDelay" to input[CustomizationTiming.NEXT_PAGE_PASSPORT_SHIFT_START_DELAY], + "nextPagePassportShiftEndDelay" to input[CustomizationTiming.NEXT_PAGE_PASSPORT_SHIFT_END_DELAY], + "nextPagePassportFlipStartDelay" to input[CustomizationTiming.NEXT_PAGE_PASSPORT_FLIP_START_DELAY], + "nextPagePassportFlipEndDelay" to input[CustomizationTiming.NEXT_PAGE_PASSPORT_FLIP_END_DELAY], +).toJson() + +fun setMatrices(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { k, v -> + when (k) { + "nextPageIdCardFront" -> input.setMatrix(CustomizationMatrix.NEXT_PAGE_ID_CARD_FRONT, matrixFromJSON(v as JSONArray?)).setScaleType(CustomizationScaleType.NEXT_PAGE_ID_CARD_FRONT, ImageView.ScaleType.MATRIX) + "nextPageIdCardBack" -> input.setMatrix(CustomizationMatrix.NEXT_PAGE_ID_CARD_BACK, matrixFromJSON(v as JSONArray?)).setScaleType(CustomizationScaleType.NEXT_PAGE_ID_CARD_BACK, ImageView.ScaleType.MATRIX) + } +} + +fun getMatrices(input: Map) = mapOf( + "nextPageIdCardFront" to generateMatrix(input[CustomizationMatrix.NEXT_PAGE_ID_CARD_FRONT]), + "nextPageIdCardBack" to generateMatrix(input[CustomizationMatrix.NEXT_PAGE_ID_CARD_BACK]), +).toJson() + +fun CustomizationFont.getFont(fonts: Map, sizes: Map) = + generateTypeface(fonts[this], sizes[this]) + +fun CustomizationFont.setFont(editor: ParamsCustomization.CustomizationEditor, value: Any?) { + val font = typefaceFromJSON(value as JSONObject) + editor.setFont(this, font.first) + font.second?.let { editor.setFontSize(this, it) } +} + +fun Any.toInt() = when (this) { + is Double -> toInt() + is Long -> toInt() + is String -> Integer.parseInt(this) + else -> this as Int +} + +fun Any.toLong() = when (this) { + is Double -> toLong() + is Int -> toLong() + else -> this as Long +} + +fun Any.toFloat() = when (this) { + is Int -> toFloat() + is Double -> toFloat() + else -> this as Float +} + +fun Any.toDouble() = when (this) { + is Int -> toDouble() + is Long -> toDouble() + else -> this as Double +} + +fun Any?.toColor() = this?.let { + "#" + toLong().toString(16) +} + +fun String?.colorToLong() = this?.let { + if (this[0] == '#') this.substring(1).toLong(16) + else this.toLong(16) +} diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt new file mode 100644 index 0000000000..d3de82fb42 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt @@ -0,0 +1,97 @@ +@file:SuppressLint("MissingPermission") + +package com.regula.plugin.documentreader + +import android.annotation.SuppressLint +import android.app.Activity +import android.content.Context +import android.content.Intent +import android.os.Handler +import android.os.Looper +import android.util.Log +import androidx.core.app.ActivityCompat +import androidx.lifecycle.Lifecycle +import io.flutter.embedding.engine.plugins.FlutterPlugin +import io.flutter.embedding.engine.plugins.FlutterPlugin.FlutterPluginBinding +import io.flutter.embedding.engine.plugins.activity.ActivityAware +import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding +import io.flutter.embedding.engine.plugins.lifecycle.HiddenLifecycleReference +import io.flutter.plugin.common.EventChannel +import io.flutter.plugin.common.EventChannel.EventSink +import io.flutter.plugin.common.EventChannel.StreamHandler +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel +import io.flutter.plugin.common.MethodChannel.MethodCallHandler + +const val channelID = "flutter_document_reader_api" +val eventSinks = mutableMapOf() + +lateinit var args: List +lateinit var binding: FlutterPluginBinding +lateinit var activityBinding: ActivityPluginBinding +val context: Context + get() = binding.applicationContext +val activity: Activity + get() = activityBinding.activity +val lifecycle: Lifecycle + get() = (activityBinding.lifecycle as HiddenLifecycleReference).lifecycle + +fun sendEvent(id: String, data: Any? = "") { + eventSinks[id]?.let { Handler(Looper.getMainLooper()).post { it.success(data.toSendable()) } } +} + +inline fun argsNullable(index: Int) = when (val v = args[index]) { + null -> null + is Map<*, *> -> v.toJson() as T + is List<*> -> v.toJson() as T + else -> v as T +} + +fun setupEventChannel(id: String) = EventChannel(binding.binaryMessenger, "$channelID/event/$id").setStreamHandler(object : StreamHandler { + override fun onListen(arguments: Any?, events: EventSink) = events.let { eventSinks[id] = it } + override fun onCancel(arguments: Any?) = Unit +}) + +fun requestPermissions(activity: Activity, permissions: Array, requestCode: Int) = ActivityCompat.requestPermissions(activity, permissions, requestCode) +fun startActivityForResult(activity: Activity, intent: Intent, requestCode: Int) = activity.startActivityForResult(intent, requestCode) + +class FlutterDocumentReaderApiPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { + override fun onDetachedFromActivityForConfigChanges() = Unit + override fun onReattachedToActivityForConfigChanges(binding: ActivityPluginBinding) = Unit + override fun onDetachedFromActivity() = Unit + override fun onDetachedFromEngine(binding: FlutterPluginBinding) = Unit + override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) { + args = call.arguments as List<*> + try { + methodCall(call.method) { data -> result.success(data.toSendable()) } + } catch (error: Exception) { + Log.e("REGULA", "Caught exception in \"${call.method}\" function:", error) + } + } + + override fun onAttachedToActivity(binding: ActivityPluginBinding) { + activityBinding = binding + binding.addOnNewIntentListener(::newIntent) + binding.addActivityResultListener(::onActivityResult) + binding.addRequestPermissionsResultListener(::onRequestPermissionsResult) + } + + override fun onAttachedToEngine(flutterBinding: FlutterPluginBinding) { + binding = flutterBinding + for (event in arrayOf( + completionEvent, + databaseProgressEvent, + rfidOnProgressEvent, + rfidOnChipDetectedEvent, + rfidOnRetryReadChipEvent, + paCertificateCompletionEvent, + taCertificateCompletionEvent, + taSignatureCompletionEvent, + paceProtocolCompletionEvent, + caProtocolCompletionEvent, + videoEncoderCompletionEvent, + onCustomButtonTappedEvent + )) setupEventChannel(event) + MethodChannel(binding.binaryMessenger, "$channelID/method").setMethodCallHandler(this) + } +} diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/JSONConstructor.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/JSONConstructor.kt new file mode 100644 index 0000000000..435f8ee2f0 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/JSONConstructor.kt @@ -0,0 +1,2176 @@ +@file:SuppressLint("MissingPermission") +@file:Suppress("unused", "EnumValuesSoftDeprecate", "UNCHECKED_CAST") + +package com.regula.plugin.documentreader + +import android.annotation.SuppressLint +import android.graphics.Bitmap +import android.graphics.Matrix +import android.graphics.Rect +import android.graphics.Typeface +import android.os.Build +import android.util.Pair +import com.regula.common.exception.RegulaException +import com.regula.documentreader.api.License +import com.regula.documentreader.api.completions.model.PrepareProgress +import com.regula.documentreader.api.config.FinalizeConfig +import com.regula.documentreader.api.config.RecognizeConfig +import com.regula.documentreader.api.config.ScannerConfig +import com.regula.documentreader.api.enums.BarcodeType +import com.regula.documentreader.api.enums.DocReaderAction +import com.regula.documentreader.api.enums.PDF417Info +import com.regula.documentreader.api.enums.eGraphicFieldType +import com.regula.documentreader.api.enums.eMDLDeviceRetrieval +import com.regula.documentreader.api.enums.eMDLDocRequestPreset +import com.regula.documentreader.api.enums.eMDLIntentToRetain +import com.regula.documentreader.api.enums.eRFID_DataFile_Type +import com.regula.documentreader.api.enums.eRPRM_Lights +import com.regula.documentreader.api.listener.NetworkInterceptorListener +import com.regula.documentreader.api.params.AuthenticityParams +import com.regula.documentreader.api.params.BackendProcessingConfig +import com.regula.documentreader.api.params.BleDeviceConfig +import com.regula.documentreader.api.params.Bsi +import com.regula.documentreader.api.params.DocReaderConfig +import com.regula.documentreader.api.params.FaceApiParams +import com.regula.documentreader.api.params.Functionality +import com.regula.documentreader.api.params.ImageInputData +import com.regula.documentreader.api.params.ImageQA +import com.regula.documentreader.api.params.ImageQA.GlaresCheckParams +import com.regula.documentreader.api.params.LivenessParams +import com.regula.documentreader.api.params.OnlineProcessingConfig +import com.regula.documentreader.api.params.ParamsCustomization +import com.regula.documentreader.api.params.ProcessParam +import com.regula.documentreader.api.params.RfidScenario +import com.regula.documentreader.api.params.mdl.DataRetrieval +import com.regula.documentreader.api.params.mdl.DeviceEngagement +import com.regula.documentreader.api.params.mdl.DeviceRetrievalMethod +import com.regula.documentreader.api.params.mdl.DocumentRequest18013MDL +import com.regula.documentreader.api.params.mdl.DocumentRequestMDL +import com.regula.documentreader.api.params.mdl.NameSpaceMDL +import com.regula.documentreader.api.params.rfid.CaProtocol +import com.regula.documentreader.api.params.rfid.PKDCertificate +import com.regula.documentreader.api.params.rfid.PaceProtocol +import com.regula.documentreader.api.params.rfid.RFIDParams +import com.regula.documentreader.api.params.rfid.TccParams +import com.regula.documentreader.api.params.rfid.authorization.PAAttribute +import com.regula.documentreader.api.params.rfid.authorization.PAResourcesIssuer +import com.regula.documentreader.api.params.rfid.authorization.TAChallenge +import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup +import com.regula.documentreader.api.params.rfid.dg.EDLDataGroups +import com.regula.documentreader.api.params.rfid.dg.EIDDataGroups +import com.regula.documentreader.api.params.rfid.dg.EPassportDataGroups +import com.regula.documentreader.api.results.BytesData +import com.regula.documentreader.api.results.Coordinate +import com.regula.documentreader.api.results.DocFeature +import com.regula.documentreader.api.results.DocReaderDocumentsDatabase +import com.regula.documentreader.api.results.DocReaderFieldRect +import com.regula.documentreader.api.results.DocReaderVersion +import com.regula.documentreader.api.results.DocumentReaderBarcodeField +import com.regula.documentreader.api.results.DocumentReaderBarcodeResult +import com.regula.documentreader.api.results.DocumentReaderComparison +import com.regula.documentreader.api.results.DocumentReaderDocumentType +import com.regula.documentreader.api.results.DocumentReaderGraphicField +import com.regula.documentreader.api.results.DocumentReaderGraphicResult +import com.regula.documentreader.api.results.DocumentReaderNotification +import com.regula.documentreader.api.results.DocumentReaderResults +import com.regula.documentreader.api.results.DocumentReaderResultsStatus +import com.regula.documentreader.api.results.DocumentReaderResultsStatus.DetailsOptical +import com.regula.documentreader.api.results.DocumentReaderResultsStatus.DetailsRFID +import com.regula.documentreader.api.results.DocumentReaderResultsStatus.DetailsAge +import com.regula.documentreader.api.results.DocumentReaderRfidOrigin +import com.regula.documentreader.api.results.DocumentReaderScenario +import com.regula.documentreader.api.results.DocumentReaderSymbol +import com.regula.documentreader.api.results.DocumentReaderTextField +import com.regula.documentreader.api.results.DocumentReaderTextResult +import com.regula.documentreader.api.results.DocumentReaderTextSource +import com.regula.documentreader.api.results.DocumentReaderValidity +import com.regula.documentreader.api.results.DocumentReaderValue +import com.regula.documentreader.api.results.ElementPosition +import com.regula.documentreader.api.results.ImageQuality +import com.regula.documentreader.api.results.ImageQualityGroup +import com.regula.documentreader.api.results.TransactionInfo +import com.regula.documentreader.api.results.VDSData +import com.regula.documentreader.api.results.VDSNCData +import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityCheck +import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityElement +import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityResult +import com.regula.documentreader.api.results.rfid.AccessControlProcedureType +import com.regula.documentreader.api.results.rfid.Application +import com.regula.documentreader.api.results.rfid.Attribute +import com.regula.documentreader.api.results.rfid.Authority +import com.regula.documentreader.api.results.rfid.CardProperties +import com.regula.documentreader.api.results.rfid.CertificateChain +import com.regula.documentreader.api.results.rfid.CertificateData +import com.regula.documentreader.api.results.rfid.DataField +import com.regula.documentreader.api.results.rfid.Extension +import com.regula.documentreader.api.results.rfid.File +import com.regula.documentreader.api.results.rfid.FileData +import com.regula.documentreader.api.results.rfid.RFIDSessionData +import com.regula.documentreader.api.results.rfid.SecurityObject +import com.regula.documentreader.api.results.rfid.SecurityObjectCertificates +import com.regula.documentreader.api.results.rfid.SignerInfo +import com.regula.documentreader.api.results.rfid.Validity +import com.regula.documentreader.api.results.rfid.Value +import org.json.JSONArray +import org.json.JSONObject +import com.regula.plugin.documentreader.Convert.toBase64 +import com.regula.plugin.documentreader.Convert.toBitmap +import com.regula.plugin.documentreader.Convert.toByteArray + +fun generateCompletion(action: Int, results: DocumentReaderResults?, error: RegulaException?) = mapOf( + "action" to action, + "results" to if (listOf(DocReaderAction.COMPLETE, DocReaderAction.MORE_PAGES_AVAILABLE, DocReaderAction.CANCEL, DocReaderAction.ERROR, DocReaderAction.TIMEOUT).contains(action)) generateDocumentReaderResults(results) else null, + "error" to generateRegulaException(error) +).toJson() + +fun generateSuccessCompletion(success: Boolean, error: RegulaException?) = mapOf( + "success" to success, + "error" to generateRegulaException(error) +).toJson() + +fun prepareProgressFromJSON(it: JSONObject) = PrepareProgress( + it.getInt("downloadedBytes"), + it.getInt("totalBytes") +) + +fun generatePrepareProgress(it: PrepareProgress) = mapOf( + "downloadedBytes" to it.downloadedBytes, + "totalBytes" to it.totalBytes, + "progress" to it.progress +).toJson() + +fun generatePACertificateCompletion(serialNumber: ByteArray?, issuer: PAResourcesIssuer?) = mapOf( + "serialNumber" to serialNumber.toBase64(), + "issuer" to generatePAResourcesIssuer(issuer) +).toJson() + +fun generateFinalizePackageCompletion(action: Int, info: TransactionInfo?, error: RegulaException?) = mapOf( + "action" to action, + "info" to generateTransactionInfo(info), + "error" to generateRegulaException(error) +).toJson() + +fun regulaExceptionFromJSON(input: JSONObject?) = input?.let { + RegulaException( + it.optInt("code"), + it.optString("message") + ) +} + +fun generateRegulaException(input: RegulaException?) = input?.let { + mapOf( + "code" to it.errorCode, + "message" to it.message + ).toJson() +} + +fun transactionInfoFromJSON(input: JSONObject?) = input?.let { + val result = TransactionInfo() + result.transactionId = it.getStringOrNull("transactionId") + result.tag = it.getStringOrNull("tag") + result.sessionLogFolder = it.getStringOrNull("sessionLogFolder") + result +} + +fun generateTransactionInfo(input: TransactionInfo?) = input?.let { + mapOf( + "transactionId" to it.transactionId, + "tag" to it.tag, + "sessionLogFolder" to it.sessionLogFolder + ).toJson() +} + +fun tccParamsFromJSON(input: JSONObject) = input.let { + val result = TccParams() + result.serviceUrlTA = it.getStringOrNull("serviceUrlTA") + result.serviceUrlPA = it.getStringOrNull("serviceUrlPA") + result.pfxCertUrl = it.getStringOrNull("pfxCertUrl") + result.pfxPassPhrase = it.getStringOrNull("pfxPassPhrase") + result.pfxCert = it.getStringOrNull("pfxCert").toByteArray() + result +} + +fun generateTccParams(input: TccParams?) = input?.let { + mapOf( + "serviceUrlTA" to it.serviceUrlTA, + "serviceUrlPA" to it.serviceUrlPA, + "pfxCertUrl" to it.pfxCertUrl, + "pfxPassPhrase" to it.pfxPassPhrase, + "pfxCert" to it.pfxCert.toBase64() + ).toJson() +} + +fun initConfigFromJSON(input: JSONObject) = input.let { + val license = it.getString("license").toByteArray()!! + var result = DocReaderConfig(license) + if (it.has("customDb")) result = DocReaderConfig(license, it.getString("customDb").toByteArray()!!) + if (it.has("databasePath")) result = DocReaderConfig(license, it.getString("databasePath")) + + if (it.has("licenseUpdate")) result.setLicenseUpdate(it.getBoolean("licenseUpdate")) + if (it.has("delayedNNLoad")) result.isDelayedNNLoad = it.getBoolean("delayedNNLoad") + result.licenseUpdateTimeout = it.getDoubleOrNull("licenseUpdateTimeout") + result.blackList = it.getJSONObjectOrNull("blackList") + result +} + +fun generateInitConfig(input: DocReaderConfig?) = input?.let { + mapOf( + "license" to it.license.toBase64(), + "customDb" to it.customDb.toBase64(), + "databasePath" to it.customDbPath, + "licenseUpdate" to it.isLicenseUpdate, + "delayedNNLoad" to it.isDelayedNNLoad, + "licenseUpdateTimeout" to it.licenseUpdateTimeout, + "blackList" to it.blackList + ).toJson() +} + +fun initBleDeviceConfigFromJSON(input: JSONObject) = input.let { + var result = BleDeviceConfig(bluetooth!!) + if (it.has("customDb")) result = BleDeviceConfig(bluetooth!!, it.getString("customDb").toByteArray()) + + if (it.has("licenseUpdate")) result.setLicenseUpdate(it.getBoolean("licenseUpdate")) + if (it.has("delayedNNLoad")) result.isDelayedNNLoad = it.getBoolean("delayedNNLoad") + result.licenseUpdateTimeout = it.getDoubleOrNull("licenseUpdateTimeout") + result.blackList = it.getJSONObjectOrNull("blackList") + result +} + +fun scannerConfigFromJSON(input: JSONObject) = input.let { + val builder = if (it.has("scenario")) ScannerConfig.Builder(it.getString("scenario")) + else ScannerConfig.Builder(onlineProcessingConfigFromJSON(it.getJSONObject("onlineProcessingConfig"))!!) + + if (it.has("onlineProcessingConfig")) builder.setOnlineProcessingConfig(onlineProcessingConfigFromJSON(it.getJSONObject("onlineProcessingConfig"))) + if (it.has("livePortrait")) builder.setLivePortrait(it.getString("livePortrait").toBitmap()!!) + if (it.has("extPortrait")) builder.setExtPortrait(it.getString("extPortrait").toBitmap()!!) + if (it.has("cameraId")) builder.setCameraId(it.getInt("cameraId")) + builder.build() +} + +fun generateScannerConfig(input: ScannerConfig?) = input?.let { + mapOf( + "scenario" to it.scenario, + "onlineProcessingConfig" to generateOnlineProcessingConfig(it.onlineProcessingConfig), + "livePortrait" to it.livePortrait.toBase64(), + "extPortrait" to it.extPortrait.toBase64(), + "cameraId" to it.cameraId + ).toJson() +} + +fun recognizeConfigFromJSON(input: JSONObject) = input.let { + val builder = if (it.has("scenario")) RecognizeConfig.Builder(it.getString("scenario")) + else RecognizeConfig.Builder(onlineProcessingConfigFromJSON(it.getJSONObject("onlineProcessingConfig"))!!) + + if (it.has("oneShotIdentification")) builder.setOneShotIdentification(it.getBoolean("oneShotIdentification")) + if (it.has("dtc")) builder.setDTC(it.getString("dtc").toByteArray()!!) + if (it.has("livePortrait")) builder.setLivePortrait(it.getString("livePortrait").toBitmap()!!) + if (it.has("extPortrait")) builder.setExtPortrait(it.getString("extPortrait").toBitmap()!!) + if (it.has("image")) builder.setBitmap(it.getString("image").toBitmap()!!) + if (it.has("data")) builder.setData(it.getString("data").toByteArray()!!) + if (it.has("images")) { + val base64Images = it.getJSONArray("images") + val images = arrayOfNulls(base64Images.length()) + for (i in images.indices) images[i] = base64Images.getString(i).toBitmap() + builder.setBitmaps(images) + } + if (it.has("dataList")) { + val array = it.getJSONArray("dataList") + val dataList = mutableListOf() + for (i in 0..< array.length()) dataList.add(array.getString(i).toByteArray()!!) + builder.setData(dataList) + } + if (it.has("imageInputData")) { + val base64InputData = it.getJSONArray("imageInputData") + val inputData = arrayOfNulls(base64InputData.length()) + for (i in inputData.indices) inputData[i] = imageInputDataFromJSON(base64InputData.getJSONObject(i)) + builder.setImageInputData(inputData) + } + builder.build() +} + +fun generateRecognizeConfig(input: RecognizeConfig?) = input?.let { + mapOf( + "scenario" to it.scenario, + "onlineProcessingConfig" to generateOnlineProcessingConfig(it.onlineProcessingConfig), + "oneShotIdentification" to it.oneShotIdentification, + "dtc" to it.dtc.toBase64(), + "livePortrait" to it.livePortrait.toBase64(), + "extPortrait" to it.extPortrait.toBase64(), + "image" to it.bitmap.toBase64(), + "images" to it.bitmaps?.map { bp -> bp.toBase64() }?.toJson(), + "dataList" to it.data?.map { bp -> bp.toBase64() }?.toJson(), + "imageInputData" to it.imageInputData.toJson(::generateImageInputData) + ).toJson() +} + +fun backendProcessingConfigFromJSON(input: JSONObject?) = input?.let { + val result = BackendProcessingConfig(it.getString("url")) + if (it.has("httpHeaders")) { + val httpHeaders: MutableMap = HashMap() + it.getJSONObject("httpHeaders").forEach { key, value -> httpHeaders[key] = value as String } + result.httpHeaders = httpHeaders + } + result.rfidServerSideChipVerification = it.getBooleanOrNull("rfidServerSideChipVerification") + result.timeoutConnection = it.getDoubleOrNull("timeoutConnection") + if (it.has("mdlVerification")) result.mdlVerification = it.getBoolean("mdlVerification") + result +} + +fun generateBackendProcessingConfig(input: BackendProcessingConfig?) = input?.let { + mapOf( + "url" to it.url, + "rfidServerSideChipVerification" to it.rfidServerSideChipVerification, + "timeoutConnection" to it.timeoutConnection, + "httpHeaders" to if (it.httpHeaders == null) null else { + val httpHeaders = JSONObject() + for ((key, value) in it.httpHeaders!!) httpHeaders.put(key, value) + httpHeaders + }, + "mdlVerification" to it.mdlVerification, + ).toJson() +} + +fun bsiFromJSON(input: JSONObject?) = input?.let { + val result = Bsi() + result.generateResult = it.getBooleanOrNull("generateResult") + result +} + +fun generateBsi(input: Bsi?) = input?.let { + mapOf( + "generateResult" to it.generateResult, + ).toJson() +} + +val weakReferencesHolder = mutableListOf() +fun onlineProcessingConfigFromJSON(input: JSONObject?) = input?.let { + val builder = OnlineProcessingConfig.Builder(it.getInt("mode")) + + if (it.has("imageFormat")) builder.setImageFormat(it.getInt("imageFormat")) + if (it.has("url")) builder.setUrl(it.getString("url")) + if (it.has("imageCompressionQuality")) builder.setImageCompressionQuality(it.getDouble("imageCompressionQuality").toFloat()) + if (it.has("processParams")) builder.setProcessParams(processParamFromJSON(it.getJSONObject("processParams"))) + if (it.has("requestHeaders")) { + val listener = NetworkInterceptorListener { self -> input.getJSONObject("requestHeaders").forEach { k, v -> self.setRequestProperty(k, v as String) } } + weakReferencesHolder.add(listener) + builder.setNetworkInterceptorListener(listener) + } + builder.build() +} + +fun generateOnlineProcessingConfig(input: OnlineProcessingConfig?) = input?.let { + mapOf( + "mode" to it.mode, + "url" to it.url, + "processParams" to getProcessParams(it.processParam), + "imageFormat" to it.imageFormat, + "imageCompressionQuality" to it.imageCompressionQuality + ).toJson() +} + +fun faceApiParamsFromJSON(input: JSONObject?) = input?.let { + val result = FaceApiParams() + + if (it.has("url")) result.url = it.getString("url") + if (it.has("mode")) result.mode = it.getString("mode") + if (it.has("threshold") && !it.isNull("threshold")) result.threshold = it.getInt("threshold") + if (it.has("serviceTimeout") && !it.isNull("serviceTimeout")) result.serviceTimeout = it.getInt("serviceTimeout") + result.search = faceApiSearchParamsFromJSON(it.getJSONObjectOrNull("searchParams")) + result.proxy = it.getStringOrNull("proxy") + result.proxyUserPwd = it.getStringOrNull("proxyPassword") + result.proxyType = it.getIntOrNull("proxyType") + + result +} + +fun generateFaceApiParams(input: FaceApiParams?) = input?.let { + mapOf( + "url" to it.url, + "mode" to it.mode, + "searchParams" to generateFaceApiSearchParams(it.search), + "threshold" to it.threshold, + "serviceTimeout" to it.serviceTimeout, + "proxy" to it.proxy, + "proxyPassword" to it.proxyUserPwd, + "proxyType" to it.proxyType + ).toJson() +} + +fun faceApiSearchParamsFromJSON(input: JSONObject?) = input?.let { + val result = FaceApiParams.Search() + + if (it.has("limit") && !it.isNull("limit")) result.limit = it.getInt("limit") + if (it.has("threshold") && !it.isNull("threshold")) result.threshold = it.getDouble("threshold").toFloat() + if (it.has("groupIds") && !it.isNull("groupIds")) { + val jsonArrayGroupIds = it.getJSONArray("groupIds") + val groupIds = arrayOfNulls(jsonArrayGroupIds.length()) + for (i in 0 until jsonArrayGroupIds.length()) + groupIds[i] = jsonArrayGroupIds.getString(i) + result.groupIds = groupIds + } + + result +} + +fun generateFaceApiSearchParams(input: FaceApiParams.Search?) = input?.let { + mapOf( + "limit" to it.limit, + "threshold" to it.threshold, + "groupIds" to it.groupIds.toJson() + ).toJson() +} + +fun rfidParamsFromJSON(input: JSONObject?) = input?.let { + val result = RFIDParams() + if (it.has("paIgnoreNotificationCodes")) result.paIgnoreNotificationCodes = it.getJSONArray("paIgnoreNotificationCodes").toIntArray() + result +} + +fun generateRFIDParams(input: RFIDParams?) = input?.let { + mapOf( + "paIgnoreNotificationCodes" to it.paIgnoreNotificationCodes.toJson() + ).toJson() +} + +fun processParamFromJSON(input: JSONObject): ProcessParam { + val result = ProcessParam() + setProcessParams(result, input) + return result +} + +fun generateProcessParam(input: ProcessParam): JSONObject = getProcessParams(input) + +fun imageQAFromJSON(input: JSONObject): ImageQA { + val result = ImageQA() + setImageQA(result, input) + return result +} + +fun generateImageQA(input: ImageQA) = getImageQA(input) + +fun authenticityParamsFromJSON(input: JSONObject): AuthenticityParams { + val result = AuthenticityParams.defaultParams() + setAuthenticityParams(result, input) + return result +} + +fun generateAuthenticityParams(input: AuthenticityParams?) = getAuthenticityParams(input) + +fun livenessParamsFromJSON(input: JSONObject): LivenessParams { + val result = LivenessParams.defaultParams() + setLivenessParams(result, input) + return result +} + +fun generateLivenessParams(input: LivenessParams?) = getLivenessParams(input) + +fun eDLDataGroupsFromJSON(input: JSONObject): EDLDataGroups { + val result = EDLDataGroups() + setDataGroups(result, input) + return result +} + +fun generateEDLDataGroups(input: EDLDataGroups): JSONObject = getDataGroups(input) + +fun ePassportDataGroupsFromJSON(input: JSONObject): EPassportDataGroups { + val result = EPassportDataGroups() + setDataGroups(result, input) + return result +} + +fun generateEPassportDataGroups(input: EPassportDataGroups): JSONObject = getDataGroups(input) + +fun eIDDataGroupsFromJSON(input: JSONObject): EIDDataGroups { + val result = EIDDataGroups() + setDataGroups(result, input) + return result +} + +fun generateEIDDataGroups(input: EIDDataGroups): JSONObject = getDataGroups(input) + +fun dtcDataGroupFromJSON(input: JSONObject): DTCDataGroup { + val result = DTCDataGroup() + setDTCDataGroup(result, input) + return result +} + +fun generateDTCDataGroup(input: DTCDataGroup): JSONObject = getDTCDataGroup(input) + +fun rfidScenarioFromJSON(input: JSONObject): RfidScenario { + val result = RfidScenario() + setRfidScenario(result, input) + return result +} + +fun generateRfidScenario(input: RfidScenario): JSONObject = getRfidScenario(input) + +fun customizationFromJSON(input: JSONObject): ParamsCustomization { + val result = ParamsCustomization() + setCustomization(result, input) + return result +} + +fun generateCustomization(input: ParamsCustomization): JSONObject = getCustomization(input) + +fun functionalityFromJSON(input: JSONObject): Functionality { + val result = Functionality() + setFunctionality(result, input) + return result +} + +fun generateFunctionality(input: Functionality): JSONObject = getFunctionality(input) + +fun glaresCheckParamsFromJSON(input: JSONObject?) = input?.let { + val result = GlaresCheckParams() + if (it.has("imgMarginPart")) result.imgMarginPart = it.getDouble("imgMarginPart") + if (it.has("maxGlaringPart")) result.maxGlaringPart = it.getDouble("maxGlaringPart") + result +} + +fun generateGlaresCheckParams(input: GlaresCheckParams?) = input?.let { + mapOf( + "imgMarginPart" to it.imgMarginPart, + "maxGlaringPart" to it.maxGlaringPart + ).toJson() +} + +@SuppressLint("DiscouragedApi") +fun typefaceFromJSON(it: JSONObject): Pair { + val font = try { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) + context.resources.getFont( + context.resources.getIdentifier( + it.getString("name"), + "font", + context.packageName + ) + ) + else throw Exception("") + } catch (_: Exception) { + Typeface.create( + it.getString("name"), + it.optInt("style", Typeface.NORMAL) + ) + } + return Pair( + font, + if (it.has("size")) it.getInt("size") else null + ) +} + +fun generateTypeface(input: Typeface?, size: Int? = null) = input?.let { + mapOf( + "name" to "undefined", + "style" to it.style, + "size" to size + ).toJson() +} + +fun imageInputDataFromJSON(input: JSONObject?) = input?.let { + ImageInputData( + it.getString("image").toBitmap()!!, + it.getIntOrNull("light") ?: 6, + it.getIntOrNull("pageIndex") ?: 0 + ) +} + +fun generateImageInputData(input: ImageInputData?) = input?.let { + mapOf( + "image" to it.bitmap.toBase64(), + "light" to it.light, + "pageIndex" to it.pageIndex + ).toJson() +} + +fun pkdCertificateFromJSON(input: JSONObject?) = input?.let { + var resourceType = 0 + var binaryData = ByteArray(0) + + if (it.has("resourceType")) resourceType = it.getInt("resourceType") + if (it.has("binaryData")) binaryData = it.getString("binaryData").toByteArray()!! + if (it.has("privateKey")) { + val privateKey = it.getString("privateKey").toByteArray() + return PKDCertificate(binaryData, resourceType, privateKey) + } + PKDCertificate(binaryData, resourceType) +} + +fun generatePKDCertificate(input: PKDCertificate?) = input?.let { + mapOf( + "resourceType" to it.resourceType, + "binaryData" to it.binaryData.toBase64(), + "privateKey" to it.privateKey.toBase64() + ).toJson() +} + +fun documentReaderScenarioFromJSON(input: JSONObject?) = input?.let { + DocumentReaderScenario( + it.optString("name"), + it.optString("caption"), + it.optString("description"), + if (it.optBoolean("multiPageOff")) 1 else 0, + it.optDouble("frameKWHLandscape"), + it.optDouble("frameKWHPortrait"), + it.optDouble("frameKWHDoublePageSpreadPortrait"), + it.optDouble("frameKWHDoublePageSpreadLandscape"), + it.optInt("frameOrientation"), + it.optBoolean("uvTorch"), + it.optBoolean("faceExt"), + it.optBoolean("seriesProcessMode"), + it.optBoolean("manualCrop"), + null + ) +} + +fun generateDocumentReaderScenario(input: DocumentReaderScenario?) = input?.let { + mapOf( + "name" to it.name, + "caption" to it.caption, + "description" to it.description, + "multiPageOff" to it.multiPageOff, + "frameKWHLandscape" to it.frameKWHLandscape, + "frameKWHPortrait" to it.frameKWHPortrait, + "frameKWHDoublePageSpreadPortrait" to it.frameKWHDoublePageSpreadPortrait, + "frameKWHDoublePageSpreadLandscape" to it.frameKWHDoublePageSpreadLandscape, + "frameOrientation" to it.frameOrientation, + "uvTorch" to it.uvTorch, + "faceExt" to it.faceExt, + "seriesProcessMode" to it.seriesProcessMode, + "manualCrop" to it.manualCrop + ).toJson() +} + +fun rectFromJSON(input: JSONObject?) = input?.let { + val result = Rect() + + result.bottom = it.optInt("bottom") + result.top = it.optInt("top") + result.left = it.optInt("left") + result.right = it.optInt("right") + + result +} + +fun generateRect(input: Rect?) = input?.let { + mapOf( + "bottom" to it.bottom, + "top" to it.top, + "left" to it.left, + "right" to it.right + ).toJson() +} + +fun docReaderFieldRectFromJSON(input: JSONObject?) = input?.let { + val result = DocReaderFieldRect() + + result.bottom = it.optInt("bottom") + result.top = it.optInt("top") + result.left = it.optInt("left") + result.right = it.optInt("right") + + result +} + +fun generateDocReaderFieldRect(input: DocReaderFieldRect?) = input?.let { + mapOf( + "bottom" to it.bottom, + "top" to it.top, + "left" to it.left, + "right" to it.right + ).toJson() +} + +fun documentReaderGraphicFieldFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderGraphicField() + + it.remove("value") + result.sourceType = it.optInt("sourceType") + result.fieldType = it.optInt("fieldType") + result.light = it.optInt("light") + result.pageIndex = it.optInt("pageIndex") + result.originalPageIndex = it.optInt("originalPageIndex") + result.boundRect = docReaderFieldRectFromJSON(it.optJSONObject("fieldRect")) + + result +} + +fun generateDocumentReaderGraphicField(input: DocumentReaderGraphicField?) = input?.let { + mapOf( + "sourceType" to it.sourceType, + "fieldType" to it.fieldType, + "light" to it.light, + "pageIndex" to it.pageIndex, + "originalPageIndex" to it.originalPageIndex, + "fieldName" to eGraphicFieldType.getTranslation(context, it.fieldType), + "lightName" to eRPRM_Lights.getTranslation(context, it.light), + "value" to it.imageBase64(), + "fieldRect" to generateDocReaderFieldRect(it.boundRect) + ).toJson() +} + +fun documentReaderGraphicResultFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderGraphicResult() + result.fields = it.optJSONArray("fields").toList(::documentReaderGraphicFieldFromJSON)!! + result +} + +fun generateDocumentReaderGraphicResult(input: DocumentReaderGraphicResult?) = input?.let { + mapOf( + "fields" to it.fields.toJson(::generateDocumentReaderGraphicField) + ).toJson() +} + +fun documentReaderValueFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderValue() + + result.pageIndex = it.optInt("pageIndex") + result.sourceType = it.optInt("sourceType") + result.probability = it.optInt("probability") + result.value = it.optString("value") + result.originalValue = it.optString("originalValue") + result.boundRect = rectFromJSON(it.optJSONObject("boundRect")) + result.originalSymbols = it.optJSONArray("originalSymbols").toList(::documentReaderSymbolFromJSON)!! + result.rfidOrigin = documentReaderRFIDOriginFromJSON(it.optJSONObject("rfidOrigin")) + + result +} + +fun generateDocumentReaderValue(input: DocumentReaderValue?) = input?.let { + mapOf( + "pageIndex" to it.pageIndex, + "sourceType" to it.sourceType, + "probability" to it.probability, + "value" to it.value, + "originalValue" to it.originalValue, + "boundRect" to generateRect(it.boundRect), + "originalSymbols" to it.originalSymbols.toJson(::generateDocumentReaderSymbol), + "rfidOrigin" to generateDocumentReaderRFIDOrigin(it.rfidOrigin) + ).toJson() +} + +fun documentReaderTextFieldFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderTextField() + + it.remove("getValue") + result.fieldType = it.optInt("fieldType") + result.lcid = it.optInt("lcid") + result.status = it.optInt("status") + result.value = it.optString("value") + result.values = it.optJSONArray("values").toList(::documentReaderValueFromJSON)!! + result.comparisonList = it.optJSONArray("comparisonList").toList(::documentReaderComparisonFromJSON)!! + result.validityList = it.optJSONArray("validityList").toList(::documentReaderValidityFromJSON)!! + result.comparisonStatus = it.optInt("comparisonStatus") + result.validityStatus = it.optInt("validityStatus") + + result +} + +fun generateDocumentReaderTextField(input: DocumentReaderTextField?) = input?.let { + mapOf( + "fieldType" to it.fieldType, + "lcid" to it.lcid, + "status" to it.status, + "lcidName" to it.getLcidName(context), + "fieldName" to it.getFieldName(context), + "value" to it.value, + "getValue" to generateDocumentReaderValue(it.value()), + "values" to it.values.toJson(::generateDocumentReaderValue), + "comparisonList" to it.comparisonList.toJson(::generateDocumentReaderComparison), + "validityList" to it.validityList.toJson(::generateDocumentReaderValidity), + "comparisonStatus" to it.comparisonStatus, + "validityStatus" to it.validityStatus + ).toJson() +} + +fun documentReaderTextResultFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderTextResult() + + result.status = it.optInt("status") + result.comparisonStatus = it.optInt("comparisonStatus") + result.validityStatus = it.optInt("validityStatus") + result.availableSourceList = it.optJSONArray("availableSourceList").toList(::documentReaderTextSourceFromJSON)!! + result.fields = it.optJSONArray("fields").toList(::documentReaderTextFieldFromJSON)!! + + result +} + +fun generateDocumentReaderTextResult(input: DocumentReaderTextResult?) = input?.let { + mapOf( + "status" to it.status, + "comparisonStatus" to it.comparisonStatus, + "validityStatus" to it.validityStatus, + "availableSourceList" to it.availableSourceList.toJson(::generateDocumentReaderTextSource), + "fields" to it.fields.toJson(::generateDocumentReaderTextField) + ).toJson() +} + +fun coordinateFromJSON(input: JSONObject?) = input?.let { + val result = Coordinate() + result.x = it.optInt("x") + result.y = it.optInt("y") + result +} + +fun generateCoordinate(input: Coordinate?) = input?.let { + mapOf( + "x" to it.x, + "y" to it.y + ).toJson() +} + +fun elementPositionFromJSON(input: JSONObject?) = input?.let { + val result = ElementPosition() + + result.docFormat = it.optInt("docFormat") + result.width = it.optInt("width") + result.height = it.optInt("height") + result.dpi = it.optInt("dpi") + result.pageIndex = it.optInt("pageIndex") + result.inverse = it.optInt("inverse") + result.perspectiveTr = it.optInt("perspectiveTr") + result.objArea = it.optInt("objArea") + result.objIntAngleDev = it.optInt("objIntAngleDev") + result.resultStatus = it.optInt("resultStatus") + result.angle = it.optDouble("angle") + result.center = coordinateFromJSON(it.optJSONObject("center")) + result.leftTop = coordinateFromJSON(it.optJSONObject("leftTop")) + result.leftBottom = coordinateFromJSON(it.optJSONObject("leftBottom")) + result.rightTop = coordinateFromJSON(it.optJSONObject("rightTop")) + result.rightBottom = coordinateFromJSON(it.optJSONObject("rightBottom")) + + result +} + +fun generateElementPosition(input: ElementPosition?) = input?.let { + mapOf( + "docFormat" to it.docFormat, + "width" to it.width, + "height" to it.height, + "dpi" to it.dpi, + "pageIndex" to it.pageIndex, + "inverse" to it.inverse, + "perspectiveTr" to it.perspectiveTr, + "objArea" to it.objArea, + "objIntAngleDev" to it.objIntAngleDev, + "resultStatus" to it.resultStatus, + "angle" to it.angle, + "center" to generateCoordinate(it.center), + "leftTop" to generateCoordinate(it.leftTop), + "leftBottom" to generateCoordinate(it.leftBottom), + "rightTop" to generateCoordinate(it.rightTop), + "rightBottom" to generateCoordinate(it.rightBottom) + ).toJson() +} + +fun imageQualityFromJSON(input: JSONObject?) = input?.let { + val result = ImageQuality() + + result.featureType = it.optInt("featureType") + result.result = it.optInt("result") + result.type = it.optInt("type") + result.boundRects = it.optJSONArray("boundRects").toList(::docReaderFieldRectFromJSON)!! + + result +} + +fun generateImageQuality(input: ImageQuality?) = input?.let { + mapOf( + "featureType" to it.featureType, + "result" to it.result, + "type" to it.type, + "boundRects" to it.boundRects.toJson(::generateDocReaderFieldRect) + ).toJson() +} + +fun imageQualityGroupFromJSON(input: JSONObject?) = input?.let { + val result = ImageQualityGroup() + + result.count = it.optInt("count") + result.result = it.optInt("result") + result.pageIndex = it.optInt("pageIndex") + result.imageQualityList = it.optJSONArray("imageQualityList").toList(::imageQualityFromJSON)!! + + result +} + +fun generateImageQualityGroup(input: ImageQualityGroup?) = input?.let { + mapOf( + "count" to it.count, + "result" to it.result, + "imageQualityList" to it.imageQualityList.toJson(::generateImageQuality), + "pageIndex" to it.pageIndex + ).toJson() +} + +fun cameraSizeFromJSON(input: JSONObject) = input.let { + val width = it.getInt("width") + val height = it.getInt("height") + Pair(width, height) +} + +fun generateCameraSize(width: Int?, height: Int?): JSONObject? { + width ?: return null + height ?: return null + return mapOf( + "width" to width, + "height" to height + ).toJson() +} + +fun documentReaderDocumentTypeFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderDocumentType() + + result.pageIndex = it.getInt("pageIndex") + result.documentID = it.getInt("documentID") + result.dType = it.getInt("dType") + result.dFormat = it.getInt("dFormat") + result.dMRZ = it.getBoolean("dMRZ") + result.isDeprecated = it.getBoolean("isDeprecated") + result.name = it.getStringOrNull("name") + result.ICAOCode = it.getStringOrNull("ICAOCode") + result.dDescription = it.getStringOrNull("dDescription") + result.dCountryName = it.getStringOrNull("dCountryName") + result.dYear = it.getStringOrNull("dYear") + result.FDSID = it.getJSONArrayOrNull("FDSID").toIntArray() + + result +} + +fun generateDocumentReaderDocumentType(input: DocumentReaderDocumentType?) = input?.let { + mapOf( + "pageIndex" to it.pageIndex, + "documentID" to it.documentID, + "dType" to it.dType, + "dFormat" to it.dFormat, + "dMRZ" to it.dMRZ, + "isDeprecated" to it.isDeprecated, + "name" to it.name, + "ICAOCode" to it.ICAOCode, + "dDescription" to it.dDescription, + "dYear" to it.dYear, + "dCountryName" to it.dCountryName, + "FDSID" to it.FDSID.toJson() + ).toJson() +} + +fun generateDocumentReaderNotification(input: DocumentReaderNotification?) = input?.let { + mapOf( + "notificationCode" to it.notificationCode, + "dataFileType" to it.dataFileType, + "progress" to it.progress + ).toJson() +} + +fun accessControlProcedureTypeFromJSON(input: JSONObject?) = input?.let { + val result = AccessControlProcedureType() + + result.activeOptionIdx = it.optInt("activeOptionIdx") + result.type = it.optInt("type") + result.status = it.optInt("status").toLong() + result.notifications = it.optJSONArray("notifications")!!.toList() + + result +} + +fun generateAccessControlProcedureType(input: AccessControlProcedureType?) = input?.let { + mapOf( + "activeOptionIdx" to it.activeOptionIdx, + "type" to it.type, + "status" to it.status, + "notifications" to it.notifications.toJson() + ).toJson() +} + +fun fileDataFromJSON(input: JSONObject?) = input?.let { + val result = FileData() + + result.length = it.optInt("length") + result.type = it.optInt("type") + result.status = it.optInt("status").toLong() + result.data = it.optString("data") + + result +} + +fun generateFileData(input: FileData?) = input?.let { + mapOf( + "length" to it.length, + "type" to it.type, + "status" to it.status, + "data" to it.data + ).toJson() +} + +fun certificateDataFromJSON(input: JSONObject?) = input?.let { + val result = CertificateData() + result.length = it.optInt("length") + result.data = it.optString("data") + result +} + +fun generateCertificateData(input: CertificateData?) = input?.let { + mapOf( + "length" to it.length, + "data" to it.data + ).toJson() +} + +fun securityObjectCertificatesFromJSON(input: JSONObject?) = input?.let { + val result = SecurityObjectCertificates() + result.securityObject = certificateDataFromJSON(it.optJSONObject("securityObject")) + result +} + +fun generateSecurityObjectCertificates(input: SecurityObjectCertificates?) = input?.let { + mapOf( + "securityObject" to generateCertificateData(it.securityObject) + ).toJson() +} + +fun fileFromJSON(input: JSONObject?) = input?.let { + val result = File() + + result.readingTime = it.optInt("readingTime") + result.type = it.optInt("type") + result.pAStatus = it.optLong("pAStatus") + result.readingStatus = it.optInt("readingStatus").toLong() + result.fileID = it.optString("fileID") + result.fileData = fileDataFromJSON(it.optJSONObject("fileData")) + result.certificates = securityObjectCertificatesFromJSON(it.optJSONObject("certificates")) + result.docFieldsText = it.optJSONArray("docFieldsText")!!.toList() + result.docFieldsGraphics = it.optJSONArray("docFieldsGraphics")!!.toList() + result.docFieldsOriginals = it.optJSONArray("docFieldsOriginals")!!.toList() + result.notifications = it.optJSONArray("notifications")!!.toList() + + result +} + +fun generateFile(input: File?) = input?.let { + mapOf( + "readingTime" to it.readingTime, + "type" to it.type, + "typeName" to eRFID_DataFile_Type.getTranslation(context, it.type), + "pAStatus" to it.pAStatus, + "readingStatus" to it.readingStatus, + "fileID" to it.fileID, + "fileData" to generateFileData(it.fileData), + "certificates" to generateSecurityObjectCertificates(it.certificates), + "docFieldsText" to it.docFieldsText.toJson(), + "docFieldsGraphics" to it.docFieldsGraphics.toJson(), + "docFieldsOriginals" to it.docFieldsOriginals.toJson(), + "notifications" to it.notifications.toJson() + ).toJson() +} + +fun applicationFromJSON(input: JSONObject?) = input?.let { + val result = Application() + + result.type = it.optInt("type") + result.status = it.optInt("status") + result.applicationID = it.optString("applicationID") + result.dataHashAlgorithm = it.optString("dataHashAlgorithm") + result.unicodeVersion = it.optString("unicodeVersion") + result.version = it.optString("version") + result.files = it.optJSONArray("files").toList(::fileFromJSON)!! + + result +} + +fun generateApplication(input: Application?) = input?.let { + mapOf( + "type" to it.type, + "status" to it.status, + "applicationID" to it.applicationID, + "dataHashAlgorithm" to it.dataHashAlgorithm, + "unicodeVersion" to it.unicodeVersion, + "version" to it.version, + "files" to it.files.toJson(::generateFile) + ).toJson() +} + +fun valueFromJSON(input: JSONObject?) = input?.let { + val result = Value() + + result.length = it.optInt("length") + result.type = it.optInt("type") + result.status = it.optInt("status").toLong() + result.data = it.optString("data") + result.format = it.optString("format") + + result +} + +fun generateValue(input: Value?) = input?.let { + mapOf( + "length" to it.length, + "type" to it.type, + "status" to it.status, + "data" to it.data, + "format" to it.format + ).toJson() +} + +fun attributeFromJSON(input: JSONObject?) = input?.let { + val result = Attribute() + result.type = it.optString("type") + result.value = valueFromJSON(it.optJSONObject("value")) + result +} + +fun generateAttribute(input: Attribute?) = input?.let { + mapOf( + "type" to it.type, + "value" to generateValue(it.value) + ).toJson() +} + +fun authorityFromJSON(input: JSONObject?) = input?.let { + val result = Authority() + result.data = it.optString("data") + result.friendlyName = valueFromJSON(it.optJSONObject("friendlyName")) + result.attributes = it.optJSONArray("attributes").toList(::attributeFromJSON)!! + result +} + +fun generateAuthority(input: Authority?) = input?.let { + mapOf( + "data" to it.data, + "friendlyName" to generateValue(it.friendlyName), + "attributes" to it.attributes.toJson(::generateAttribute) + ).toJson() +} + +fun extensionFromJSON(input: JSONObject?) = input?.let { + val result = Extension() + result.data = it.optString("data") + result.type = it.optString("type") + result +} + +fun generateExtension(input: Extension?) = input?.let { + mapOf( + "data" to it.data, + "type" to it.type + ).toJson() +} + +fun validityFromJSON(input: JSONObject?) = input?.let { + val result = Validity() + result.notAfter = valueFromJSON(it.optJSONObject("notAfter")) + result.notBefore = valueFromJSON(it.optJSONObject("notBefore")) + result +} + +fun generateValidity(input: Validity?) = input?.let { + mapOf( + "notAfter" to generateValue(it.notAfter), + "notBefore" to generateValue(it.notBefore) + ).toJson() +} + +fun certificateChainFromJSON(input: JSONObject?) = input?.let { + val result = CertificateChain() + + result.origin = it.optInt("origin") + result.type = it.optInt("type") + result.version = it.optInt("version") + result.paStatus = it.optInt("paStatus").toLong() + result.serialNumber = it.optString("serialNumber") + result.signatureAlgorithm = it.optString("signatureAlgorithm") + result.subjectPKAlgorithm = it.optString("subjectPKAlgorithm") + result.fileName = valueFromJSON(it.optJSONObject("fileName")) + result.validity = validityFromJSON(it.optJSONObject("validity")) + result.issuer = authorityFromJSON(it.optJSONObject("issuer")) + result.subject = authorityFromJSON(it.optJSONObject("subject")) + result.notifications = it.optJSONArray("notifications")!!.toList() + result.extensions = it.optJSONArray("extensions").toList(::extensionFromJSON)!! + + result +} + +fun generateCertificateChain(input: CertificateChain?) = input?.let { + mapOf( + "origin" to it.origin, + "type" to it.type, + "version" to it.version, + "paStatus" to it.paStatus, + "serialNumber" to it.serialNumber, + "signatureAlgorithm" to it.signatureAlgorithm, + "subjectPKAlgorithm" to it.subjectPKAlgorithm, + "fileName" to generateValue(it.fileName), + "validity" to generateValidity(it.validity), + "issuer" to generateAuthority(it.issuer), + "subject" to generateAuthority(it.subject), + "notifications" to it.notifications.toJson(), + "extensions" to it.extensions.toJson(::generateExtension) + ).toJson() +} + +fun signerInfoFromJSON(input: JSONObject?) = input?.let { + val result = SignerInfo() + + result.version = it.optInt("version") + result.paStatus = it.optInt("paStatus").toLong() + result.dataToHash = it.optString("dataToHash") + result.digestAlgorithm = it.optString("digestAlgorithm") + result.signatureAlgorithm = it.optString("signatureAlgorithm") + result.serialNumber = valueFromJSON(it.optJSONObject("serialNumber")) + result.signature = valueFromJSON(it.optJSONObject("signature")) + result.subjectKeyIdentifier = valueFromJSON(it.optJSONObject("subjectKeyIdentifier")) + result.issuer = authorityFromJSON(it.optJSONObject("issuer")) + result.notifications = it.optJSONArray("notifications")!!.toList() + result.signedAttributes = it.optJSONArray("signedAttributes").toList(::extensionFromJSON)!! + result.certificateChain = it.optJSONArray("certificateChain").toList(::certificateChainFromJSON)!! + + result +} + +fun generateSignerInfo(input: SignerInfo?) = input?.let { + mapOf( + "version" to it.version, + "paStatus" to it.paStatus, + "dataToHash" to it.dataToHash, + "digestAlgorithm" to it.digestAlgorithm, + "signatureAlgorithm" to it.signatureAlgorithm, + "serialNumber" to generateValue(it.serialNumber), + "signature" to generateValue(it.signature), + "subjectKeyIdentifier" to generateValue(it.subjectKeyIdentifier), + "issuer" to generateAuthority(it.issuer), + "notifications" to it.notifications.toJson(), + "signedAttributes" to it.signedAttributes.toJson(::generateExtension), + "certificateChain" to it.certificateChain.toJson(::generateCertificateChain) + ).toJson() +} + +fun securityObjectFromJSON(input: JSONObject?) = input?.let { + val result = SecurityObject() + + result.fileReference = it.optInt("fileReference") + result.version = it.optInt("version") + result.objectType = it.optString("objectType") + result.notifications = it.optJSONArray("notifications")!!.toList() + result.signerInfos = it.optJSONArray("signerInfos").toList(::signerInfoFromJSON)!! + + result +} + +fun generateSecurityObject(input: SecurityObject?) = input?.let { + mapOf( + "fileReference" to it.fileReference, + "version" to it.version, + "objectType" to it.objectType, + "notifications" to it.notifications.toJson(), + "signerInfos" to it.signerInfos.toJson(::generateSignerInfo) + ).toJson() +} + +fun cardPropertiesFromJSON(input: JSONObject?) = input?.let { + val result = CardProperties() + + result.aTQA = it.optInt("aTQA") + result.bitRateR = it.optInt("bitRateR") + result.bitRateS = it.optInt("bitRateS") + result.chipTypeA = it.optInt("chipTypeA") + result.mifareMemory = it.optInt("mifareMemory") + result.rfidType = it.optInt("rfidType") + result.sAK = it.optInt("sAK") + result.support4 = it.optBoolean("support4") + result.supportMifare = it.optBoolean("supportMifare") + result.aTQB = it.optString("aTQB") + result.aTR = it.optString("aTR") + result.baudrate1 = it.optString("baudrate1") + result.baudrate2 = it.optString("baudrate2") + result.uID = it.optString("uID") + + result +} + +fun generateCardProperties(input: CardProperties?) = input?.let { + mapOf( + "aTQA" to it.aTQA, + "bitRateR" to it.bitRateR, + "bitRateS" to it.bitRateS, + "chipTypeA" to it.chipTypeA, + "mifareMemory" to it.mifareMemory, + "rfidType" to it.rfidType, + "sAK" to it.sAK, + "support4" to it.support4, + "supportMifare" to it.supportMifare, + "aTQB" to it.aTQB, + "aTR" to it.aTR, + "baudrate1" to it.baudrate1, + "baudrate2" to it.baudrate2, + "uID" to it.uID + ).toJson() +} + +fun rfidSessionDataFromJSON(input: JSONObject?) = input?.let { + val result = RFIDSessionData() + + result.totalBytesReceived = it.optInt("totalBytesReceived") + result.totalBytesSent = it.optInt("totalBytesSent") + result.status = it.optInt("status").toLong() + result.extLeSupport = it.optLong("extLeSupport") + result.processTime = it.optLong("processTime") + result.cardProperties = cardPropertiesFromJSON(it.optJSONObject("cardProperties")) + result.accessControls = it.optJSONArray("accessControls").toList(::accessControlProcedureTypeFromJSON)!! + result.applications = it.optJSONArray("applications").toList(::applicationFromJSON)!! + result.securityObjects = it.optJSONArray("securityObjects").toList(::securityObjectFromJSON)!! + result.dataFields = it.optJSONArray("dataFields").toList(::dataFieldFromJSON)!! + result.dataGroups = it.optJSONArray("dataGroups").toIntArray() + + result +} + +fun generateRFIDSessionData(input: RFIDSessionData?) = input?.let { + mapOf( + "totalBytesReceived" to it.totalBytesReceived, + "totalBytesSent" to it.totalBytesSent, + "status" to it.status, + "extLeSupport" to it.extLeSupport, + "processTime" to it.processTime, + "cardProperties" to generateCardProperties(it.cardProperties), + "accessControls" to it.accessControls.toJson(::generateAccessControlProcedureType), + "applications" to it.applications.toJson(::generateApplication), + "securityObjects" to it.securityObjects.toJson(::generateSecurityObject), + "dataGroups" to it.dataGroups.toJson(), + "dataFields" to it.dataFields.toJson(::generateDataField) + ).toJson() +} + +fun dataFieldFromJSON(input: JSONObject?) = input?.let { + val result = DataField() + result.data = it.optString("data") + result.fieldType = it.optInt("fieldType") + result +} + +fun generateDataField(input: DataField?) = input?.let { + mapOf( + "data" to it.data, + "fieldType" to it.fieldType + ).toJson() +} + +fun documentReaderAuthenticityCheckFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderAuthenticityCheck() + result.type = it.optInt("type") + result.pageIndex = it.optInt("pageIndex") + result.elements = it.optJSONArray("elements").toList(::documentReaderAuthenticityElementFromJSON)!! + result +} + +fun generateDocumentReaderAuthenticityCheck(input: DocumentReaderAuthenticityCheck?) = input?.let { + mapOf( + "type" to it.type, + "status" to it.status, + "typeName" to it.getTypeName(context), + "pageIndex" to it.pageIndex, + "elements" to it.elements.toJson(::generateDocumentReaderAuthenticityElement) + ).toJson() +} + +fun pdf417InfoFromJSON(input: JSONObject?) = input?.let { + val result = PDF417Info() + result.errorLevel = it.optInt("errorLevel") + result.columns = it.optInt("columns") + result.rows = it.optInt("rows") + result +} + +fun generatePDF417Info(input: PDF417Info?) = input?.let { + mapOf( + "errorLevel" to it.errorLevel, + "columns" to it.columns, + "rows" to it.rows + ).toJson() +} + +fun documentReaderBarcodeResultFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderBarcodeResult() + result.fields = it.optJSONArray("fields").toList(::documentReaderBarcodeFieldFromJSON)!! + result +} + +fun generateDocumentReaderBarcodeResult(input: DocumentReaderBarcodeResult?) = input?.let { + mapOf( + "fields" to it.fields.toJson(::generateDocumentReaderBarcodeField) + ).toJson() +} + +fun documentReaderBarcodeFieldFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderBarcodeField() + + result.barcodeType = it.optInt("barcodeType") + result.status = it.optInt("status") + result.pageIndex = it.optInt("pageIndex") + result.pdf417Info = pdf417InfoFromJSON(it.optJSONObject("pdf417Info")) + result.data = it.optString("data").toByteArray() + + result +} + +fun generateDocumentReaderBarcodeField(input: DocumentReaderBarcodeField?) = input?.let { + mapOf( + "barcodeType" to it.barcodeType, + "status" to it.status, + "pageIndex" to it.pageIndex, + "pdf417Info" to generatePDF417Info(it.pdf417Info), + "data" to it.data.toBase64() + ).toJson() +} + +fun documentReaderAuthenticityResultFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderAuthenticityResult() + result.checks = it.optJSONArray("checks").toList(::documentReaderAuthenticityCheckFromJSON)!! + result +} + +@Suppress("DEPRECATION") +fun generateDocumentReaderAuthenticityResult(input: DocumentReaderAuthenticityResult?) = input?.let { + mapOf( + "status" to it.status, + "checks" to it.checks.toJson(::generateDocumentReaderAuthenticityCheck) + ).toJson() +} + +fun documentReaderAuthenticityElementFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderAuthenticityElement() + result.status = it.optInt("status") + result.elementType = it.optInt("elementType") + result.elementDiagnose = it.optInt("elementDiagnose") + result +} + +fun generateDocumentReaderAuthenticityElement(input: DocumentReaderAuthenticityElement?) = input?.let { + mapOf( + "status" to it.status, + "elementType" to it.elementType, + "elementDiagnose" to it.elementDiagnose, + "elementTypeName" to it.getElementTypeName(context), + "elementDiagnoseName" to it.getElementDiagnoseName(context) + ).toJson() +} + +fun paResourcesIssuerFromJSON(input: JSONObject?) = input?.let { + val result = PAResourcesIssuer() + result.data = it.optString("data").toByteArray() + result.friendlyName = it.getStringOrNull("friendlyName") + result.attributes = it.optJSONArray("attributes").toArray(::paAttributeFromJSON) + result +} + +fun generatePAResourcesIssuer(input: PAResourcesIssuer?) = input?.let { + mapOf( + "data" to it.data.toBase64(), + "friendlyName" to it.friendlyName, + "attributes" to it.attributes.toJson(::generatePAAttribute) + ).toJson() +} + +fun paAttributeFromJSON(input: JSONObject?) = input?.let { + val result = PAAttribute() + result.type = it.optString("type") + result.value = it.optString("value") + result +} + +fun generatePAAttribute(input: PAAttribute?) = input?.let { + mapOf( + "type" to it.type, + "value" to it.value + ).toJson() +} + +fun taChallengeFromJSON(input: JSONObject?) = input?.let { + val result = TAChallenge() + + result.data = it.optString("data").toByteArray() + result.auxPCD = it.optString("auxPCD") + result.challengePICC = it.optString("challengePICC") + result.hashPK = it.optString("hashPK") + result.idPICC = it.optString("idPICC") + + result +} + +fun generateTAChallenge(input: TAChallenge?) = input?.let { + mapOf( + "data" to it.data.toBase64(), + "auxPCD" to it.auxPCD, + "challengePICC" to it.challengePICC, + "hashPK" to it.hashPK, + "idPICC" to it.idPICC + ).toJson() +} + +fun documentReaderResultsStatusFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderResultsStatus::class.constructor().instantiate() + result.setPrivateProperty("overallStatus", it.getInt("overallStatus")) + result.setPrivateProperty("optical", it.getInt("optical")) + result.setPrivateProperty("detailsOptical", detailsOpticalFromJSON(it.getJSONObject("detailsOptical"))) + result.setPrivateProperty("rfid", it.getInt("rfid")) + result.setPrivateProperty("detailsRFID", detailsRFIDFromJSON(it.getJSONObject("detailsRFID"))) + result.setPrivateProperty("portrait", it.getInt("portrait")) + result.setPrivateProperty("stopList", it.getInt("stopList")) + result.setPrivateProperty("mDL", it.getInt("mDL")) + result.setPrivateProperty("age", it.getInt("age")) + result.setPrivateProperty("captureProcessIntegrity", it.getInt("captureProcessIntegrity")) + result.setPrivateProperty("detailsAge", detailsAgeFromJSON(it.getJSONObject("detailsAge"))) + result +} + +fun generateDocumentReaderResultsStatus(input: DocumentReaderResultsStatus?) = input?.let { + mapOf( + "overallStatus" to it.overallStatus, + "optical" to it.optical, + "detailsOptical" to generateDetailsOptical(it.detailsOptical), + "rfid" to it.rfid, + "detailsRFID" to generateDetailsRFID(it.detailsRFID), + "portrait" to it.portrait, + "stopList" to it.stopList, + "mDL" to it.mdl, + "age" to it.age, + "captureProcessIntegrity" to it.captureProcessIntegrity, + "detailsAge" to generateDetailsAge(it.detailsAge), + ).toJson() +} + +fun detailsOpticalFromJSON(input: JSONObject?) = input?.let { + val result = DetailsOptical::class.constructor().instantiate() + result.setPrivateProperty("overallStatus", it.getInt("overallStatus")) + result.setPrivateProperty("mrz", it.getInt("mrz")) + result.setPrivateProperty("text", it.getInt("text")) + result.setPrivateProperty("docType", it.getInt("docType")) + result.setPrivateProperty("security", it.getInt("security")) + result.setPrivateProperty("imageQA", it.getInt("imageQA")) + result.setPrivateProperty("expiry", it.getInt("expiry")) + result.setPrivateProperty("vds", it.getInt("vds")) + result.setPrivateProperty("pagesCount", it.getInt("pagesCount")) + result +} + +fun generateDetailsOptical(input: DetailsOptical?) = input?.let { + mapOf( + "overallStatus" to it.overallStatus, + "mrz" to it.mrz, + "text" to it.text, + "docType" to it.docType, + "security" to it.security, + "imageQA" to it.imageQA, + "expiry" to it.expiry, + "vds" to it.vds, + "pagesCount" to it.pagesCount + ).toJson() +} + +fun detailsRFIDFromJSON(input: JSONObject?) = input?.let { + val result = DetailsRFID::class.constructor().instantiate() + result.setPrivateProperty("overallStatus", it.getInt("overallStatus")) + result.setPrivateProperty("pa", it.getInt("pa")) + result.setPrivateProperty("ca", it.getInt("ca")) + result.setPrivateProperty("aa", it.getInt("aa")) + result.setPrivateProperty("ta", it.getInt("ta")) + result.setPrivateProperty("bac", it.getInt("bac")) + result.setPrivateProperty("pace", it.getInt("pace")) + result +} + +fun generateDetailsRFID(input: DetailsRFID?) = input?.let { + mapOf( + "pa" to it.pa, + "ca" to it.ca, + "aa" to it.aa, + "ta" to it.ta, + "bac" to it.bac, + "pace" to it.pace, + "overallStatus" to it.overallStatus + ).toJson() +} + +fun detailsAgeFromJSON(input: JSONObject?) = input?.let { + val result = DetailsAge::class.constructor().instantiate() + result.setPrivateProperty("threshold", it.getInt("threshold")) + result.setPrivateProperty("overThreshold", it.getInt("overThreshold")) + result.setPrivateProperty("over18", it.getInt("over18")) + result.setPrivateProperty("over21", it.getInt("over21")) + result.setPrivateProperty("over25", it.getInt("over25")) + result.setPrivateProperty("over65", it.getInt("over65")) + result +} + +fun generateDetailsAge(input: DetailsAge?) = input?.let { + mapOf( + "threshold" to it.threshold, + "overThreshold" to it.overThreshold, + "over18" to it.over18, + "over21" to it.over21, + "over25" to it.over25, + "over65" to it.over65 + ).toJson() +} + +fun vdsncDataFromJSON(input: JSONObject?) = input?.let { + val result = VDSNCData::class.constructor().instantiate() + result.setPrivateProperty("type", it.getStringOrNull("type")) + result.setPrivateProperty("version", it.getInt("version")) + result.setPrivateProperty("issuingCountry", it.getStringOrNull("issuingCountry")) + result.setPrivateProperty("message", it.getJSONObjectOrNull("message")) + result.setPrivateProperty("signatureAlg", it.getStringOrNull("signatureAlgorithm")) + result.setPrivateProperty("signature", bytesDataFromJSON(it.getJSONObjectOrNull("signature"))) + result.setPrivateProperty("certificate", bytesDataFromJSON(it.getJSONObjectOrNull("certificate"))) + result.setPrivateProperty("certificateChain", it.getJSONArray("certificateChain").toList(::certificateChainFromJSON)) + result.setPrivateProperty("notifications", it.getJSONArray("notifications").toLongArray()) + result +} + +fun generateVDSNCData(input: VDSNCData?) = input?.let { + mapOf( + "type" to it.type, + "version" to it.version, + "issuingCountry" to it.issuingCountry, + "message" to it.message, + "signatureAlgorithm" to it.signatureAlg, + "signature" to generateBytesData(it.signature), + "certificate" to generateBytesData(it.certificate), + "certificateChain" to it.certificateChain.toJson(::generateCertificateChain), + "notifications" to it.notifications.toJson() + ).toJson() +} + +fun bytesDataFromJSON(input: JSONObject?) = input?.let { + val result = BytesData::class.constructor().instantiate() + result.setPrivateProperty("data", it.getString("data")) + result.setPrivateProperty("length", it.getInt("length")) + result.setPrivateProperty("status", it.getLong("status")) + result.setPrivateProperty("type", it.getInt("type")) + result +} + +fun generateBytesData(input: BytesData?) = input?.let { + mapOf( + "data" to it.data, + "length" to it.length, + "status" to it.status, + "type" to it.type + ).toJson() +} + +fun generateLicense(input: License?) = input?.let { + mapOf( + "expiryDate" to it.expiryDate?.toString(), + "countryFilter" to it.countryFilter?.toJson(), + "isRfidAvailable" to it.isRfidAvailable + ).toJson() +} + +fun generateDocReaderVersion(input: DocReaderVersion?) = input?.let { + mapOf( + "api" to it.api, + "core" to it.core, + "coreMode" to it.coreMode, + "database" to generateDocReaderDocumentsDatabase(it.database) + ).toJson() +} + +fun docReaderDocumentsDatabaseFromJSON(input: JSONObject?) = input?.let { + DocReaderDocumentsDatabase::class.constructor(String::class, String::class, String::class, String::class, Int::class, Int::class, java.lang.Long::class).instantiate( + it.getStringOrNull("databaseID"), + it.getStringOrNull("version"), + it.getStringOrNull("date"), + it.getStringOrNull("databaseDescription"), + it.getInt("countriesNumber"), + it.getInt("documentsNumber"), + it.getLongOrNull("size"), + ) +} + +fun generateDocReaderDocumentsDatabase(input: DocReaderDocumentsDatabase?) = input?.let { + mapOf( + "databaseID" to it.databaseID, + "version" to it.version, + "date" to it.date, + "databaseDescription" to it.databaseDescription, + "countriesNumber" to it.countriesNumber, + "documentsNumber" to it.documentsNumber, + "size" to it.size + ).toJson() +} + +fun documentReaderComparisonFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderComparison() + result.sourceTypeLeft = it.optInt("sourceTypeLeft") + result.sourceTypeRight = it.optInt("sourceTypeRight") + result.status = it.optInt("status") + result +} + +fun generateDocumentReaderComparison(input: DocumentReaderComparison?) = input?.let { + mapOf( + "sourceTypeLeft" to it.sourceTypeLeft, + "sourceTypeRight" to it.sourceTypeRight, + "status" to it.status + ).toJson() +} + +fun documentReaderRFIDOriginFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderRfidOrigin() + + result.dg = it.optInt("dg") + result.dgTag = it.optInt("dgTag") + result.entryView = it.optInt("entryView") + result.tagEntry = it.optInt("tagEntry") + + result +} + +fun generateDocumentReaderRFIDOrigin(input: DocumentReaderRfidOrigin?) = input?.let { + mapOf( + "dg" to it.dg, + "dgTag" to it.dgTag, + "entryView" to it.entryView, + "tagEntry" to it.tagEntry + ).toJson() +} + +fun documentReaderTextSourceFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderTextSource() + result.sourceType = it.getInt("sourceType") + result.source = it.getStringOrNull("source") + result.validityStatus = it.getInt("validityStatus") + result +} + +fun generateDocumentReaderTextSource(input: DocumentReaderTextSource?) = input?.let { + mapOf( + "sourceType" to it.sourceType, + "source" to it.source, + "validityStatus" to it.validityStatus + ).toJson() +} + +fun documentReaderSymbolFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderSymbol() + result.code = it.optInt("code") + result.probability = it.optInt("probability") + result.rect = rectFromJSON(it.optJSONObject("rect")) + result +} + +fun generateDocumentReaderSymbol(input: DocumentReaderSymbol?) = input?.let { + mapOf( + "code" to it.code, + "rect" to generateRect(it.rect), + "probability" to it.probability + ).toJson() +} + +fun documentReaderValidityFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderValidity() + result.sourceType = it.optInt("sourceType") + result.status = it.optInt("status") + result +} + +fun generateDocumentReaderValidity(input: DocumentReaderValidity?) = input?.let { + mapOf( + "sourceType" to it.sourceType, + "status" to it.status + ).toJson() +} + +fun barcodeTypeArrayFromJson(input: JSONArray?) = input?.let { + val result = arrayOfNulls(it.length()) + for (i in 0 until it.length()) result[i] = BarcodeType.valueOf(it.getInt(i)) + result +} + +fun generateBarcodeTypeArray(input: Array?) = input?.let { + val result = JSONArray() + for (s in it) result.put( + when (s) { + "bct_Code128" -> 1 + "bct_Code39" -> 2 + "bct_EAN8" -> 3 + "bct_ITF" -> 4 + "bct_PDF417" -> 5 + "bct_STF" -> 6 + "bct_MTF" -> 7 + "bct_IATA" -> 8 + "bct_CODABAR" -> 9 + "bct_UPCA" -> 10 + "bct_CODE93" -> 11 + "bct_UPCE" -> 12 + "bct_EAN13" -> 13 + "bct_QRCODE" -> 14 + "bct_AZTEC" -> 15 + "bct_DATAMATRIX" -> 16 + "bct_ALL_1D" -> 17 + "bct_Code11" -> 18 + "bct_JABCODE" -> 19 + else -> 0 + } + ) + result +} + +fun docFeatureFromJSON(input: JSONObject?) = input?.let { + val result = DocFeature::class.constructor().instantiate() + result.setPrivateProperty("type", it.getIntOrNull("type")) + result.setPrivateProperty("data", bytesDataFromJSON(it.getJSONObjectOrNull("data"))) + result +} + +fun generateDocFeature(input: DocFeature?) = input?.let { + mapOf( + "type" to it.type, + "data" to generateBytesData(it.data), + ).toJson() +} + +fun vdsDataFromJSON(input: JSONObject?) = input?.let { + val result = VDSData::class.constructor().instantiate() + result.setPrivateProperty("version", it.getIntOrNull("version")) + result.setPrivateProperty("type", it.getIntOrNull("type")) + result.setPrivateProperty("docType", it.getIntOrNull("docType")) + result.setPrivateProperty("featureRef", it.getIntOrNull("featureRef")) + result.setPrivateProperty("issuingCountry", it.getStringOrNull("issuingCountry")) + result.setPrivateProperty("docIssueDate", it.getStringOrNull("docIssueDate")) + result.setPrivateProperty("signature", bytesDataFromJSON(it.getJSONObjectOrNull("signature"))) + result.setPrivateProperty("signatureDate", it.getStringOrNull("signatureDate")) + result.setPrivateProperty("signer", it.getStringOrNull("signer")) + result.setPrivateProperty("certificate", it.getStringOrNull("certificate")) + result.setPrivateProperty("certificateChain", it.getJSONArray("certificateChain").toList(::certificateChainFromJSON)) + result.setPrivateProperty("docFeatures", it.getJSONArray("docFeatures").toList(::docFeatureFromJSON)) + result.setPrivateProperty("notifications", it.getJSONArray("notifications").toLongArray()) + result +} + +fun generateVDSData(input: VDSData?) = input?.let { + mapOf( + "version" to it.version, + "type" to it.type, + "docType" to it.docType, + "featureRef" to it.featureRef, + "issuingCountry" to it.issuingCountry, + "docIssueDate" to it.docIssueDate, + "signature" to generateBytesData(it.signature), + "signatureDate" to it.signatureDate, + "signer" to it.signer, + "certificate" to it.certificate, + "certificateChain" to it.certificateChain.toJson(::generateCertificateChain), + "docFeatures" to it.docFeatures.toJson(::generateDocFeature), + "notifications" to it.notifications.toJson(), + ).toJson() +} + +fun documentReaderResultsFromJSON(input: JSONObject?) = input?.let { + val result = DocumentReaderResults() + + result.chipPage = it.optInt("chipPage") + result.processingFinishedStatus = it.optInt("processingFinishedStatus") + result.elapsedTime = it.optInt("elapsedTime") + result.elapsedTimeRFID = it.optInt("elapsedTimeRFID") + result.morePagesAvailable = it.optInt("morePagesAvailable") + result.graphicResult = documentReaderGraphicResultFromJSON(it.optJSONObject("graphicResult")) + result.textResult = documentReaderTextResultFromJSON(it.optJSONObject("textResult")) + result.documentPosition = it.optJSONArray("documentPosition").toList(::elementPositionFromJSON)!! + result.barcodePosition = it.optJSONArray("barcodePosition").toList(::elementPositionFromJSON)!! + result.mrzPosition = it.optJSONArray("mrzPosition").toList(::elementPositionFromJSON)!! + result.imageQuality = it.optJSONArray("imageQuality").toList(::imageQualityGroupFromJSON)!! + result.rawResult = it.optString("rawResult") + result.bsiTr03135Results = it.getStringOrNull("bsiTr03135Results") + result.rfidSessionData = rfidSessionDataFromJSON(it.optJSONObject("rfidSessionData")) + result.authenticityResult = documentReaderAuthenticityResultFromJSON(it.optJSONObject("authenticityResult")) + result.barcodeResult = documentReaderBarcodeResultFromJSON(it.optJSONObject("barcodeResult")) + result.rfidSessionData = rfidSessionDataFromJSON(it.optJSONObject("rfidSessionData")) + result.documentType = it.optJSONArray("documentType").toList(::documentReaderDocumentTypeFromJSON)!! + result.status = documentReaderResultsStatusFromJSON(it.optJSONObject("status"))!! + result.vdsncData = vdsncDataFromJSON(it.getJSONObject("vdsncData")) + result.vdsData = vdsDataFromJSON(it.getJSONObjectOrNull("vdsData")) + result.dtcData = it.getString("dtcData") + result.transactionInfo = transactionInfoFromJSON(it.optJSONObject("transactionInfo"))!! + result +} + +fun generateDocumentReaderResults(input: DocumentReaderResults?) = input?.let { + mapOf( + "chipPage" to it.chipPage, + "processingFinishedStatus" to it.processingFinishedStatus, + "elapsedTime" to it.elapsedTime, + "elapsedTimeRFID" to it.elapsedTimeRFID, + "morePagesAvailable" to it.morePagesAvailable, + "graphicResult" to generateDocumentReaderGraphicResult(it.graphicResult), + "textResult" to generateDocumentReaderTextResult(it.textResult), + "documentPosition" to it.documentPosition.toJson(::generateElementPosition), + "barcodePosition" to it.barcodePosition.toJson(::generateElementPosition), + "mrzPosition" to it.mrzPosition.toJson(::generateElementPosition), + "imageQuality" to it.imageQuality.toJson(::generateImageQualityGroup), + "rawResult" to it.rawResult, + "bsiTr03135Results" to it.bsiTr03135Results, + "rfidSessionData" to generateRFIDSessionData(it.rfidSessionData), + "authenticityResult" to generateDocumentReaderAuthenticityResult(it.authenticityResult), + "barcodeResult" to generateDocumentReaderBarcodeResult(it.barcodeResult), + "documentType" to it.documentType.toJson(::generateDocumentReaderDocumentType), + "status" to generateDocumentReaderResultsStatus(it.status), + "vdsncData" to generateVDSNCData(it.vdsncData), + "vdsData" to generateVDSData(it.vdsData), + "dtcData" to it.dtcData, + "transactionInfo" to generateTransactionInfo(it.transactionInfo) + ).toJson() +} + +fun matrixFromJSON(input: JSONArray?) = input?.let { + val matrix = Matrix() + val result = FloatArray(it.length()) + for (i in 0 until it.length()) result[i] = it.getDouble(i).toFloat() + matrix.setValues(result) + matrix +} + +fun generateMatrix(input: Matrix?) = input?.let { + val floats = FloatArray(9) + it.getValues(floats) + val result = JSONArray() + for (f in floats) result.put(java.lang.Float.valueOf(f)) + result +} + +fun deviceRetrievalMethodFromJSON(input: JSONObject?) = input?.let { + val result = DeviceRetrievalMethod::class.constructor().instantiate() + result.setPrivateProperty("type", it.getInt("type")) + result.setPrivateProperty("version", it.getIntOrNull("version")) + result.setPrivateProperty("cmdMaxLength", it.getIntOrNull("cmdMaxLength")) + result.setPrivateProperty("respMaxLength", it.getIntOrNull("respMaxLength")) + result.setPrivateProperty("clientModeSupport", it.getBooleanOrNull("clientModeSupport")) + result.setPrivateProperty("clientModeUUID", it.getStringOrNull("clientModeUUID")) + result.setPrivateProperty("serverModeSupport", it.getBooleanOrNull("serverModeSupport")) + result.setPrivateProperty("serverModeUUID", it.getStringOrNull("serverModeUUID")) + result +} + +fun generateDeviceRetrievalMethod(input: DeviceRetrievalMethod?) = input?.let { + mapOf( + "type" to it.type, + "version" to it.version, + "cmdMaxLength" to it.cmdMaxLength, + "respMaxLength" to it.respMaxLength, + "clientModeSupport" to it.clientModeSupport, + "clientModeUUID" to it.clientModeUUID, + "serverModeSupport" to it.serverModeSupport, + "serverModeUUID" to it.serverModeUUID, + ).toJson() +} + +fun deviceEngagementFromJSON(input: JSONObject?) = input?.let { + val result = DeviceEngagement::class.constructor().instantiate() + + result.setPrivateProperty("deviceRetrievalMethods", it.getJSONArray("deviceRetrievalMethods").toList(::deviceRetrievalMethodFromJSON)) + + result +} + +fun generateDeviceEngagement(input: DeviceEngagement?) = input?.let { + mapOf( + "deviceRetrievalMethods" to it.deviceRetrievalMethods.toJson(::generateDeviceRetrievalMethod) + ).toJson() +} + +fun nameSpaceMDLFromJSON(input: JSONObject?) = input?.let { + val result = NameSpaceMDL(it.getString("name")) + it.getJSONObject("map").forEach { key, value -> + result.addField(key, eMDLIntentToRetain.values()[value.toInt()]) + } + result +} + +fun generateNameSpaceMDL(input: NameSpaceMDL?) = input?.let { + val map = JSONObject() + (it.getPrivateProperty("map") as Map).forEach { (key, value) -> + map.put(key, value.ordinal) + } + mapOf( + "name" to it.getPrivateProperty("name"), + "map" to map, + ).toJson() +} + +fun documentRequestMDLFromJSON(input: JSONObject?): DocumentRequestMDL? = input?.let { + val docType = it.getString("docType") + if (docType == "org.iso.18013.5.1.mDL") return@let documentRequest18013MDLFromJSON(it) + val result = DocumentRequestMDL(docType) + + result.setPrivateProperty("nameSpaceMDLs", it.getJSONArray("namespaces").toList(::nameSpaceMDLFromJSON)) + + result +} + +fun generateDocumentRequestMDL(input: DocumentRequestMDL?): JSONObject? = input?.let { + val docType = it.getPrivateProperty("docType") as String + if (docType == "org.iso.18013.5.1.mDL") return@let generateDocumentRequest18013MDL(it as DocumentRequest18013MDL?) + mapOf( + "docType" to docType, + "namespaces" to (it.getPrivateProperty("nameSpaceMDLs") as List).toJson(::generateNameSpaceMDL), + ).toJson() +} + +fun documentRequest18013MDLFromJSON(input: JSONObject?) = input?.let { + val result = DocumentRequest18013MDL() + + if (it.has("docType")) result.setPrivateProperty("docType", it.getString("docType")) + if (it.has("namespaces")) result.setPrivateProperty("nameSpaceMDLs", it.getJSONArray("namespaces").toList(::nameSpaceMDLFromJSON)) + result.familyName = it.getIntOrNull("familyName")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.givenName = it.getIntOrNull("givenName")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.birthDate = it.getIntOrNull("birthDate")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.issueDate = it.getIntOrNull("issueDate")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.expiryDate = it.getIntOrNull("expiryDate")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.issuingCountry = it.getIntOrNull("issuingCountry")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.issuingAuthority = it.getIntOrNull("issuingAuthority")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.documentNumber = it.getIntOrNull("documentNumber")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.portrait = it.getIntOrNull("portrait")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.drivingPrivileges = it.getIntOrNull("drivingPrivileges")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.unDistinguishingSign = it.getIntOrNull("unDistinguishingSign")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.administrativeNumber = it.getIntOrNull("administrativeNumber")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.sex = it.getIntOrNull("sex")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.height = it.getIntOrNull("height")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.weight = it.getIntOrNull("weight")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.eyeColour = it.getIntOrNull("eyeColour")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.hairColour = it.getIntOrNull("hairColour")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.birthPlace = it.getIntOrNull("birthPlace")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.residentAddress = it.getIntOrNull("residentAddress")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.portraitCaptureDate = it.getIntOrNull("portraitCaptureDate")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.ageInYears = it.getIntOrNull("ageInYears")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.ageBirthYear = it.getIntOrNull("ageBirthYear")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.ageOver18 = it.getIntOrNull("ageOver18")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.issuingJurisdiction = it.getIntOrNull("issuingJurisdiction")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.nationality = it.getIntOrNull("nationality")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.residentCity = it.getIntOrNull("residentCity")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.residentState = it.getIntOrNull("residentState")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.residentPostalCode = it.getIntOrNull("residentPostalCode")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.residentCountry = it.getIntOrNull("residentCountry")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.biometricTemplateFace = it.getIntOrNull("biometricTemplateFace")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.biometricTemplateIris = it.getIntOrNull("biometricTemplateIris")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.biometricTemplateFinger = it.getIntOrNull("biometricTemplateFinger")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.biometricTemplateSignatureSign = it.getIntOrNull("biometricTemplateSignatureSign")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.familyNameNationalCharacter = it.getIntOrNull("familyNameNationalCharacter")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.givenNameNationalCharacter = it.getIntOrNull("givenNameNationalCharacter")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result.signatureUsualMark = it.getIntOrNull("signatureUsualMark")?.let { enm -> eMDLIntentToRetain.values()[enm] } + result +} + +fun generateDocumentRequest18013MDL(input: DocumentRequest18013MDL?) = input?.let { + mapOf( + "docType" to it.getPrivateProperty("docType"), + "namespaces" to (it.getPrivateProperty("nameSpaceMDLs") as List).toJson(::generateNameSpaceMDL), + "familyName" to it.familyName?.ordinal, + "givenName" to it.givenName?.ordinal, + "birthDate" to it.birthDate?.ordinal, + "issueDate" to it.issueDate?.ordinal, + "expiryDate" to it.expiryDate?.ordinal, + "issuingCountry" to it.issuingCountry?.ordinal, + "issuingAuthority" to it.issuingAuthority?.ordinal, + "documentNumber" to it.documentNumber?.ordinal, + "portrait" to it.portrait?.ordinal, + "drivingPrivileges" to it.drivingPrivileges?.ordinal, + "unDistinguishingSign" to it.unDistinguishingSign?.ordinal, + "administrativeNumber" to it.administrativeNumber?.ordinal, + "sex" to it.sex?.ordinal, + "height" to it.height?.ordinal, + "weight" to it.weight?.ordinal, + "eyeColour" to it.eyeColour?.ordinal, + "hairColour" to it.hairColour?.ordinal, + "birthPlace" to it.birthPlace?.ordinal, + "residentAddress" to it.residentAddress?.ordinal, + "portraitCaptureDate" to it.portraitCaptureDate?.ordinal, + "ageInYears" to it.ageInYears?.ordinal, + "ageBirthYear" to it.ageBirthYear?.ordinal, + "ageOver18" to it.ageOver18?.ordinal, + "issuingJurisdiction" to it.issuingJurisdiction?.ordinal, + "nationality" to it.nationality?.ordinal, + "residentCity" to it.residentCity?.ordinal, + "residentState" to it.residentState?.ordinal, + "residentPostalCode" to it.residentPostalCode?.ordinal, + "residentCountry" to it.residentCountry?.ordinal, + "biometricTemplateFace" to it.biometricTemplateFace?.ordinal, + "biometricTemplateIris" to it.biometricTemplateIris?.ordinal, + "biometricTemplateFinger" to it.biometricTemplateFinger?.ordinal, + "biometricTemplateSignatureSign" to it.biometricTemplateSignatureSign?.ordinal, + "familyNameNationalCharacter" to it.familyNameNationalCharacter?.ordinal, + "givenNameNationalCharacter" to it.givenNameNationalCharacter?.ordinal, + "signatureUsualMark" to it.signatureUsualMark?.ordinal, + ).toJson() +} + +fun dataRetrievalFromJSON(input: JSONObject?) = input?.let { + val result = DataRetrieval(eMDLDeviceRetrieval.values().first { enm -> enm.value == it.getInt("deviceRetrieval") }) + result.setPrivateProperty("docRequestPreset", it.getIntOrNull("docRequestPreset")?.let { enm -> eMDLDocRequestPreset.values()[enm] }) + result.setPrivateProperty("intentToRetain", it.getIntOrNull("intentToRetain")?.let { enm -> eMDLIntentToRetain.values()[enm] }) + it.getJSONArray("requests").toList(::documentRequestMDLFromJSON)?.forEach { r -> result.addDocRequest(r!!) } + result +} + +fun generateDataRetrieval(input: DataRetrieval?) = input?.let { + mapOf( + "deviceRetrieval" to it.deviceRetrieval.value, + "docRequestPreset" to (it.getPrivateProperty("docRequestPreset") as eMDLDocRequestPreset).ordinal, + "intentToRetain" to (it.getPrivateProperty("intentToRetain") as eMDLIntentToRetain).ordinal, + "requests" to (it.getPrivateProperty("docRequests") as List).toJson(::generateDocumentRequestMDL), + ).toJson() +} + +fun generateDeviceEngagementCompletion(deviceEngagement: DeviceEngagement?, error: RegulaException?) = mapOf( + "deviceEngagement" to generateDeviceEngagement(deviceEngagement), + "error" to generateRegulaException(error) +) + +fun finalizeConfigFromJSON(input: JSONObject?) = input?.let { + val result = FinalizeConfig.Builder() + if (it.has("rawImages")) result.setRawImages(it.getBoolean("rawImages")) + if (it.has("video")) result.setVideo(it.getBoolean("video")) + if (it.has("rfidSession")) result.setRfidSession(it.getBoolean("rfidSession")) + if (it.has("mdlSession")) result.setMdlSession(it.getBoolean("mdlSession")) + result.build() +} + +fun generateFinalizeConfig(input: FinalizeConfig?) = input?.let { + mapOf( + "rawImages" to it.getPrivateProperty("rawImages"), + "video" to it.getPrivateProperty("video"), + "rfidSession" to it.getPrivateProperty("rfidSession"), + "mdlSession" to it.getPrivateProperty("mdlSession"), + ).toJson() +} + +fun paceProtocolFromJSON(input: JSONObject?) = input?.let { + PaceProtocol( + it.getString("version"), + it.getString("stdDomainParams"), + it.getString("keyAlgorithm"), + ) +} + +fun generatePaceProtocol(input: PaceProtocol?) = input?.let { + mapOf( + "version" to it.version, + "stdDomainParams" to it.stdDomainParams, + "keyAlgorithm" to it.keyAlgorithm, + ).toJson() +} + +fun caProtocolFromJSON(input: JSONObject?) = input?.let { + CaProtocol( + it.getString("version"), + it.getString("scheme"), + it.getString("keyAlgorithm"), + it.getBoolean("chipIndividual"), + ) +} + +fun generateCaProtocol(input: CaProtocol?) = input?.let { + mapOf( + "version" to it.version, + "scheme" to it.scheme, + "keyAlgorithm" to it.keyAlgorithm, + "chipIndividual" to it.isChipIndividual, + ).toJson() +} diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/Main.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/Main.kt new file mode 100644 index 0000000000..4718a11237 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/Main.kt @@ -0,0 +1,646 @@ +@file:SuppressLint("MissingPermission") +@file:Suppress("EnumValuesSoftDeprecate") + +package com.regula.plugin.documentreader + +import android.annotation.SuppressLint +import android.app.PendingIntent +import android.content.Intent +import android.content.IntentFilter +import android.nfc.NfcAdapter +import android.nfc.tech.IsoDep +import android.os.Build +import androidx.lifecycle.Lifecycle +import androidx.lifecycle.LifecycleEventObserver +import com.regula.common.LocalizationCallbacks +import com.regula.documentreader.api.DocumentReader.Instance +import com.regula.documentreader.api.completions.IDocumentReaderCompletion +import com.regula.documentreader.api.completions.IDocumentReaderInitCompletion +import com.regula.documentreader.api.completions.IDocumentReaderPrepareDbCompletion +import com.regula.documentreader.api.completions.IVideoEncoderCompletion +import com.regula.documentreader.api.completions.model.PrepareProgress +import com.regula.documentreader.api.completions.rfid.ICaProtocolCompletion +import com.regula.documentreader.api.completions.rfid.IPaceProtocolCompletion +import com.regula.documentreader.api.completions.rfid.IRfidPKDCertificateCompletion +import com.regula.documentreader.api.completions.rfid.IRfidReaderCompletion +import com.regula.documentreader.api.completions.rfid.IRfidReaderRequest +import com.regula.documentreader.api.completions.rfid.IRfidTASignatureCompletion +import com.regula.documentreader.api.completions.rfid.certificates.IRfidAccessControl +import com.regula.documentreader.api.enums.DocReaderAction +import com.regula.documentreader.api.enums.LCID +import com.regula.documentreader.api.enums.eImageQualityCheckType +import com.regula.documentreader.api.enums.eLDS_ParsingErrorCodes +import com.regula.documentreader.api.enums.eLDS_ParsingNotificationCodes +import com.regula.documentreader.api.enums.eMDLDeviceEngagement +import com.regula.documentreader.api.enums.eRFID_DataFile_Type +import com.regula.documentreader.api.enums.eRFID_ErrorCodes +import com.regula.documentreader.api.enums.eVisualFieldType +import com.regula.documentreader.api.errors.DocReaderRfidException +import com.regula.documentreader.api.errors.DocumentReaderException +import com.regula.documentreader.api.internal.core.CoreScenarioUtil +import com.regula.documentreader.api.params.mdl.DataRetrieval +import com.regula.documentreader.api.params.rfid.CaProtocol +import com.regula.documentreader.api.params.rfid.PaceProtocol +import com.regula.documentreader.api.results.DocumentReaderNotification +import com.regula.documentreader.api.results.DocumentReaderResults +import com.regula.documentreader.api.results.DocumentReaderResults.fromRawResults +import com.regula.documentreader.api.results.DocumentReaderScenario +import org.json.JSONArray +import org.json.JSONObject +import com.regula.plugin.documentreader.Convert.toBase64 +import com.regula.plugin.documentreader.Convert.toByteArray + +fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) { + "getDocumentReaderIsReady" -> getDocumentReaderIsReady(callback) + "getDocumentReaderStatus" -> getDocumentReaderStatus(callback) + "getRfidSessionStatus" -> getRfidSessionStatus(callback) + "setRfidSessionStatus" -> setRfidSessionStatus() + "getTag" -> getTag(callback) + "setTag" -> setTag(argsNullable(0)) + "getTenant" -> getTenant(callback) + "setTenant" -> setTenant(argsNullable(0)) + "getEnv" -> getEnv(callback) + "setEnv" -> setEnv(argsNullable(0)) + "getLocale" -> getLocale(callback) + "setLocale" -> setLocale(argsNullable(0)) + "getFunctionality" -> getFunctionality(callback) + "setFunctionality" -> setFunctionality(args(0)) + "getProcessParams" -> getProcessParams(callback) + "setProcessParams" -> setProcessParams(args(0)) + "getCustomization" -> getCustomization(callback) + "setCustomization" -> setCustomization(args(0)) + "getRfidScenario" -> getRfidScenario(callback) + "setRfidScenario" -> setRfidScenario(args(0)) + "resetConfiguration" -> resetConfiguration() + "initialize" -> initialize(callback, args(0)) + "initializeReader" -> initialize(callback, args(0)) // deprecated + "initializeReaderWithBleDeviceConfig" -> initializeReaderWithBleDeviceConfig(callback, args(0)) // deprecated + "deinitializeReader" -> deinitializeReader() + "prepareDatabase" -> prepareDatabase(callback, args(0)) + "removeDatabase" -> removeDatabase(callback) + "runAutoUpdate" -> runAutoUpdate(callback, args(0)) + "cancelDBUpdate" -> cancelDBUpdate(callback) + "checkDatabaseUpdate" -> checkDatabaseUpdate(callback, args(0)) + "scan" -> scan(args(0)) + "startScanner" -> startScanner(args(0)) + "recognize" -> recognize(args(0)) + "startNewPage" -> startNewPage() + "stopScanner" -> stopScanner() + "startRFIDReader" -> startRFIDReader(argsNullable(0)) + "readRFID" -> readRFID(argsNullable(0)) + "stopRFIDReader" -> stopRFIDReader() + "providePACertificates" -> providePACertificates(argsNullable(0)) + "provideTACertificates" -> provideTACertificates(argsNullable(0)) + "provideTASignature" -> provideTASignature(args(0)) + "selectPACEProtocol" -> selectPACEProtocol(args(0)) + "selectCAProtocol" -> selectCAProtocol(args(0)) + "setTCCParams" -> setTCCParams(callback, args(0)) + "addPKDCertificates" -> addPKDCertificates(args(0)) + "clearPKDCertificates" -> clearPKDCertificates() + "startNewSession" -> startNewSession() + "connectBluetoothDevice" -> connectBluetoothDevice(args(0), callback) + "btDeviceRequestFlashing" -> btDeviceRequestFlashing() + "btDeviceRequestFlashingFullIR" -> btDeviceRequestFlashingFullIR() + "btDeviceRequestTurnOffAll" -> btDeviceRequestTurnOffAll() + "startReadMDl" -> startReadMDl(args(0), args(1), callback) + "startEngageDevice" -> startEngageDevice(args(0), callback) + "engageDeviceNFC" -> engageDeviceNFC(callback) + "engageDeviceData" -> engageDeviceData(args(0), callback) + "startRetrieveData" -> startRetrieveData(args(0), args(1), callback) + "retrieveDataNFC" -> retrieveDataNFC(args(0), callback) + "retrieveDataBLE" -> retrieveDataBLE(args(0), args(1), callback) + "setLocalizationDictionary" -> setLocalizationDictionary(args(0)) + "getLicense" -> getLicense(callback) + "getAvailableScenarios" -> getAvailableScenarios(callback) + "getIsRFIDAvailableForUse" -> getIsRFIDAvailableForUse(callback) + "isAuthenticatorAvailableForUse" -> isAuthenticatorAvailableForUse(callback) + "isAuthenticatorRFIDAvailableForUse" -> isAuthenticatorRFIDAvailableForUse(callback) + "getDocReaderVersion" -> getDocReaderVersion(callback) + "getDocReaderDocumentsDatabase" -> getDocReaderDocumentsDatabase(callback) + "textFieldValueByType" -> textFieldValueByType(callback, args(0), args(1)) + "textFieldValueByTypeLcid" -> textFieldValueByTypeLcid(callback, args(0), args(1), args(2)) + "textFieldValueByTypeSource" -> textFieldValueByTypeSource(callback, args(0), args(1), args(2)) + "textFieldValueByTypeLcidSource" -> textFieldValueByTypeLcidSource(callback, args(0), args(1), args(2), args(3)) + "textFieldValueByTypeSourceOriginal" -> textFieldValueByTypeSourceOriginal(callback, args(0), args(1), args(2), args(3)) + "textFieldValueByTypeLcidSourceOriginal" -> textFieldValueByTypeLcidSourceOriginal(callback, args(0), args(1), args(2), args(3), args(4)) + "textFieldByType" -> textFieldByType(callback, args(0), args(1)) + "textFieldByTypeLcid" -> textFieldByTypeLcid(callback, args(0), args(1), args(2)) + "graphicFieldByTypeSource" -> graphicFieldByTypeSource(callback, args(0), args(1), args(2)) + "graphicFieldByTypeSourcePageIndex" -> graphicFieldByTypeSourcePageIndex(callback, args(0), args(1), args(2), args(3)) + "graphicFieldByTypeSourcePageIndexLight" -> graphicFieldByTypeSourcePageIndexLight(callback, args(0), args(1), args(2), args(3), args(4)) + "graphicFieldImageByType" -> graphicFieldImageByType(callback, args(0), args(1)) + "graphicFieldImageByTypeSource" -> graphicFieldImageByTypeSource(callback, args(0), args(1), args(2)) + "graphicFieldImageByTypeSourcePageIndex" -> graphicFieldImageByTypeSourcePageIndex(callback, args(0), args(1), args(2), args(3)) + "graphicFieldImageByTypeSourcePageIndexLight" -> graphicFieldImageByTypeSourcePageIndexLight(callback, args(0), args(1), args(2), args(3), args(4)) + "containers" -> containers(callback, args(0), args(1)) + "encryptedContainers" -> encryptedContainers(callback, args(0)) + "finalizePackage" -> finalizePackage(callback) + "finalizePackageWithFinalizeConfig" -> finalizePackageWithFinalizeConfig(callback, args(0)) + "endBackendTransaction" -> endBackendTransaction() + "getTranslation" -> getTranslation(callback, args(0), args(1)) + else -> Unit +} + +inline fun args(index: Int) = argsNullable(index)!! +typealias Callback = (Any?) -> Unit + +const val completionEvent = "completion" +const val databaseProgressEvent = "database_progress" + +const val rfidOnProgressEvent = "rfidOnProgressCompletion" +const val rfidOnChipDetectedEvent = "rfidOnChipDetectedEvent" +const val rfidOnRetryReadChipEvent = "rfidOnRetryReadChipEvent" + +const val paCertificateCompletionEvent = "pa_certificate_completion" +const val taCertificateCompletionEvent = "ta_certificate_completion" +const val taSignatureCompletionEvent = "ta_signature_completion" +const val paceProtocolCompletionEvent = "paceProtocolCompletionEvent" +const val caProtocolCompletionEvent = "caProtocolCompletionEvent" + +const val videoEncoderCompletionEvent = "video_encoder_completion" +const val onCustomButtonTappedEvent = "onCustomButtonTappedEvent" + +fun getDocumentReaderIsReady(callback: Callback) = callback(Instance().isReady) + +fun getDocumentReaderStatus(callback: Callback) = callback(Instance().status) + +fun getRfidSessionStatus(iosOnly: Callback) = iosOnly(null) + +fun setRfidSessionStatus() = Unit + +fun getTag(callback: Callback) = callback(Instance().tag) + +fun setTag(tag: String?) = tag.let { Instance().tag = it } + +fun getTenant(callback: Callback) = callback(Instance().tenant) + +fun setTenant(tag: String?) = tag.let { Instance().tenant = it } + +fun getEnv(callback: Callback) = callback(Instance().env) + +fun setEnv(tag: String?) = tag.let { Instance().env = it } + +fun getLocale(callback: Callback) = callback(Instance().locale) + +fun setLocale(locale: String?) = locale.let { Instance().locale = it } + +fun getFunctionality(callback: Callback) = callback(getFunctionality(Instance().functionality())) + +fun setFunctionality(functionality: JSONObject) = setFunctionality(Instance().functionality(), functionality) + +fun getProcessParams(callback: Callback) = callback(getProcessParams(Instance().processParams())) + +fun setProcessParams(processParams: JSONObject) = setProcessParams(Instance().processParams(), processParams) + +fun getCustomization(callback: Callback) = callback(getCustomization(Instance().customization())) + +fun setCustomization(customization: JSONObject) = setCustomization(Instance().customization(), customization) + +fun getRfidScenario(callback: Callback) = callback(getRfidScenario(Instance().rfidScenario())) + +fun setRfidScenario(rfidScenario: JSONObject) = setRfidScenario(Instance().rfidScenario(), rfidScenario) + +fun resetConfiguration() = Instance().resetConfiguration() + +fun initialize(callback: Callback, config: JSONObject) = + if (config.getBooleanOrNull("useBleDevice") != true) + Instance().initializeReader(context, initConfigFromJSON(config), initCompletion(callback)) + else + Instance().initializeReader(context, initBleDeviceConfigFromJSON(config), initCompletion(callback)) + +// deprecated +fun initializeReaderWithBleDeviceConfig(callback: Callback, config: JSONObject) = Instance().initializeReader(context, initBleDeviceConfigFromJSON(config), initCompletion(callback)) + +fun deinitializeReader() = Instance().deinitializeReader() + +fun prepareDatabase(callback: Callback, databaseID: String) = Instance().prepareDatabase( + context, + databaseID, + prepareCompletion(callback) +) + +fun removeDatabase(callback: Callback) = callback(Instance().removeDatabase(context)) + +fun runAutoUpdate(callback: Callback, databaseID: String) = Instance().runAutoUpdate( + context, + databaseID, + prepareCompletion(callback) +) + +fun cancelDBUpdate(callback: Callback) = callback(Instance().cancelDBUpdate(context)) + +fun checkDatabaseUpdate(callback: Callback, databaseID: String) = Instance().checkDatabaseUpdate( + context, + databaseID +) { callback(generateDocReaderDocumentsDatabase(it)) } + +@Suppress("DEPRECATION") +fun scan(config: JSONObject) { + stopBackgroundRFID() + Instance().showScanner(activity, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion)) +} + +fun startScanner(config: JSONObject) { + stopBackgroundRFID() + Instance().startScanner(activity, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion)) +} + +fun recognize(config: JSONObject) { + stopBackgroundRFID() + Instance().recognize(recognizeConfigFromJSON(config), IDocumentReaderCompletion(completion)) +} + +fun startNewPage() = Instance().startNewPage() + +fun stopScanner() = Instance().stopScanner(context) + +fun startRFIDReader(config: JSONObject?) { + stopBackgroundRFID() + Instance().startRFIDReader(activity, rfidReaderCompletion, getRfidReaderRequest(config)) +} + +fun readRFID(config: JSONObject?) { + rfidReaderRequest = getRfidReaderRequest(config) + startForegroundDispatch("readRFID") +} + +fun stopRFIDReader() { + Instance().stopRFIDReader(context) + stopBackgroundRFID() +} + +fun providePACertificates(certificates: JSONArray?) = paCertificateCompletion.onCertificatesReceived( + certificates.toArray(::pkdCertificateFromJSON) +) + +fun provideTACertificates(certificates: JSONArray?) = taCertificateCompletion.onCertificatesReceived( + certificates.toArray(::pkdCertificateFromJSON) +) + +fun provideTASignature(signature: String?) = taSignatureCompletion.onSignatureReceived( + signature.toByteArray() +) + +fun selectPACEProtocol(protocol: JSONObject) = paceProtocolCompletion.onPaceProtocolSelected( + paceProtocolFromJSON(protocol)!! +) + +fun selectCAProtocol(protocol: JSONObject) = caProtocolCompletion.onCaProtocolSelected( + caProtocolFromJSON(protocol)!! +) + +fun setTCCParams(callback: Callback, params: JSONObject) { + Instance().setTccParams(tccParamsFromJSON(params)) { success, error -> + callback(generateSuccessCompletion(success, error)) + } +} + +fun addPKDCertificates(certificates: JSONArray) = Instance().addPKDCertificates( + certificates.toList(::pkdCertificateFromJSON)!! +) + +fun clearPKDCertificates() = Instance().clearPKDCertificates() + +fun startNewSession() = Instance().startNewSession() + +fun startReadMDl(type: Int, dataRetrieval: JSONObject, callback: Callback) { + stopBackgroundRFID() + Instance().startReadMDL(activity, eMDLDeviceEngagement.values()[type], dataRetrievalFromJSON(dataRetrieval)!!) { v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) } +} + +fun startEngageDevice(type: Int, callback: Callback) { + stopBackgroundRFID() + Instance().startEngageDevice(activity, eMDLDeviceEngagement.values()[type]) { v1, v2 -> callback(generateDeviceEngagementCompletion(v1, v2)) } +} + +lateinit var engageDeviceNFCCallback: Callback +fun engageDeviceNFC(callback: Callback) { + engageDeviceNFCCallback = callback + stopBackgroundRFID() + startForegroundDispatch("engageDeviceNFC") +} + +fun engageDeviceData(data: String, callback: Callback) { + stopBackgroundRFID() + Instance().engageDeviceData(data) { v1, v2 -> callback(generateDeviceEngagementCompletion(v1, v2)) } +} + +fun startRetrieveData(dataRetrieval: JSONObject, deviceEngagement: JSONObject, callback: Callback) { + stopBackgroundRFID() + Instance().startRetrieveData(activity, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!) { v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) } +} + +lateinit var retrieveDataNFCCallback: Callback +lateinit var retrieveDataNFCProp: DataRetrieval +fun retrieveDataNFC(dataRetrieval: JSONObject, callback: Callback) { + retrieveDataNFCCallback = callback + retrieveDataNFCProp = dataRetrievalFromJSON(dataRetrieval)!! + stopBackgroundRFID() + startForegroundDispatch("retrieveDataNFC") +} + +fun retrieveDataBLE(dataRetrieval: JSONObject, deviceEngagement: JSONObject, callback: Callback) { + stopBackgroundRFID() + Instance().retrieveDataBLE(context, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!) { v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) } +} + +fun setLocalizationDictionary(dictionary: JSONObject) { + localizationCallbacks = LocalizationCallbacks { if (dictionary.has(it)) dictionary.getString(it) else null } + Instance().setLocalizationCallback(localizationCallbacks) +} + +fun getLicense(callback: Callback) = callback(generateLicense(Instance().license())) + +fun getAvailableScenarios(callback: Callback) { + val scenarios: MutableList = ArrayList() + for (scenario: DocumentReaderScenario in Instance().availableScenarios) + scenarios.add(CoreScenarioUtil.getScenario(scenario.name)) + callback(scenarios.toJsonNullable(::generateDocumentReaderScenario)) +} + +fun getIsRFIDAvailableForUse(callback: Callback) = callback(Instance().isRFIDAvailableForUse) + +fun isAuthenticatorAvailableForUse(callback: Callback) = callback(Instance().isAuthenticatorAvailableForUse) + +fun isAuthenticatorRFIDAvailableForUse(callback: Callback) = callback(Instance().isAuthenticatorRFIDAvailableForUse) + +fun getDocReaderVersion(callback: Callback) = callback(generateDocReaderVersion(Instance().version)) + +fun getDocReaderDocumentsDatabase(callback: Callback) = callback(Instance().version?.let { + generateDocReaderDocumentsDatabase(it.database) +}) + +fun finalizePackage(callback: Callback) = Instance().finalizePackage { action, info, error -> + callback(generateFinalizePackageCompletion(action, info, error)) +} + +fun finalizePackageWithFinalizeConfig(callback: Callback, config: JSONObject) = Instance().finalizePackage( + finalizeConfigFromJSON(config) +) { action, info, error -> + callback(generateFinalizePackageCompletion(action, info, error)) +} + +fun endBackendTransaction() = Instance().endBackendTransaction() + +fun textFieldValueByType( + callback: Callback, + raw: String, + fieldType: Int +) = callback(fromRawResults(raw).getTextFieldValueByType(fieldType)) + +fun textFieldValueByTypeLcid( + callback: Callback, + raw: String, + fieldType: Int, + lcid: Int +) = callback(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid)) + +fun textFieldValueByTypeSource( + callback: Callback, + raw: String, + fieldType: Int, + source: Int +) = callback(fromRawResults(raw).getTextFieldValueByTypeAndSource(fieldType, source)) + +fun textFieldValueByTypeLcidSource( + callback: Callback, + raw: String, + fieldType: Int, + lcid: Int, + source: Int +) = callback(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid, source)) + +fun textFieldValueByTypeSourceOriginal( + callback: Callback, + raw: String, + fieldType: Int, + source: Int, + original: Boolean +) = callback(fromRawResults(raw).getTextFieldValueByTypeAndSource(fieldType, source, original)) + +fun textFieldValueByTypeLcidSourceOriginal( + callback: Callback, + raw: String, + fieldType: Int, + lcid: Int, + source: Int, + original: Boolean +) = callback(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid, source, original)) + +fun textFieldByType( + callback: Callback, + raw: String, + fieldType: Int +) = callback(generateDocumentReaderTextField(fromRawResults(raw).getTextFieldByType(fieldType))) + +fun textFieldByTypeLcid( + callback: Callback, + raw: String, + fieldType: Int, + lcid: Int +) = callback(generateDocumentReaderTextField(fromRawResults(raw).getTextFieldByType(fieldType, lcid))) + +fun graphicFieldByTypeSource( + callback: Callback, + raw: String, + fieldType: Int, + source: Int +) = callback(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source))) + +fun graphicFieldByTypeSourcePageIndex( + callback: Callback, + raw: String, + fieldType: Int, + source: Int, + pageIndex: Int +) = callback(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source, pageIndex))) + +fun graphicFieldByTypeSourcePageIndexLight( + callback: Callback, + raw: String, + fieldType: Int, + source: Int, + pageIndex: Int, + light: Int +) = callback(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source, pageIndex, light))) + +fun graphicFieldImageByType( + callback: Callback, + raw: String, + fieldType: Int +) = callback(fromRawResults(raw).getGraphicFieldImageByType(fieldType).toBase64()) + +fun graphicFieldImageByTypeSource( + callback: Callback, + raw: String, + fieldType: Int, + source: Int +) = callback(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source).toBase64()) + +fun graphicFieldImageByTypeSourcePageIndex( + callback: Callback, + raw: String, + fieldType: Int, + source: Int, + pageIndex: Int +) = callback(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source, pageIndex).toBase64()) + +fun graphicFieldImageByTypeSourcePageIndexLight( + callback: Callback, + raw: String, + fieldType: Int, + source: Int, + pageIndex: Int, + light: Int +) = callback(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source, pageIndex, light).toBase64()) + +fun containers( + callback: Callback, + raw: String, + resultType: JSONArray +) = callback(fromRawResults(raw).getContainers(resultType.toIntArray()!!)) + +fun encryptedContainers( + callback: Callback, + raw: String +) = callback(fromRawResults(raw).encryptedContainers) + +fun getTranslation(callback: Callback, className: String, value: Int) = when (className) { + "RFIDErrorCodes" -> callback(eRFID_ErrorCodes.getTranslation(context, value)) + "LDSParsingErrorCodes" -> callback(eLDS_ParsingErrorCodes.getTranslation(context, value)) + "LDSParsingNotificationCodes" -> callback(eLDS_ParsingNotificationCodes.getTranslation(context, value)) + "ImageQualityCheckType" -> callback(eImageQualityCheckType.getTranslation(context, value)) + "RFIDDataFileType" -> callback(eRFID_DataFile_Type.getTranslation(context, value)) + "VisualFieldType" -> callback(eVisualFieldType.getTranslation(context, value)) + "LCID" -> callback(LCID.getTranslation(context, value)) + else -> Unit +} + +// -------------------------------------------------------------------------------------------------------------------------- + +val completion = { action: Int, results: DocumentReaderResults?, error: DocumentReaderException? -> + sendEvent(completionEvent, generateCompletion(action, results, error)) + if ((action == DocReaderAction.ERROR) || + (action == DocReaderAction.CANCEL) || + ((action == DocReaderAction.COMPLETE) && (results?.rfidResult == 1)) + ) stopBackgroundRFID() +} + +val rfidReaderCompletion = object : IRfidReaderCompletion() { + override fun onCompleted(action: Int, results: DocumentReaderResults?, error: DocumentReaderException?): Unit = completion(action, results, error) + override fun onChipDetected(): Unit = sendEvent(rfidOnChipDetectedEvent) + override fun onRetryReadChip(error: DocReaderRfidException) = sendEvent(rfidOnRetryReadChipEvent, generateRegulaException(error)) + override fun onProgress(notification: DocumentReaderNotification) = sendEvent(rfidOnProgressEvent, generateDocumentReaderNotification(notification)) +} + +fun prepareCompletion(callback: Callback) = object : IDocumentReaderPrepareDbCompletion() { + override fun onPrepareProgressChanged(progress: PrepareProgress) = sendEvent(databaseProgressEvent, generatePrepareProgress(progress)) + override fun onPrepareCompleted(success: Boolean, error: DocumentReaderException?) = callback(generateSuccessCompletion(success, error)) +} + +fun initCompletion(callback: Callback) = IDocumentReaderInitCompletion { success, error -> + if (success) { + videoEncoderCompletion = IVideoEncoderCompletion { _, file -> sendEvent(videoEncoderCompletionEvent, file.path) } + Instance().setVideoEncoderCompletion(videoEncoderCompletion) + Instance().setOnClickListener { sendEvent(onCustomButtonTappedEvent, it.tag) } + } + callback(generateSuccessCompletion(success, error)) +} + +lateinit var paCertificateCompletion: IRfidPKDCertificateCompletion +lateinit var taCertificateCompletion: IRfidPKDCertificateCompletion +lateinit var taSignatureCompletion: IRfidTASignatureCompletion +lateinit var paceProtocolCompletion: IPaceProtocolCompletion +lateinit var caProtocolCompletion: ICaProtocolCompletion + +var rfidReaderRequest = getRfidReaderRequest() + +fun getRfidReaderRequest(config: JSONObject? = null): IRfidReaderRequest { + val result = IRfidReaderRequest() + if (config == null) return result + + if (config.getBoolean("paCertificates")) result.setPACertificates { serialNumber, issuer, completion -> + paCertificateCompletion = completion + sendEvent(paCertificateCompletionEvent, generatePACertificateCompletion(serialNumber, issuer)) + } + if (config.getBoolean("taCertificates")) result.setTACertificates { keyCAR, completion -> + taCertificateCompletion = completion + sendEvent(taCertificateCompletionEvent, keyCAR) + } + if (config.getBoolean("taSignature")) result.setTASignature { challenge, completion -> + taSignatureCompletion = completion + sendEvent(taSignatureCompletionEvent, generateTAChallenge(challenge)) + } + if (config.getBoolean("paceProtocol") || config.getBoolean("caProtocol")) result.setRfidAccessControl(object : IRfidAccessControl { + override fun onRequestPaceProtocol(list: List, completion: IPaceProtocolCompletion) { + paceProtocolCompletion = completion + sendEvent(paceProtocolCompletionEvent, list.toJson(::generatePaceProtocol)) + } + override fun onRequestCaProtocol(list: List, completion: ICaProtocolCompletion) { + caProtocolCompletion = completion + sendEvent(caProtocolCompletionEvent, list.toJson(::generateCaProtocol)) + } + }) + + return result +} + +@Suppress("DEPRECATION", "MissingPermission") +fun newIntent(intent: Intent): Boolean { + if (intent.action != NfcAdapter.ACTION_TECH_DISCOVERED) return false + val isoDep = IsoDep.get(intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)) + when (nfcFunction) { + "readRFID" -> Instance().readRFID(isoDep, rfidReaderCompletion, rfidReaderRequest) + "engageDeviceNFC" -> Instance().engageDeviceNFC(isoDep) { v1, v2 -> engageDeviceNFCCallback(generateDeviceEngagementCompletion(v1, v2)) } + "retrieveDataNFC" -> Instance().retrieveDataNFC(isoDep, retrieveDataNFCProp) { v1, v2, v3 -> retrieveDataNFCCallback(generateCompletion(v1, v2, v3)) } + } + return true +} + +var backgroundRFIDEnabled = false +var nfcFunction = "" +lateinit var lifecycleObserver: LifecycleEventObserver + +fun startForegroundDispatch(tag: String) { + backgroundRFIDEnabled = true + nfcFunction = tag + val filters: Array = arrayOfNulls(1) + filters[0] = IntentFilter() + filters[0]!!.addAction(NfcAdapter.ACTION_TECH_DISCOVERED) + filters[0]!!.addCategory(Intent.CATEGORY_DEFAULT) + val techList = arrayOf(arrayOf("android.nfc.tech.IsoDep")) + val intent = Intent(activity, activity.javaClass) + val flag = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) PendingIntent.FLAG_MUTABLE else 0 + val pendingIntent = PendingIntent.getActivity(activity, 0, intent, flag) + + if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) + enableForegroundDispatch(pendingIntent, filters, techList) + lifecycleObserver = LifecycleEventObserver { _, event -> + if (backgroundRFIDEnabled) when (event) { + Lifecycle.Event.ON_RESUME -> enableForegroundDispatch(pendingIntent, filters, techList) + Lifecycle.Event.ON_PAUSE -> disableForegroundDispatch() + else -> Unit + } + } + activity.runOnUiThread { lifecycle.addObserver(lifecycleObserver) } +} + +fun enableForegroundDispatch( + pendingIntent: PendingIntent, + filters: Array, + techList: Array> +) = NfcAdapter.getDefaultAdapter(context).enableForegroundDispatch(activity, pendingIntent, filters, techList) + +fun disableForegroundDispatch() = NfcAdapter.getDefaultAdapter(activity).disableForegroundDispatch(activity) + +fun stopBackgroundRFID() { + if (!backgroundRFIDEnabled) return + backgroundRFIDEnabled = false + if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) + disableForegroundDispatch() + activity.runOnUiThread { lifecycle.removeObserver(lifecycleObserver) } +} + +// Weak references +lateinit var localizationCallbacks: LocalizationCallbacks +lateinit var videoEncoderCompletion: IVideoEncoderCompletion diff --git a/android/src/main/kotlin/com/regula/plugin/documentreader/Utils.kt b/android/src/main/kotlin/com/regula/plugin/documentreader/Utils.kt new file mode 100644 index 0000000000..8093ef9c41 --- /dev/null +++ b/android/src/main/kotlin/com/regula/plugin/documentreader/Utils.kt @@ -0,0 +1,248 @@ +@file:SuppressLint("UseKtx") + +package com.regula.plugin.documentreader + +import android.annotation.SuppressLint +import android.graphics.Bitmap +import android.graphics.BitmapFactory +import android.graphics.Canvas +import android.graphics.drawable.BitmapDrawable +import android.graphics.drawable.Drawable +import android.util.Base64 +import org.json.JSONArray +import org.json.JSONObject +import java.io.ByteArrayOutputStream +import java.lang.reflect.Constructor +import kotlin.math.sqrt +import kotlin.reflect.KClass + +fun List<*>.toJson(): JSONArray { + val result = JSONArray() + for (i in indices) + when (val v = this[i]) { + null -> result.put(null) + is Map<*, *> -> result.put(v.toJson()) + is List<*> -> result.put(v.toJson()) + else -> result.put(v) + } + return result +} + +fun Map<*, *>.toJson(): JSONObject { + val result = JSONObject() + for ((k, v) in this) { + when (v) { + null -> result.put(k as String, null) + is Map<*, *> -> result.put(k as String, v.toJson()) + is List<*> -> result.put(k as String, v.toJson()) + else -> result.put(k as String, v) + } + } + return result +} + +fun Any?.toSendable(): Any? = this?.let { + if (it is JSONObject || it is JSONArray) it.toString() + else it +} + +fun List?.toJson(toJson: (T?) -> Any?) = this?.let { + val result = JSONArray() + for (item in it) result.put(toJson(item)) + result +} + +fun List?.toJsonNullable(toJson: (T?) -> Any?) = this?.let { + val result = JSONArray() + for (item in it) result.put(toJson(item)) + result +} + +fun JSONArray?.toList(fromJson: (JSONObject) -> T) = this?.let { + val result: MutableList = ArrayList() + for (i in 0 until it.length()) result.add(fromJson(it.getJSONObject(i))) + result +} + +fun JSONArray.toList() = this.let { + val result = mutableListOf() + @Suppress("UNCHECKED_CAST") + for (i in 0 until length()) result.add(get(i) as T) + result +} + +inline fun JSONArray?.toArray() = this?.let { + val result = arrayOfNulls(length()) + for (i in 0 until length()) result[i] = get(i) as T + result +} + +inline fun JSONArray?.toArray(fromJson: (JSONObject?) -> T) = this?.let { + val result = arrayOfNulls(length()) + for (i in 0 until length()) result[i] = fromJson(getJSONObject(i)) + result +} + +fun Array?.toJson() = this?.let { + val result = JSONArray() + for (i in it.indices) result.put(i, it[i]) + result +} + +fun Array?.toJson(toJson: (T?) -> JSONObject?) = this?.let { + val result = JSONArray() + for (i in indices) result.put(i, toJson(this[i])) + result +} + +fun Any?.toIntArray() = (this as JSONArray?)?.let { + val result = IntArray(it.length()) + for (i in 0 until it.length()) result[i] = it.getInt(i) + result +} + +fun IntArray?.toJson() = this?.let { + val result = JSONArray() + for (i in it.indices) result.put(i, it[i]) + result +} + +fun JSONArray.toLongArray(): LongArray { + val result = LongArray(length()) + for (i in 0 until length()) result[i] = getLong(i) + return result +} + +fun LongArray.toJson(): JSONArray { + val result = JSONArray() + for (i in indices) result.put(i, this[i]) + return result +} + +fun JSONObject.forEach(action: (String, Any) -> Unit) { + val keys: Iterator = keys() + while (keys.hasNext()) { + val key = keys.next() + action(key, get(key)) + } +} + +fun JSONObject.getJSONObjectOrNull(name: String): JSONObject? { + if (has(name) && get(name).toString() != "null") return getJSONObject(name) + return null +} + +fun JSONObject.getIntOrNull(name: String): Int? { + if (has(name) && get(name).toString() != "null") return getInt(name) + return null +} + +fun JSONObject.getLongOrNull(name: String): Long? { + if (has(name) && get(name).toString() != "null") return getLong(name) + return null +} + +fun JSONObject.getDoubleOrNull(name: String): Double? { + if (has(name) && get(name).toString() != "null") return getDouble(name) + return null +} + +fun JSONObject.getBooleanOrNull(name: String): Boolean? { + if (has(name) && get(name).toString() != "null") return getBoolean(name) + return null +} + +fun JSONObject.getStringOrNull(name: String): String? { + if (has(name) && get(name).toString() != "null") return getString(name) + return null +} + +fun JSONObject.getJSONArrayOrNull(name: String): JSONArray? { + if (has(name) && get(name).toString() != "null") return getJSONArray(name) + return null +} + +fun KClass.constructor(vararg argTypes: KClass<*>): Constructor { + val types = mutableListOf>() + for (argType in argTypes) types.add(argType.java) + return java.getDeclaredConstructor(*types.toTypedArray()) +} + +fun Constructor.instantiate(vararg args: Any?): T { + isAccessible = true + return newInstance(*args) +} + +fun T.setPrivateProperty(varName: String, data: Any?) { + try { + setPrivateProperty(javaClass, varName, data) + } catch (_: java.lang.Exception) { + try { + setPrivateProperty(javaClass.superclass!!, varName, data) + } catch (_: java.lang.Exception) { + } + } +} + +fun T.setPrivateProperty(clazz: Class, varName: String, data: Any?) = clazz.getDeclaredField(varName).let { + it.isAccessible = true + it.set(this, data) +} + +fun T.getPrivateProperty(varName: String): Any? { + var clazz: Class<*>? = this.javaClass + while (clazz != null) { + try { + val field = clazz.getDeclaredField(varName) + field.isAccessible = true + return field.get(this) + } catch (_: NoSuchFieldException) { + clazz = clazz.superclass + } + } + throw NoSuchFieldException( + "Field '$varName' not found in class hierarchy of ${this.javaClass.name}" + ) +} + +internal object Convert { + fun String?.toByteArray(): ByteArray? { + var str = this ?: return null + if (str.startsWith("data")) str = str.substring(str.indexOf(",") + 1) + return Base64.decode(str, Base64.NO_WRAP) + } + + fun ByteArray?.toBase64() = this?.let { Base64.encodeToString(it, Base64.NO_WRAP) } + + fun Bitmap?.toBase64() = this?.let { + val byteArrayOutputStream = ByteArrayOutputStream() + it.compress(Bitmap.CompressFormat.JPEG, 100, byteArrayOutputStream) + byteArrayOutputStream.toByteArray().toBase64() + } + + fun String?.toBitmap() = this?.let { + val decodedString = toByteArray()!! + var result = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.size) + val sizeMultiplier = result.byteCount / 5000000 + if (result.byteCount > 5000000) result = Bitmap.createScaledBitmap(result, result.width / sqrt(sizeMultiplier.toDouble()).toInt(), result.height / sqrt(sizeMultiplier.toDouble()).toInt(), false) + result + } + + fun Any?.toDrawable() = (this as String?)?.let { + val decodedByte = it.toByteArray()!! + val bitmap = BitmapFactory.decodeByteArray(decodedByte, 0, decodedByte.size) + val density = context.resources.displayMetrics.density + val width = (bitmap.width * density).toInt() + val height = (bitmap.height * density).toInt() + BitmapDrawable(context.resources, Bitmap.createScaledBitmap(bitmap, width, height, false)) + } + + fun Drawable?.toBase64() = this?.let { + if (this is BitmapDrawable) if (bitmap != null) return bitmap.toBase64() + val bitmap: Bitmap = if (intrinsicWidth <= 0 || intrinsicHeight <= 0) Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888) else Bitmap.createBitmap(intrinsicWidth, intrinsicHeight, Bitmap.Config.ARGB_8888) + val canvas = Canvas(bitmap) + setBounds(0, 0, canvas.width, canvas.height) + draw(canvas) + bitmap.toBase64() + } +} diff --git a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/BluetoothUtil.kt b/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/BluetoothUtil.kt deleted file mode 100644 index a28f1b0803..0000000000 --- a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/BluetoothUtil.kt +++ /dev/null @@ -1,112 +0,0 @@ -// -// BluetoothUtil.kt -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.Manifest.permission.* -import android.annotation.SuppressLint -import android.app.Activity -import android.bluetooth.BluetoothAdapter -import android.content.ComponentName -import android.content.Intent -import android.content.ServiceConnection -import android.content.pm.PackageManager.PERMISSION_GRANTED -import android.os.Build -import android.os.IBinder -import android.provider.Settings -import androidx.annotation.RequiresPermission -import androidx.core.app.ActivityCompat.requestPermissions -import androidx.core.content.ContextCompat.checkSelfPermission -import com.regula.documentreader.api.ble.BLEWrapper -import com.regula.documentreader.api.ble.BleWrapperCallback -import com.regula.documentreader.api.ble.RegulaBleService -import com.regula.documentreader.api.internal.permission.BluetoothPermissionHelper.BLE_ACCESS_PERMISSION -import com.regula.documentreader.api.internal.permission.BluetoothSettingsHelper.isBluetoothEnabled -import com.regula.documentreader.api.internal.permission.BluetoothSettingsHelper.isLocationServiceEnabled - -const val REQUEST_ENABLE_LOCATION = 196 -const val REQUEST_ENABLE_BT = 197 - -@SuppressLint("StaticFieldLeak") -var bleManager: BLEWrapper? = null - -@RequiresPermission("android.permission.BLUETOOTH_CONNECT") -fun requestEnableBle(activity: Activity) { - val enableIntent = Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE) - activity.startActivityForResult(enableIntent, REQUEST_ENABLE_BT) -} - -fun requestEnableLocationService(activity: Activity) { - val myIntent = Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS) - activity.startActivityForResult(myIntent, REQUEST_ENABLE_LOCATION) -} - -// requestEnableBle() is called after a check for permission -@SuppressLint("MissingPermission") -fun isBlePermissionsGranted(activity: Activity): Boolean { - if (!isLocationServiceEnabled(activity)) { - requestEnableLocationService(activity) - return false - } - deniedBluetoothPermissions(activity)?.let { - requestPermissions(activity, it, BLE_ACCESS_PERMISSION) - return false - } - if (!isBluetoothEnabled(activity)) { - requestEnableBle(activity) - return false - } - return true -} - -fun deniedBluetoothPermissions(activity: Activity): Array? { - val result = mutableListOf() - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { - result.addAll(deniedBluetoothPermission(activity, BLUETOOTH_SCAN)) - result.addAll(deniedBluetoothPermission(activity, BLUETOOTH_CONNECT)) - } else - result.addAll(deniedBluetoothPermission(activity, ACCESS_FINE_LOCATION)) - return result.let { if (it.size > 0) it.toTypedArray() else null } -} - -fun deniedBluetoothPermission( - activity: Activity, - permission: String -): Array { - if (checkSelfPermission(activity, permission) != PERMISSION_GRANTED) - return arrayOf(permission) - return arrayOf() -} - -fun startBluetoothService( - activity: Activity, - onConnected: (Boolean) -> Unit, - onDisconnected: () -> Unit, - onReady: () -> Unit -) { - val bleIntent = Intent(activity, RegulaBleService::class.java) - activity.startService(bleIntent) - - activity.bindService(bleIntent, object : ServiceConnection { - override fun onServiceConnected(name: ComponentName, service: IBinder) { - bleManager = (service as RegulaBleService.LocalBinder).service.bleManager - val isBleManagerConnected = bleManager?.isConnected == true - onConnected(isBleManagerConnected) - if (!isBleManagerConnected) { - bleManager?.addCallback(object : BleWrapperCallback() { - override fun onDeviceReady() { - bleManager!!.removeCallback(this) - onReady() - } - }) - } - } - - override fun onServiceDisconnected(name: ComponentName) = onDisconnected() - }, 0) -} \ No newline at end of file diff --git a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Config.kt b/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Config.kt deleted file mode 100644 index ff92001150..0000000000 --- a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Config.kt +++ /dev/null @@ -1,692 +0,0 @@ -// -// Config.java -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.content.Context -import android.graphics.Paint -import android.graphics.Typeface -import android.graphics.drawable.Drawable -import android.text.SpannableString -import android.widget.ImageView -import androidx.core.content.ContextCompat -import com.regula.documentreader.api.enums.CustomizationColor -import com.regula.documentreader.api.enums.CustomizationFont -import com.regula.documentreader.api.enums.CustomizationImage -import com.regula.documentreader.api.params.AuthenticityParams -import com.regula.documentreader.api.params.Functionality -import com.regula.documentreader.api.params.ImageQA -import com.regula.documentreader.api.params.LivenessParams -import com.regula.documentreader.api.params.ParamsCustomization -import com.regula.documentreader.api.params.ProcessParam -import com.regula.documentreader.api.params.RfidScenario -import com.regula.documentreader.api.params.rfid.dg.DataGroups -import com.regula.documentreader.api.params.rfid.dg.EIDDataGroups -import com.regula.documentreader.api.params.rfid.dg.EPassportDataGroups -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.toDrawable -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.toString -import org.json.JSONArray -import org.json.JSONObject - -fun setFunctionality(functionality: Functionality, opts: JSONObject) = opts.forEach { k, v -> - val editor = functionality.edit() - when (k) { - "pictureOnBoundsReady" -> editor.setPictureOnBoundsReady(v as Boolean) - "showTorchButton" -> editor.setShowTorchButton(v as Boolean) - "showCloseButton" -> editor.setShowCloseButton(v as Boolean) - "videoCaptureMotionControl" -> editor.setVideoCaptureMotionControl(v as Boolean) - "showCaptureButton" -> editor.setShowCaptureButton(v as Boolean) - "showChangeFrameButton" -> editor.setShowChangeFrameButton(v as Boolean) - "showSkipNextPageButton" -> editor.setShowSkipNextPageButton(v as Boolean) - "useAuthenticator" -> editor.setUseAuthenticator(v as Boolean) - "skipFocusingFrames" -> editor.setSkipFocusingFrames(v as Boolean) - "showCameraSwitchButton" -> editor.setShowCameraSwitchButton(v as Boolean) - "displayMetadata" -> editor.setDisplayMetadata(v as Boolean) - "isZoomEnabled" -> editor.setZoomEnabled(v as Boolean) - "isCameraTorchCheckDisabled" -> editor.setIsCameraTorchCheckDisabled(v as Boolean) - "recordScanningProcess" -> editor.setDoRecordProcessingVideo(v as Boolean) - "manualMultipageMode" -> editor.setManualMultipageMode(v as Boolean) - "showCaptureButtonDelayFromDetect" -> editor.setShowCaptureButtonDelayFromDetect(v.toLong()) - "showCaptureButtonDelayFromStart" -> editor.setShowCaptureButtonDelayFromStart(v.toLong()) - "orientation" -> editor.setOrientation(v.toInt()) - "captureMode" -> editor.setCaptureMode(v.toInt()) - "cameraMode" -> editor.setCameraMode(v.toInt()) - "rfidTimeout" -> editor.setRfidTimeout(v.toInt()) - "forcePagesCount" -> editor.setForcePagesCount(v.toInt()) - "cameraFrame" -> editor.setCameraFrame(v as String) - "btDeviceName" -> editor.setBtDeviceName(v as String) - "zoomFactor" -> editor.setZoomFactor(v.toFloat()) - "exposure" -> editor.setExposure(v.toFloat()) - "excludedCamera2Models" -> editor.setExcludedCamera2Models(stringListFromJson(v as JSONArray)) - "cameraSize" -> editor.setCameraSize(cameraSizeFromJSON(v as JSONObject).first, cameraSizeFromJSON(v).second) - } - editor.apply() -} - -fun getFunctionality(functionality: Functionality) = mapOf( - "pictureOnBoundsReady" to functionality.isPictureOnBoundsReady, - "showTorchButton" to functionality.isShowTorchButton, - "showCloseButton" to functionality.isShowCloseButton, - "videoCaptureMotionControl" to functionality.isVideoCaptureMotionControl, - "showCaptureButton" to functionality.isShowCaptureButton, - "showChangeFrameButton" to functionality.isShowChangeFrameButton, - "showSkipNextPageButton" to functionality.isShowSkipNextPageButton, - "useAuthenticator" to functionality.isUseAuthenticator, - "skipFocusingFrames" to functionality.isSkipFocusingFrames, - "showCameraSwitchButton" to functionality.isShowCameraSwitchButton, - "displayMetadata" to functionality.isDisplayMetaData, - "isZoomEnabled" to functionality.isZoomEnabled, - "isCameraTorchCheckDisabled" to functionality.isCameraTorchCheckDisabled, - "recordScanningProcess" to functionality.doRecordProcessingVideo(), - "manualMultipageMode" to functionality.isManualMultipageMode, - "showCaptureButtonDelayFromDetect" to functionality.showCaptureButtonDelayFromDetect, - "showCaptureButtonDelayFromStart" to functionality.showCaptureButtonDelayFromStart, - "orientation" to functionality.orientation, - "captureMode" to functionality.captureMode, - "cameraMode" to functionality.cameraMode, - "rfidTimeout" to functionality.rfidTimeout, - "forcePagesCount" to functionality.forcePagesCount, - "cameraFrame" to functionality.cameraFrame, - "btDeviceName" to functionality.btDeviceName, - "zoomFactor" to functionality.zoomFactor, - "exposure" to functionality.exposure, - "excludedCamera2Models" to generateList(functionality.excludedCamera2Models), - "cameraSize" to generateCameraSize(functionality.cameraWidth, functionality.cameraHeight) -).toJsonObject() - -@Suppress("DEPRECATION") -fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEach { k, v -> - when (k) { - "multipageProcessing" -> processParams.multipageProcessing = v as Boolean - "logs" -> processParams.setLogs(v as Boolean) - "debugSaveImages" -> processParams.debugSaveImages = v as Boolean - "debugSaveLogs" -> processParams.debugSaveLogs = v as Boolean - "returnUncroppedImage" -> processParams.returnUncroppedImage = v as Boolean - "uvTorchEnabled" -> processParams.uvTorchEnabled = v as Boolean - "debugSaveCroppedImages" -> processParams.debugSaveCroppedImages = v as Boolean - "disableFocusingCheck" -> processParams.disableFocusingCheck = v as Boolean - "debugSaveRFIDSession" -> processParams.debugSaveRFIDSession = v as Boolean - "doublePageSpread" -> processParams.doublePageSpread = v as Boolean - "manualCrop" -> processParams.manualCrop = v as Boolean - "integralImage" -> processParams.integralImage = v as Boolean - "returnCroppedBarcode" -> processParams.returnCroppedBarcode = v as Boolean - "checkRequiredTextFields" -> processParams.checkRequiredTextFields = v as Boolean - "depersonalizeLog" -> processParams.depersonalizeLog = v as Boolean - "generateDoublePageSpreadImage" -> processParams.generateDoublePageSpreadImage = v as Boolean - "alreadyCropped" -> processParams.alreadyCropped = v as Boolean - "matchTextFieldMask" -> processParams.matchTextFieldMask = v as Boolean - "updateOCRValidityByGlare" -> processParams.updateOCRValidityByGlare = v as Boolean - "noGraphics" -> processParams.noGraphics = v as Boolean - "multiDocOnImage" -> processParams.multiDocOnImage = v as Boolean - "forceReadMrzBeforeLocate" -> processParams.forceReadMrzBeforeLocate = v as Boolean - "parseBarcodes" -> processParams.parseBarcodes = v as Boolean - "shouldReturnPackageForReprocess" -> processParams.shouldReturnPackageForReprocess = v as Boolean - "disablePerforationOCR" -> processParams.disablePerforationOCR = v as Boolean - "respectImageQuality" -> processParams.respectImageQuality = v as Boolean - "splitNames" -> processParams.splitNames = v as Boolean - "doDetectCan" -> processParams.doDetectCan = v as Boolean - "useFaceApi" -> processParams.useFaceApi = v as Boolean - "useAuthenticityCheck" -> processParams.useAuthenticityCheck = v as Boolean - "checkHologram" -> processParams.checkHologram = v as Boolean - "measureSystem" -> processParams.measureSystem = v.toInt() - "barcodeParserType" -> processParams.barcodeParserType = v.toInt() - "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt() - "minDPI" -> processParams.minDPI = v.toInt() - "imageDpiOutMax" -> processParams.imageDpiOutMax = v.toInt() - "forceDocID" -> processParams.forceDocID = v.toInt() - "forceDocFormat" -> processParams.forceDocFormat = v.toInt() - "shiftExpiryDate" -> processParams.shiftExpiryDate = v.toInt() - "minimalHolderAge" -> processParams.minimalHolderAge = v.toInt() - "imageOutputMaxHeight" -> processParams.imageOutputMaxHeight = v.toInt() - "imageOutputMaxWidth" -> processParams.imageOutputMaxWidth = v.toInt() - "processAuth" -> processParams.processAuth = v.toInt() - "convertCase" -> processParams.convertCase = v.toInt() - "dateFormat" -> processParams.dateFormat = v as String - "scenario" -> processParams.scenario = v as String - "captureButtonScenario" -> processParams.captureButtonScenario = v as String - "sessionLogFolder" -> processParams.sessionLogFolder = v as String - "timeout" -> processParams.timeout = v.toDouble() - "timeoutFromFirstDetect" -> processParams.timeoutFromFirstDetect = v.toDouble() - "timeoutFromFirstDocType" -> processParams.timeoutFromFirstDocType = v.toDouble() - "documentAreaMin" -> processParams.documentAreaMin = v.toDouble() - "documentIDList" -> processParams.documentIDList = v.toIntArray() - "fieldTypesFilter" -> processParams.fieldTypesFilter = v.toIntArray() - "resultTypeOutput" -> processParams.resultTypeOutput = v.toIntArray() - "documentGroupFilter" -> processParams.documentGroupFilter = v.toIntArray() - "lcidIgnoreFilter" -> processParams.lcidIgnoreFilter = v.toIntArray() - "lcidFilter" -> processParams.lcidFilter = v.toIntArray() - "barcodeTypes" -> processParams.doBarcodes = barcodeTypeArrayFromJson(v as JSONArray) - "mrzFormatsFilter" -> processParams.mrzFormatsFilter = stringArrayFromJson(v as JSONArray) - "customParams" -> processParams.customParams = v as JSONObject - "imageQA" -> setImageQA(processParams.imageQA, v as JSONObject) - "rfidParams" -> processParams.rfidParams = rfidParamsFromJSON(v as JSONObject) - "faceApiParams" -> processParams.faceApiParams = faceApiParamsFromJSON(v as JSONObject) - "backendProcessingConfig" -> processParams.backendProcessingConfig = backendProcessingConfigFromJSON(v as JSONObject) - "authenticityParams" -> { - if (processParams.authenticityParams == null) processParams.authenticityParams = AuthenticityParams.defaultParams() - setAuthenticityParams(processParams.authenticityParams!!, v as JSONObject) - } - } -} - -@Suppress("DEPRECATION") -fun getProcessParams(processParams: ProcessParam) = mapOf( - "multipageProcessing" to processParams.multipageProcessing, - "logs" to processParams.isLogEnable, - "debugSaveImages" to processParams.debugSaveImages, - "debugSaveLogs" to processParams.debugSaveLogs, - "returnUncroppedImage" to processParams.returnUncroppedImage, - "uvTorchEnabled" to processParams.uvTorchEnabled, - "debugSaveCroppedImages" to processParams.debugSaveCroppedImages, - "disableFocusingCheck" to processParams.disableFocusingCheck, - "debugSaveRFIDSession" to processParams.debugSaveRFIDSession, - "doublePageSpread" to processParams.doublePageSpread, - "manualCrop" to processParams.manualCrop, - "integralImage" to processParams.integralImage, - "returnCroppedBarcode" to processParams.returnCroppedBarcode, - "checkRequiredTextFields" to processParams.checkRequiredTextFields, - "depersonalizeLog" to processParams.depersonalizeLog, - "generateDoublePageSpreadImage" to processParams.generateDoublePageSpreadImage, - "alreadyCropped" to processParams.alreadyCropped, - "matchTextFieldMask" to processParams.matchTextFieldMask, - "updateOCRValidityByGlare" to processParams.updateOCRValidityByGlare, - "noGraphics" to processParams.noGraphics, - "multiDocOnImage" to processParams.multiDocOnImage, - "forceReadMrzBeforeLocate" to processParams.forceReadMrzBeforeLocate, - "parseBarcodes" to processParams.parseBarcodes, - "shouldReturnPackageForReprocess" to processParams.shouldReturnPackageForReprocess, - "disablePerforationOCR" to processParams.disablePerforationOCR, - "respectImageQuality" to processParams.respectImageQuality, - "splitNames" to processParams.splitNames, - "doDetectCan" to processParams.doDetectCan, - "useFaceApi" to processParams.useFaceApi, - "useAuthenticityCheck" to processParams.useAuthenticityCheck, - "checkHologram" to processParams.checkHologram, - "measureSystem" to processParams.measureSystem, - "barcodeParserType" to processParams.barcodeParserType, - "perspectiveAngle" to processParams.perspectiveAngle, - "minDPI" to processParams.minDPI, - "imageDpiOutMax" to processParams.imageDpiOutMax, - "forceDocID" to processParams.forceDocID, - "forceDocFormat" to processParams.forceDocFormat, - "shiftExpiryDate" to processParams.shiftExpiryDate, - "minimalHolderAge" to processParams.minimalHolderAge, - "imageOutputMaxHeight" to processParams.imageOutputMaxHeight, - "imageOutputMaxWidth" to processParams.imageOutputMaxWidth, - "processAuth" to processParams.processAuth, - "convertCase" to processParams.convertCase, - "dateFormat" to processParams.dateFormat, - "scenario" to processParams.scenario, - "captureButtonScenario" to processParams.captureButtonScenario, - "sessionLogFolder" to processParams.sessionLogFolder, - "timeout" to processParams.timeout, - "timeoutFromFirstDetect" to processParams.timeoutFromFirstDetect, - "timeoutFromFirstDocType" to processParams.timeoutFromFirstDocType, - "documentAreaMin" to processParams.documentAreaMin, - "documentIDList" to processParams.documentIDList.generate(), - "fieldTypesFilter" to processParams.fieldTypesFilter.generate(), - "documentGroupFilter" to processParams.documentGroupFilter.generate(), - "lcidIgnoreFilter" to processParams.lcidIgnoreFilter.generate(), - "lcidFilter" to processParams.lcidFilter.generate(), - "resultTypeOutput" to processParams.resultTypeOutput.generate(), - "mrzFormatsFilter" to generateArray(processParams.mrzFormatsFilter), - "barcodeTypes" to generateBarcodeTypeArray(processParams.doBarcodes), - "imageQA" to getImageQA(processParams.imageQA), - "rfidParams" to generateRFIDParams(processParams.rfidParams), - "faceApiParams" to generateFaceApiParams(processParams.faceApiParams), - "backendProcessingConfig" to generateBackendProcessingConfig(processParams.backendProcessingConfig), - "authenticityParams" to getAuthenticityParams(processParams.authenticityParams), - "customParams" to processParams.customParams, -).toJsonObject() - -fun setCustomization(customization: ParamsCustomization, opts: JSONObject, context: Context) = opts.forEach { k, v -> - val editor = customization.edit() - when (k) { - "showStatusMessages" -> editor.setShowStatusMessages(v as Boolean) - "showResultStatusMessages" -> editor.setShowResultStatusMessages(v as Boolean) - "showHelpAnimation" -> editor.setShowHelpAnimation(v as Boolean) - "showNextPageAnimation" -> editor.setShowNextPageAnimation(v as Boolean) - "showBackgroundMask" -> editor.setShowBackgroundMask(v as Boolean) - "cameraFrameBorderWidth" -> editor.setCameraFrameBorderWidth(v.toInt()) - "cameraFrameLineLength" -> editor.setCameraFrameLineLength(v.toInt()) - "cameraFrameShapeType" -> editor.setCameraFrameShapeType(v.toInt()) - "cameraFrameOffsetWidth" -> editor.setCameraFrameOffsetWidth(v.toInt()) - "activityIndicatorSize" -> editor.setActivityIndicatorSize(v.toInt()) - "status" -> editor.setStatus(v as String) - "resultStatus" -> editor.setResultStatus(v as String) - "cameraFrameDefaultColor" -> editor.setCameraFrameDefaultColor(v.toColor()) - "cameraFrameActiveColor" -> editor.setCameraFrameActiveColor(v.toColor()) - "statusTextColor" -> editor.setStatusTextColor(v.toColor()) - "resultStatusTextColor" -> editor.setResultStatusTextColor(v.toColor()) - "resultStatusBackgroundColor" -> editor.setResultStatusBackgroundColor(v.toColor()) - "multipageButtonBackgroundColor" -> editor.setMultipageButtonBackgroundColor(v.toColor()) - "tintColor" -> editor.setTintColor(v.toColor()) - "activityIndicatorColor" -> editor.setActivityIndicatorColor(v.toColor()) - "statusBackgroundColor" -> editor.setStatusBackgroundColor(v.toColor()) - "cameraPreviewBackgroundColor" -> editor.setCameraPreviewBackgroundColor(v.toColor()) - "statusPositionMultiplier" -> editor.setStatusPositionMultiplier(v.toFloat()) - "resultStatusPositionMultiplier" -> editor.setResultStatusPositionMultiplier(v.toFloat()) - "toolbarSize" -> editor.setToolbarSize(v.toFloat()) - "backgroundMaskAlpha" -> editor.setBackgroundMaskAlpha(v.toFloat()) - "customStatusPositionMultiplier" -> editor.setCustomStatusPositionMultiplier(v.toFloat()) - "cameraFrameVerticalPositionMultiplier" -> editor.setCameraFrameVerticalPositionMultiplier(v.toFloat()) - "cameraFrameLandscapeAspectRatio" -> editor.setCameraFrameLandscapeAspectRatio(v.toFloat()) - "cameraFramePortraitAspectRatio" -> editor.setCameraFramePortraitAspectRatio(v.toFloat()) - "cameraFrameCornerRadius" -> editor.setCameraFrameCornerRadius(v.toFloat()) - "livenessAnimationPositionMultiplier" -> editor.setLivenessAnimationPositionMultiplier(v.toFloat()) - "multipageAnimationFrontImage" -> editor.setMultipageAnimationFrontImage(v.toDrawable(context)) - "multipageAnimationBackImage" -> editor.setMultipageAnimationBackImage(v.toDrawable(context)) - "borderBackgroundImage" -> editor.setBorderBackgroundImage(v.toDrawable(context)) - "helpAnimationImage" -> editor.setHelpAnimationImage(v.toDrawable(context)) - "closeButtonImage" -> editor.setCloseButtonImage(v.toDrawable(context)) - "captureButtonImage" -> editor.setCaptureButtonImage(v.toDrawable(context)) - "changeFrameButtonCollapseImage" -> editor.setChangeFrameCollapseButtonImage(v.toDrawable(context)) - "changeFrameButtonExpandImage" -> editor.setChangeFrameExpandButtonImage(v.toDrawable(context)) - "cameraSwitchButtonImage" -> editor.setCameraSwitchButtonImage(v.toDrawable(context)) - "torchButtonOnImage" -> editor.setTorchImageOn(v.toDrawable(context)) - "torchButtonOffImage" -> editor.setTorchImageOff(v.toDrawable(context)) - "livenessAnimationImage" -> editor.setLivenessAnimationImage(v.toDrawable(context)) - "helpAnimationImageMatrix" -> editor.setHelpAnimationImageMatrix(v.toMatrix()).setHelpAnimationImageScaleType(ImageView.ScaleType.MATRIX) - "multipageAnimationFrontImageMatrix" -> editor.setMultipageAnimationFrontImageMatrix(v.toMatrix()).setMultipageAnimationFrontImageScaleType(ImageView.ScaleType.MATRIX) - "multipageAnimationBackImageMatrix" -> editor.setMultipageAnimationBackImageMatrix(v.toMatrix()).setMultipageAnimationBackImageScaleType(ImageView.ScaleType.MATRIX) - "livenessAnimationImageMatrix" -> editor.setLivenessAnimationImageMatrix(v.toMatrix()).setLivenessAnimationImageScaleType(ImageView.ScaleType.MATRIX) - "borderBackgroundImageMatrix" -> editor.setBorderBackgroundImageMatrix(v.toMatrix()).setBorderBackgroundImageScaleType(ImageView.ScaleType.MATRIX) - "customLabelStatus" -> editor.setCustomLabelStatus(SpannableString(v as String)) - "cameraFrameLineCap" -> editor.setCameraFrameLineCap(Paint.Cap.values()[v.toInt()]) - "uiCustomizationLayer" -> editor.setUiCustomizationLayer(v as JSONObject) - "colors" -> setColors(editor, v as JSONObject) - "fonts" -> setFonts(editor, v as JSONObject) - "images" -> setImages(editor, v as JSONObject, context) - "statusTextFont" -> { - val font = typefaceFromJSON(v as JSONObject) - editor.setStatusTextFont(font.first) - font.second?.let { editor.setStatusTextSize(it) } - } - - "resultStatusTextFont" -> { - val font = typefaceFromJSON(v as JSONObject) - editor.setResultStatusTextFont(font.first) - font.second?.let { editor.setResultStatusTextSize(it) } - } - } - editor.applyImmediately(context) -} - -fun getCustomization(customization: ParamsCustomization) = mapOf( - "showStatusMessages" to customization.isShowStatusMessages, - "showResultStatusMessages" to customization.isShowResultStatusMessages, - "showHelpAnimation" to customization.isShowHelpAnimation, - "showNextPageAnimation" to customization.isShowNextPageAnimation, - "showBackgroundMask" to customization.isShowBackgroundMask, - "cameraFrameBorderWidth" to customization.cameraFrameBorderWidth, - "cameraFrameLineLength" to customization.cameraFrameLineLength, - "cameraFrameShapeType" to customization.cameraFrameShapeType, - "cameraFrameOffsetWidth" to customization.cameraFrameOffsetWidth, - "activityIndicatorSize" to customization.activityIndicatorSize, - "status" to customization.status, - "resultStatus" to customization.resultStatus, - "cameraFrameDefaultColor" to customization.cameraFrameDefaultColor.toLong(), - "cameraFrameActiveColor" to customization.cameraFrameActiveColor.toLong(), - "statusTextColor" to customization.statusTextColor.toLong(), - "resultStatusTextColor" to customization.resultStatusTextColor.toLong(), - "resultStatusBackgroundColor" to customization.resultStatusBackgroundColor.toLong(), - "multipageButtonBackgroundColor" to customization.multipageButtonBackgroundColor.toLong(), - "tintColor" to customization.tintColor.toLong(), - "activityIndicatorColor" to customization.activityIndicatorColor.toLong(), - "statusBackgroundColor" to customization.statusBackgroundColor.toLong(), - "cameraPreviewBackgroundColor" to customization.cameraPreviewBackgroundColor.toLong(), - "statusPositionMultiplier" to customization.statusPositionMultiplier, - "resultStatusPositionMultiplier" to customization.resultStatusPositionMultiplier, - "backgroundMaskAlpha" to customization.backgroundMaskAlpha, - "toolbarSize" to customization.toolbarSize, - "customStatusPositionMultiplier" to customization.customStatusPositionMultiplier, - "cameraFrameVerticalPositionMultiplier" to customization.cameraFrameVerticalPositionMultiplier, - "cameraFrameLandscapeAspectRatio" to customization.cameraFrameLandscapeAspectRatio, - "cameraFramePortraitAspectRatio" to customization.cameraFramePortraitAspectRatio, - "cameraFrameCornerRadius" to customization.cameraFrameCornerRadius, - "livenessAnimationPositionMultiplier" to customization.livenessAnimationPositionMultiplier, - "multipageAnimationFrontImage" to customization.multipageAnimationFrontImage.toString(), - "multipageAnimationBackImage" to customization.multipageAnimationBackImage.toString(), - "borderBackgroundImage" to customization.borderBackgroundImage.toString(), - "helpAnimationImage" to customization.helpAnimationImageDrawable.toString(), - "closeButtonImage" to customization.closeButtonDrawable.toString(), - "captureButtonImage" to customization.captureButtonDrawable.toString(), - "changeFrameButtonCollapseImage" to customization.changeFrameCollapseButtonDrawable.toString(), - "changeFrameButtonExpandImage" to customization.changeFrameExpandButtonDrawable.toString(), - "cameraSwitchButtonImage" to customization.cameraSwitchButtonDrawable.toString(), - "torchButtonOnImage" to customization.torchImageOnDrawable.toString(), - "torchButtonOffImage" to customization.torchImageOffDrawable.toString(), - "livenessAnimationImage" to customization.livenessAnimationImage.toString(), - "helpAnimationImageMatrix" to customization.helpAnimationImageMatrix.generate(), - "multipageAnimationFrontImageMatrix" to customization.multipageAnimationFrontImageMatrix.generate(), - "multipageAnimationBackImageMatrix" to customization.multipageAnimationBackImageMatrix.generate(), - "livenessAnimationImageMatrix" to customization.livenessAnimationImageMatrix.generate(), - "borderBackgroundImageMatrix" to customization.borderBackgroundImageMatrix.generate(), - "statusTextFont" to generateTypeface(customization.statusTextFont, customization.statusTextSize), - "resultStatusTextFont" to generateTypeface(customization.resultStatusTextFont, customization.resultStatusTextSize), - "customLabelStatus" to customization.customLabelStatus?.toString(), - "cameraFrameLineCap" to paintCapToInt(customization.cameraFrameLineCap), - "uiCustomizationLayer" to customization.uiCustomizationLayer, - "colors" to getColors(customization.colors), - "fonts" to getFonts(customization.typeFaces, customization.fontSizes), - "images" to getImages(customization.images) -).toJsonObject() - -fun setRfidScenario(rfidScenario: RfidScenario, opts: JSONObject) = opts.forEach { k, v -> - when (k) { - "paceStaticBinding" -> rfidScenario.isPaceStaticBinding = v as Boolean - "onlineTA" -> rfidScenario.isOnlineTA = v as Boolean - "writeEid" -> rfidScenario.isWriteEid = v as Boolean - "universalAccessRights" -> rfidScenario.isUniversalAccessRights = v as Boolean - "authorizedRestrictedIdentification" -> rfidScenario.isAuthorizedRestrictedIdentification = v as Boolean - "auxVerificationCommunityID" -> rfidScenario.isAuxVerificationCommunityID = v as Boolean - "auxVerificationDateOfBirth" -> rfidScenario.isAuxVerificationDateOfBirth = v as Boolean - "skipAA" -> rfidScenario.isSkipAA = v as Boolean - "strictProcessing" -> rfidScenario.isStrictProcessing = v as Boolean - "pkdDSCertPriority" -> rfidScenario.isPkdDSCertPriority = v as Boolean - "pkdUseExternalCSCA" -> rfidScenario.isPkdUseExternalCSCA = v as Boolean - "trustedPKD" -> rfidScenario.isTrustedPKD = v as Boolean - "passiveAuth" -> rfidScenario.isPassiveAuth = v as Boolean - "useSFI" -> rfidScenario.isUseSFI = v as Boolean - "readEPassport" -> rfidScenario.isReadEPassport = v as Boolean - "readEID" -> rfidScenario.isReadEID = v as Boolean - "readEDL" -> rfidScenario.isReadEDL = v as Boolean - "authorizedSTSignature" -> rfidScenario.isAuthorizedSTSignature = v as Boolean - "authorizedSTQSignature" -> rfidScenario.isAuthorizedSTQSignature = v as Boolean - "authorizedWriteDG17" -> rfidScenario.isAuthorizedWriteDG17 = v as Boolean - "authorizedWriteDG18" -> rfidScenario.isAuthorizedWriteDG18 = v as Boolean - "authorizedWriteDG19" -> rfidScenario.isAuthorizedWriteDG19 = v as Boolean - "authorizedWriteDG20" -> rfidScenario.isAuthorizedWriteDG20 = v as Boolean - "authorizedWriteDG21" -> rfidScenario.isAuthorizedWriteDG21 = v as Boolean - "authorizedVerifyAge" -> rfidScenario.isAuthorizedVerifyAge = v as Boolean - "authorizedVerifyCommunityID" -> rfidScenario.isAuthorizedVerifyCommunityID = v as Boolean - "authorizedPrivilegedTerminal" -> rfidScenario.isAuthorizedPrivilegedTerminal = v as Boolean - "authorizedCANAllowed" -> rfidScenario.isAuthorizedCANAllowed = v as Boolean - "authorizedPINManagement" -> rfidScenario.isAuthorizedPINManagment = v as Boolean - "authorizedInstallCert" -> rfidScenario.isAuthorizedInstallCert = v as Boolean - "authorizedInstallQCert" -> rfidScenario.isAuthorizedInstallQCert = v as Boolean - "applyAmendments" -> rfidScenario.isApplyAmendments = v as Boolean - "autoSettings" -> rfidScenario.isAutoSettings = v as Boolean - "proceedReadingAlways" -> rfidScenario.proceedReadingAlways = v as Boolean - "signManagementAction" -> rfidScenario.signManagementAction = v.toInt() - "readingBuffer" -> rfidScenario.readingBuffer = v.toInt() - "onlineTAToSignDataType" -> rfidScenario.onlineTAToSignDataType = v.toInt() - "profilerType" -> rfidScenario.profilerType = v.toInt() - "authProcType" -> rfidScenario.authProcType = v.toInt() - "baseSMProcedure" -> rfidScenario.baseSMProcedure = v.toInt() - "pacePasswordType" -> rfidScenario.pacePasswordType = v.toInt() - "terminalType" -> rfidScenario.terminalType = v.toInt() - "defaultReadingBufferSize" -> rfidScenario.defaultReadingBufferSize = v.toInt() - "password" -> rfidScenario.password = v as String - "pkdPA" -> rfidScenario.pkdPA = v as String - "pkdEAC" -> rfidScenario.pkdEAC = v as String - "mrz" -> rfidScenario.mrz = v as String - "eSignPINDefault" -> rfidScenario.seteSignPINDefault(v as String) - "eSignPINNewValue" -> rfidScenario.seteSignPINNewValue(v as String) - "ePassportDataGroups" -> setDataGroups(rfidScenario.ePassportDataGroups(), v as JSONObject) - "eIDDataGroups" -> setDataGroups(rfidScenario.eIDDataGroups(), v as JSONObject) - "eDLDataGroups" -> setDataGroups(rfidScenario.eDLDataGroups(), v as JSONObject) - } -} - -fun getRfidScenario(rfidScenario: RfidScenario) = mapOf( - "paceStaticBinding" to rfidScenario.isPaceStaticBinding, - "onlineTA" to rfidScenario.isOnlineTA, - "writeEid" to rfidScenario.isWriteEid, - "universalAccessRights" to rfidScenario.isUniversalAccessRights, - "authorizedRestrictedIdentification" to rfidScenario.isAuthorizedRestrictedIdentification, - "auxVerificationCommunityID" to rfidScenario.isAuxVerificationCommunityID, - "auxVerificationDateOfBirth" to rfidScenario.isAuxVerificationDateOfBirth, - "skipAA" to rfidScenario.isSkipAA, - "strictProcessing" to rfidScenario.isStrictProcessing, - "pkdDSCertPriority" to rfidScenario.isPkdDSCertPriority, - "pkdUseExternalCSCA" to rfidScenario.isPkdUseExternalCSCA, - "trustedPKD" to rfidScenario.isTrustedPKD, - "passiveAuth" to rfidScenario.isPassiveAuth, - "useSFI" to rfidScenario.isUseSFI, - "readEPassport" to rfidScenario.isReadEPassport, - "readEID" to rfidScenario.isReadEID, - "readEDL" to rfidScenario.isReadEDL, - "authorizedSTSignature" to rfidScenario.isAuthorizedSTSignature, - "authorizedSTQSignature" to rfidScenario.isAuthorizedSTQSignature, - "authorizedWriteDG17" to rfidScenario.isAuthorizedWriteDG17, - "authorizedWriteDG18" to rfidScenario.isAuthorizedWriteDG18, - "authorizedWriteDG19" to rfidScenario.isAuthorizedWriteDG19, - "authorizedWriteDG20" to rfidScenario.isAuthorizedWriteDG20, - "authorizedWriteDG21" to rfidScenario.isAuthorizedWriteDG21, - "authorizedVerifyAge" to rfidScenario.isAuthorizedVerifyAge, - "authorizedVerifyCommunityID" to rfidScenario.isAuthorizedVerifyCommunityID, - "authorizedPrivilegedTerminal" to rfidScenario.isAuthorizedPrivilegedTerminal, - "authorizedCANAllowed" to rfidScenario.isAuthorizedCANAllowed, - "authorizedPINManagement" to rfidScenario.isAuthorizedPINManagment, - "authorizedInstallCert" to rfidScenario.isAuthorizedInstallCert, - "authorizedInstallQCert" to rfidScenario.isAuthorizedInstallQCert, - "applyAmendments" to rfidScenario.isApplyAmendments, - "autoSettings" to rfidScenario.isAutoSettings, - "proceedReadingAlways" to rfidScenario.proceedReadingAlways, - "signManagementAction" to rfidScenario.signManagementAction, - "readingBuffer" to rfidScenario.readingBuffer, - "onlineTAToSignDataType" to rfidScenario.onlineTAToSignDataType, - "profilerType" to rfidScenario.profilerType, - "authProcType" to rfidScenario.authProcType, - "baseSMProcedure" to rfidScenario.baseSMProcedure, - "pacePasswordType" to rfidScenario.pacePasswordType, - "terminalType" to rfidScenario.terminalType, - "defaultReadingBufferSize" to rfidScenario.defaultReadingBufferSize, - "password" to rfidScenario.password, - "pkdPA" to rfidScenario.pkdPA, - "pkdEAC" to rfidScenario.pkdEAC, - "mrz" to rfidScenario.mrz, - "eSignPINDefault" to rfidScenario.geteSignPINDefault(), - "eSignPINNewValue" to rfidScenario.geteSignPINNewValue(), - "ePassportDataGroups" to getDataGroups(rfidScenario.ePassportDataGroups()), - "eIDDataGroups" to getDataGroups(rfidScenario.eIDDataGroups()), - "eDLDataGroups" to getDataGroups(rfidScenario.eDLDataGroups()) -).toJsonObject() - -fun setDataGroups(dataGroup: DataGroups, opts: JSONObject) = opts.forEach { k, v -> - val value = v as Boolean - when (k) { - "DG1" -> dataGroup.isDG1 = value - "DG2" -> dataGroup.isDG2 = value - "DG3" -> dataGroup.isDG3 = value - "DG4" -> dataGroup.isDG4 = value - "DG5" -> dataGroup.isDG5 = value - "DG6" -> dataGroup.isDG6 = value - "DG7" -> dataGroup.isDG7 = value - "DG8" -> dataGroup.isDG8 = value - "DG9" -> dataGroup.isDG9 = value - "DG10" -> dataGroup.isDG10 = value - "DG11" -> dataGroup.isDG11 = value - "DG12" -> dataGroup.isDG12 = value - "DG13" -> dataGroup.isDG13 = value - "DG14" -> dataGroup.isDG14 = value - } - if (dataGroup is EPassportDataGroups) when (k) { - "DG15" -> dataGroup.isDG15 = value - "DG16" -> dataGroup.isDG16 = value - } - if (dataGroup is EIDDataGroups) when (k) { - "DG15" -> dataGroup.isDG15 = value - "DG16" -> dataGroup.isDG16 = value - "DG17" -> dataGroup.isDG17 = value - "DG18" -> dataGroup.isDG18 = value - "DG19" -> dataGroup.isDG19 = value - "DG20" -> dataGroup.isDG20 = value - "DG21" -> dataGroup.isDG21 = value - } -} - -fun getDataGroups(dataGroup: DataGroups): JSONObject { - val result = mutableMapOf( - "DG1" to dataGroup.isDG1, - "DG2" to dataGroup.isDG2, - "DG3" to dataGroup.isDG3, - "DG4" to dataGroup.isDG4, - "DG5" to dataGroup.isDG5, - "DG6" to dataGroup.isDG6, - "DG7" to dataGroup.isDG7, - "DG8" to dataGroup.isDG8, - "DG9" to dataGroup.isDG9, - "DG10" to dataGroup.isDG10, - "DG11" to dataGroup.isDG11, - "DG12" to dataGroup.isDG12, - "DG13" to dataGroup.isDG13, - "DG14" to dataGroup.isDG14 - ) - if (dataGroup is EPassportDataGroups) { - result["DG15"] = dataGroup.isDG15 - result["DG16"] = dataGroup.isDG16 - } - if (dataGroup is EIDDataGroups) { - result["DG15"] = dataGroup.isDG15 - result["DG16"] = dataGroup.isDG16 - result["DG17"] = dataGroup.isDG17 - result["DG18"] = dataGroup.isDG18 - result["DG19"] = dataGroup.isDG19 - result["DG20"] = dataGroup.isDG20 - result["DG21"] = dataGroup.isDG21 - } - return result.toJsonObject() -} - -fun setImageQA(input: ImageQA, opts: JSONObject) = opts.forEach { k, v -> - when (k) { - "focusCheck" -> input.focusCheck = v as Boolean - "glaresCheck" -> input.glaresCheck = v as Boolean - "colornessCheck" -> input.colornessCheck = v as Boolean - "screenCapture" -> input.screenCapture = v as Boolean - "dpiThreshold" -> input.dpiThreshold = v.toInt() - "angleThreshold" -> input.angleThreshold = v.toInt() - "documentPositionIndent" -> input.documentPositionIndent = v.toInt() - "brightnessThreshold" -> input.brightnessThreshold = v.toDouble() - "expectedPass" -> input.expectedPass = v.toIntArray() - "glaresCheckParams" -> input.glaresCheckParams = glaresCheckParamsFromJSON(v as JSONObject) - } -} - -fun getImageQA(input: ImageQA) = mapOf( - "focusCheck" to input.focusCheck, - "glaresCheck" to input.glaresCheck, - "colornessCheck" to input.colornessCheck, - "screenCapture" to input.screenCapture, - "dpiThreshold" to input.dpiThreshold, - "angleThreshold" to input.angleThreshold, - "documentPositionIndent" to input.documentPositionIndent, - "brightnessThreshold" to input.brightnessThreshold, - "expectedPass" to input.expectedPass.generate(), - "glaresCheckParams" to generateGlaresCheckParams(input.glaresCheckParams), -).toJsonObject() - -fun setAuthenticityParams(input: AuthenticityParams, opts: JSONObject) = opts.forEach { k, v -> - when (k) { - "useLivenessCheck" -> input.useLivenessCheck = v as Boolean - "checkUVLuminiscence" -> input.checkUVLuminiscence = v as Boolean - "checkIRB900" -> input.checkIRB900 = v as Boolean - "checkImagePatterns" -> input.checkImagePatterns = v as Boolean - "checkFibers" -> input.checkFibers = v as Boolean - "checkExtMRZ" -> input.checkExtMRZ = v as Boolean - "checkExtOCR" -> input.checkExtOCR = v as Boolean - "checkAxial" -> input.checkAxial = v as Boolean - "checkBarcodeFormat" -> input.checkBarcodeFormat = v as Boolean - "checkIRVisibility" -> input.checkIRVisibility = v as Boolean - "checkIPI" -> input.checkIPI = v as Boolean - "checkPhotoEmbedding" -> input.checkPhotoEmbedding = v as Boolean - "checkPhotoComparison" -> input.checkPhotoComparison = v as Boolean - "checkLetterScreen" -> input.checkLetterScreen = v as Boolean - "livenessParams" -> { - if (input.livenessParams == null) input.livenessParams = LivenessParams.defaultParams() - setLivenessParams(input.livenessParams!!, v as JSONObject) - } - } -} - -fun getAuthenticityParams(input: AuthenticityParams?) = input?.let { - mapOf( - "useLivenessCheck" to it.useLivenessCheck, - "checkUVLuminiscence" to it.checkUVLuminiscence, - "checkIRB900" to input.checkIRB900, - "checkImagePatterns" to it.checkImagePatterns, - "checkFibers" to it.checkFibers, - "checkExtMRZ" to it.checkExtMRZ, - "checkExtOCR" to it.checkExtOCR, - "checkAxial" to it.checkAxial, - "checkBarcodeFormat" to it.checkBarcodeFormat, - "checkIRVisibility" to it.checkIRVisibility, - "checkIPI" to it.checkIPI, - "checkPhotoEmbedding" to it.checkPhotoEmbedding, - "checkPhotoComparison" to it.checkPhotoComparison, - "checkLetterScreen" to it.checkLetterScreen, - "livenessParams" to getLivenessParams(it.livenessParams) - ).toJsonObject() -} - -fun setLivenessParams(input: LivenessParams, opts: JSONObject) = opts.forEach { k, v -> - when (k) { - "checkOVI" -> input.checkOVI = v as Boolean - "checkMLI" -> input.checkMLI = v as Boolean - "checkHolo" -> input.checkHolo = v as Boolean - "checkED" -> input.checkED = v as Boolean - } -} - -fun getLivenessParams(input: LivenessParams?) = input?.let { - mapOf( - "checkOVI" to input.checkOVI, - "checkMLI" to input.checkMLI, - "checkHolo" to input.checkHolo, - "checkED" to input.checkED - ).toJsonObject() -} - -fun setColors(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { key, v -> - val value = v.toLong() - when (key) { - "rfidProcessingScreenBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_BACKGROUND, value) - "rfidProcessingScreenHintLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT, value) - "rfidProcessingScreenHintLabelBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND, value) - "rfidProcessingScreenProgressLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT, value) - "rfidProcessingScreenProgressBar" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR, value) - "rfidProcessingScreenProgressBarBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND, value) - "rfidProcessingScreenResultLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT, value) - } -} - -fun getColors(input: Map) = mapOf( - "rfidProcessingScreenBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_BACKGROUND], - "rfidProcessingScreenHintLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT], - "rfidProcessingScreenHintLabelBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND], - "rfidProcessingScreenProgressLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT], - "rfidProcessingScreenProgressBar" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR], - "rfidProcessingScreenProgressBarBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND], - "rfidProcessingScreenResultLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT], -).toJsonObject() - -fun setFonts(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { key, value -> - when (key) { - "rfidProcessingScreenHintLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_HINT_LABEL.setFont(input, value) - "rfidProcessingScreenProgressLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_PROGRESS_LABEL.setFont(input, value) - "rfidProcessingScreenResultLabel" -> CustomizationFont.RFID_PROCESSING_SCREEN_RESULT_LABEL.setFont(input, value) - } -} - -fun getFonts(fonts: Map, sizes: Map) = mapOf( - "rfidProcessingScreenHintLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_HINT_LABEL.generate(fonts, sizes), - "rfidProcessingScreenProgressLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_PROGRESS_LABEL.generate(fonts, sizes), - "rfidProcessingScreenResultLabel" to CustomizationFont.RFID_PROCESSING_SCREEN_RESULT_LABEL.generate(fonts, sizes), -).toJsonObject() - -fun setImages(input: ParamsCustomization.CustomizationEditor, opts: JSONObject, context: Context) = opts.forEach { key, v -> - when (key) { - "rfidProcessingScreenFailureImage" -> input.setImage(CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE, v.toDrawable(context)) - } -} - -fun getImages(input: Map) = mapOf( - "rfidProcessingScreenFailureImage" to (input[CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE] ?: ContextCompat.getDrawable(context, com.regula.documentreader.api.R.drawable.reg_ic_error)).toString(), -).toJsonObject() \ No newline at end of file diff --git a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPlugin.kt b/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPlugin.kt deleted file mode 100644 index ed68d103a2..0000000000 --- a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPlugin.kt +++ /dev/null @@ -1,559 +0,0 @@ -// -// FlutterDocumentReaderApiPlugin.java -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.annotation.SuppressLint -import android.app.Activity -import android.app.PendingIntent -import android.content.Intent -import android.content.IntentFilter -import android.nfc.NfcAdapter -import android.nfc.tech.IsoDep -import android.os.Build -import android.os.Handler -import android.os.Looper -import androidx.lifecycle.Lifecycle -import androidx.lifecycle.LifecycleEventObserver -import com.regula.common.LocalizationCallbacks -import com.regula.documentreader.api.DocumentReader.Instance -import com.regula.documentreader.api.completions.IDocumentReaderCompletion -import com.regula.documentreader.api.completions.IDocumentReaderInitCompletion -import com.regula.documentreader.api.completions.IDocumentReaderPrepareDbCompletion -import com.regula.documentreader.api.completions.model.PrepareProgress -import com.regula.documentreader.api.completions.rfid.IRfidPKDCertificateCompletion -import com.regula.documentreader.api.completions.rfid.IRfidReaderCompletion -import com.regula.documentreader.api.completions.rfid.IRfidReaderRequest -import com.regula.documentreader.api.completions.rfid.IRfidTASignatureCompletion -import com.regula.documentreader.api.completions.rfid.certificates.IRfidPACertificates -import com.regula.documentreader.api.completions.rfid.certificates.IRfidTACertificates -import com.regula.documentreader.api.completions.rfid.certificates.IRfidTASignature -import com.regula.documentreader.api.enums.DocReaderAction -import com.regula.documentreader.api.enums.LCID -import com.regula.documentreader.api.enums.eImageQualityCheckType -import com.regula.documentreader.api.enums.eLDS_ParsingErrorCodes -import com.regula.documentreader.api.enums.eLDS_ParsingNotificationCodes -import com.regula.documentreader.api.enums.eRFID_DataFile_Type -import com.regula.documentreader.api.enums.eRFID_ErrorCodes -import com.regula.documentreader.api.enums.eVisualFieldType -import com.regula.documentreader.api.errors.DocReaderRfidException -import com.regula.documentreader.api.errors.DocumentReaderException -import com.regula.documentreader.api.internal.core.CoreScenarioUtil -import com.regula.documentreader.api.results.DocumentReaderNotification -import com.regula.documentreader.api.results.DocumentReaderResults -import com.regula.documentreader.api.results.DocumentReaderResults.fromRawResults -import com.regula.documentreader.api.results.DocumentReaderScenario -import io.flutter.embedding.engine.plugins.FlutterPlugin -import io.flutter.embedding.engine.plugins.FlutterPlugin.FlutterPluginBinding -import io.flutter.embedding.engine.plugins.activity.ActivityAware -import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding -import io.flutter.embedding.engine.plugins.lifecycle.HiddenLifecycleReference -import io.flutter.plugin.common.BinaryMessenger -import io.flutter.plugin.common.EventChannel -import io.flutter.plugin.common.EventChannel.EventSink -import io.flutter.plugin.common.MethodCall -import io.flutter.plugin.common.MethodChannel -import io.flutter.plugin.common.MethodChannel.MethodCallHandler -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.bitmapToBase64 -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.byteArrayFromBase64 -import org.json.JSONArray -import org.json.JSONObject - -class FlutterDocumentReaderApiPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { - override fun onAttachedToActivity(binding: ActivityPluginBinding) = attachedToActivity(binding) - override fun onDetachedFromActivityForConfigChanges() = Unit - override fun onReattachedToActivityForConfigChanges(binding: ActivityPluginBinding) = Unit - override fun onDetachedFromActivity() = Unit - override fun onAttachedToEngine(binding: FlutterPluginBinding) = attachedToEngine(binding, this) - override fun onDetachedFromEngine(binding: FlutterPluginBinding) = Unit - override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) = methodCall(call, result) -} - -fun attachedToEngine(binding: FlutterPluginBinding, plugin: FlutterDocumentReaderApiPlugin) { - binaryMessenger = binding.binaryMessenger - setupEventChannel("completion") - setupEventChannel("database_progress") - setupEventChannel("rfidOnProgressCompletion") - setupEventChannel("rfidOnChipDetectedEvent") - setupEventChannel("rfidOnRetryReadChipEvent") - setupEventChannel("pa_certificate_completion") - setupEventChannel("ta_certificate_completion") - setupEventChannel("ta_signature_completion") - setupEventChannel("bleOnServiceConnectedEvent") - setupEventChannel("bleOnServiceDisconnectedEvent") - setupEventChannel("bleOnDeviceReadyEvent") - setupEventChannel("video_encoder_completion") - setupEventChannel("onCustomButtonTappedEvent") - MethodChannel(binaryMessenger, "flutter_document_reader_api/method").setMethodCallHandler(plugin) -} - -fun attachedToActivity(binding: ActivityPluginBinding) { - activity = binding.activity - activityBinding = binding - binding.addOnNewIntentListener { - newIntent(it) - false - } -} - -fun setupEventChannel(id: String) = EventChannel(binaryMessenger, "flutter_document_reader_api/event/$id").setStreamHandler(object : EventChannel.StreamHandler { - override fun onListen(arguments: Any?, events: EventSink) = events.let { eventSinks[id] = it } - override fun onCancel(arguments: Any?) = Unit -}) - -fun sendEvent(id: String, data: Any? = "") { - eventSinks[id]?.let { Handler(Looper.getMainLooper()).post { it.success(data.toSendable()) } } -} - -inline fun argsNullable(index: Int) = when (val v = args[index]) { - null -> null - is Map<*, *> -> v.toJson() as T - is List<*> -> v.toJson() as T - else -> v as T -} - -lateinit var args: List -val eventSinks = mutableMapOf() -lateinit var binaryMessenger: BinaryMessenger -lateinit var activityBinding: ActivityPluginBinding -val lifecycle: Lifecycle - get() = (activityBinding.lifecycle as HiddenLifecycleReference).lifecycle - -fun methodCall(call: MethodCall, result: MethodChannel.Result) { - val action = call.method - args = call.arguments as List<*> - val callback = object : Callback { - override fun success(data: Any?) = result.success(data.toSendable()) - override fun error(message: String) = result.error("", message, null) - } - when (action) { - "getDocumentReaderIsReady" -> getDocumentReaderIsReady(callback) - "getDocumentReaderStatus" -> getDocumentReaderStatus(callback) - "isAuthenticatorAvailableForUse" -> isAuthenticatorAvailableForUse(callback) - "isBlePermissionsGranted" -> isBlePermissionsGranted(callback) - "getRfidSessionStatus" -> getRfidSessionStatus(callback) - "setRfidSessionStatus" -> setRfidSessionStatus(callback) - "getTag" -> getTag(callback) - "setTag" -> setTag(argsNullable(0)) - "getFunctionality" -> getFunctionality(callback) - "setFunctionality" -> setFunctionality(args(0)) - "getProcessParams" -> getProcessParams(callback) - "setProcessParams" -> setProcessParams(args(0)) - "getCustomization" -> getCustomization(callback) - "setCustomization" -> setCustomization(args(0)) - "getRfidScenario" -> getRfidScenario(callback) - "setRfidScenario" -> setRfidScenario(args(0)) - "resetConfiguration" -> resetConfiguration() - "initializeReader" -> initializeReader(callback, args(0)) - "initializeReaderWithBleDeviceConfig" -> initializeReaderWithBleDeviceConfig(callback, args(0)) - "deinitializeReader" -> deinitializeReader(callback) - "prepareDatabase" -> prepareDatabase(callback, args(0)) - "removeDatabase" -> removeDatabase(callback) - "runAutoUpdate" -> runAutoUpdate(callback, args(0)) - "cancelDBUpdate" -> cancelDBUpdate(callback) - "checkDatabaseUpdate" -> checkDatabaseUpdate(callback, args(0)) - "scan" -> scan(args(0)) - "recognize" -> recognize(args(0)) - "startNewPage" -> startNewPage(callback) - "stopScanner" -> stopScanner(callback) - "startRFIDReader" -> startRFIDReader(args(0), args(1), args(2)) - "readRFID" -> readRFID(args(0), args(1), args(2)) - "stopRFIDReader" -> stopRFIDReader(callback) - "providePACertificates" -> providePACertificates(callback, argsNullable(0)) - "provideTACertificates" -> provideTACertificates(callback, argsNullable(0)) - "provideTASignature" -> provideTASignature(callback, args(0)) - "setTCCParams" -> setTCCParams(callback, args(0)) - "addPKDCertificates" -> addPKDCertificates(callback, args(0)) - "clearPKDCertificates" -> clearPKDCertificates(callback) - "startNewSession" -> startNewSession(callback) - "startBluetoothService" -> startBluetoothService() - "setLocalizationDictionary" -> setLocalizationDictionary(args(0)) - "getLicense" -> getLicense(callback) - "getAvailableScenarios" -> getAvailableScenarios(callback) - "getIsRFIDAvailableForUse" -> getIsRFIDAvailableForUse(callback) - "getDocReaderVersion" -> getDocReaderVersion(callback) - "getDocReaderDocumentsDatabase" -> getDocReaderDocumentsDatabase(callback) - "textFieldValueByType" -> textFieldValueByType(callback, args(0), args(1)) - "textFieldValueByTypeLcid" -> textFieldValueByTypeLcid(callback, args(0), args(1), args(2)) - "textFieldValueByTypeSource" -> textFieldValueByTypeSource(callback, args(0), args(1), args(2)) - "textFieldValueByTypeLcidSource" -> textFieldValueByTypeLcidSource(callback, args(0), args(1), args(2), args(3)) - "textFieldValueByTypeSourceOriginal" -> textFieldValueByTypeSourceOriginal(callback, args(0), args(1), args(2), args(3)) - "textFieldValueByTypeLcidSourceOriginal" -> textFieldValueByTypeLcidSourceOriginal(callback, args(0), args(1), args(2), args(3), args(4)) - "textFieldByType" -> textFieldByType(callback, args(0), args(1)) - "textFieldByTypeLcid" -> textFieldByTypeLcid(callback, args(0), args(1), args(2)) - "graphicFieldByTypeSource" -> graphicFieldByTypeSource(callback, args(0), args(1), args(2)) - "graphicFieldByTypeSourcePageIndex" -> graphicFieldByTypeSourcePageIndex(callback, args(0), args(1), args(2), args(3)) - "graphicFieldByTypeSourcePageIndexLight" -> graphicFieldByTypeSourcePageIndexLight(callback, args(0), args(1), args(2), args(3), args(4)) - "graphicFieldImageByType" -> graphicFieldImageByType(callback, args(0), args(1)) - "graphicFieldImageByTypeSource" -> graphicFieldImageByTypeSource(callback, args(0), args(1), args(2)) - "graphicFieldImageByTypeSourcePageIndex" -> graphicFieldImageByTypeSourcePageIndex(callback, args(0), args(1), args(2), args(3)) - "graphicFieldImageByTypeSourcePageIndexLight" -> graphicFieldImageByTypeSourcePageIndexLight(callback, args(0), args(1), args(2), args(3), args(4)) - "containers" -> containers(callback, args(0), args(1)) - "encryptedContainers" -> encryptedContainers(callback, args(0)) - "finalizePackage" -> finalizePackage(callback) - "getTranslation" -> getTranslation(callback, args(0), args(1)) - } -} - -inline fun args(index: Int) = argsNullable(index)!! -interface Callback { - fun success(data: Any? = "") - fun error(message: String) -} - -@SuppressLint("StaticFieldLeak") -lateinit var activity: Activity -lateinit var lifecycleObserver: LifecycleEventObserver -val context - get() = activity - -var backgroundRFIDEnabled = false - -const val eventCompletion = "completion" -const val eventDatabaseProgress = "database_progress" - -const val rfidOnProgressEvent = "rfidOnProgressCompletion" -const val rfidOnChipDetectedEvent = "rfidOnChipDetectedEvent" -const val rfidOnRetryReadChipEvent = "rfidOnRetryReadChipEvent" - -const val eventPACertificateCompletion = "pa_certificate_completion" -const val eventTACertificateCompletion = "ta_certificate_completion" -const val eventTASignatureCompletion = "ta_signature_completion" - -const val bleOnServiceConnectedEvent = "bleOnServiceConnectedEvent" -const val bleOnServiceDisconnectedEvent = "bleOnServiceDisconnectedEvent" -const val bleOnDeviceReadyEvent = "bleOnDeviceReadyEvent" - -const val eventVideoEncoderCompletion = "video_encoder_completion" -const val onCustomButtonTappedEvent = "onCustomButtonTappedEvent" - -fun getDocumentReaderIsReady(callback: Callback) = callback.success(Instance().isReady) - -fun getDocumentReaderStatus(callback: Callback) = callback.success(Instance().status) - -fun isAuthenticatorAvailableForUse(callback: Callback) = callback.success(Instance().isAuthenticatorAvailableForUse) - -fun isBlePermissionsGranted(callback: Callback) = callback.success(isBlePermissionsGranted((activity))) - -fun getRfidSessionStatus(callback: Callback) = callback.error("getRfidSessionStatus() is an ios-only method") - -fun setRfidSessionStatus(callback: Callback) = callback.error("setRfidSessionStatus() is an ios-only method") - -fun getTag(callback: Callback) = callback.success(Instance().tag) - -fun setTag(tag: String?) = tag.let { Instance().tag = it } - -fun getFunctionality(callback: Callback) = callback.success(getFunctionality(Instance().functionality())) - -fun setFunctionality(functionality: JSONObject) = setFunctionality(Instance().functionality(), functionality) - -fun getProcessParams(callback: Callback) = callback.success(getProcessParams(Instance().processParams())) - -fun setProcessParams(processParams: JSONObject) = setProcessParams(Instance().processParams(), processParams) - -fun getCustomization(callback: Callback) = callback.success(getCustomization(Instance().customization())) - -fun setCustomization(customization: JSONObject) = setCustomization(Instance().customization(), customization, context) - -fun getRfidScenario(callback: Callback) = callback.success(getRfidScenario(Instance().rfidScenario())) - -fun setRfidScenario(rfidScenario: JSONObject) = setRfidScenario(Instance().rfidScenario(), rfidScenario) - -fun resetConfiguration() = Instance().resetConfiguration() - -fun initializeReader(callback: Callback, config: JSONObject) = Instance().initializeReader(context, docReaderConfigFromJSON(config), getInitCompletion(callback)) - -fun initializeReaderWithBleDeviceConfig(callback: Callback, config: JSONObject) = Instance().initializeReader(context, bleDeviceConfigFromJSON(config), getInitCompletion(callback)) - -fun deinitializeReader(callback: Callback) { - Instance().deinitializeReader() - callback.success() -} - -fun prepareDatabase(callback: Callback, databaseID: String) = Instance().prepareDatabase(context, databaseID, getPrepareCompletion(callback)) - -fun removeDatabase(callback: Callback) = callback.success(Instance().removeDatabase(context)) - -fun runAutoUpdate(callback: Callback, databaseID: String) = Instance().runAutoUpdate(context, databaseID, getPrepareCompletion(callback)) - -fun cancelDBUpdate(callback: Callback) = callback.success(Instance().cancelDBUpdate(context)) - -fun checkDatabaseUpdate(callback: Callback, databaseID: String) = Instance().checkDatabaseUpdate(context, databaseID) { callback.success(generateDocReaderDocumentsDatabase(it)) } - -fun scan(config: JSONObject) { - stopBackgroundRFID() - Instance().showScanner(context, scannerConfigFromJSON(config), completion) -} - -fun recognize(config: JSONObject) { - stopBackgroundRFID() - Instance().recognize(recognizeConfigFromJSON(config), completion) -} - -fun startNewPage(callback: Callback) { - Instance().startNewPage() - callback.success() -} - -fun stopScanner(callback: Callback) { - Instance().stopScanner(context) - callback.success() -} - -fun startRFIDReader(onRequestPACertificates: Boolean, onRequestTACertificates: Boolean, onRequestTASignature: Boolean) { - stopBackgroundRFID() - requestType = RfidReaderRequestType( - onRequestPACertificates, - onRequestTACertificates, - onRequestTASignature - ) - Instance().startRFIDReader(context, rfidReaderCompletion, requestType.getRfidReaderRequest()) -} - -fun readRFID(onRequestPACertificates: Boolean, onRequestTACertificates: Boolean, onRequestTASignature: Boolean) { - requestType = RfidReaderRequestType( - onRequestPACertificates, - onRequestTACertificates, - onRequestTASignature - ) - startForegroundDispatch() -} - -fun stopRFIDReader(callback: Callback) { - Instance().stopRFIDReader(context) - stopBackgroundRFID() - callback.success() -} - -fun providePACertificates(callback: Callback, certificates: JSONArray?) { - paCertificateCompletion!!.onCertificatesReceived(arrayFromJSON(certificates, ::pkdCertificateFromJSON, arrayOfNulls(certificates?.length() ?: 0))) - callback.success() -} - -fun provideTACertificates(callback: Callback, certificates: JSONArray?) { - taCertificateCompletion!!.onCertificatesReceived(arrayFromJSON(certificates, ::pkdCertificateFromJSON, arrayOfNulls(certificates?.length() ?: 0))) - callback.success() -} - -fun provideTASignature(callback: Callback, signature: String?) { - taSignatureCompletion!!.onSignatureReceived(byteArrayFromBase64(signature)) - callback.success() -} - -fun setTCCParams(callback: Callback, params: JSONObject) { - Instance().setTccParams(tccParamsFromJSON(params)) { success, error -> - callback.success(generateSuccessCompletion(success, error)) - } -} - -fun addPKDCertificates(callback: Callback, certificates: JSONArray) { - Instance().addPKDCertificates(listFromJSON(certificates, ::pkdCertificateFromJSON)!!) - callback.success() -} - -fun clearPKDCertificates(callback: Callback) { - Instance().clearPKDCertificates() - callback.success() -} - -fun startNewSession(callback: Callback) { - Instance().startNewSession() - callback.success() -} - -fun startBluetoothService() = startBluetoothService( - activity, - { sendEvent(bleOnServiceConnectedEvent, it) }, - { sendEvent(bleOnServiceDisconnectedEvent) }, - { sendEvent(bleOnDeviceReadyEvent) } -) - -fun setLocalizationDictionary(dictionary: JSONObject) { - localizationCallbacks = LocalizationCallbacks { if (dictionary.has(it)) dictionary.getString(it) else null } - Instance().setLocalizationCallback(localizationCallbacks!!) -} - -fun getLicense(callback: Callback) = callback.success(generateLicense(Instance().license())) - -fun getAvailableScenarios(callback: Callback) { - val scenarios: MutableList = ArrayList() - for (scenario: DocumentReaderScenario in Instance().availableScenarios) - scenarios.add(CoreScenarioUtil.getScenario(scenario.name)) - callback.success(generateList(scenarios, ::generateDocumentReaderScenario)) -} - -fun getIsRFIDAvailableForUse(callback: Callback) = callback.success(Instance().isRFIDAvailableForUse) - -fun getDocReaderVersion(callback: Callback) = callback.success(generateDocReaderVersion(Instance().version)) - -fun getDocReaderDocumentsDatabase(callback: Callback) = callback.success(Instance().version?.let { generateDocReaderDocumentsDatabase(it.database) }) - -fun textFieldValueByType(callback: Callback, raw: String, fieldType: Int) = callback.success(fromRawResults(raw).getTextFieldValueByType(fieldType)) - -fun textFieldValueByTypeLcid(callback: Callback, raw: String, fieldType: Int, lcid: Int) = callback.success(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid)) - -fun textFieldValueByTypeSource(callback: Callback, raw: String, fieldType: Int, source: Int) = callback.success(fromRawResults(raw).getTextFieldValueByTypeAndSource(fieldType, source)) - -fun textFieldValueByTypeLcidSource(callback: Callback, raw: String, fieldType: Int, lcid: Int, source: Int) = callback.success(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid, source)) - -fun textFieldValueByTypeSourceOriginal(callback: Callback, raw: String, fieldType: Int, source: Int, original: Boolean) = callback.success(fromRawResults(raw).getTextFieldValueByTypeAndSource(fieldType, source, original)) - -fun textFieldValueByTypeLcidSourceOriginal(callback: Callback, raw: String, fieldType: Int, lcid: Int, source: Int, original: Boolean) = callback.success(fromRawResults(raw).getTextFieldValueByType(fieldType, lcid, source, original)) - -fun textFieldByType(callback: Callback, raw: String, fieldType: Int) = callback.success(generateDocumentReaderTextField(fromRawResults(raw).getTextFieldByType(fieldType), context)) - -fun textFieldByTypeLcid(callback: Callback, raw: String, fieldType: Int, lcid: Int) = callback.success(generateDocumentReaderTextField(fromRawResults(raw).getTextFieldByType(fieldType, lcid), context)) - -fun graphicFieldByTypeSource(callback: Callback, raw: String, fieldType: Int, source: Int) = callback.success(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source), context)) - -fun graphicFieldByTypeSourcePageIndex(callback: Callback, raw: String, fieldType: Int, source: Int, pageIndex: Int) = callback.success(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source, pageIndex), context)) - -fun graphicFieldByTypeSourcePageIndexLight(callback: Callback, raw: String, fieldType: Int, source: Int, pageIndex: Int, light: Int) = callback.success(generateDocumentReaderGraphicField(fromRawResults(raw).getGraphicFieldByType(fieldType, source, pageIndex, light), context)) - -fun graphicFieldImageByType(callback: Callback, raw: String, fieldType: Int) = callback.success(bitmapToBase64(fromRawResults(raw).getGraphicFieldImageByType(fieldType))) - -fun graphicFieldImageByTypeSource(callback: Callback, raw: String, fieldType: Int, source: Int) = callback.success(bitmapToBase64(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source))) - -fun graphicFieldImageByTypeSourcePageIndex(callback: Callback, raw: String, fieldType: Int, source: Int, pageIndex: Int) = callback.success(bitmapToBase64(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source, pageIndex))) - -fun graphicFieldImageByTypeSourcePageIndexLight(callback: Callback, raw: String, fieldType: Int, source: Int, pageIndex: Int, light: Int) = callback.success(bitmapToBase64(fromRawResults(raw).getGraphicFieldImageByType(fieldType, source, pageIndex, light))) - -fun containers(callback: Callback, raw: String, resultType: JSONArray) = callback.success(fromRawResults(raw).getContainers(resultType.toIntArray()!!)) - -fun encryptedContainers(callback: Callback, raw: String) = callback.success(fromRawResults(raw).encryptedContainers) - -fun finalizePackage(callback: Callback) = Instance().finalizePackage { action, info, error -> callback.success(generateFinalizePackageCompletion(action, info, error)) } - -fun getTranslation(callback: Callback, className: String, value: Int) = when (className) { - "RFIDErrorCodes" -> callback.success(eRFID_ErrorCodes.getTranslation(context, value)) - "LDSParsingErrorCodes" -> callback.success(eLDS_ParsingErrorCodes.getTranslation(context, value)) - "LDSParsingNotificationCodes" -> callback.success(eLDS_ParsingNotificationCodes.getTranslation(context, value)) - "ImageQualityCheckType" -> callback.success(eImageQualityCheckType.getTranslation(context, value)) - "RFIDDataFileType" -> callback.success(eRFID_DataFile_Type.getTranslation(context, value)) - "VisualFieldType" -> callback.success(eVisualFieldType.getTranslation(context, value)) - "LCID" -> callback.success(LCID.getTranslation(context, value)) - else -> null -} - -val completed = { action: Int, results: DocumentReaderResults?, error: DocumentReaderException? -> - sendEvent(eventCompletion, generateCompletion(action, results, error, context)) - if ((action == DocReaderAction.ERROR) || (action == DocReaderAction.CANCEL) || ((action == DocReaderAction.COMPLETE) && (results?.rfidResult == 1))) - stopBackgroundRFID() -} - -val completion = IDocumentReaderCompletion(completed) - -val rfidReaderCompletion = object : IRfidReaderCompletion() { - override fun onCompleted(action: Int, results: DocumentReaderResults?, error: DocumentReaderException?): Unit = completed(action, results, error) - override fun onChipDetected(): Unit = sendEvent(rfidOnChipDetectedEvent) - override fun onRetryReadChip(error: DocReaderRfidException) = sendEvent(rfidOnRetryReadChipEvent, generateRegulaException(error)) - override fun onProgress(notification: DocumentReaderNotification) = sendEvent(rfidOnProgressEvent, generateDocumentReaderNotification(notification)) -} - -fun getPrepareCompletion(callback: Callback) = object : IDocumentReaderPrepareDbCompletion() { - override fun onPrepareProgressChanged(progress: PrepareProgress) = sendEvent(eventDatabaseProgress, generatePrepareProgress(progress)) - override fun onPrepareCompleted(success: Boolean, error: DocumentReaderException?) = callback.success(generateSuccessCompletion(success, error)) -} - -fun getInitCompletion(callback: Callback) = IDocumentReaderInitCompletion { success, error -> - if (success) { - Instance().setVideoEncoderCompletion { _, file -> sendEvent(eventVideoEncoderCompletion, file.path) } - Instance().setOnClickListener { sendEvent(onCustomButtonTappedEvent, it.tag) } - } - callback.success(generateSuccessCompletion(success, error)) -} - -var paCertificateCompletion: IRfidPKDCertificateCompletion? = null -var taCertificateCompletion: IRfidPKDCertificateCompletion? = null -var taSignatureCompletion: IRfidTASignatureCompletion? = null - -class RfidReaderRequestType( - val doPACertificates: Boolean, - val doTACertificates: Boolean, - val doTASignature: Boolean -) { - private val onRequestPACertificates = IRfidPACertificates { serialNumber, issuer, completion -> - paCertificateCompletion = completion - sendEvent(eventPACertificateCompletion, generatePACertificateCompletion(serialNumber, issuer)) - } - private val onRequestTACertificates = IRfidTACertificates { keyCAR, completion -> - taCertificateCompletion = completion - sendEvent(eventTACertificateCompletion, keyCAR) - } - private val onRequestTASignature = IRfidTASignature { challenge, completion -> - taSignatureCompletion = completion - sendEvent(eventTASignatureCompletion, generateTAChallenge(challenge)) - } - - fun getRfidReaderRequest(): IRfidReaderRequest? = when { - !doPACertificates && !doTACertificates && doTASignature -> IRfidReaderRequest(onRequestTASignature) - !doPACertificates && doTACertificates && !doTASignature -> IRfidReaderRequest(onRequestTACertificates) - !doPACertificates && doTACertificates && doTASignature -> IRfidReaderRequest(onRequestTACertificates, onRequestTASignature) - doPACertificates && !doTACertificates && !doTASignature -> IRfidReaderRequest(onRequestPACertificates) - doPACertificates && !doTACertificates && doTASignature -> IRfidReaderRequest(onRequestPACertificates, onRequestTASignature) - doPACertificates && doTACertificates && !doTASignature -> IRfidReaderRequest(onRequestPACertificates, onRequestTACertificates) - doPACertificates && doTACertificates && doTASignature -> IRfidReaderRequest(onRequestPACertificates, onRequestTACertificates, onRequestTASignature) - else -> null - } -} - -var requestType = RfidReaderRequestType( - doPACertificates = false, - doTACertificates = false, - doTASignature = false -) - -@Suppress("DEPRECATION") -fun newIntent(intent: Intent) = if (intent.action == NfcAdapter.ACTION_TECH_DISCOVERED) - Instance().readRFID( - IsoDep.get(intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)), - rfidReaderCompletion, - requestType.getRfidReaderRequest() - ) else Unit - -fun startForegroundDispatch() { - backgroundRFIDEnabled = true - val filters: Array = arrayOfNulls(1) - filters[0] = IntentFilter() - filters[0]!!.addAction(NfcAdapter.ACTION_TECH_DISCOVERED) - filters[0]!!.addCategory(Intent.CATEGORY_DEFAULT) - val techList = arrayOf(arrayOf("android.nfc.tech.IsoDep")) - val intent = Intent(context, context.javaClass) - val flag = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) PendingIntent.FLAG_MUTABLE else 0 - val pendingIntent = PendingIntent.getActivity(context, 0, intent, flag) - - if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) - enableForegroundDispatch(pendingIntent, filters, techList) - lifecycleObserver = LifecycleEventObserver { _, event -> - if (backgroundRFIDEnabled) when (event) { - Lifecycle.Event.ON_RESUME -> enableForegroundDispatch(pendingIntent, filters, techList) - Lifecycle.Event.ON_PAUSE -> disableForegroundDispatch() - else -> Unit - } - } - context.runOnUiThread { lifecycle.addObserver(lifecycleObserver) } -} - -fun enableForegroundDispatch( - pendingIntent: PendingIntent, - filters: Array, - techList: Array> -) = NfcAdapter.getDefaultAdapter(context).enableForegroundDispatch(activity, pendingIntent, filters, techList) - -fun disableForegroundDispatch() = NfcAdapter.getDefaultAdapter(activity).disableForegroundDispatch(activity) - -fun stopBackgroundRFID() { - if (!backgroundRFIDEnabled) return - backgroundRFIDEnabled = false - if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) - disableForegroundDispatch() - context.runOnUiThread { lifecycle.removeObserver(lifecycleObserver) } -} - -// Weak references -var localizationCallbacks: LocalizationCallbacks? = null \ No newline at end of file diff --git a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/JSONConstructor.kt b/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/JSONConstructor.kt deleted file mode 100644 index 6059018b2f..0000000000 --- a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/JSONConstructor.kt +++ /dev/null @@ -1,2198 +0,0 @@ -// -// JSONConstructor.java -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.content.Context -import android.graphics.Bitmap -import android.graphics.Rect -import android.graphics.Typeface -import android.util.Pair -import com.regula.common.exception.RegulaException -import com.regula.documentreader.api.License -import com.regula.documentreader.api.completions.model.PrepareProgress -import com.regula.documentreader.api.config.RecognizeConfig -import com.regula.documentreader.api.config.ScannerConfig -import com.regula.documentreader.api.enums.BarcodeType -import com.regula.documentreader.api.enums.DocReaderAction -import com.regula.documentreader.api.enums.PDF417Info -import com.regula.documentreader.api.enums.eGraphicFieldType -import com.regula.documentreader.api.enums.eRFID_DataFile_Type -import com.regula.documentreader.api.enums.eRPRM_Lights -import com.regula.documentreader.api.params.AuthenticityParams -import com.regula.documentreader.api.params.BackendProcessingConfig -import com.regula.documentreader.api.params.BleDeviceConfig -import com.regula.documentreader.api.params.DocReaderConfig -import com.regula.documentreader.api.params.FaceApiParams -import com.regula.documentreader.api.params.Functionality -import com.regula.documentreader.api.params.ImageInputData -import com.regula.documentreader.api.params.ImageQA -import com.regula.documentreader.api.params.ImageQA.GlaresCheckParams -import com.regula.documentreader.api.params.LivenessParams -import com.regula.documentreader.api.params.OnlineProcessingConfig -import com.regula.documentreader.api.params.ParamsCustomization -import com.regula.documentreader.api.params.ProcessParam -import com.regula.documentreader.api.params.RfidScenario -import com.regula.documentreader.api.params.rfid.PKDCertificate -import com.regula.documentreader.api.params.rfid.RFIDParams -import com.regula.documentreader.api.params.rfid.TccParams -import com.regula.documentreader.api.params.rfid.authorization.PAAttribute -import com.regula.documentreader.api.params.rfid.authorization.PAResourcesIssuer -import com.regula.documentreader.api.params.rfid.authorization.TAChallenge -import com.regula.documentreader.api.params.rfid.dg.EDLDataGroups -import com.regula.documentreader.api.params.rfid.dg.EIDDataGroups -import com.regula.documentreader.api.params.rfid.dg.EPassportDataGroups -import com.regula.documentreader.api.results.BytesData -import com.regula.documentreader.api.results.Coordinate -import com.regula.documentreader.api.results.DocReaderDocumentsDatabase -import com.regula.documentreader.api.results.DocReaderFieldRect -import com.regula.documentreader.api.results.DocReaderVersion -import com.regula.documentreader.api.results.DocumentReaderBarcodeField -import com.regula.documentreader.api.results.DocumentReaderBarcodeResult -import com.regula.documentreader.api.results.DocumentReaderComparison -import com.regula.documentreader.api.results.DocumentReaderDocumentType -import com.regula.documentreader.api.results.DocumentReaderGraphicField -import com.regula.documentreader.api.results.DocumentReaderGraphicResult -import com.regula.documentreader.api.results.DocumentReaderNotification -import com.regula.documentreader.api.results.DocumentReaderResults -import com.regula.documentreader.api.results.DocumentReaderResultsStatus -import com.regula.documentreader.api.results.DocumentReaderResultsStatus.DetailsOptical -import com.regula.documentreader.api.results.DocumentReaderResultsStatus.DetailsRFID -import com.regula.documentreader.api.results.DocumentReaderRfidOrigin -import com.regula.documentreader.api.results.DocumentReaderScenario -import com.regula.documentreader.api.results.DocumentReaderSymbol -import com.regula.documentreader.api.results.DocumentReaderTextField -import com.regula.documentreader.api.results.DocumentReaderTextResult -import com.regula.documentreader.api.results.DocumentReaderTextSource -import com.regula.documentreader.api.results.DocumentReaderValidity -import com.regula.documentreader.api.results.DocumentReaderValue -import com.regula.documentreader.api.results.ElementPosition -import com.regula.documentreader.api.results.ImageQuality -import com.regula.documentreader.api.results.ImageQualityGroup -import com.regula.documentreader.api.results.TransactionInfo -import com.regula.documentreader.api.results.VDSNCData -import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityCheck -import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityElement -import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityResult -import com.regula.documentreader.api.results.rfid.AccessControlProcedureType -import com.regula.documentreader.api.results.rfid.Application -import com.regula.documentreader.api.results.rfid.Attribute -import com.regula.documentreader.api.results.rfid.Authority -import com.regula.documentreader.api.results.rfid.CardProperties -import com.regula.documentreader.api.results.rfid.CertificateChain -import com.regula.documentreader.api.results.rfid.CertificateData -import com.regula.documentreader.api.results.rfid.DataField -import com.regula.documentreader.api.results.rfid.Extension -import com.regula.documentreader.api.results.rfid.File -import com.regula.documentreader.api.results.rfid.FileData -import com.regula.documentreader.api.results.rfid.RFIDSessionData -import com.regula.documentreader.api.results.rfid.SecurityObject -import com.regula.documentreader.api.results.rfid.SecurityObjectCertificates -import com.regula.documentreader.api.results.rfid.SignerInfo -import com.regula.documentreader.api.results.rfid.Validity -import com.regula.documentreader.api.results.rfid.Value -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.bitmapFromBase64 -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.bitmapToBase64 -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.byteArrayFromBase64 -import io.flutter.plugins.regula.documentreader.flutter_document_reader_api.Convert.generateByteArray -import org.json.JSONArray -import org.json.JSONObject - -fun generateCompletion(action: Int, results: DocumentReaderResults?, error: RegulaException?, context: Context?) = object : JSONObject() { init { - put("action", action) - if (listOf( - DocReaderAction.COMPLETE, - DocReaderAction.MORE_PAGES_AVAILABLE, - DocReaderAction.CANCEL, - DocReaderAction.ERROR, - DocReaderAction.TIMEOUT - ).contains(action) - ) put("results", generateDocumentReaderResults(results, context)) - put("error", generateRegulaException(error)) -} -} - -fun generateSuccessCompletion(success: Boolean, error: RegulaException?) = object : JSONObject() { init { - put("success", success) - put("error", generateRegulaException(error)) -} -} - -fun prepareProgressFromJSON(it: JSONObject) = PrepareProgress( - it.getInt("downloadedBytes"), - it.getInt("totalBytes") -) - -fun generatePrepareProgress(it: PrepareProgress) = mapOf( - "downloadedBytes" to it.downloadedBytes, - "totalBytes" to it.totalBytes, - "progress" to it.progress -).toJson() - -fun generatePACertificateCompletion(serialNumber: ByteArray?, issuer: PAResourcesIssuer?) = object : JSONObject() { init { - put("serialNumber", generateByteArray(serialNumber)) - put("issuer", generatePAResourcesIssuer(issuer)) -} -} - -fun generateFinalizePackageCompletion(action: Int, info: TransactionInfo?, error: RegulaException?) = object : JSONObject() { init { - put("action", action) - put("info", generateTransactionInfo(info)) - put("error", generateRegulaException(error)) -} -} - -fun regulaExceptionFromJSON(temp: JSONObject?) = temp?.let { - val input: JSONObject = temp - - val code = input.optInt("code") - val message = input.optString("message") - - RegulaException(code, message) -} - -fun generateRegulaException(temp: RegulaException?): JSONObject? = temp?.let { - object : JSONObject() { init { - val input: RegulaException = it - put("code", input.errorCode) - put("message", input.message) - } - } -} - -fun transactionInfoFromJSON(temp: JSONObject?): TransactionInfo? { - temp ?: return null - val input: JSONObject = temp - val result = TransactionInfo() - - if (input.has("transactionId")) result.transactionId = input.getString("transactionId") - if (input.has("tag")) result.tag = input.getString("tag") - - return result -} - -fun generateTransactionInfo(temp: TransactionInfo?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: TransactionInfo = temp - - result.put("transactionId", input.transactionId) - result.put("tag", input.tag) - - return result -} - -fun tccParamsFromJSON(input: JSONObject): TccParams { - val result = TccParams() - - if (input.has("serviceUrlTA")) result.serviceUrlTA = input.getString("serviceUrlTA") - if (input.has("serviceUrlPA")) result.serviceUrlPA = input.getString("serviceUrlPA") - if (input.has("pfxCertUrl")) result.pfxCertUrl = input.getString("pfxCertUrl") - if (input.has("pfxPassPhrase")) result.pfxPassPhrase = input.getString("pfxPassPhrase") - if (input.has("pfxCert")) result.pfxCert = byteArrayFromBase64(input.getString("pfxCert")) - - return result -} - -fun generateTccParams(temp: TccParams?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: TccParams = temp - - result.put("serviceUrlTA", input.serviceUrlTA) - result.put("serviceUrlPA", input.serviceUrlPA) - result.put("pfxCertUrl", input.pfxCertUrl) - result.put("pfxPassPhrase", input.pfxPassPhrase) - result.put("pfxCert", generateByteArray(input.pfxCert)) - - return result -} - -fun docReaderConfigFromJSON(input: JSONObject): DocReaderConfig { - val license = byteArrayFromBase64(input.getString("license")) - var result = DocReaderConfig(license!!) - - if (input.has("customDb")) result = DocReaderConfig(license, byteArrayFromBase64(input.getString("customDb"))!!) - if (input.has("licenseUpdate")) result.setLicenseUpdate(input.getBoolean("licenseUpdate")) - if (input.has("delayedNNLoad")) result.isDelayedNNLoad = input.getBoolean("delayedNNLoad") - if (input.has("blackList")) result.blackList = input.getJSONObject("blackList") - - return result -} - -fun generateDocReaderConfig(temp: DocReaderConfig?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocReaderConfig = temp - - result.put("license", generateByteArray(input.license)) - result.put("customDb", generateByteArray(input.customDb)) - result.put("licenseUpdate", input.isLicenseUpdate) - result.put("delayedNNLoad", input.isDelayedNNLoad) - result.put("blackList", input.blackList) - - return result -} - -fun scannerConfigFromJSON(input: JSONObject): ScannerConfig { - val builder = if (input.has("scenario")) ScannerConfig.Builder(input.getString("scenario")) - else ScannerConfig.Builder(onlineProcessingConfigFromJSON(input.getJSONObject("onlineProcessingConfig"))!!) - - if (input.has("onlineProcessingConfig")) builder.setOnlineProcessingConfig(onlineProcessingConfigFromJSON(input.getJSONObject("onlineProcessingConfig"))) - if (input.has("livePortrait")) builder.setLivePortrait(bitmapFromBase64(input.getString("livePortrait"))!!) - if (input.has("extPortrait")) builder.setExtPortrait(bitmapFromBase64(input.getString("extPortrait"))!!) - if (input.has("cameraId")) builder.setCameraId(input.getInt("cameraId")) - - return builder.build() -} - -fun generateScannerConfig(temp: ScannerConfig?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: ScannerConfig = temp - - result.put("scenario", input.scenario) - result.put("onlineProcessingConfig", generateOnlineProcessingConfig(input.onlineProcessingConfig)) - result.put("livePortrait", bitmapToBase64(input.livePortrait)) - result.put("extPortrait", bitmapToBase64(input.extPortrait)) - result.put("cameraId", input.cameraId) - - return result -} - -fun recognizeConfigFromJSON(input: JSONObject): RecognizeConfig { - val builder = if (input.has("scenario")) RecognizeConfig.Builder(input.getString("scenario")) - else RecognizeConfig.Builder(onlineProcessingConfigFromJSON(input.getJSONObject("onlineProcessingConfig"))!!) - - if (input.has("oneShotIdentification")) builder.setOneShotIdentification(input.getBoolean("oneShotIdentification")) - if (input.has("livePortrait")) builder.setLivePortrait(bitmapFromBase64(input.getString("livePortrait"))!!) - if (input.has("extPortrait")) builder.setExtPortrait(bitmapFromBase64(input.getString("extPortrait"))!!) - if (input.has("image")) builder.setBitmap(bitmapFromBase64(input.getString("image"))!!) - if (input.has("data")) builder.setData(byteArrayFromBase64(input.getString("data"))!!) - if (input.has("images")) { - val base64Images = input.getJSONArray("images") - val images = arrayOfNulls(base64Images.length()) - for (i in images.indices) images[i] = bitmapFromBase64(base64Images.getString(i)) - builder.setBitmaps(images) - } - if (input.has("imageInputData")) { - val base64InputData = input.getJSONArray("imageInputData") - val inputData = arrayOfNulls(base64InputData.length()) - for (i in inputData.indices) inputData[i] = imageInputDataFromJSON(base64InputData.getJSONObject(i)) - builder.setImageInputData(inputData) - } - - return builder.build() -} - -fun generateRecognizeConfig(temp: RecognizeConfig?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: RecognizeConfig = temp - - result.put("scenario", input.scenario) - result.put("onlineProcessingConfig", generateOnlineProcessingConfig(input.onlineProcessingConfig)) - result.put("oneShotIdentification", input.oneShotIdentification) - result.put("livePortrait", bitmapToBase64(input.livePortrait)) - result.put("extPortrait", bitmapToBase64(input.extPortrait)) - result.put("image", bitmapToBase64(input.bitmap)) - result.put("data", generateByteArray(input.data)) - if (input.bitmaps == null) - result.put("images", null) - else { - val array = JSONArray() - for (bitmap in input.bitmaps!!) array.put(bitmapToBase64(bitmap)) - result.put("images", array) - } - result.put("imageInputData", generateArray(input.imageInputData, ::generateImageInputData)) - - return result -} - -fun backendProcessingConfigFromJSON(temp: JSONObject?): BackendProcessingConfig? { - if (temp == null || !temp.has("url")) return null - val input: JSONObject = temp - - val result = BackendProcessingConfig(input.getString("url")) - if (input.has("httpHeaders")) result.httpHeaders = stringMapFromJson(input.getJSONObject("httpHeaders")) - if (input.has("rfidServerSideChipVerification")) result.rfidServerSideChipVerification = input.getBoolean("rfidServerSideChipVerification") - - return result -} - -fun generateBackendProcessingConfig(temp: BackendProcessingConfig?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: BackendProcessingConfig = temp - - result.put("url", input.url) - result.put("httpHeaders", generateStringMap(input.httpHeaders)) - result.put("rfidServerSideChipVerification", input.rfidServerSideChipVerification) - - return result -} - -fun onlineProcessingConfigFromJSON(temp: JSONObject?): OnlineProcessingConfig? { - if (temp == null || !temp.has("mode")) return null - val input: JSONObject = temp - val builder = OnlineProcessingConfig.Builder(input.getInt("mode")) - - if (input.has("imageFormat")) builder.setImageFormat(input.getInt("imageFormat")) - if (input.has("url")) builder.setUrl(input.getString("url")) - if (input.has("imageCompressionQuality")) builder.setImageCompressionQuality(input.getDouble("imageCompressionQuality").toFloat()) - if (input.has("processParams")) builder.setProcessParams(processParamFromJSON(input.getJSONObject("processParams"))) - - return builder.build() -} - -fun generateOnlineProcessingConfig(temp: OnlineProcessingConfig?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: OnlineProcessingConfig = temp - - result.put("mode", input.mode) - result.put("url", input.url) - result.put("processParams", getProcessParams(input.processParam)) - result.put("imageFormat", input.imageFormat) - result.put("imageCompressionQuality", input.imageCompressionQuality) - - return result -} - -fun faceApiParamsFromJSON(temp: JSONObject?): FaceApiParams? { - val result = FaceApiParams() - temp ?: return null - val input: JSONObject = temp - - if (input.has("url") && !input.isNull("url")) result.url = input.getString("url") - if (input.has("mode") && !input.isNull("mode")) result.mode = input.getString("mode") - if (input.has("searchParams") && !input.isNull("searchParams")) result.search = faceApiSearchParamsFromJSON(input.getJSONObject("searchParams")) - if (input.has("threshold") && !input.isNull("threshold")) result.threshold = input.getInt("threshold") - if (input.has("serviceTimeout") && !input.isNull("serviceTimeout")) result.serviceTimeout = input.getInt("serviceTimeout") - if (input.has("proxy") && !input.isNull("proxy")) result.proxy = input.getString("proxy") - if (input.has("proxyPassword") && !input.isNull("proxyPassword")) result.proxyUserPwd = input.getString("proxyPassword") - if (input.has("proxyType") && !input.isNull("proxyType")) result.proxyType = input.getInt("proxyType") - - return result -} - -fun generateFaceApiParams(temp: FaceApiParams?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: FaceApiParams = temp - - result.put("url", input.url) - result.put("mode", input.mode) - result.put("searchParams", generateFaceApiSearchParams(input.search)) - result.put("threshold", input.threshold) - result.put("serviceTimeout", input.serviceTimeout) - result.put("proxy", input.proxy) - result.put("proxyPassword", input.proxyUserPwd) - result.put("proxyType", input.proxyType) - - return result -} - -fun faceApiSearchParamsFromJSON(temp: JSONObject?): FaceApiParams.Search? { - val result = FaceApiParams.Search() - temp ?: return null - val input: JSONObject = temp - - if (input.has("limit") && !input.isNull("limit")) result.limit = input.getInt("limit") - if (input.has("threshold") && !input.isNull("threshold")) result.threshold = input.getDouble("threshold").toFloat() - if (input.has("groupIds") && !input.isNull("groupIds")) { - val jsonArrayGroupIds = input.getJSONArray("groupIds") - val groupIds = IntArray(jsonArrayGroupIds.length()) - for (i in 0 until jsonArrayGroupIds.length()) - groupIds[i] = jsonArrayGroupIds.getInt(i) - result.groupIds = groupIds - } - - return result -} - -fun generateFaceApiSearchParams(temp: FaceApiParams.Search?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: FaceApiParams.Search = temp - - result.put("limit", input.limit) - result.put("threshold", input.threshold) - result.put("groupIds", input.groupIds.generate()) - - return result -} - -fun rfidParamsFromJSON(temp: JSONObject?): RFIDParams? { - val result = RFIDParams() - temp ?: return null - val input: JSONObject = temp - - if (input.has("paIgnoreNotificationCodes")) result.paIgnoreNotificationCodes = input.getJSONArray("paIgnoreNotificationCodes").toIntArray() - - return result -} - -fun generateRFIDParams(temp: RFIDParams?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: RFIDParams = temp - - result.put("paIgnoreNotificationCodes", input.paIgnoreNotificationCodes.generate()) - - return result -} - -fun processParamFromJSON(input: JSONObject): ProcessParam { - val result = ProcessParam() - setProcessParams(result, input) - return result -} - -fun generateProcessParam(input: ProcessParam): JSONObject = getProcessParams(input) - -fun imageQAFromJSON(input: JSONObject): ImageQA { - val result = ImageQA() - setImageQA(result, input) - return result -} - -fun generateImageQA(input: ImageQA) = getImageQA(input) - -fun authenticityParamsFromJSON(input: JSONObject): AuthenticityParams { - val result = AuthenticityParams.defaultParams() - setAuthenticityParams(result, input) - return result -} - -fun generateAuthenticityParams(input: AuthenticityParams?) = getAuthenticityParams(input) - -fun livenessParamsFromJSON(input: JSONObject): LivenessParams { - val result = LivenessParams.defaultParams() - setLivenessParams(result, input) - return result -} - -fun generateLivenessParams(input: LivenessParams?) = getLivenessParams(input) - -fun eDLDataGroupsFromJSON(input: JSONObject): EDLDataGroups { - val result = EDLDataGroups() - setDataGroups(result, input) - return result -} - -fun generateEDLDataGroups(input: EDLDataGroups): JSONObject = getDataGroups(input) - -fun ePassportDataGroupsFromJSON(input: JSONObject): EPassportDataGroups { - val result = EPassportDataGroups() - setDataGroups(result, input) - return result -} - -fun generateEPassportDataGroups(input: EPassportDataGroups): JSONObject = getDataGroups(input) - -fun eIDDataGroupsFromJSON(input: JSONObject): EIDDataGroups { - val result = EIDDataGroups() - setDataGroups(result, input) - return result -} - -fun generateEIDDataGroups(input: EIDDataGroups): JSONObject = getDataGroups(input) - -fun rfidScenarioFromJSON(input: JSONObject): RfidScenario { - val result = RfidScenario() - setRfidScenario(result, input) - return result -} - -fun generateRfidScenario(input: RfidScenario): JSONObject = getRfidScenario(input) - -fun customizationFromJSON(input: JSONObject, context: Context): ParamsCustomization { - val result = ParamsCustomization() - setCustomization(result, input, context) - return result -} - -fun generateCustomization(input: ParamsCustomization): JSONObject = getCustomization(input) - -fun functionalityFromJSON(input: JSONObject): Functionality { - val result = Functionality() - setFunctionality(result, input) - return result -} - -fun generateFunctionality(input: Functionality): JSONObject = getFunctionality(input) - -fun glaresCheckParamsFromJSON(temp: JSONObject?): GlaresCheckParams? { - temp ?: return null - val input: JSONObject = temp - val result = GlaresCheckParams() - - if (input.has("imgMarginPart")) result.imgMarginPart = input.getDouble("imgMarginPart") - if (input.has("maxGlaringPart")) result.maxGlaringPart = input.getDouble("maxGlaringPart") - - return result -} - -fun generateGlaresCheckParams(temp: GlaresCheckParams?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: GlaresCheckParams = temp - - result.put("imgMarginPart", input.imgMarginPart) - result.put("maxGlaringPart", input.maxGlaringPart) - - return result -} - -fun typefaceFromJSON(input: JSONObject): Pair { - val name = input.getString("name") - val style = input.optInt("style", Typeface.NORMAL) - val size = if (input.has("size")) input.getInt("size") else null - return Pair(Typeface.create(name, style), size) -} - -fun generateTypeface(temp: Typeface?, size: Int? = null): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Typeface = temp - - result.put("name", "undefined") - result.put("style", input.style) - result.put("size", size) - - return result -} - -fun bleDeviceConfigFromJSON(input: JSONObject): BleDeviceConfig { - val bleWrapper = bleManager - var result = BleDeviceConfig(bleWrapper) - - if (input.has("customDb")) result = BleDeviceConfig(bleWrapper!!, byteArrayFromBase64(input.getString("customDb"))) - if (input.has("licenseUpdate")) result.setLicenseUpdate(input.getBoolean("licenseUpdate")) - if (input.has("delayedNNLoad")) result.isDelayedNNLoad = input.getBoolean("delayedNNLoad") - if (input.has("blackList")) result.blackList = input.getJSONObject("blackList") - - return result -} - -fun imageInputDataFromJSON(temp: JSONObject?): ImageInputData? { - if (temp == null || !temp.has("image")) return null - val input: JSONObject = temp - - var light = 6 - var pageIndex = 0 - val image = bitmapFromBase64(input.getString("image"))!! - if (input.has("light")) light = input.getInt("light") - if (input.has("pageIndex")) pageIndex = input.getInt("pageIndex") - - return ImageInputData(image, light, pageIndex) -} - -fun generateImageInputData(temp: ImageInputData?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: ImageInputData = temp - - result.put("image", bitmapToBase64(input.bitmap)) - result.put("light", input.light) - result.put("pageIndex", input.pageIndex) - - return result -} - -fun pkdCertificateFromJSON(temp: JSONObject?): PKDCertificate? { - temp ?: return null - val input: JSONObject = temp - var resourceType = 0 - var binaryData = ByteArray(0) - - if (input.has("resourceType")) resourceType = input.getInt("resourceType") - if (input.has("binaryData")) binaryData = byteArrayFromBase64(input.getString("binaryData"))!! - if (input.has("privateKey")) { - val privateKey = byteArrayFromBase64(input.getString("privateKey")) - return PKDCertificate(binaryData, resourceType, privateKey) - } - return PKDCertificate(binaryData, resourceType) -} - -fun generatePKDCertificate(temp: PKDCertificate?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: PKDCertificate = temp - - result.put("resourceType", input.resourceType) - result.put("binaryData", generateByteArray(input.binaryData)) - result.put("privateKey", generateByteArray(input.privateKey)) - - return result -} - -fun documentReaderScenarioFromJSON(temp: JSONObject?): DocumentReaderScenario? { - temp ?: return null - val input: JSONObject = temp - - val name = input.optString("name") - val caption = input.optString("caption") - val description = input.optString("description") - val multiPageOff = input.optBoolean("multiPageOff") - val frameKWHLandscape = input.optDouble("frameKWHLandscape") - val frameKWHPortrait = input.optDouble("frameKWHPortrait") - val frameKWHDoublePageSpreadPortrait = input.optDouble("frameKWHDoublePageSpreadPortrait") - val frameKWHDoublePageSpreadLandscape = input.optDouble("frameKWHDoublePageSpreadLandscape") - val frameOrientation = input.optInt("frameOrientation") - val uvTorch = input.optBoolean("uvTorch") - val faceExt = input.optBoolean("faceExt") - val seriesProcessMode = input.optBoolean("seriesProcessMode") - val manualCrop = input.optBoolean("manualCrop") - - return DocumentReaderScenario(name, caption, description, if (multiPageOff) 1 else 0, frameKWHLandscape, frameKWHPortrait, frameKWHDoublePageSpreadPortrait, frameKWHDoublePageSpreadLandscape, frameOrientation, uvTorch, faceExt, seriesProcessMode, manualCrop, null) -} - -fun generateDocumentReaderScenario(temp: DocumentReaderScenario?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderScenario = temp - - result.put("name", input.name) - result.put("caption", input.caption) - result.put("description", input.description) - result.put("multiPageOff", input.multiPageOff) - result.put("frameKWHLandscape", input.frameKWHLandscape) - result.put("frameKWHPortrait", input.frameKWHPortrait) - result.put("frameKWHDoublePageSpreadPortrait", input.frameKWHDoublePageSpreadPortrait) - result.put("frameKWHDoublePageSpreadLandscape", input.frameKWHDoublePageSpreadLandscape) - result.put("frameOrientation", input.frameOrientation) - result.put("uvTorch", input.uvTorch) - result.put("faceExt", input.faceExt) - result.put("seriesProcessMode", input.seriesProcessMode) - result.put("manualCrop", input.manualCrop) - - return result -} - -fun rectFromJSON(temp: JSONObject?): Rect? { - temp ?: return null - val input: JSONObject = temp - val result = Rect() - - result.bottom = input.optInt("bottom") - result.top = input.optInt("top") - result.left = input.optInt("left") - result.right = input.optInt("right") - - return result -} - -fun generateRect(temp: Rect?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Rect = temp - - result.put("bottom", input.bottom) - result.put("top", input.top) - result.put("left", input.left) - result.put("right", input.right) - - return result -} - -fun docReaderFieldRectFromJSON(temp: JSONObject?): DocReaderFieldRect? { - temp ?: return null - val input: JSONObject = temp - val result = DocReaderFieldRect() - - result.bottom = input.optInt("bottom") - result.top = input.optInt("top") - result.left = input.optInt("left") - result.right = input.optInt("right") - - return result -} - -fun generateDocReaderFieldRect(temp: DocReaderFieldRect?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocReaderFieldRect = temp - - result.put("bottom", input.bottom) - result.put("top", input.top) - result.put("left", input.left) - result.put("right", input.right) - - return result -} - -fun documentReaderGraphicFieldFromJSON(temp: JSONObject?): DocumentReaderGraphicField? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderGraphicField() - - input.remove("value") - result.sourceType = input.optInt("sourceType") - result.fieldType = input.optInt("fieldType") - result.light = input.optInt("light") - result.pageIndex = input.optInt("pageIndex") - result.originalPageIndex = input.optInt("originalPageIndex") - result.boundRect = docReaderFieldRectFromJSON(input.optJSONObject("fieldRect")) - - return result -} - -fun generateDocumentReaderGraphicField(temp: DocumentReaderGraphicField?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderGraphicField = temp - - result.put("sourceType", input.sourceType) - result.put("fieldType", input.fieldType) - result.put("light", input.light) - result.put("pageIndex", input.pageIndex) - result.put("originalPageIndex", input.originalPageIndex) - result.put("fieldName", eGraphicFieldType.getTranslation(context, input.fieldType)) - result.put("lightName", eRPRM_Lights.getTranslation(context, input.light)) - result.put("value", input.imageBase64()) - result.put("fieldRect", generateDocReaderFieldRect(input.boundRect)) - - return result -} - -fun documentReaderGraphicResultFromJSON(temp: JSONObject?): DocumentReaderGraphicResult? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderGraphicResult() - - result.fields = listFromJSON(input.optJSONArray("fields"), ::documentReaderGraphicFieldFromJSON)!! - - return result -} - -fun generateDocumentReaderGraphicResult(temp: DocumentReaderGraphicResult?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderGraphicResult = temp - - result.put("fields", generateList(input.fields, ::generateDocumentReaderGraphicField, context)) - - return result -} - -fun documentReaderValueFromJSON(temp: JSONObject?): DocumentReaderValue? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderValue() - - result.pageIndex = input.optInt("pageIndex") - result.sourceType = input.optInt("sourceType") - result.probability = input.optInt("probability") - result.value = input.optString("value") - result.originalValue = input.optString("originalValue") - result.boundRect = rectFromJSON(input.optJSONObject("boundRect")) - result.originalSymbols = listFromJSON(input.optJSONArray("originalSymbols"), ::documentReaderSymbolFromJSON)!! - result.rfidOrigin = documentReaderRFIDOriginFromJSON(input.optJSONObject("rfidOrigin")) - - return result -} - -fun generateDocumentReaderValue(temp: DocumentReaderValue?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderValue = temp - - result.put("pageIndex", input.pageIndex) - result.put("sourceType", input.sourceType) - result.put("probability", input.probability) - result.put("value", input.value) - result.put("originalValue", input.originalValue) - result.put("boundRect", generateRect(input.boundRect)) - result.put("originalSymbols", generateList(input.originalSymbols, ::generateDocumentReaderSymbol)) - result.put("rfidOrigin", generateDocumentReaderRFIDOrigin(input.rfidOrigin)) - - return result -} - -fun documentReaderTextFieldFromJSON(temp: JSONObject?): DocumentReaderTextField? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderTextField() - - input.remove("getValue") - result.fieldType = input.optInt("fieldType") - result.lcid = input.optInt("lcid") - result.status = input.optInt("status") - result.value = input.optString("value") - result.values = listFromJSON(input.optJSONArray("values"), ::documentReaderValueFromJSON)!! - result.comparisonList = listFromJSON(input.optJSONArray("comparisonList"), ::documentReaderComparisonFromJSON)!! - result.validityList = listFromJSON(input.optJSONArray("validityList"), ::documentReaderValidityFromJSON)!! - result.comparisonStatus = input.optInt("comparisonStatus") - result.validityStatus = input.optInt("validityStatus") - - return result -} - -fun generateDocumentReaderTextField(temp: DocumentReaderTextField?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderTextField = temp - - result.put("fieldType", input.fieldType) - result.put("lcid", input.lcid) - result.put("status", input.status) - result.put("lcidName", input.getLcidName(context!!)) - result.put("fieldName", input.getFieldName(context)) - result.put("value", input.value) - result.put("getValue", generateDocumentReaderValue(input.value())) - result.put("values", generateList(input.values, ::generateDocumentReaderValue)) - result.put("comparisonList", generateList(input.comparisonList, ::generateDocumentReaderComparison)) - result.put("validityList", generateList(input.validityList, ::generateDocumentReaderValidity)) - result.put("comparisonStatus", input.comparisonStatus) - result.put("validityStatus", input.validityStatus) - - return result -} - -fun documentReaderTextResultFromJSON(temp: JSONObject?): DocumentReaderTextResult? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderTextResult() - - result.status = input.optInt("status") - result.comparisonStatus = input.optInt("comparisonStatus") - result.validityStatus = input.optInt("validityStatus") - result.availableSourceList = listFromJSON(input.optJSONArray("availableSourceList"), ::documentReaderTextSourceFromJSON)!! - result.fields = listFromJSON(input.optJSONArray("fields"), ::documentReaderTextFieldFromJSON)!! - - return result -} - -fun generateDocumentReaderTextResult(temp: DocumentReaderTextResult?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderTextResult = temp - - result.put("status", input.status) - result.put("comparisonStatus", input.comparisonStatus) - result.put("validityStatus", input.validityStatus) - result.put("availableSourceList", generateList(input.availableSourceList, ::generateDocumentReaderTextSource)) - result.put("fields", generateList(input.fields, ::generateDocumentReaderTextField, context)) - - return result -} - -fun coordinateFromJSON(temp: JSONObject?): Coordinate? { - temp ?: return null - val input: JSONObject = temp - val result = Coordinate() - - result.x = input.optInt("x") - result.y = input.optInt("y") - - return result -} - -fun generateCoordinate(temp: Coordinate?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Coordinate = temp - - result.put("x", input.x) - result.put("y", input.y) - - return result -} - -fun elementPositionFromJSON(temp: JSONObject?): ElementPosition? { - temp ?: return null - val input: JSONObject = temp - val result = ElementPosition() - - result.docFormat = input.optInt("docFormat") - result.width = input.optInt("width") - result.height = input.optInt("height") - result.dpi = input.optInt("dpi") - result.pageIndex = input.optInt("pageIndex") - result.inverse = input.optInt("inverse") - result.perspectiveTr = input.optInt("perspectiveTr") - result.objArea = input.optInt("objArea") - result.objIntAngleDev = input.optInt("objIntAngleDev") - result.resultStatus = input.optInt("resultStatus") - result.angle = input.optDouble("angle") - result.center = coordinateFromJSON(input.optJSONObject("center")) - result.leftTop = coordinateFromJSON(input.optJSONObject("leftTop")) - result.leftBottom = coordinateFromJSON(input.optJSONObject("leftBottom")) - result.rightTop = coordinateFromJSON(input.optJSONObject("rightTop")) - result.rightBottom = coordinateFromJSON(input.optJSONObject("rightBottom")) - - return result -} - -fun generateElementPosition(temp: ElementPosition?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: ElementPosition = temp - - result.put("docFormat", input.docFormat) - result.put("width", input.width) - result.put("height", input.height) - result.put("dpi", input.dpi) - result.put("pageIndex", input.pageIndex) - result.put("inverse", input.inverse) - result.put("perspectiveTr", input.perspectiveTr) - result.put("objArea", input.objArea) - result.put("objIntAngleDev", input.objIntAngleDev) - result.put("resultStatus", input.resultStatus) - result.put("angle", input.angle) - result.put("center", generateCoordinate(input.center)) - result.put("leftTop", generateCoordinate(input.leftTop)) - result.put("leftBottom", generateCoordinate(input.leftBottom)) - result.put("rightTop", generateCoordinate(input.rightTop)) - result.put("rightBottom", generateCoordinate(input.rightBottom)) - - return result -} - -fun imageQualityFromJSON(temp: JSONObject?): ImageQuality? { - temp ?: return null - val input: JSONObject = temp - val result = ImageQuality() - - result.featureType = input.optInt("featureType") - result.result = input.optInt("result") - result.type = input.optInt("type") - result.boundRects = listFromJSON(input.optJSONArray("boundRects"), ::docReaderFieldRectFromJSON)!! - - return result -} - -fun generateImageQuality(temp: ImageQuality?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: ImageQuality = temp - - result.put("featureType", input.featureType) - result.put("result", input.result) - result.put("type", input.type) - result.put("boundRects", generateList(input.boundRects, ::generateDocReaderFieldRect)) - - return result -} - -fun imageQualityGroupFromJSON(temp: JSONObject?): ImageQualityGroup? { - temp ?: return null - val input: JSONObject = temp - val result = ImageQualityGroup() - - result.count = input.optInt("count") - result.result = input.optInt("result") - result.pageIndex = input.optInt("pageIndex") - result.imageQualityList = listFromJSON(input.optJSONArray("imageQualityList"), ::imageQualityFromJSON)!! - - return result -} - -fun generateImageQualityGroup(temp: ImageQualityGroup?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: ImageQualityGroup = temp - - result.put("count", input.count) - result.put("result", input.result) - result.put("imageQualityList", generateList(input.imageQualityList, ::generateImageQuality)) - result.put("pageIndex", input.pageIndex) - - return result -} - -fun cameraSizeFromJSON(input: JSONObject): Pair { - val width = input.getInt("width") - val height = input.getInt("height") - return Pair(width, height) -} - -fun generateCameraSize(width: Int?, height: Int?): JSONObject? { - width ?: return null - height ?: return null - val result = JSONObject() - result.put("width", width) - result.put("height", height) - return result -} - -fun documentReaderDocumentTypeFromJSON(temp: JSONObject?): DocumentReaderDocumentType? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderDocumentType() - - result.pageIndex = input.optInt("pageIndex") - result.documentID = input.optInt("documentID") - result.dType = input.optInt("dType") - result.dFormat = input.optInt("dFormat") - result.dMRZ = input.optBoolean("dMRZ") - result.isDeprecated = input.optBoolean("isDeprecated") - result.name = input.optString("name") - result.ICAOCode = input.optString("ICAOCode") - result.dDescription = input.optString("dDescription") - result.dCountryName = input.optString("dCountryName") - result.dYear = input.optString("dYear") - result.FDSID = input.optJSONArray("FDSID").toIntArray() - - return result -} - -fun generateDocumentReaderDocumentType(temp: DocumentReaderDocumentType?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderDocumentType = temp - - result.put("pageIndex", input.pageIndex) - result.put("documentID", input.documentID) - result.put("dType", input.dType) - result.put("dFormat", input.dFormat) - result.put("dMRZ", input.dMRZ) - result.put("isDeprecated", input.isDeprecated) - result.put("name", input.name) - result.put("ICAOCode", input.ICAOCode) - result.put("dDescription", input.dDescription) - result.put("dYear", input.dYear) - result.put("dCountryName", input.dCountryName) - result.put("FDSID", input.FDSID.generate()) - - return result -} - -fun generateDocumentReaderNotification(temp: DocumentReaderNotification?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderNotification = temp - - result.put("notificationCode", input.notificationCode) - result.put("dataFileType", input.dataFileType) - result.put("progress", input.progress) - - return result -} - -fun accessControlProcedureTypeFromJSON(temp: JSONObject?): AccessControlProcedureType? { - temp ?: return null - val input: JSONObject = temp - val result = AccessControlProcedureType() - - result.activeOptionIdx = input.optInt("activeOptionIdx") - result.type = input.optInt("type") - result.status = input.optInt("status").toLong() - result.notifications = listFromJSON(input.optJSONArray("notifications")!!) - - return result -} - -fun generateAccessControlProcedureType(temp: AccessControlProcedureType?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: AccessControlProcedureType = temp - - result.put("activeOptionIdx", input.activeOptionIdx) - result.put("type", input.type) - result.put("status", input.status) - result.put("notifications", generateList(input.notifications)) - - return result -} - -fun fileDataFromJSON(temp: JSONObject?): FileData? { - temp ?: return null - val input: JSONObject = temp - val result = FileData() - - result.length = input.optInt("length") - result.type = input.optInt("type") - result.status = input.optInt("status").toLong() - result.data = input.optString("data") - - return result -} - -fun generateFileData(temp: FileData?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: FileData = temp - - result.put("length", input.length) - result.put("type", input.type) - result.put("status", input.status) - result.put("data", input.data) - - return result -} - -fun certificateDataFromJSON(temp: JSONObject?): CertificateData? { - temp ?: return null - val input: JSONObject = temp - val result = CertificateData() - - result.length = input.optInt("length") - result.data = input.optString("data") - - return result -} - -fun generateCertificateData(temp: CertificateData?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: CertificateData = temp - - result.put("length", input.length) - result.put("data", input.data) - - return result -} - -fun securityObjectCertificatesFromJSON(temp: JSONObject?): SecurityObjectCertificates? { - temp ?: return null - val input: JSONObject = temp - val result = SecurityObjectCertificates() - - result.securityObject = certificateDataFromJSON(input.optJSONObject("securityObject")) - - return result -} - -fun generateSecurityObjectCertificates(temp: SecurityObjectCertificates?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: SecurityObjectCertificates = temp - - result.put("securityObject", generateCertificateData(input.securityObject)) - - return result -} - -fun fileFromJSON(temp: JSONObject?): File? { - temp ?: return null - val input: JSONObject = temp - val result = File() - - result.readingTime = input.optInt("readingTime") - result.type = input.optInt("type") - result.pAStatus = input.optLong("pAStatus") - result.readingStatus = input.optInt("readingStatus").toLong() - result.fileID = input.optString("fileID") - result.fileData = fileDataFromJSON(input.optJSONObject("fileData")) - result.certificates = securityObjectCertificatesFromJSON(input.optJSONObject("certificates")) - result.docFieldsText = listFromJSON(input.optJSONArray("docFieldsText")!!) - result.docFieldsGraphics = listFromJSON(input.optJSONArray("docFieldsGraphics")!!) - result.docFieldsOriginals = listFromJSON(input.optJSONArray("docFieldsOriginals")!!) - result.notifications = listFromJSON(input.optJSONArray("notifications")!!) - - return result -} - -fun generateFile(temp: File?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: File = temp - - result.put("readingTime", input.readingTime) - result.put("type", input.type) - result.put("typeName", eRFID_DataFile_Type.getTranslation(context, input.type)) - result.put("pAStatus", input.pAStatus) - result.put("readingStatus", input.readingStatus) - result.put("fileID", input.fileID) - result.put("fileData", generateFileData(input.fileData)) - result.put("certificates", generateSecurityObjectCertificates(input.certificates)) - result.put("docFieldsText", generateList(input.docFieldsText)) - result.put("docFieldsGraphics", generateList(input.docFieldsGraphics)) - result.put("docFieldsOriginals", generateList(input.docFieldsOriginals)) - result.put("notifications", generateList(input.notifications)) - - return result -} - -fun applicationFromJSON(temp: JSONObject?): Application? { - temp ?: return null - val input: JSONObject = temp - val result = Application() - - result.type = input.optInt("type") - result.status = input.optInt("status") - result.applicationID = input.optString("applicationID") - result.dataHashAlgorithm = input.optString("dataHashAlgorithm") - result.unicodeVersion = input.optString("unicodeVersion") - result.version = input.optString("version") - result.files = listFromJSON(input.optJSONArray("files"), ::fileFromJSON)!! - - return result -} - -fun generateApplication(temp: Application?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Application = temp - - result.put("type", input.type) - result.put("status", input.status) - result.put("applicationID", input.applicationID) - result.put("dataHashAlgorithm", input.dataHashAlgorithm) - result.put("unicodeVersion", input.unicodeVersion) - result.put("version", input.version) - result.put("files", generateList(input.files, ::generateFile, context)) - - return result -} - -fun valueFromJSON(temp: JSONObject?): Value? { - temp ?: return null - val input: JSONObject = temp - val result = Value() - - result.length = input.optInt("length") - result.type = input.optInt("type") - result.status = input.optInt("status").toLong() - result.data = input.optString("data") - result.format = input.optString("format") - - return result -} - -fun generateValue(temp: Value?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Value = temp - - result.put("length", input.length) - result.put("type", input.type) - result.put("status", input.status) - result.put("data", input.data) - result.put("format", input.format) - - return result -} - -fun attributeFromJSON(temp: JSONObject?): Attribute? { - temp ?: return null - val input: JSONObject = temp - val result = Attribute() - - result.type = input.optString("type") - result.value = valueFromJSON(input.optJSONObject("value")) - - return result -} - -fun generateAttribute(temp: Attribute?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Attribute = temp - - result.put("type", input.type) - result.put("value", generateValue(input.value)) - - return result -} - -fun authorityFromJSON(temp: JSONObject?): Authority? { - temp ?: return null - val input: JSONObject = temp - val result = Authority() - - result.data = input.optString("data") - result.friendlyName = valueFromJSON(input.optJSONObject("friendlyName")) - result.attributes = listFromJSON(input.optJSONArray("attributes"), ::attributeFromJSON)!! - - return result -} - -fun generateAuthority(temp: Authority?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Authority = temp - - result.put("data", input.data) - result.put("friendlyName", generateValue(input.friendlyName)) - result.put("attributes", generateList(input.attributes, ::generateAttribute)) - - return result -} - -fun extensionFromJSON(temp: JSONObject?): Extension? { - temp ?: return null - val input: JSONObject = temp - val result = Extension() - - result.data = input.optString("data") - result.type = input.optString("type") - - return result -} - -fun generateExtension(temp: Extension?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Extension = temp - - result.put("data", input.data) - result.put("type", input.type) - - return result -} - -fun validityFromJSON(temp: JSONObject?): Validity? { - temp ?: return null - val input: JSONObject = temp - val result = Validity() - - result.notAfter = valueFromJSON(input.optJSONObject("notAfter")) - result.notBefore = valueFromJSON(input.optJSONObject("notBefore")) - - return result -} - -fun generateValidity(temp: Validity?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: Validity = temp - - result.put("notAfter", generateValue(input.notAfter)) - result.put("notBefore", generateValue(input.notBefore)) - - return result -} - -fun certificateChainFromJSON(temp: JSONObject?): CertificateChain? { - temp ?: return null - val input: JSONObject = temp - val result = CertificateChain() - - result.origin = input.optInt("origin") - result.type = input.optInt("type") - result.version = input.optInt("version") - result.paStatus = input.optInt("paStatus").toLong() - result.serialNumber = input.optString("serialNumber") - result.signatureAlgorithm = input.optString("signatureAlgorithm") - result.subjectPKAlgorithm = input.optString("subjectPKAlgorithm") - result.fileName = valueFromJSON(input.optJSONObject("fileName")) - result.validity = validityFromJSON(input.optJSONObject("validity")) - result.issuer = authorityFromJSON(input.optJSONObject("issuer")) - result.subject = authorityFromJSON(input.optJSONObject("subject")) - result.notifications = listFromJSON(input.optJSONArray("notifications")!!) - result.extensions = listFromJSON(input.optJSONArray("extensions"), ::extensionFromJSON)!! - - return result -} - -fun generateCertificateChain(temp: CertificateChain?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: CertificateChain = temp - - result.put("origin", input.origin) - result.put("type", input.type) - result.put("version", input.version) - result.put("paStatus", input.paStatus) - result.put("serialNumber", input.serialNumber) - result.put("signatureAlgorithm", input.signatureAlgorithm) - result.put("subjectPKAlgorithm", input.subjectPKAlgorithm) - result.put("fileName", generateValue(input.fileName)) - result.put("validity", generateValidity(input.validity)) - result.put("issuer", generateAuthority(input.issuer)) - result.put("subject", generateAuthority(input.subject)) - result.put("notifications", generateList(input.notifications)) - result.put("extensions", generateList(input.extensions, ::generateExtension)) - - return result -} - -fun signerInfoFromJSON(temp: JSONObject?): SignerInfo? { - temp ?: return null - val input: JSONObject = temp - val result = SignerInfo() - - result.version = input.optInt("version") - result.paStatus = input.optInt("paStatus").toLong() - result.dataToHash = input.optString("dataToHash") - result.digestAlgorithm = input.optString("digestAlgorithm") - result.signatureAlgorithm = input.optString("signatureAlgorithm") - result.serialNumber = valueFromJSON(input.optJSONObject("serialNumber")) - result.signature = valueFromJSON(input.optJSONObject("signature")) - result.subjectKeyIdentifier = valueFromJSON(input.optJSONObject("subjectKeyIdentifier")) - result.issuer = authorityFromJSON(input.optJSONObject("issuer")) - result.notifications = listFromJSON(input.optJSONArray("notifications")!!) - result.signedAttributes = listFromJSON(input.optJSONArray("signedAttributes"), ::extensionFromJSON)!! - result.certificateChain = listFromJSON(input.optJSONArray("certificateChain"), ::certificateChainFromJSON)!! - - return result -} - -fun generateSignerInfo(temp: SignerInfo?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: SignerInfo = temp - - result.put("version", input.version) - result.put("paStatus", input.paStatus) - result.put("dataToHash", input.dataToHash) - result.put("digestAlgorithm", input.digestAlgorithm) - result.put("signatureAlgorithm", input.signatureAlgorithm) - result.put("serialNumber", generateValue(input.serialNumber)) - result.put("signature", generateValue(input.signature)) - result.put("subjectKeyIdentifier", generateValue(input.subjectKeyIdentifier)) - result.put("issuer", generateAuthority(input.issuer)) - result.put("notifications", generateList(input.notifications)) - result.put("signedAttributes", generateList(input.signedAttributes, ::generateExtension)) - result.put("certificateChain", generateList(input.certificateChain, ::generateCertificateChain)) - - return result -} - -fun securityObjectFromJSON(temp: JSONObject?): SecurityObject? { - temp ?: return null - val input: JSONObject = temp - val result = SecurityObject() - - result.fileReference = input.optInt("fileReference") - result.version = input.optInt("version") - result.objectType = input.optString("objectType") - result.notifications = listFromJSON(input.optJSONArray("notifications")!!) - result.signerInfos = listFromJSON(input.optJSONArray("signerInfos"), ::signerInfoFromJSON)!! - - return result -} - -fun generateSecurityObject(temp: SecurityObject?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: SecurityObject = temp - - result.put("fileReference", input.fileReference) - result.put("version", input.version) - result.put("objectType", input.objectType) - result.put("notifications", generateList(input.notifications)) - result.put("signerInfos", generateList(input.signerInfos, ::generateSignerInfo)) - - return result -} - -fun cardPropertiesFromJSON(temp: JSONObject?): CardProperties? { - temp ?: return null - val input: JSONObject = temp - val result = CardProperties() - - result.aTQA = input.optInt("aTQA") - result.bitRateR = input.optInt("bitRateR") - result.bitRateS = input.optInt("bitRateS") - result.chipTypeA = input.optInt("chipTypeA") - result.mifareMemory = input.optInt("mifareMemory") - result.rfidType = input.optInt("rfidType") - result.sAK = input.optInt("sAK") - result.support4 = input.optBoolean("support4") - result.supportMifare = input.optBoolean("supportMifare") - result.aTQB = input.optString("aTQB") - result.aTR = input.optString("aTR") - result.baudrate1 = input.optString("baudrate1") - result.baudrate2 = input.optString("baudrate2") - result.uID = input.optString("uID") - - return result -} - -fun generateCardProperties(temp: CardProperties?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: CardProperties = temp - - result.put("aTQA", input.aTQA) - result.put("bitRateR", input.bitRateR) - result.put("bitRateS", input.bitRateS) - result.put("chipTypeA", input.chipTypeA) - result.put("mifareMemory", input.mifareMemory) - result.put("rfidType", input.rfidType) - result.put("sAK", input.sAK) - result.put("support4", input.support4) - result.put("supportMifare", input.supportMifare) - result.put("aTQB", input.aTQB) - result.put("aTR", input.aTR) - result.put("baudrate1", input.baudrate1) - result.put("baudrate2", input.baudrate2) - result.put("uID", input.uID) - - return result -} - -fun rfidSessionDataFromJSON(temp: JSONObject?): RFIDSessionData? { - temp ?: return null - val input: JSONObject = temp - val result = RFIDSessionData() - - result.totalBytesReceived = input.optInt("totalBytesReceived") - result.totalBytesSent = input.optInt("totalBytesSent") - result.status = input.optInt("status").toLong() - result.extLeSupport = input.optLong("extLeSupport") - result.processTime = input.optLong("processTime") - result.cardProperties = cardPropertiesFromJSON(input.optJSONObject("cardProperties")) - result.accessControls = listFromJSON(input.optJSONArray("accessControls"), ::accessControlProcedureTypeFromJSON)!! - result.applications = listFromJSON(input.optJSONArray("applications"), ::applicationFromJSON)!! - result.securityObjects = listFromJSON(input.optJSONArray("securityObjects"), ::securityObjectFromJSON)!! - result.dataFields = listFromJSON(input.optJSONArray("dataFields"), ::dataFieldFromJSON)!! - result.dataGroups = input.optJSONArray("dataGroups").toIntArray() - - return result -} - -fun generateRFIDSessionData(temp: RFIDSessionData?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: RFIDSessionData = temp - - result.put("totalBytesReceived", input.totalBytesReceived) - result.put("totalBytesSent", input.totalBytesSent) - result.put("status", input.status) - result.put("extLeSupport", input.extLeSupport) - result.put("processTime", input.processTime) - result.put("cardProperties", generateCardProperties(input.cardProperties)) - result.put("accessControls", generateList(input.accessControls, ::generateAccessControlProcedureType)) - result.put("applications", generateList(input.applications, ::generateApplication, context)) - result.put("securityObjects", generateList(input.securityObjects, ::generateSecurityObject)) - result.put("dataGroups", input.dataGroups.generate()) - result.put("dataFields", generateList(input.dataFields, ::generateDataField)) - - return result -} - -fun dataFieldFromJSON(temp: JSONObject?): DataField? { - temp ?: return null - val input: JSONObject = temp - val result = DataField() - - result.data = input.optString("data") - result.fieldType = input.optInt("fieldType") - - return result -} - -fun generateDataField(temp: DataField?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DataField = temp - - result.put("data", input.data) - result.put("fieldType", input.fieldType) - - return result -} - -fun documentReaderAuthenticityCheckFromJSON(temp: JSONObject?): DocumentReaderAuthenticityCheck? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderAuthenticityCheck() - - result.type = input.optInt("type") - result.pageIndex = input.optInt("pageIndex") - result.elements = listFromJSON(input.optJSONArray("elements"), ::documentReaderAuthenticityElementFromJSON)!! - - return result -} - -fun generateDocumentReaderAuthenticityCheck(temp: DocumentReaderAuthenticityCheck?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderAuthenticityCheck = temp - - result.put("type", input.type) - result.put("status", input.status) - result.put("typeName", input.getTypeName(context)) - result.put("pageIndex", input.pageIndex) - result.put("elements", generateList(input.elements, ::generateDocumentReaderAuthenticityElement, context)) - - return result -} - -fun pdf417InfoFromJSON(temp: JSONObject?): PDF417Info? { - temp ?: return null - val input: JSONObject = temp - val result = PDF417Info() - - result.errorLevel = input.optInt("errorLevel") - result.columns = input.optInt("columns") - result.rows = input.optInt("rows") - - return result -} - -fun generatePDF417Info(temp: PDF417Info?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: PDF417Info = temp - - result.put("errorLevel", input.errorLevel) - result.put("columns", input.columns) - result.put("rows", input.rows) - - return result -} - -fun documentReaderBarcodeResultFromJSON(temp: JSONObject?): DocumentReaderBarcodeResult? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderBarcodeResult() - - result.fields = listFromJSON(input.optJSONArray("fields"), ::documentReaderBarcodeFieldFromJSON)!! - - return result -} - -fun generateDocumentReaderBarcodeResult(temp: DocumentReaderBarcodeResult?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderBarcodeResult = temp - - result.put("fields", generateList(input.fields, ::generateDocumentReaderBarcodeField)) - - return result -} - -fun documentReaderBarcodeFieldFromJSON(temp: JSONObject?): DocumentReaderBarcodeField? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderBarcodeField() - - result.barcodeType = input.optInt("barcodeType") - result.status = input.optInt("status") - result.pageIndex = input.optInt("pageIndex") - result.pdf417Info = pdf417InfoFromJSON(input.optJSONObject("pdf417Info")) - result.data = byteArrayFromBase64(input.optString("data")) - - return result -} - -fun generateDocumentReaderBarcodeField(temp: DocumentReaderBarcodeField?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderBarcodeField = temp - - result.put("barcodeType", input.barcodeType) - result.put("status", input.status) - result.put("pageIndex", input.pageIndex) - result.put("pdf417Info", generatePDF417Info(input.pdf417Info)) - result.put("data", generateByteArray(input.data)) - - return result -} - -fun documentReaderAuthenticityResultFromJSON(temp: JSONObject?): DocumentReaderAuthenticityResult? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderAuthenticityResult() - - result.checks = listFromJSON(input.optJSONArray("checks"), ::documentReaderAuthenticityCheckFromJSON)!! - - return result -} - -fun generateDocumentReaderAuthenticityResult(temp: DocumentReaderAuthenticityResult?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderAuthenticityResult = temp - - result.put("status", input.status) - result.put("checks", generateList(input.checks, ::generateDocumentReaderAuthenticityCheck, context)) - - return result -} - -fun documentReaderAuthenticityElementFromJSON(temp: JSONObject?): DocumentReaderAuthenticityElement? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderAuthenticityElement() - - result.status = input.optInt("status") - result.elementType = input.optInt("elementType") - result.elementDiagnose = input.optInt("elementDiagnose") - - return result -} - -fun generateDocumentReaderAuthenticityElement(temp: DocumentReaderAuthenticityElement?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderAuthenticityElement = temp - - result.put("status", input.status) - result.put("elementType", input.elementType) - result.put("elementDiagnose", input.elementDiagnose) - result.put("elementTypeName", input.getElementTypeName(context)) - result.put("elementDiagnoseName", input.getElementDiagnoseName(context)) - - return result -} - -fun paResourcesIssuerFromJSON(temp: JSONObject?): PAResourcesIssuer? { - temp ?: return null - val input: JSONObject = temp - val result = PAResourcesIssuer() - - result.data = byteArrayFromBase64(input.optString("data")) - result.friendlyName = input.optString("friendlyName") - result.attributes = arrayFromJSON(input.optJSONArray("attributes"), ::paAttributeFromJSON, arrayOfNulls(input.optJSONArray("attributes")?.length() ?: 0)) - - return result -} - -fun generatePAResourcesIssuer(temp: PAResourcesIssuer?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: PAResourcesIssuer = temp - - result.put("data", generateByteArray(input.data)) - result.put("friendlyName", input.friendlyName) - result.put("attributes", generateArray(input.attributes, ::generatePAAttribute)) - - return result -} - -fun paAttributeFromJSON(temp: JSONObject?): PAAttribute? { - temp ?: return null - val input: JSONObject = temp - val result = PAAttribute() - - result.type = input.optString("type") - result.value = input.optString("value") - - return result -} - -fun generatePAAttribute(temp: PAAttribute?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: PAAttribute = temp - - result.put("type", input.type) - result.put("value", input.value) - - return result -} - -fun taChallengeFromJSON(temp: JSONObject?): TAChallenge? { - temp ?: return null - val input: JSONObject = temp - val result = TAChallenge() - - result.data = byteArrayFromBase64(input.optString("data")) - result.auxPCD = input.optString("auxPCD") - result.challengePICC = input.optString("challengePICC") - result.hashPK = input.optString("hashPK") - result.idPICC = input.optString("idPICC") - - return result -} - -fun generateTAChallenge(temp: TAChallenge?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: TAChallenge = temp - - result.put("data", generateByteArray(input.data)) - result.put("auxPCD", input.auxPCD) - result.put("challengePICC", input.challengePICC) - result.put("hashPK", input.hashPK) - result.put("idPICC", input.idPICC) - - return result -} - -fun documentReaderResultsStatusFromJSON(temp: JSONObject?): DocumentReaderResultsStatus? { - temp ?: return null - val input: JSONObject = temp - - input.remove("detailsRFID") - - return DocumentReaderResultsStatus.fromJson(input) -} - -fun generateDocumentReaderResultsStatus(temp: DocumentReaderResultsStatus?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderResultsStatus = temp - - result.put("overallStatus", input.overallStatus) - result.put("optical", input.optical) - result.put("detailsOptical", generateDetailsOptical(input.detailsOptical)) - result.put("rfid", input.rfid) - result.put("detailsRFID", generateDetailsRFID(input.detailsRFID)) - result.put("portrait", input.portrait) - result.put("stopList", input.stopList) - - return result -} - -fun generateDetailsOptical(temp: DetailsOptical?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DetailsOptical = temp - - result.put("overallStatus", input.overallStatus) - result.put("mrz", input.mrz) - result.put("text", input.text) - result.put("docType", input.docType) - result.put("security", input.security) - result.put("imageQA", input.imageQA) - result.put("expiry", input.expiry) - result.put("vds", input.vds) - result.put("pagesCount", input.pagesCount) - - return result -} - -fun generateDetailsRFID(temp: DetailsRFID?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DetailsRFID = temp - - result.put("pa", input.pa) - result.put("ca", input.ca) - result.put("aa", input.aa) - result.put("ta", input.ta) - result.put("bac", input.bac) - result.put("pace", input.pace) - result.put("overallStatus", input.overallStatus) - - return result -} - -fun vdsncDataDictionaryFromJSON(input: JSONObject): JSONObject { - val temp = JSONObject(input.toString()) - - temp.put("Type", input.optString("type")) - temp.put("Version", input.optInt("version")) - temp.put("IssuingCountry", input.optString("issuingCountry")) - temp.put("Message", input.optJSONObject("message")) - temp.put("SignatureAlg", input.optString("signatureAlgorithm")) - temp.put("Signature", bytesDataDictionaryFromJSON(input.optJSONObject("signature"))) - temp.put("Certificate", bytesDataDictionaryFromJSON(input.optJSONObject("certificate"))) - temp.put("CertificateChain", input.optJSONArray("certificateChain")) - temp.put("Notifications", input.optJSONArray("notifications")) - - return temp -} - -fun vdsncDataFromJSON(input: JSONObject) = VDSNCData.fromJson(vdsncDataDictionaryFromJSON(input)) - -fun generateVDSNCData(temp: VDSNCData?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: VDSNCData = temp - - result.put("type", input.type) - result.put("version", input.version) - result.put("issuingCountry", input.issuingCountry) - result.put("message", input.message) - result.put("signatureAlgorithm", input.signatureAlg) - result.put("signature", generateBytesData(input.signature)) - result.put("certificate", generateBytesData(input.certificate)) - result.put("certificateChain", generateList(input.certificateChain, ::generateCertificateChain)) - result.put("notifications", generateLongArray(input.notifications)) - - return result -} - -fun bytesDataDictionaryFromJSON(input: JSONObject?): JSONObject? { - input ?: return null - val temp = JSONObject(input.toString()) - - temp.put("Data", input.optString("data")) - temp.put("Length", input.optInt("length")) - temp.put("Status", input.optLong("status")) - temp.put("Type", input.optInt("type")) - - return temp -} - -fun bytesDataFromJSON(input: JSONObject?) = BytesData.fromJson(bytesDataDictionaryFromJSON(input)) - -fun generateBytesData(temp: BytesData?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: BytesData = temp - - result.put("data", input.data) - result.put("length", input.length) - result.put("status", input.status) - result.put("type", input.type) - - return result -} - -fun generateLicense(temp: License?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: License = temp - - result.put("expiryDate", input.expiryDate?.toString()) - result.put("countryFilter", generateList(input.countryFilter)) - result.put("isRfidAvailable", input.isRfidAvailable) - - return result -} - -fun generateDocReaderVersion(temp: DocReaderVersion?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocReaderVersion = temp - - result.put("api", input.api) - result.put("core", input.core) - result.put("coreMode", input.coreMode) - result.put("database", generateDocReaderDocumentsDatabase(input.database)) - - return result -} - -fun docReaderDocumentsDatabaseFromJSON(input: JSONObject?): DocReaderDocumentsDatabase? { - input ?: return null - val temp = JSONObject(input.toString()) - - temp.put("id", input.optString("databaseID")) - temp.put("export_date", input.optString("date")) - temp.put("description", input.optString("databaseDescription")) - - return DocReaderDocumentsDatabase.fromJson(temp) -} - -fun generateDocReaderDocumentsDatabase(temp: DocReaderDocumentsDatabase?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocReaderDocumentsDatabase = temp - - result.put("databaseID", input.databaseID) - result.put("version", input.version) - result.put("date", input.date) - result.put("databaseDescription", input.databaseDescription) - result.put("countriesNumber", input.countriesNumber) - result.put("documentsNumber", input.documentsNumber) - result.put("size", input.size) - - return result -} - -fun documentReaderComparisonFromJSON(temp: JSONObject?): DocumentReaderComparison? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderComparison() - - result.sourceTypeLeft = input.optInt("sourceTypeLeft") - result.sourceTypeRight = input.optInt("sourceTypeRight") - result.status = input.optInt("status") - - return result -} - -fun generateDocumentReaderComparison(temp: DocumentReaderComparison?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderComparison = temp - - result.put("sourceTypeLeft", input.sourceTypeLeft) - result.put("sourceTypeRight", input.sourceTypeRight) - result.put("status", input.status) - - return result -} - -fun documentReaderRFIDOriginFromJSON(temp: JSONObject?): DocumentReaderRfidOrigin? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderRfidOrigin() - - result.dg = input.optInt("dg") - result.dgTag = input.optInt("dgTag") - result.entryView = input.optInt("entryView") - result.tagEntry = input.optInt("tagEntry") - - return result -} - -fun generateDocumentReaderRFIDOrigin(temp: DocumentReaderRfidOrigin?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderRfidOrigin = temp - - result.put("dg", input.dg) - result.put("dgTag", input.dgTag) - result.put("entryView", input.entryView) - result.put("tagEntry", input.tagEntry) - - return result -} - -fun documentReaderTextSourceFromJSON(temp: JSONObject?): DocumentReaderTextSource? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderTextSource() - - result.sourceType = input.optInt("sourceType") - result.source = input.optString("source") - result.validityStatus = input.optInt("validityStatus") - - return result -} - -fun generateDocumentReaderTextSource(temp: DocumentReaderTextSource?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderTextSource = temp - - result.put("sourceType", input.sourceType) - result.put("source", input.source) - result.put("validityStatus", input.validityStatus) - - return result -} - -fun documentReaderSymbolFromJSON(temp: JSONObject?): DocumentReaderSymbol? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderSymbol() - - result.code = input.optInt("code") - result.probability = input.optInt("probability") - result.rect = rectFromJSON(input.optJSONObject("rect")) - - return result -} - -fun generateDocumentReaderSymbol(temp: DocumentReaderSymbol?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderSymbol = temp - - result.put("code", input.code) - result.put("rect", generateRect(input.rect)) - result.put("probability", input.probability) - - return result -} - -fun documentReaderValidityFromJSON(temp: JSONObject?): DocumentReaderValidity? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderValidity() - - result.sourceType = input.optInt("sourceType") - result.status = input.optInt("status") - - return result -} - -fun generateDocumentReaderValidity(temp: DocumentReaderValidity?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderValidity = temp - - result.put("sourceType", input.sourceType) - result.put("status", input.status) - - return result -} - -fun barcodeTypeArrayFromJson(temp: JSONArray?): Array? { - temp ?: return null - val input: JSONArray = temp - - val result = arrayOfNulls(input.length()) - for (i in 0 until input.length()) result[i] = BarcodeType.valueOf(input.getInt(i)) - - return result -} - -fun generateBarcodeTypeArray(temp: Array?): JSONArray? { - temp ?: return null - val input: Array = temp - val result = JSONArray() - - for (s in input) result.put(generateBarcodeType(s)) - - return result -} - -fun generateBarcodeType(input: String?) = when (input) { - "bct_Code128" -> 1 - "bct_Code39" -> 2 - "bct_EAN8" -> 3 - "bct_ITF" -> 4 - "bct_PDF417" -> 5 - "bct_STF" -> 6 - "bct_MTF" -> 7 - "bct_IATA" -> 8 - "bct_CODABAR" -> 9 - "bct_UPCA" -> 10 - "bct_CODE93" -> 11 - "bct_UPCE" -> 12 - "bct_EAN13" -> 13 - "bct_QRCODE" -> 14 - "bct_AZTEC" -> 15 - "bct_DATAMATRIX" -> 16 - "bct_ALL_1D" -> 17 - "bct_Code11" -> 18 - "bct_JABCODE" -> 19 - else -> 0 -} - -fun documentReaderResultsFromJSON(temp: JSONObject?): DocumentReaderResults? { - temp ?: return null - val input: JSONObject = temp - val result = DocumentReaderResults() - - result.chipPage = input.optInt("chipPage") - result.processingFinishedStatus = input.optInt("processingFinishedStatus") - result.elapsedTime = input.optInt("elapsedTime") - result.elapsedTimeRFID = input.optInt("elapsedTimeRFID") - result.morePagesAvailable = input.optInt("morePagesAvailable") - result.graphicResult = documentReaderGraphicResultFromJSON(input.optJSONObject("graphicResult")) - result.textResult = documentReaderTextResultFromJSON(input.optJSONObject("textResult")) - result.documentPosition = listFromJSON(input.optJSONArray("documentPosition"), ::elementPositionFromJSON)!! - result.barcodePosition = listFromJSON(input.optJSONArray("barcodePosition"), ::elementPositionFromJSON)!! - result.mrzPosition = listFromJSON(input.optJSONArray("mrzPosition"), ::elementPositionFromJSON)!! - result.imageQuality = listFromJSON(input.optJSONArray("imageQuality"), ::imageQualityGroupFromJSON)!! - result.rawResult = input.optString("rawResult") - result.rfidSessionData = rfidSessionDataFromJSON(input.optJSONObject("rfidSessionData")) - result.authenticityResult = documentReaderAuthenticityResultFromJSON(input.optJSONObject("authenticityResult")) - result.barcodeResult = documentReaderBarcodeResultFromJSON(input.optJSONObject("barcodeResult")) - result.rfidSessionData = rfidSessionDataFromJSON(input.optJSONObject("rfidSessionData")) - result.documentType = listFromJSON(input.optJSONArray("documentType"), ::documentReaderDocumentTypeFromJSON)!! - result.status = documentReaderResultsStatusFromJSON(input.optJSONObject("status"))!! - result.vdsncData = vdsncDataFromJSON(input.optJSONObject("vdsncData")!!) - result.transactionInfo = transactionInfoFromJSON(input.optJSONObject("transactionInfo")) - - return result -} - -fun generateDocumentReaderResults(temp: DocumentReaderResults?, context: Context?): JSONObject? { - val result = JSONObject() - temp ?: return null - val input: DocumentReaderResults = temp - - result.put("chipPage", input.chipPage) - result.put("processingFinishedStatus", input.processingFinishedStatus) - result.put("elapsedTime", input.elapsedTime) - result.put("elapsedTimeRFID", input.elapsedTimeRFID) - result.put("morePagesAvailable", input.morePagesAvailable) - result.put("graphicResult", generateDocumentReaderGraphicResult(input.graphicResult, context)) - result.put("textResult", generateDocumentReaderTextResult(input.textResult, context)) - result.put("documentPosition", generateList(input.documentPosition, ::generateElementPosition)) - result.put("barcodePosition", generateList(input.barcodePosition, ::generateElementPosition)) - result.put("mrzPosition", generateList(input.mrzPosition, ::generateElementPosition)) - result.put("imageQuality", generateList(input.imageQuality, ::generateImageQualityGroup)) - result.put("rawResult", input.rawResult) - result.put("rfidSessionData", generateRFIDSessionData(input.rfidSessionData, context)) - result.put("authenticityResult", generateDocumentReaderAuthenticityResult(input.authenticityResult, context)) - result.put("barcodeResult", generateDocumentReaderBarcodeResult(input.barcodeResult)) - result.put("documentType", generateList(input.documentType, ::generateDocumentReaderDocumentType)) - result.put("status", generateDocumentReaderResultsStatus(input.status)) - result.put("vdsncData", generateVDSNCData(input.vdsncData)) - result.put("transactionInfo", generateTransactionInfo(input.transactionInfo)) - - return result -} \ No newline at end of file diff --git a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Utils.kt b/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Utils.kt deleted file mode 100644 index 7bb27ed800..0000000000 --- a/android/src/main/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Utils.kt +++ /dev/null @@ -1,261 +0,0 @@ -// -// Utils.java -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.content.Context -import android.graphics.Bitmap -import android.graphics.BitmapFactory -import android.graphics.Canvas -import android.graphics.Matrix -import android.graphics.Paint -import android.graphics.Typeface -import android.graphics.drawable.BitmapDrawable -import android.graphics.drawable.Drawable -import android.util.Base64 -import com.regula.documentreader.api.enums.CustomizationFont -import com.regula.documentreader.api.params.ParamsCustomization -import org.json.JSONArray -import org.json.JSONObject -import java.io.ByteArrayOutputStream -import kotlin.math.sqrt - -fun Any?.toSendable(): Any? = this?.let { - if (this is JSONObject || this is JSONArray) this.toString() - else this -} - -fun List<*>.toJson(): JSONArray { - val result = JSONArray() - for (i in indices) - when (val v = this[i]) { - null -> result.put(null) - is Map<*, *> -> result.put(v.toJson()) - is List<*> -> result.put(v.toJson()) - else -> result.put(v) - } - return result -} - -fun Map<*, *>.toJson(): JSONObject { - val result = JSONObject() - for ((k, v) in this) { - when (v) { - null -> result.put(k as String, null) - is Map<*, *> -> result.put(k as String, v.toJson()) - is List<*> -> result.put(k as String, v.toJson()) - else -> result.put(k as String, v) - } - } - return result -} - -fun generateList(list: List?) = list?.let { - val result = JSONArray() - for (t in list) if (t != null) result.put(t) - result -} - -fun generateList(list: List, toJson: (T?) -> JSONObject?): JSONArray { - val result = JSONArray() - for (t in list) if (t != null) result.put(toJson(t)) - return result -} - -fun listFromJSON(input: JSONArray?, fromJson: (JSONObject?) -> T) = input?.let { - val result: MutableList = ArrayList() - for (i in 0 until input.length()) { - val item = input.getJSONObject(i) - result.add(fromJson(item)) - } - result -} - -@Suppress("UNCHECKED_CAST") -fun listFromJSON(input: JSONArray): List { - val result: MutableList = ArrayList() - for (i in 0 until input.length()) result.add(input.opt(i) as T) - return result -} - -fun arrayFromJSON(input: JSONArray?, fromJson: (JSONObject?) -> T, result: Array) = input?.let { - for (i in 0 until input.length()) - result[i] = fromJson(input.getJSONObject(i)) - result -} - -fun generateList(list: List, toJson: (T?, Context?) -> JSONObject?, context: Context?): JSONArray { - val result = JSONArray() - for (t in list) if (t != null) result.put(toJson(t, context)) - return result -} - -fun generateArray(array: Array?) = array?.let { - val result = JSONArray() - for (i in array.indices) result.put(i, array[i]) - result -} - -fun generateArray(array: Array?, toJson: (T?) -> JSONObject?) = array?.let { - val result = JSONArray() - for (i in array.indices) result.put(i, toJson(array[i])) - result -} - -fun generateLongArray(array: LongArray?) = array?.let { - val result = JSONArray() - for (i in array.indices) result.put(i, array[i]) - result -} - -fun stringListFromJson(jsonArray: JSONArray): List { - val result: MutableList = ArrayList() - for (i in 0 until jsonArray.length()) result.add(jsonArray.optString(i)) - return result -} - -fun stringArrayFromJson(jsonArray: JSONArray): Array { - val result = arrayOfNulls(jsonArray.length()) - for (i in 0 until jsonArray.length()) result[i] = jsonArray.optString(i) - return result -} - -fun paintCapToInt(cap: Paint.Cap) = when (cap) { - Paint.Cap.BUTT -> 0 - Paint.Cap.ROUND -> 1 - Paint.Cap.SQUARE -> 2 -} - -fun JSONObject.forEach(action: (String, Any?) -> Unit) { - val keys: Iterator = keys() - while (keys.hasNext()) { - val key = keys.next() - action(key, get(key)) - } -} - -fun Map.toJsonObject(): JSONObject { - val result = JSONObject() - forEach { (key, value) -> result.put(key, value) } - return result -} - -fun stringMapFromJson(input: JSONObject): Map { - val result: MutableMap = HashMap() - input.forEach { key, value -> result[key] = value as String } - return result -} - -fun generateStringMap(input: Map?) = input?.let { - val result = JSONObject() - for ((key, value) in input) result.put(key, value) - result -} - -fun Any?.toInt() = when (this) { - is Double -> toInt() - is Long -> toInt() - else -> this as Int -} - -fun Any?.toLong() = when (this) { - is Double -> toLong() - is Int -> toLong() - else -> this as Long -} - -fun Any?.toDouble() = when (this) { - is Int -> toDouble() - is Long -> toDouble() - else -> this as Double -} - -fun Any?.toColor() = "#" + toLong().toString(16) - -fun Any?.toFloat() = - if (this is Double) toFloat() - else this as Float - -fun Any?.toMatrix() = this?.let { - val matrix = Matrix() - val result = FloatArray((this as JSONArray).length()) - for (i in 0 until length()) result[i] = getDouble(i).toFloat() - matrix.setValues(result) - matrix -} - -fun Any?.toIntArray() = (this as JSONArray?)?.let { - val result = IntArray(it.length()) - for (i in 0 until it.length()) result[i] = it.getInt(i) - result -} - -fun IntArray?.generate() = this?.let { - val result = JSONArray() - for (i in indices) result.put(i, this[i]) - result -} - -fun String?.toLong() = this?.let { - if (this[0] == '#') this.substring(1).toLong(16) - else this.toLong(16) -} - -fun Matrix?.generate() = this?.let { - val floats = FloatArray(9) - getValues(floats) - val result = JSONArray() - for (f in floats) result.put(java.lang.Float.valueOf(f)) - result -} - -fun CustomizationFont.generate(fonts: Map, sizes: Map) = generateTypeface(fonts[this], sizes[this]) - -fun CustomizationFont.setFont(editor: ParamsCustomization.CustomizationEditor, value: Any?) { - val font = typefaceFromJSON(value as JSONObject) - editor.setFont(this, font.first) - font.second?.let { editor.setFontSize(this, it) } -} - -internal object Convert { - fun byteArrayFromBase64(base64: String?) = base64?.let { Base64.decode(it, Base64.NO_WRAP) } - fun generateByteArray(array: ByteArray?) = array?.let { Base64.encodeToString(it, Base64.NO_WRAP) } - - fun bitmapFromBase64(base64: String?) = base64?.let { - val decodedString = byteArrayFromBase64(base64) - var result = BitmapFactory.decodeByteArray(decodedString, 0, decodedString!!.size) - val sizeMultiplier = result.byteCount / 5000000 - if (result.byteCount > 5000000) result = Bitmap.createScaledBitmap(result, result.width / sqrt(sizeMultiplier.toDouble()).toInt(), result.height / sqrt(sizeMultiplier.toDouble()).toInt(), false) - result - } - - fun bitmapToBase64(bitmap: Bitmap?) = bitmap?.let { - val byteArrayOutputStream = ByteArrayOutputStream() - bitmap.compress(Bitmap.CompressFormat.JPEG, 100, byteArrayOutputStream) - val byteArray = byteArrayOutputStream.toByteArray() - generateByteArray(byteArray) - } - - fun Any?.toDrawable(context: Context) = (this as String?)?.let { - val decodedByte = byteArrayFromBase64(it) - val bitmap = BitmapFactory.decodeByteArray(decodedByte, 0, decodedByte!!.size) - val density = context.resources.displayMetrics.density - val width = (bitmap.width * density).toInt() - val height = (bitmap.height * density).toInt() - BitmapDrawable(context.resources, Bitmap.createScaledBitmap(bitmap, width, height, false)) - } - - fun Drawable?.toString() = this?.let { - if (this is BitmapDrawable) if (bitmap != null) return bitmapToBase64(bitmap) - val bitmap: Bitmap = if (intrinsicWidth <= 0 || intrinsicHeight <= 0) Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888) else Bitmap.createBitmap(intrinsicWidth, intrinsicHeight, Bitmap.Config.ARGB_8888) - val canvas = Canvas(bitmap) - setBounds(0, 0, canvas.width, canvas.height) - draw(canvas) - bitmapToBase64(bitmap) - } -} \ No newline at end of file diff --git a/android/src/test/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt b/android/src/test/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt new file mode 100644 index 0000000000..dbccea2c31 --- /dev/null +++ b/android/src/test/kotlin/com/regula/plugin/documentreader/FlutterDocumentReaderApiPlugin.kt @@ -0,0 +1,366 @@ +package com.regula.plugin.documentreader + +import android.content.Context +import androidx.test.core.app.ApplicationProvider +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.RobolectricTestRunner +import org.robolectric.annotation.Config + +@Suppress("unused") +val context: Context + get() = ApplicationProvider.getApplicationContext() + +@RunWith(RobolectricTestRunner::class) +@Config(shadows = [MyShadowBitmap::class, MyShadowDrawable::class, MyShadowBitmapDrawable::class]) +class FlutterDocumentReaderApiPluginTest { + // config + + @Test + fun initConfig() = compare( + "initConfig", ::initConfigFromJSON, ::generateInitConfig, + "customDb", + "useBleDevice" + ) + + @Test + fun onlineProcessingConfig() = compare( + "onlineProcessingConfig", ::onlineProcessingConfigFromJSON, ::generateOnlineProcessingConfig, + "requestHeaders" + ) + + @Test + fun imageInputData() = compare("imageInputData", ::imageInputDataFromJSON, ::generateImageInputData) + + @Test + fun recognizeConfig() = compare( + "recognizeConfig", ::recognizeConfigFromJSON, ::generateRecognizeConfig, + "data" + ) + + @Test + fun recognizeConfig2() = compare( + "recognizeConfig2", ::recognizeConfigFromJSON, ::generateRecognizeConfig, + "onlineProcessingConfig.requestHeaders", + "data" + ) + + @Test + fun scannerConfig() = compare( + "scannerConfig", ::scannerConfigFromJSON, ::generateScannerConfig, + "onlineProcessingConfig.requestHeaders" + ) + + @Test + fun finalizeConfig() = compare("finalizeConfig", ::finalizeConfigFromJSON, ::generateFinalizeConfig) + + // params.process_params + + @Test + fun faceApiSearchParams() = compare("faceApiSearchParams", ::faceApiSearchParamsFromJSON, ::generateFaceApiSearchParams) + + @Test + fun faceApiParams() = compare("faceApiParams", ::faceApiParamsFromJSON, ::generateFaceApiParams) + + @Test + fun livenessParams() = compare("livenessParams", ::livenessParamsFromJSON, ::generateLivenessParams) + + @Test + fun authenticityParams() = compare("authenticityParams", ::authenticityParamsFromJSON, ::generateAuthenticityParams) + + @Test + fun glaresCheckParams() = compare("glaresCheckParams", ::glaresCheckParamsFromJSON, ::generateGlaresCheckParams) + + @Test + fun imageQA() = compare("imageQA", ::imageQAFromJSON, ::generateImageQA) + + @Test + fun rfidParams() = compare("rfidParams", ::rfidParamsFromJSON, ::generateRFIDParams) + + @Test + fun backendProcessingConfig() = compare("backendProcessingConfig", ::backendProcessingConfigFromJSON, ::generateBackendProcessingConfig) + + @Test + fun bsi() = compare("bsi", ::bsiFromJSON, ::generateBsi) + + @Test + fun processParams() = compare("processParams", ::processParamFromJSON, ::generateProcessParam) + + //params.rfid_scenario + + @Test + fun eDLDataGroups() = compare("eDLDataGroups", ::eDLDataGroupsFromJSON, ::generateEDLDataGroups) + + @Test + fun ePassportDataGroups() = compare("ePassportDataGroups", ::ePassportDataGroupsFromJSON, ::generateEPassportDataGroups) + + @Test + fun eIDDataGroups() = compare("eIDDataGroups", ::eIDDataGroupsFromJSON, ::generateEIDDataGroups) + + @Test + fun dtcDataGroup() = compare("dtcDataGroup", ::dtcDataGroupFromJSON, ::generateDTCDataGroup) + + @Test + fun rfidScenario() = compare("rfidScenario", ::rfidScenarioFromJSON, ::generateRfidScenario) + + // params + + @Test + fun customization() = compare( + "customization", ::customizationFromJSON, ::generateCustomization, + "helpAnimationImageContentMode", + "multipageAnimationFrontImageContentMode", + "multipageAnimationBackImageContentMode", + "livenessAnimationImageContentMode", + "borderBackgroundImageContentMode", + "statusTextFont", + "resultStatusTextFont", + "multipageButtonTextFont", + "fonts", + "contentModes", + ) + + @Test + fun functionality() = compare( + "functionality", ::functionalityFromJSON, ::generateFunctionality, + "useAuthenticator", + "singleResult", + "videoSessionPreset", + "cameraPositionIOS", + "homeIndicatorAutoHide" + ) + + // info + + @Test + fun prepareProgress() = compare("prepareProgress", ::prepareProgressFromJSON, ::generatePrepareProgress) + + @Test + fun documentsDatabase() = compare("documentsDatabase", ::docReaderDocumentsDatabaseFromJSON, ::generateDocReaderDocumentsDatabase) + + @Test + fun docReaderScenario() = compare( + "docReaderScenario", ::documentReaderScenarioFromJSON, ::generateDocumentReaderScenario, + "barcodeExt", + "frame" + ) + + @Test + fun docReaderException() = compare("docReaderException", ::regulaExceptionFromJSON, ::generateRegulaException) + + // results.authenticity + + @Test + fun authenticityElement() = compare("authenticityElement", ::documentReaderAuthenticityElementFromJSON, ::generateDocumentReaderAuthenticityElement) + + @Test + fun authenticityCheck() = compare("authenticityCheck", ::documentReaderAuthenticityCheckFromJSON, ::generateDocumentReaderAuthenticityCheck) + + @Test + fun authenticityResult() = compare("authenticityResult", ::documentReaderAuthenticityResultFromJSON, ::generateDocumentReaderAuthenticityResult) + + // results.barcode + + @Test + fun pdf417Info() = compare("pdf417Info", ::pdf417InfoFromJSON, ::generatePDF417Info) + + @Test + fun barcodeField() = compare("barcodeField", ::documentReaderBarcodeFieldFromJSON, ::generateDocumentReaderBarcodeField) + + @Test + fun barcodeResult() = compare("barcodeResult", ::documentReaderBarcodeResultFromJSON, ::generateDocumentReaderBarcodeResult) + + // results.image_quality + + @Test + fun imageQuality() = compare("imageQuality", ::imageQualityFromJSON, ::generateImageQuality) + + @Test + fun imageQualityGroup() = compare("imageQualityGroup", ::imageQualityGroupFromJSON, ::generateImageQualityGroup) + + // results.rfid + + @Test + fun accessControlProcedureType() = compare("accessControlProcedureType", ::accessControlProcedureTypeFromJSON, ::generateAccessControlProcedureType) + + @Test + fun fileData() = compare("fileData", ::fileDataFromJSON, ::generateFileData) + + @Test + fun certificateData() = compare("certificateData", ::certificateDataFromJSON, ::generateCertificateData) + + @Test + fun securityObjectCertificates() = compare("securityObjectCertificates", ::securityObjectCertificatesFromJSON, ::generateSecurityObjectCertificates) + + @Test + fun file() = compare("file", ::fileFromJSON, ::generateFile) + + @Test + fun application() = compare("application", ::applicationFromJSON, ::generateApplication) + + @Test + fun rfidValue() = compare("rfidValue", ::valueFromJSON, ::generateValue) + + @Test + fun attribute() = compare("attribute", ::attributeFromJSON, ::generateAttribute) + + @Test + fun authority() = compare("authority", ::authorityFromJSON, ::generateAuthority) + + @Test + fun cardProperties() = compare("cardProperties", ::cardPropertiesFromJSON, ::generateCardProperties) + + @Test + fun extension() = compare("extension", ::extensionFromJSON, ::generateExtension) + + @Test + fun rfidValidity() = compare("rfidValidity", ::validityFromJSON, ::generateValidity) + + @Test + fun certificateChain() = compare("certificateChain", ::certificateChainFromJSON, ::generateCertificateChain) + + @Test + fun dataField() = compare("dataField", ::dataFieldFromJSON, ::generateDataField) + + @Test + fun signerInfo() = compare("signerInfo", ::signerInfoFromJSON, ::generateSignerInfo) + + @Test + fun securityObject() = compare("securityObject", ::securityObjectFromJSON, ::generateSecurityObject) + + @Test + fun rfidSessionData() = compare("rfidSessionData", ::rfidSessionDataFromJSON, ::generateRFIDSessionData) + + @Test + fun bytesData() = compare("bytesData", ::bytesDataFromJSON, ::generateBytesData) + + @Test + fun vdsncData() = compare("vdsncData", ::vdsncDataFromJSON, ::generateVDSNCData) + + @Test + fun docFeature() = compare("docFeature", ::docFeatureFromJSON, ::generateDocFeature) + + @Test + fun vdsData() = compare("vdsData", ::vdsDataFromJSON, ::generateVDSData) + + // results.visual_results + + @Test + fun comparison() = compare("comparison", ::documentReaderComparisonFromJSON, ::generateDocumentReaderComparison) + + @Test + fun rect() = compare("rect", ::rectFromJSON, ::generateRect) + + @Test + fun graphicField() = compare("graphicField", ::documentReaderGraphicFieldFromJSON, ::generateDocumentReaderGraphicField) + + @Test + fun graphicResult() = compare("graphicResult", ::documentReaderGraphicResultFromJSON, ::generateDocumentReaderGraphicResult) + + @Test + fun rfidOrigin() = compare("rfidOrigin", ::documentReaderRFIDOriginFromJSON, ::generateDocumentReaderRFIDOrigin) + + @Test + fun symbol() = compare("symbol", ::documentReaderSymbolFromJSON, ::generateDocumentReaderSymbol) + + @Test + fun validity() = compare("validity", ::documentReaderValidityFromJSON, ::generateDocumentReaderValidity) + + @Test + fun value() = compare("value", ::documentReaderValueFromJSON, ::generateDocumentReaderValue) + + @Test + fun textField() = compare( + "textField", ::documentReaderTextFieldFromJSON, ::generateDocumentReaderTextField, + "getValue" + ) + + @Test + fun textSource() = compare("textSource", ::documentReaderTextSourceFromJSON, ::generateDocumentReaderTextSource) + + @Test + fun textResult() = compare( + "textResult", ::documentReaderTextResultFromJSON, ::generateDocumentReaderTextResult, + "fields.getValue" + ) + + // results + + @Test + fun resultsStatus() = compare("resultsStatus", ::documentReaderResultsStatusFromJSON, ::generateDocumentReaderResultsStatus) + + @Test + fun detailsOptical() = compare("opticalStatus", ::detailsOpticalFromJSON, ::generateDetailsOptical) + + @Test + fun rfidStatus() = compare("rfidStatus", ::detailsRFIDFromJSON, ::generateDetailsRFID) + + @Test + fun ageStatus() = compare("ageStatus", ::detailsAgeFromJSON, ::generateDetailsAge) + + @Test + fun documentType() = compare("documentType", ::documentReaderDocumentTypeFromJSON, ::generateDocumentReaderDocumentType) + + @Test + fun coordinate() = compare("coordinate", ::coordinateFromJSON, ::generateCoordinate) + + @Test + fun position() = compare("position", ::elementPositionFromJSON, ::generateElementPosition) + + @Test + fun transactionInfo() = compare("transactionInfo", ::transactionInfoFromJSON, ::generateTransactionInfo) + + @Test + fun results() = compare( + "results", ::documentReaderResultsFromJSON, ::generateDocumentReaderResults, + "textResult.fields.getValue") + + // rfid + + @Test + fun paAttribute() = compare("paAttribute", ::paAttributeFromJSON, ::generatePAAttribute) + + @Test + fun paResourcesIssuer() = compare("paResourcesIssuer", ::paResourcesIssuerFromJSON, ::generatePAResourcesIssuer) + + @Test + fun pkdCertificate() = compare("pkdCertificate", ::pkdCertificateFromJSON, ::generatePKDCertificate) + + @Test + fun taChallenge() = compare("taChallenge", ::taChallengeFromJSON, ::generateTAChallenge) + + @Test + fun tccParams() = compare("tccParams", ::tccParamsFromJSON, ::generateTccParams) + + @Test + fun paceProtocol() = compare("paceProtocol", ::paceProtocolFromJSON, ::generatePaceProtocol) + + @Test + fun caProtocol() = compare("caProtocol", ::caProtocolFromJSON, ::generateCaProtocol) + + // mdl + + @Test + fun deviceRetrievalMethod() = compare( + "deviceRetrievalMethod", ::deviceRetrievalMethodFromJSON, ::generateDeviceRetrievalMethod, + "serverModeUUID" + ) + + @Test + fun deviceEngagement() = compare( + "deviceEngagement", ::deviceEngagementFromJSON, ::generateDeviceEngagement, + "deviceRetrievalMethods.serverModeUUID" + ) + + @Test + fun nameSpaceMDL() = compare("nameSpaceMDL", ::nameSpaceMDLFromJSON, ::generateNameSpaceMDL) + + @Test + fun documentRequestMDL() = compare("documentRequestMDL", ::documentRequestMDLFromJSON, ::generateDocumentRequestMDL) + + @Test + fun documentRequest18013MDL() = compare("documentRequest18013MDL", ::documentRequest18013MDLFromJSON, ::generateDocumentRequest18013MDL) + + @Test + fun dataRetrieval() = compare("dataRetrieval", ::dataRetrievalFromJSON, ::generateDataRetrieval) +} \ No newline at end of file diff --git a/android/src/test/kotlin/com/regula/plugin/documentreader/Shadows.kt b/android/src/test/kotlin/com/regula/plugin/documentreader/Shadows.kt new file mode 100644 index 0000000000..391d1f96de --- /dev/null +++ b/android/src/test/kotlin/com/regula/plugin/documentreader/Shadows.kt @@ -0,0 +1,19 @@ +package com.regula.plugin.documentreader + +import android.graphics.Bitmap +import android.graphics.drawable.BitmapDrawable +import android.graphics.drawable.Drawable +import org.robolectric.annotation.Implements + +@Implements(Bitmap::class) +class MyShadowBitmap { + var data: ByteArray? = null +} + +@Implements(Drawable::class) +open class MyShadowDrawable { + var data: ByteArray? = null +} + +@Implements(BitmapDrawable::class) +class MyShadowBitmapDrawable : MyShadowDrawable() \ No newline at end of file diff --git a/android/src/test/kotlin/com/regula/plugin/documentreader/TestUtils.kt b/android/src/test/kotlin/com/regula/plugin/documentreader/TestUtils.kt new file mode 100644 index 0000000000..a43b51c4f6 --- /dev/null +++ b/android/src/test/kotlin/com/regula/plugin/documentreader/TestUtils.kt @@ -0,0 +1,122 @@ +package com.regula.plugin.documentreader + +import android.graphics.Bitmap +import android.graphics.drawable.BitmapDrawable +import android.graphics.drawable.Drawable +import org.json.JSONArray +import org.json.JSONObject +import org.robolectric.shadow.api.Shadow +import org.skyscreamer.jsonassert.JSONAssert +import java.io.IOException +import java.nio.file.Files +import java.nio.file.Paths +import java.util.Base64 + +fun readFile(name: String): JSONObject { + val bytes = Files.readAllBytes(Paths.get("../test/json/$name.json")) + return JSONObject(String(bytes)) +} + +fun compareJSONs(name: String, expected: JSONObject, actual: JSONObject) = + try { + JSONAssert.assertEquals(expected, floatToDouble(actual), true) + } catch (e: Throwable) { + println("\nAndroid test failed: $name") + println(" Expected JSON:\n$expected") + println(" Actual JSON:\n$actual") + throw e + } + +fun compareSingle( + name: String, + fromJson: (JSONObject) -> T, + toJson: (T) -> JSONObject?, + vararg omit: String +) { + try { + var expected = readFile(name) + for (key in omit) expected = omitDeep(expected, key.split("."), 0) + var actual = toJson(fromJson(expected))!! + for (key in omit) actual = omitDeep(actual, key.split("."), 0) + compareJSONs(name, expected, actual) + } catch (_: IOException) { + } +} + +fun compare( + name: String, + fromJson: (JSONObject) -> T, + toJson: (T) -> JSONObject?, + vararg omit: String +) { + compareSingle(name, fromJson, toJson, *omit) + compareSingle(name + "Nullable", fromJson, toJson, *omit) +} + +fun omitDeep(dict: JSONObject, path: List, index: Int): JSONObject { + if (index < path.size - 1) { + val node = dict.get(path[index]) + if (node is JSONObject) + dict.put(path[index], omitDeep(node, path, index + 1)) + else if (node is JSONArray) + dict.put(path[index], omitDeep(node, path, index + 1)) + } else + dict.remove(path[index]) + return dict +} + +fun omitDeep(dict: JSONArray, path: List, index: Int): JSONArray { + for (i in 0 until dict.length()) + dict.put(i, omitDeep(dict.getJSONObject(i), path, index)) + return dict +} + +fun floatToDouble(input: JSONObject): JSONObject { + for (key in input.keys()) { + val value = input.get(key) + if (value is JSONObject) input.put(key, floatToDouble(value)) + if (value is JSONArray) input.put(key, floatToDouble(value)) + if (value is Float) input.put(key, java.lang.Double.parseDouble(value.toString())) + } + return input +} + +fun floatToDouble(input: JSONArray): JSONArray { + for (i in 0 until input.length()) { + val value = input.get(i) + if (value is JSONObject) input.put(i, floatToDouble(value)) + if (value is JSONArray) input.put(i, floatToDouble(value)) + if (value is Float) input.put(i, java.lang.Double.parseDouble(value.toString())) + } + return input +} + +@Suppress("unused", "MemberVisibilityCanBePrivate") +internal object Convert { + fun String?.toByteArray() = this?.let { Base64.getDecoder().decode(it) } + fun ByteArray?.toBase64() = this?.let { Base64.getEncoder().encodeToString(it) } + + fun String?.toBitmap() = this?.let { + val bitmap = Shadow.newInstanceOf(Bitmap::class.java) + val shadow = Shadow.extract(bitmap) + shadow.data = it.toByteArray() + bitmap + } + + fun Bitmap?.toBase64() = this?.let { + val shadow = Shadow.extract(it) + shadow.data.toBase64() + } + + fun Any?.toDrawable() = (this as String?)?.let { + val bitmap = Shadow.newInstanceOf(BitmapDrawable::class.java) + val shadow = Shadow.extract(bitmap) + shadow.data = it.toByteArray() + bitmap + } + + fun Drawable?.toBase64() = this?.let { + val shadow = Shadow.extract(this) + shadow.data.toBase64() + } +} diff --git a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPluginTest.kt b/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPluginTest.kt deleted file mode 100644 index f56f30cebb..0000000000 --- a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/FlutterDocumentReaderApiPluginTest.kt +++ /dev/null @@ -1,289 +0,0 @@ -// -// FlutterDocumentReaderApiPluginTest.kt -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import androidx.test.core.app.ApplicationProvider -import org.junit.Test -import org.junit.runner.RunWith -import org.robolectric.RobolectricTestRunner -import org.robolectric.annotation.Config - -@RunWith(RobolectricTestRunner::class) -@Config(shadows = [MyShadowBitmap::class, MyShadowDrawable::class, MyShadowBitmapDrawable::class]) -class FlutterDocumentReaderApiPluginTest { - // config - - @Test - fun initConfig() = compare("initConfig", ::docReaderConfigFromJSON, ::generateDocReaderConfig, "databasePath") - - @Test - fun onlineProcessingConfig() = compare("onlineProcessingConfig", ::onlineProcessingConfigFromJSON, ::generateOnlineProcessingConfig) - - @Test - fun imageInputData() = compare("imageInputData", ::imageInputDataFromJSON, ::generateImageInputData) - - @Test - fun recognizeConfig() = compare("recognizeConfig", ::recognizeConfigFromJSON, ::generateRecognizeConfig) - - @Test - fun recognizeConfig2() = compare("recognizeConfig2", ::recognizeConfigFromJSON, ::generateRecognizeConfig) - - @Test - fun scannerConfig() = compare("scannerConfig", ::scannerConfigFromJSON, ::generateScannerConfig) - - // params.process_params - - @Test - fun faceApiSearchParams() = compare("faceApiSearchParams", ::faceApiSearchParamsFromJSON, ::generateFaceApiSearchParams) - - @Test - fun faceApiParams() = compare("faceApiParams", ::faceApiParamsFromJSON, ::generateFaceApiParams) - - @Test - fun livenessParams() = compare("livenessParams", ::livenessParamsFromJSON, ::generateLivenessParams) - - @Test - fun authenticityParams() = compare("authenticityParams", ::authenticityParamsFromJSON, ::generateAuthenticityParams) - - @Test - fun glaresCheckParams() = compare("glaresCheckParams", ::glaresCheckParamsFromJSON, ::generateGlaresCheckParams) - - @Test - fun imageQA() = compare("imageQA", ::imageQAFromJSON, ::generateImageQA) - - @Test - fun rfidParams() = compare("rfidParams", ::rfidParamsFromJSON, ::generateRFIDParams) - - @Test - fun backendProcessingConfig() = compare("backendProcessingConfig", ::backendProcessingConfigFromJSON, ::generateBackendProcessingConfig) - - @Test - fun processParams() = compare("processParams", ::processParamFromJSON, ::generateProcessParam) - - //params.rfid_scenario - - @Test - fun eDLDataGroups() = compare("eDLDataGroups", ::eDLDataGroupsFromJSON, ::generateEDLDataGroups) - - @Test - fun ePassportDataGroups() = compare("ePassportDataGroups", ::ePassportDataGroupsFromJSON, ::generateEPassportDataGroups) - - @Test - fun eIDDataGroups() = compare("eIDDataGroups", ::eIDDataGroupsFromJSON, ::generateEIDDataGroups) - - @Test - fun rfidScenario() = compare("rfidScenario", ::rfidScenarioFromJSON, ::generateRfidScenario) - - // params - - @Test - fun customization() { - val expected = readFile("customization") - val omit = listOf( - "helpAnimationImageContentMode", - "multipageAnimationFrontImageContentMode", - "multipageAnimationBackImageContentMode", - "livenessAnimationImageContentMode", - "borderBackgroundImageContentMode", - "statusTextFont", - "resultStatusTextFont", - "fonts" - ) - for (key in omit) expected.remove(key) - val actual = generateCustomization(customizationFromJSON(expected, ApplicationProvider.getApplicationContext())) - compareJSONs("customization", expected, floatToDouble(actual)) - } - - @Test - fun functionality() = compare( - "functionality", ::functionalityFromJSON, ::generateFunctionality, - "useAuthenticator", "singleResult", "videoSessionPreset" - ) - - // info - - @Test - fun prepareProgress() = compare("prepareProgress", ::prepareProgressFromJSON, ::generatePrepareProgress) - - @Test - fun documentsDatabase() = compare("documentsDatabase", ::docReaderDocumentsDatabaseFromJSON, ::generateDocReaderDocumentsDatabase) - - @Test - fun docReaderScenario() = compare( - "docReaderScenario", ::documentReaderScenarioFromJSON, ::generateDocumentReaderScenario, - "barcodeExt", "frame" - ) - - @Test - fun docReaderException() = compare("docReaderException", ::regulaExceptionFromJSON, ::generateRegulaException) - - // results.authenticity - - @Test - fun authenticityElement() = compare("authenticityElement", ::documentReaderAuthenticityElementFromJSON, ::generateDocumentReaderAuthenticityElement) - - @Test - fun authenticityCheck() = compare("authenticityCheck", ::documentReaderAuthenticityCheckFromJSON, ::generateDocumentReaderAuthenticityCheck) - - @Test - fun authenticityResult() = compare("authenticityResult", ::documentReaderAuthenticityResultFromJSON, ::generateDocumentReaderAuthenticityResult) - - // results.barcode - - @Test - fun pdf417Info() = compare("pdf417Info", ::pdf417InfoFromJSON, ::generatePDF417Info) - - @Test - fun barcodeField() = compare("barcodeField", ::documentReaderBarcodeFieldFromJSON, ::generateDocumentReaderBarcodeField) - - @Test - fun barcodeResult() = compare("barcodeResult", ::documentReaderBarcodeResultFromJSON, ::generateDocumentReaderBarcodeResult) - - // results.image_quality - - @Test - fun imageQuality() = compare("imageQuality", ::imageQualityFromJSON, ::generateImageQuality, "boundRects") - - @Test - fun imageQualityGroup() = compare("imageQualityGroup", ::imageQualityGroupFromJSON, ::generateImageQualityGroup, "imageQualityList.boundRects") - - // results.rfid - - @Test - fun accessControlProcedureType() = compare("accessControlProcedureType", ::accessControlProcedureTypeFromJSON, ::generateAccessControlProcedureType) - - @Test - fun fileData() = compare("fileData", ::fileDataFromJSON, ::generateFileData) - - @Test - fun certificateData() = compare("certificateData", ::certificateDataFromJSON, ::generateCertificateData) - - @Test - fun securityObjectCertificates() = compare("securityObjectCertificates", ::securityObjectCertificatesFromJSON, ::generateSecurityObjectCertificates) - - @Test - fun file() = compare("file", ::fileFromJSON, ::generateFile) - - @Test - fun application() = compare("application", ::applicationFromJSON, ::generateApplication) - - @Test - fun rfidValue() = compare("rfidValue", ::valueFromJSON, ::generateValue) - - @Test - fun attribute() = compare("attribute", ::attributeFromJSON, ::generateAttribute) - - @Test - fun authority() = compare("authority", ::authorityFromJSON, ::generateAuthority) - - @Test - fun cardProperties() = compare("cardProperties", ::cardPropertiesFromJSON, ::generateCardProperties) - - @Test - fun extension() = compare("extension", ::extensionFromJSON, ::generateExtension) - - @Test - fun rfidValidity() = compare("rfidValidity", ::validityFromJSON, ::generateValidity) - - @Test - fun certificateChain() = compare("certificateChain", ::certificateChainFromJSON, ::generateCertificateChain) - - @Test - fun dataField() = compare("dataField", ::dataFieldFromJSON, ::generateDataField) - - @Test - fun signerInfo() = compare("signerInfo", ::signerInfoFromJSON, ::generateSignerInfo) - - @Test - fun securityObject() = compare("securityObject", ::securityObjectFromJSON, ::generateSecurityObject) - - @Test - fun rfidSessionData() = compare("rfidSessionData", ::rfidSessionDataFromJSON, ::generateRFIDSessionData) - - @Test - fun bytesData() = compare("bytesData", ::bytesDataFromJSON, ::generateBytesData) - - @Test - fun vdsncData() = compare( - "vdsncData", ::vdsncDataFromJSON, ::generateVDSNCData, - "certificateChain" - ) - - // results.visual_results - - @Test - fun comparison() = compare("comparison", ::documentReaderComparisonFromJSON, ::generateDocumentReaderComparison) - - @Test - fun rect() = compare("rect", ::rectFromJSON, ::generateRect) - - @Test - fun graphicField() = compare("graphicField", ::documentReaderGraphicFieldFromJSON, ::generateDocumentReaderGraphicField) - - @Test - fun graphicResult() = compare("graphicResult", ::documentReaderGraphicResultFromJSON, ::generateDocumentReaderGraphicResult) - - @Test - fun rfidOrigin() = compare("rfidOrigin", ::documentReaderRFIDOriginFromJSON, ::generateDocumentReaderRFIDOrigin) - - @Test - fun symbol() = compare("symbol", ::documentReaderSymbolFromJSON, ::generateDocumentReaderSymbol) - - @Test - fun validity() = compare("validity", ::documentReaderValidityFromJSON, ::generateDocumentReaderValidity) - - @Test - fun value() = compare("value", ::documentReaderValueFromJSON, ::generateDocumentReaderValue) - - @Test - fun textField() = compare("textField", ::documentReaderTextFieldFromJSON, ::generateDocumentReaderTextField) - - @Test - fun textSource() = compare("textSource", ::documentReaderTextSourceFromJSON, ::generateDocumentReaderTextSource) - - @Test - fun textResult() = compare("textResult", ::documentReaderTextResultFromJSON, ::generateDocumentReaderTextResult) - - // results - - @Test - fun resultsStatus() = compare("resultsStatus", ::documentReaderResultsStatusFromJSON, ::generateDocumentReaderResultsStatus) - - @Test - fun documentType() = compare("documentType", ::documentReaderDocumentTypeFromJSON, ::generateDocumentReaderDocumentType) - - @Test - fun coordinate() = compare("coordinate", ::coordinateFromJSON, ::generateCoordinate) - - @Test - fun position() = compare("position", ::elementPositionFromJSON, ::generateElementPosition) - - @Test - fun transactionInfo() = compare("transactionInfo", ::transactionInfoFromJSON, ::generateTransactionInfo) - - @Test - fun results() = compare("results", ::documentReaderResultsFromJSON, ::generateDocumentReaderResults, "vdsncData.certificateChain") - - // rfid - - @Test - fun paAttribute() = compare("paAttribute", ::paAttributeFromJSON, ::generatePAAttribute) - - @Test - fun paResourcesIssuer() = compare("paResourcesIssuer", ::paResourcesIssuerFromJSON, ::generatePAResourcesIssuer) - - @Test - fun pkdCertificate() = compare("pkdCertificate", ::pkdCertificateFromJSON, ::generatePKDCertificate) - - @Test - fun taChallenge() = compare("taChallenge", ::taChallengeFromJSON, ::generateTAChallenge) - - @Test - fun tccParams() = compare("tccParams", ::tccParamsFromJSON, ::generateTccParams) -} \ No newline at end of file diff --git a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Shadows.kt b/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Shadows.kt deleted file mode 100644 index fae0130b95..0000000000 --- a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/Shadows.kt +++ /dev/null @@ -1,27 +0,0 @@ -// -// Shadows.kt -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.graphics.Bitmap -import android.graphics.drawable.BitmapDrawable -import android.graphics.drawable.Drawable -import org.robolectric.annotation.Implements - -@Implements(Bitmap::class) -class MyShadowBitmap { - var data: ByteArray? = null -} - -@Implements(Drawable::class) -open class MyShadowDrawable { - var data: ByteArray? = null -} - -@Implements(BitmapDrawable::class) -class MyShadowBitmapDrawable : MyShadowDrawable() \ No newline at end of file diff --git a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/TestUtils.kt b/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/TestUtils.kt deleted file mode 100644 index cef9577a04..0000000000 --- a/android/src/test/kotlin/io/flutter/plugins/regula/documentreader/flutter_document_reader_api/TestUtils.kt +++ /dev/null @@ -1,142 +0,0 @@ -// -// Convert.java -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api - -import android.content.Context -import android.graphics.Bitmap -import android.graphics.drawable.BitmapDrawable -import android.graphics.drawable.Drawable -import androidx.test.core.app.ApplicationProvider -import org.json.JSONArray -import org.json.JSONObject -import org.robolectric.shadow.api.Shadow -import org.skyscreamer.jsonassert.JSONAssert -import java.io.IOException -import java.nio.file.Files -import java.nio.file.Paths -import java.util.Base64 - -fun readFile(name: String): JSONObject { - val bytes = Files.readAllBytes(Paths.get("../test/json/$name.json")) - return JSONObject(String(bytes)) -} - -fun compareJSONs(name: String, expected: JSONObject, actual: JSONObject) = - try { - JSONAssert.assertEquals(expected, actual, false) - } catch (e: Throwable) { - println("\nAndroid test failed: $name") - println(" Expected JSON:\n$expected") - println(" Actual JSON:\n$actual") - throw e - } - -fun compareSingle( - name: String, - fromJson: (JSONObject) -> T, - toJson: (T) -> JSONObject?, - vararg omit: String -) { - try { - var expected = readFile(name + "Nullable") - for (key in omit) expected = omitDeep(expected, key.split("."), 0) - val actual = toJson(fromJson(expected))!! - compareJSONs(name, expected, actual) - } catch (_: IOException) { - } -} - -fun compare( - name: String, - fromJson: (JSONObject) -> T, - toJson: (T) -> JSONObject?, - vararg omit: String -) { - compareSingle(name, fromJson, toJson, *omit) - compareSingle(name + "Nullable", fromJson, toJson, *omit) -} - -fun omitDeep(dict: JSONObject, path: List, index: Int): JSONObject { - if (index < path.size - 1) { - val node = dict.get(path[index]) - if (node is JSONObject) - dict.put(path[index], omitDeep(node, path, index + 1)) - else if (node is JSONArray) - dict.put(path[index], omitDeep(node, path, index + 1)) - } else - dict.remove(path[index]) - return dict -} - -fun omitDeep(dict: JSONArray, path: List, index: Int): JSONArray { - for (i in 0.. compare( - name: String, - fromJson: (JSONObject) -> T, - toJson: (T, Context) -> JSONObject?, - vararg omit: String -) { - var expected = readFile(name) - for (key in omit) expected = omitDeep(expected, key.split("."), 0) - val actual = toJson(fromJson(expected), ApplicationProvider.getApplicationContext())!! - compareJSONs(name, expected, actual) -} - -fun floatToDouble(input: JSONObject): JSONObject { - for (key in input.keys()) { - val value = input.get(key) - if (value is JSONObject) input.put(key, floatToDouble(value)) - if (value is JSONArray) input.put(key, floatToDouble(value)) - if (value is Float) input.put(key, java.lang.Double.parseDouble(value.toString())) - } - return input -} - -fun floatToDouble(input: JSONArray): JSONArray { - for (i in 0..(bitmap) - shadow.data = byteArrayFromBase64(base64) - bitmap - } - - fun bitmapToBase64(bitmap: Bitmap?) = bitmap?.let { - val shadow = Shadow.extract(bitmap) - generateByteArray(shadow.data) - } - - fun Any?.toDrawable(context: Context) = (this as String?)?.let { - val bitmap = Shadow.newInstanceOf(BitmapDrawable::class.java) - val shadow = Shadow.extract(bitmap) - shadow.data = byteArrayFromBase64(it) - bitmap - } - - fun Drawable?.toString() = this?.let { - val shadow = Shadow.extract(this) - generateByteArray(shadow.data) - } -} \ No newline at end of file diff --git a/docs/__404error.html b/docs/__404error.html deleted file mode 100644 index f8347c0b18..0000000000 --- a/docs/__404error.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - flutter_document_reader_api - Dart API docs - - - - - - - - - - - - - - - - - -
- -
- menu - -
flutter_document_reader_api
- -
- -
-
-
- -
-

404: Something's gone wrong :-(

- -
-

You've tried to visit a page that doesn't exist. Luckily this site - has other pages.

-

If you were looking for something specific, try searching: -

-

- -
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/categories.json b/docs/categories.json deleted file mode 100644 index fe51488c70..0000000000 --- a/docs/categories.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/docs/document_reader/AccessControlProcedureType-class-sidebar.html b/docs/document_reader/AccessControlProcedureType-class-sidebar.html deleted file mode 100644 index 5c2822a04a..0000000000 --- a/docs/document_reader/AccessControlProcedureType-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. AccessControlProcedureType
  4. - - -
  5. - Properties -
  6. -
  7. activeOptionIdx
  8. -
  9. hashCode
  10. -
  11. notifications
  12. -
  13. runtimeType
  14. -
  15. status
  16. -
  17. type
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/AccessControlProcedureType-class.html b/docs/document_reader/AccessControlProcedureType-class.html deleted file mode 100644 index ffdea10347..0000000000 --- a/docs/document_reader/AccessControlProcedureType-class.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - - - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AccessControlProcedureType
- -
- -
-
-
- -
-
-

AccessControlProcedureType class - -

- - -
-

Structure is used to describe the results of a single authentication -procedure or a procedure of secure data access within the context -of the communication session with electronic document.

-
- - - - -
-

Constructors

- -
-
- AccessControlProcedureType() -
-
- -
-
-
- -
-

Properties

- -
-
- activeOptionIdx - int - -
-
- Index of the active variant of the procedure. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- notifications - List<int> - -
-
- List of remarks arisen during the procedure. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - RFIDErrorCodes - -
-
- Procedure status. -
no setter
- -
- -
- type - RFIDAccessControlProcedureType - -
-
- Procedure type. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - AccessControlProcedureType? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/AccessControlProcedureType.html b/docs/document_reader/AccessControlProcedureType/AccessControlProcedureType.html deleted file mode 100644 index 08fe84da59..0000000000 --- a/docs/document_reader/AccessControlProcedureType/AccessControlProcedureType.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - AccessControlProcedureType constructor - AccessControlProcedureType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AccessControlProcedureType
- -
- -
-
-
- -
-
-

AccessControlProcedureType constructor -

- -
- - AccessControlProcedureType() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/activeOptionIdx.html b/docs/document_reader/AccessControlProcedureType/activeOptionIdx.html deleted file mode 100644 index bc03dce3a7..0000000000 --- a/docs/document_reader/AccessControlProcedureType/activeOptionIdx.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - activeOptionIdx property - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
activeOptionIdx
- -
- -
-
-
- -
-
-

activeOptionIdx property -

- - - -
- -
- - int - activeOptionIdx - - -
- - -
-

Index of the active variant of the procedure.

-
- - -
-

Implementation

-
int get activeOptionIdx => _activeOptionIdx;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/fromJson.html b/docs/document_reader/AccessControlProcedureType/fromJson.html deleted file mode 100644 index 76acf97dde..0000000000 --- a/docs/document_reader/AccessControlProcedureType/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -AccessControlProcedureType? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static AccessControlProcedureType? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = AccessControlProcedureType();
-
-  result._activeOptionIdx = jsonObject["activeOptionIdx"];
-  result._type =
-      RFIDAccessControlProcedureType.getByValue(jsonObject["type"])!;
-  result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!;
-  result._notifications = jsonObject["notifications"].cast<int>();
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/notifications.html b/docs/document_reader/AccessControlProcedureType/notifications.html deleted file mode 100644 index e3c30fa89f..0000000000 --- a/docs/document_reader/AccessControlProcedureType/notifications.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - notifications property - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int> - notifications - - -
- - -
-

List of remarks arisen during the procedure.

-
- - -
-

Implementation

-
List<int> get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/status.html b/docs/document_reader/AccessControlProcedureType/status.html deleted file mode 100644 index 6477f476c5..0000000000 --- a/docs/document_reader/AccessControlProcedureType/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - RFIDErrorCodes - status - - -
- - -
-

Procedure status.

-
- - -
-

Implementation

-
RFIDErrorCodes get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/toJson.html b/docs/document_reader/AccessControlProcedureType/toJson.html deleted file mode 100644 index 69923a18a5..0000000000 --- a/docs/document_reader/AccessControlProcedureType/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "activeOptionIdx": activeOptionIdx,
-      "notifications": notifications,
-      "status": status.value,
-      "type": type.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AccessControlProcedureType/type.html b/docs/document_reader/AccessControlProcedureType/type.html deleted file mode 100644 index 384aea7514..0000000000 --- a/docs/document_reader/AccessControlProcedureType/type.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - type property - AccessControlProcedureType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - RFIDAccessControlProcedureType - type - - -
- - -
-

Procedure type.

-
- - -
-

Implementation

-
RFIDAccessControlProcedureType get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application-class-sidebar.html b/docs/document_reader/Application-class-sidebar.html deleted file mode 100644 index 4ff7e0d4c5..0000000000 --- a/docs/document_reader/Application-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Application
  4. - - -
  5. - Properties -
  6. -
  7. applicationID
  8. -
  9. dataHashAlgorithm
  10. -
  11. files
  12. -
  13. hashCode
  14. -
  15. runtimeType
  16. -
  17. status
  18. -
  19. type
  20. -
  21. unicodeVersion
  22. -
  23. version
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/Application-class.html b/docs/document_reader/Application-class.html deleted file mode 100644 index 6a46f4b0b3..0000000000 --- a/docs/document_reader/Application-class.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - - - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Application
- -
- -
-
-
- -
-
-

Application class - -

- - -
-

Structure is used to describe the contents of a single LDS applica-tion -and their analysis within the context of the communication session with -electronic document.

-
- - - - -
-

Constructors

- -
-
- Application() -
-
- -
-
-
- -
-

Properties

- -
-
- applicationID - String? - -
-
- Application identifier. -
no setter
- -
- -
- dataHashAlgorithm - String? - -
-
- Algorithm for calculating hash values for files for the proce-dure of PA. -
no setter
- -
- -
- files - List<File> - -
-
- List of containers to store information about the read files of the application. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - RFIDErrorCodes - -
-
- Status of the application selection procedure. -
no setter
- -
- -
- type - int - -
-
- Type of application of electronic document. -
no setter
- -
- -
- unicodeVersion - String? - -
-
- Unicode version for application. -
no setter
- -
- -
- version - String? - -
-
- Application version. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Application? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/Application.html b/docs/document_reader/Application/Application.html deleted file mode 100644 index 76c7d526b3..0000000000 --- a/docs/document_reader/Application/Application.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Application constructor - Application - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Application
- -
- -
-
-
- -
-
-

Application constructor -

- -
- - Application() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/applicationID.html b/docs/document_reader/Application/applicationID.html deleted file mode 100644 index 880c77821e..0000000000 --- a/docs/document_reader/Application/applicationID.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - applicationID property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
applicationID
- -
- -
-
-
- -
-
-

applicationID property -

- - - -
- -
- - String? - applicationID - - -
- - -
-

Application identifier.

-
- - -
-

Implementation

-
String? get applicationID => _applicationID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/dataHashAlgorithm.html b/docs/document_reader/Application/dataHashAlgorithm.html deleted file mode 100644 index 58ba0315de..0000000000 --- a/docs/document_reader/Application/dataHashAlgorithm.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - dataHashAlgorithm property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dataHashAlgorithm
- -
- -
-
-
- -
-
-

dataHashAlgorithm property -

- - - -
- -
- - String? - dataHashAlgorithm - - -
- - -
-

Algorithm for calculating hash values for files for the proce-dure of PA.

-
- - -
-

Implementation

-
String? get dataHashAlgorithm => _dataHashAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/files.html b/docs/document_reader/Application/files.html deleted file mode 100644 index ca3214dbeb..0000000000 --- a/docs/document_reader/Application/files.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - files property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
files
- -
- -
-
-
- -
-
-

files property -

- - - -
- -
- - List<File> - files - - -
- - -
-

List of containers to store information about the read files of the application.

-
- - -
-

Implementation

-
List<File> get files => _files;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/fromJson.html b/docs/document_reader/Application/fromJson.html deleted file mode 100644 index 7587398d82..0000000000 --- a/docs/document_reader/Application/fromJson.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - fromJson method - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Application? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Application? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Application();
-
-  result._type = jsonObject["type"];
-  result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!;
-  result._applicationID = jsonObject["applicationID"];
-  result._dataHashAlgorithm = jsonObject["dataHashAlgorithm"];
-  result._unicodeVersion = jsonObject["unicodeVersion"];
-  result._version = jsonObject["version"];
-  for (var item in jsonObject["files"])
-    result._files.addSafe(File.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/status.html b/docs/document_reader/Application/status.html deleted file mode 100644 index 9131fbf515..0000000000 --- a/docs/document_reader/Application/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - RFIDErrorCodes - status - - -
- - -
-

Status of the application selection procedure.

-
- - -
-

Implementation

-
RFIDErrorCodes get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/toJson.html b/docs/document_reader/Application/toJson.html deleted file mode 100644 index c8b27bb53b..0000000000 --- a/docs/document_reader/Application/toJson.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - toJson method - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "applicationID": applicationID,
-      "dataHashAlgorithm": dataHashAlgorithm,
-      "files": files.map((e) => e.toJson()).toList(),
-      "status": status.value,
-      "type": type,
-      "unicodeVersion": unicodeVersion,
-      "version": version,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/type.html b/docs/document_reader/Application/type.html deleted file mode 100644 index 4cce879522..0000000000 --- a/docs/document_reader/Application/type.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - type property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - int - type - - -
- - -
-

Type of application of electronic document.

-
- - -
-

Implementation

-
int get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/unicodeVersion.html b/docs/document_reader/Application/unicodeVersion.html deleted file mode 100644 index 15ed17befc..0000000000 --- a/docs/document_reader/Application/unicodeVersion.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - unicodeVersion property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
unicodeVersion
- -
- -
-
-
- -
-
-

unicodeVersion property -

- - - -
- -
- - String? - unicodeVersion - - -
- - -
-

Unicode version for application.

-
- - -
-

Implementation

-
String? get unicodeVersion => _unicodeVersion;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Application/version.html b/docs/document_reader/Application/version.html deleted file mode 100644 index ef5a3ebe94..0000000000 --- a/docs/document_reader/Application/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - Application class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - String? - version - - -
- - -
-

Application version.

-
- - -
-

Implementation

-
String? get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute-class-sidebar.html b/docs/document_reader/Attribute-class-sidebar.html deleted file mode 100644 index a85078dfef..0000000000 --- a/docs/document_reader/Attribute-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Attribute
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. type
  12. -
  13. value
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/Attribute-class.html b/docs/document_reader/Attribute-class.html deleted file mode 100644 index 434af081f2..0000000000 --- a/docs/document_reader/Attribute-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - Attribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Attribute
- -
- -
-
-
- -
-
-

Attribute class - -

- - - - - - -
-

Constructors

- -
-
- Attribute() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - String? - -
-
- -
no setter
- -
- -
- value - RFIDValue? - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Attribute? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute/Attribute.html b/docs/document_reader/Attribute/Attribute.html deleted file mode 100644 index 4a551c38e3..0000000000 --- a/docs/document_reader/Attribute/Attribute.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Attribute constructor - Attribute - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Attribute
- -
- -
-
-
- -
-
-

Attribute constructor -

- -
- - Attribute() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute/fromJson.html b/docs/document_reader/Attribute/fromJson.html deleted file mode 100644 index 487ea56169..0000000000 --- a/docs/document_reader/Attribute/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - Attribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Attribute? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Attribute? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Attribute();
-
-  result._type = jsonObject["type"];
-  result._value = RFIDValue.fromJson(jsonObject["value"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute/toJson.html b/docs/document_reader/Attribute/toJson.html deleted file mode 100644 index 3545852362..0000000000 --- a/docs/document_reader/Attribute/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - Attribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "type": type,
-      "value": value?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute/type.html b/docs/document_reader/Attribute/type.html deleted file mode 100644 index 3dd85a6295..0000000000 --- a/docs/document_reader/Attribute/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - Attribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - String? - type - - -
- - - - -
-

Implementation

-
String? get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Attribute/value.html b/docs/document_reader/Attribute/value.html deleted file mode 100644 index e04641a26a..0000000000 --- a/docs/document_reader/Attribute/value.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - value property - Attribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- - - -
- -
- - RFIDValue? - value - - -
- - - - -
-

Implementation

-
RFIDValue? get value => _value;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authenticity-enum-sidebar.html b/docs/document_reader/Authenticity-enum-sidebar.html deleted file mode 100644 index 50979e6f7a..0000000000 --- a/docs/document_reader/Authenticity-enum-sidebar.html +++ /dev/null @@ -1,52 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Authenticity
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NONE
  10. -
  11. UV_LUMINESCENCE
  12. -
  13. IR_B900
  14. -
  15. IMAGE_PATTERN
  16. -
  17. AXIAL_PROTECTION
  18. -
  19. UV_FIBERS
  20. -
  21. IR_VISIBILITY
  22. -
  23. OCR_SECURITY_TEXT
  24. -
  25. IPI
  26. -
  27. PHOTO_EMBED_TYPE
  28. -
  29. OVI
  30. -
  31. HOLOGRAMS
  32. -
  33. PHOTO_AREA
  34. -
  35. PORTRAIT_COMPARISON
  36. -
  37. BARCODE_FORMAT_CHECK
  38. -
  39. KINEGRAM
  40. -
  41. HOLOGRAMS_DETECTION
  42. -
  43. LIVENESS
  44. -
  45. OCR
  46. -
  47. MRZ
  48. -
  49. STATUS_ONLY
  50. - -
  51. - Properties -
  52. -
  53. hashCode
  54. -
  55. index
  56. -
  57. runtimeType
  58. -
  59. value
  60. - -
  61. Methods
  62. -
  63. noSuchMethod
  64. -
  65. toString
  66. - -
  67. Operators
  68. -
  69. operator ==
  70. - - - -
  71. Static methods
  72. -
  73. getByValue
  74. - -
  75. Constants
  76. -
  77. values
  78. -
diff --git a/docs/document_reader/Authenticity.html b/docs/document_reader/Authenticity.html deleted file mode 100644 index 6884877dad..0000000000 --- a/docs/document_reader/Authenticity.html +++ /dev/null @@ -1,651 +0,0 @@ - - - - - - - - Authenticity enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Authenticity
- -
- -
-
-
- -
-
- -

- Authenticity - enum - - -

-
- - -
-

Enumeration contains identifiers that determine the possibility -of performing different authenticity control procedures -using images for definite lighting schemes.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- Authenticity(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const Authenticity - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- Authenticity(-1) -
-
- -
- NONE - → const Authenticity - - -
-
-

No authenticity control procedure provided for this document.

- - -
- Authenticity(0) -
-
- -
- UV_LUMINESCENCE - → const Authenticity - - -
-
-

Document material UV fluorescence control (check for presence of UV -dull paper) is provided for this document.

- - -
- Authenticity(1) -
-
- -
- IR_B900 - → const Authenticity - - -
-
-

Control of MRZ contrast using the image for IR lighting scheme -is provided for this document.

- - -
- Authenticity(2) -
-
- -
- IMAGE_PATTERN - → const Authenticity - - -
-
-

Control of the presence of an image pattern with a specified color, -shape and brightness on a document page under white, UV and IR light.

- - -
- Authenticity(4) -
-
- -
- AXIAL_PROTECTION - → const Authenticity - - -
-
-

UV fluorescence of protection fibers control is provided for this document.

- - -
- Authenticity(8) -
-
- -
- UV_FIBERS - → const Authenticity - - -
-
-

Blank elements visibility control using the images for IR lighting scheme -is provided for this document.

- - -
- Authenticity(16) -
-
- -
- IR_VISIBILITY - → const Authenticity - - -
-
-

Authenticity control using the images for white coaxial light scheme -is provided for this document.

- - -
- Authenticity(32) -
-
- -
- OCR_SECURITY_TEXT - → const Authenticity - - -
-
-

Make OCR for the text field in UV and compare it with other text sources.

- - -
- Authenticity(64) -
-
- -
- IPI - → const Authenticity - - -
-
-

Find invisible personal information images.

- - -
- Authenticity(128) -
-
- -
- PHOTO_EMBED_TYPE - → const Authenticity - - -
-
-

Check photo is printed or sticked.

- - -
- Authenticity(512) -
-
- -
- OVI - → const Authenticity - - -
-
-

OVI check.

- - -
- Authenticity(1024) -
-
- -
- HOLOGRAMS - → const Authenticity - - -
-
-

Reserved for internal use.

- - -
- Authenticity(4096) -
-
- -
- PHOTO_AREA - → const Authenticity - - -
-
-

Reserved for internal use.

- - -
- Authenticity(8192) -
-
- -
- PORTRAIT_COMPARISON - → const Authenticity - - -
-
-

Portrait comparison.

- - -
- Authenticity(32768) -
-
- -
- BARCODE_FORMAT_CHECK - → const Authenticity - - -
-
-

Barcode format check.

- - -
- Authenticity(65536) -
-
- -
- KINEGRAM - → const Authenticity - - -
-
-

Kinegram.

- - -
- Authenticity(131072) -
-
- -
- HOLOGRAMS_DETECTION - → const Authenticity - - -
-
-

Reserved for internal use.

- - -
- Authenticity(524288) -
-
- -
- LIVENESS - → const Authenticity - - -
-
-

Liveness.

- - -
- Authenticity(2097152) -
-
- -
- OCR - → const Authenticity - - -
-
-

Extended OCR check.

- - -
- Authenticity(4194304) -
-
- -
- MRZ - → const Authenticity - - -
-
-

Checks the correctness of the size of the MRZ lines, their relative position, -absence of signs that the image was edited.

- - -
- Authenticity(8388608) -
-
- -
- STATUS_ONLY - → const Authenticity - - -
-
-

Status only.

- - -
- Authenticity(2147483648) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - Authenticity? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<Authenticity> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NONE, UV_LUMINESCENCE, IR_B900, IMAGE_PATTERN, AXIAL_PROTECTION, UV_FIBERS, IR_VISIBILITY, OCR_SECURITY_TEXT, IPI, PHOTO_EMBED_TYPE, OVI, HOLOGRAMS, PHOTO_AREA, PORTRAIT_COMPARISON, BARCODE_… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authenticity/Authenticity.html b/docs/document_reader/Authenticity/Authenticity.html deleted file mode 100644 index d42527c481..0000000000 --- a/docs/document_reader/Authenticity/Authenticity.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - Authenticity constructor - Authenticity - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Authenticity
- -
- -
-
-
- -
-
-

Authenticity constructor -

- -
- const - Authenticity(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const Authenticity
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authenticity/value.html b/docs/document_reader/Authenticity/value.html deleted file mode 100644 index 04753eb360..0000000000 --- a/docs/document_reader/Authenticity/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - Authenticity enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authenticity/values-constant.html b/docs/document_reader/Authenticity/values-constant.html deleted file mode 100644 index 81b9c3e546..0000000000 --- a/docs/document_reader/Authenticity/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - Authenticity enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<Authenticity> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck-class-sidebar.html b/docs/document_reader/AuthenticityCheck-class-sidebar.html deleted file mode 100644 index c18c34fa95..0000000000 --- a/docs/document_reader/AuthenticityCheck-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. AuthenticityCheck
  4. - - -
  5. - Properties -
  6. -
  7. elements
  8. -
  9. hashCode
  10. -
  11. pageIndex
  12. -
  13. runtimeType
  14. -
  15. status
  16. -
  17. type
  18. -
  19. typeName
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/AuthenticityCheck-class.html b/docs/document_reader/AuthenticityCheck-class.html deleted file mode 100644 index ec65c48e0e..0000000000 --- a/docs/document_reader/AuthenticityCheck-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityCheck
- -
- -
-
-
- -
-
-

AuthenticityCheck class - -

- - - - - - -
-

Constructors

- -
-
- AuthenticityCheck() -
-
- -
-
-
- -
-

Properties

- -
-
- elements - List<AuthenticityElement> - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- pageIndex - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - CheckResult - -
-
- Indicates verification result. -
no setter
- -
- -
- type - Authenticity - -
-
- Indicates verification type result. -
no setter
- -
- -
- typeName - String - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - AuthenticityCheck? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/AuthenticityCheck.html b/docs/document_reader/AuthenticityCheck/AuthenticityCheck.html deleted file mode 100644 index 5c46f47c2e..0000000000 --- a/docs/document_reader/AuthenticityCheck/AuthenticityCheck.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - AuthenticityCheck constructor - AuthenticityCheck - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityCheck
- -
- -
-
-
- -
-
-

AuthenticityCheck constructor -

- -
- - AuthenticityCheck() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/elements.html b/docs/document_reader/AuthenticityCheck/elements.html deleted file mode 100644 index acc685d51d..0000000000 --- a/docs/document_reader/AuthenticityCheck/elements.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - elements property - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elements
- -
- -
-
-
- -
-
-

elements property -

- - - -
- -
- - List<AuthenticityElement> - elements - - -
- - - - -
-

Implementation

-
List<AuthenticityElement> get elements => _elements;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/fromJson.html b/docs/document_reader/AuthenticityCheck/fromJson.html deleted file mode 100644 index b04e3ef887..0000000000 --- a/docs/document_reader/AuthenticityCheck/fromJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - fromJson method - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -AuthenticityCheck? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static AuthenticityCheck? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = AuthenticityCheck();
-
-  result._type = Authenticity.getByValue(jsonObject["type"])!;
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-  result._typeName = jsonObject["typeName"];
-  result._pageIndex = jsonObject["pageIndex"];
-  for (var item in jsonObject["elements"])
-    result.elements.addSafe(AuthenticityElement.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/pageIndex.html b/docs/document_reader/AuthenticityCheck/pageIndex.html deleted file mode 100644 index 12d63546b2..0000000000 --- a/docs/document_reader/AuthenticityCheck/pageIndex.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - pageIndex property - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - - - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/status.html b/docs/document_reader/AuthenticityCheck/status.html deleted file mode 100644 index 7214a3c06b..0000000000 --- a/docs/document_reader/AuthenticityCheck/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

Indicates verification result.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/toJson.html b/docs/document_reader/AuthenticityCheck/toJson.html deleted file mode 100644 index 4f7b8e7669..0000000000 --- a/docs/document_reader/AuthenticityCheck/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "type": type.value,
-      "status": status.value,
-      "pageIndex": pageIndex,
-      "typeName": typeName,
-      "elements": elements.map((e) => e.toJson()).toList()
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/type.html b/docs/document_reader/AuthenticityCheck/type.html deleted file mode 100644 index befedf61e4..0000000000 --- a/docs/document_reader/AuthenticityCheck/type.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - type property - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - Authenticity - type - - -
- - -
-

Indicates verification type result.

-
- - -
-

Implementation

-
Authenticity get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityCheck/typeName.html b/docs/document_reader/AuthenticityCheck/typeName.html deleted file mode 100644 index f9110f487b..0000000000 --- a/docs/document_reader/AuthenticityCheck/typeName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - typeName property - AuthenticityCheck class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
typeName
- -
- -
-
-
- -
-
-

typeName property -

- - - -
- -
- - String - typeName - - -
- - - - -
-

Implementation

-
String get typeName => _typeName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement-class-sidebar.html b/docs/document_reader/AuthenticityElement-class-sidebar.html deleted file mode 100644 index afe473e36a..0000000000 --- a/docs/document_reader/AuthenticityElement-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. AuthenticityElement
  4. - - -
  5. - Properties -
  6. -
  7. elementDiagnose
  8. -
  9. elementDiagnoseName
  10. -
  11. elementType
  12. -
  13. elementTypeName
  14. -
  15. hashCode
  16. -
  17. runtimeType
  18. -
  19. status
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/AuthenticityElement-class.html b/docs/document_reader/AuthenticityElement-class.html deleted file mode 100644 index 280ac229fb..0000000000 --- a/docs/document_reader/AuthenticityElement-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityElement
- -
- -
-
-
- -
-
-

AuthenticityElement class - -

- - - - - - -
-

Constructors

- -
-
- AuthenticityElement() -
-
- -
-
-
- -
-

Properties

- -
-
- elementDiagnose - CheckDiagnose - -
-
- Indicates element diagnose. -
no setter
- -
- -
- elementDiagnoseName - String - -
-
- -
no setter
- -
- -
- elementType - SecurityFeatureType - -
-
- Indicates element type. -
no setter
- -
- -
- elementTypeName - String - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - CheckResult - -
-
- Indicates verification result of the field. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - AuthenticityElement? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/AuthenticityElement.html b/docs/document_reader/AuthenticityElement/AuthenticityElement.html deleted file mode 100644 index df6cea1924..0000000000 --- a/docs/document_reader/AuthenticityElement/AuthenticityElement.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - AuthenticityElement constructor - AuthenticityElement - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityElement
- -
- -
-
-
- -
-
-

AuthenticityElement constructor -

- -
- - AuthenticityElement() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/elementDiagnose.html b/docs/document_reader/AuthenticityElement/elementDiagnose.html deleted file mode 100644 index bed516d0ca..0000000000 --- a/docs/document_reader/AuthenticityElement/elementDiagnose.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - elementDiagnose property - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elementDiagnose
- -
- -
-
-
- -
-
-

elementDiagnose property -

- - - -
- -
- - CheckDiagnose - elementDiagnose - - -
- - -
-

Indicates element diagnose.

-
- - -
-

Implementation

-
CheckDiagnose get elementDiagnose => _elementDiagnose;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/elementDiagnoseName.html b/docs/document_reader/AuthenticityElement/elementDiagnoseName.html deleted file mode 100644 index f4993282d0..0000000000 --- a/docs/document_reader/AuthenticityElement/elementDiagnoseName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - elementDiagnoseName property - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elementDiagnoseName
- -
- -
-
-
- -
-
-

elementDiagnoseName property -

- - - -
- -
- - String - elementDiagnoseName - - -
- - - - -
-

Implementation

-
String get elementDiagnoseName => _elementDiagnoseName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/elementType.html b/docs/document_reader/AuthenticityElement/elementType.html deleted file mode 100644 index 76af3f54f7..0000000000 --- a/docs/document_reader/AuthenticityElement/elementType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - elementType property - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elementType
- -
- -
-
-
- -
-
-

elementType property -

- - - -
- -
- - SecurityFeatureType - elementType - - -
- - -
-

Indicates element type.

-
- - -
-

Implementation

-
SecurityFeatureType get elementType => _elementType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/elementTypeName.html b/docs/document_reader/AuthenticityElement/elementTypeName.html deleted file mode 100644 index 385bcfc6b5..0000000000 --- a/docs/document_reader/AuthenticityElement/elementTypeName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - elementTypeName property - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elementTypeName
- -
- -
-
-
- -
-
-

elementTypeName property -

- - - -
- -
- - String - elementTypeName - - -
- - - - -
-

Implementation

-
String get elementTypeName => _elementTypeName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/fromJson.html b/docs/document_reader/AuthenticityElement/fromJson.html deleted file mode 100644 index cfedd7095a..0000000000 --- a/docs/document_reader/AuthenticityElement/fromJson.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - fromJson method - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -AuthenticityElement? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static AuthenticityElement? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = AuthenticityElement();
-
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-  result._elementType =
-      SecurityFeatureType.getByValue(jsonObject["elementType"])!;
-  result._elementDiagnose =
-      CheckDiagnose.getByValue(jsonObject["elementDiagnose"])!;
-  result._elementTypeName = jsonObject["elementTypeName"];
-  result._elementDiagnoseName = jsonObject["elementDiagnoseName"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/status.html b/docs/document_reader/AuthenticityElement/status.html deleted file mode 100644 index 270642e8e2..0000000000 --- a/docs/document_reader/AuthenticityElement/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

Indicates verification result of the field.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityElement/toJson.html b/docs/document_reader/AuthenticityElement/toJson.html deleted file mode 100644 index 05eb8cdde7..0000000000 --- a/docs/document_reader/AuthenticityElement/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - AuthenticityElement class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "status": status.value,
-      "elementType": elementType.value,
-      "elementDiagnose": elementDiagnose.value,
-      "elementTypeName": elementTypeName,
-      "elementDiagnoseName": elementDiagnoseName,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams-class-sidebar.html b/docs/document_reader/AuthenticityParams-class-sidebar.html deleted file mode 100644 index 3497938c65..0000000000 --- a/docs/document_reader/AuthenticityParams-class-sidebar.html +++ /dev/null @@ -1,42 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. AuthenticityParams
  4. - - -
  5. - Properties -
  6. -
  7. checkAxial
  8. -
  9. checkBarcodeFormat
  10. -
  11. checkExtMRZ
  12. -
  13. checkExtOCR
  14. -
  15. checkFibers
  16. -
  17. checkImagePatterns
  18. -
  19. checkIPI
  20. -
  21. checkIRB900
  22. -
  23. checkIRVisibility
  24. -
  25. checkLetterScreen
  26. -
  27. checkPhotoComparison
  28. -
  29. checkPhotoEmbedding
  30. -
  31. checkUVLuminiscence
  32. -
  33. hashCode
  34. -
  35. livenessParams
  36. -
  37. runtimeType
  38. -
  39. testSetters
  40. -
  41. useLivenessCheck
  42. - -
  43. Methods
  44. -
  45. noSuchMethod
  46. -
  47. toJson
  48. -
  49. toString
  50. - -
  51. Operators
  52. -
  53. operator ==
  54. - - - -
  55. Static methods
  56. -
  57. fromJson
  58. - -
diff --git a/docs/document_reader/AuthenticityParams-class.html b/docs/document_reader/AuthenticityParams-class.html deleted file mode 100644 index 99149a0286..0000000000 --- a/docs/document_reader/AuthenticityParams-class.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityParams
- -
- -
-
-
- -
-
-

AuthenticityParams class - -

- - - - - - -
-

Constructors

- -
-
- AuthenticityParams() -
-
- -
-
-
- -
-

Properties

- -
-
- checkAxial - bool? - -
-
- -
getter/setter pair
- -
- -
- checkBarcodeFormat - bool? - -
-
- -
getter/setter pair
- -
- -
- checkExtMRZ - bool? - -
-
- -
getter/setter pair
- -
- -
- checkExtOCR - bool? - -
-
- -
getter/setter pair
- -
- -
- checkFibers - bool? - -
-
- -
getter/setter pair
- -
- -
- checkImagePatterns - bool? - -
-
- -
getter/setter pair
- -
- -
- checkIPI - bool? - -
-
- -
getter/setter pair
- -
- -
- checkIRB900 - bool? - -
-
- -
getter/setter pair
- -
- -
- checkIRVisibility - bool? - -
-
- -
getter/setter pair
- -
- -
- checkLetterScreen - bool? - -
-
- -
getter/setter pair
- -
- -
- checkPhotoComparison - bool? - -
-
- -
getter/setter pair
- -
- -
- checkPhotoEmbedding - bool? - -
-
- -
getter/setter pair
- -
- -
- checkUVLuminiscence - bool? - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- livenessParams - LivenessParams - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
- useLivenessCheck - bool? - -
-
- This parameter is used to enable document liveness check. -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - AuthenticityParams - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/AuthenticityParams.html b/docs/document_reader/AuthenticityParams/AuthenticityParams.html deleted file mode 100644 index d1b7f7d8c6..0000000000 --- a/docs/document_reader/AuthenticityParams/AuthenticityParams.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - AuthenticityParams constructor - AuthenticityParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityParams
- -
- -
-
-
- -
-
-

AuthenticityParams constructor -

- -
- - AuthenticityParams() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkAxial.html b/docs/document_reader/AuthenticityParams/checkAxial.html deleted file mode 100644 index 09dcd8d731..0000000000 --- a/docs/document_reader/AuthenticityParams/checkAxial.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkAxial property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkAxial
- -
- -
-
-
- -
-
-

checkAxial property -

- - - -
- -
- - bool? - checkAxial - - -
- - - - -
-

Implementation

-
bool? get checkAxial => _checkAxial;
-
- -
- - - -
- -
- - void - checkAxial=(bool? val) - - -
- - - - -
-

Implementation

-
set checkAxial(bool? val) {
-  _checkAxial = val;
-  _set({"checkAxial": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkBarcodeFormat.html b/docs/document_reader/AuthenticityParams/checkBarcodeFormat.html deleted file mode 100644 index 1c80315761..0000000000 --- a/docs/document_reader/AuthenticityParams/checkBarcodeFormat.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkBarcodeFormat property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkBarcodeFormat
- -
- -
-
-
- -
-
-

checkBarcodeFormat property -

- - - -
- -
- - bool? - checkBarcodeFormat - - -
- - - - -
-

Implementation

-
bool? get checkBarcodeFormat => _checkBarcodeFormat;
-
- -
- - - -
- -
- - void - checkBarcodeFormat=(bool? val) - - -
- - - - -
-

Implementation

-
set checkBarcodeFormat(bool? val) {
-  _checkBarcodeFormat = val;
-  _set({"checkBarcodeFormat": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkExtMRZ.html b/docs/document_reader/AuthenticityParams/checkExtMRZ.html deleted file mode 100644 index e665d1bdf9..0000000000 --- a/docs/document_reader/AuthenticityParams/checkExtMRZ.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkExtMRZ property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkExtMRZ
- -
- -
-
-
- -
-
-

checkExtMRZ property -

- - - -
- -
- - bool? - checkExtMRZ - - -
- - - - -
-

Implementation

-
bool? get checkExtMRZ => _checkExtMRZ;
-
- -
- - - -
- -
- - void - checkExtMRZ=(bool? val) - - -
- - - - -
-

Implementation

-
set checkExtMRZ(bool? val) {
-  _checkExtMRZ = val;
-  _set({"checkExtMRZ": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkExtOCR.html b/docs/document_reader/AuthenticityParams/checkExtOCR.html deleted file mode 100644 index 111d20b032..0000000000 --- a/docs/document_reader/AuthenticityParams/checkExtOCR.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkExtOCR property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkExtOCR
- -
- -
-
-
- -
-
-

checkExtOCR property -

- - - -
- -
- - bool? - checkExtOCR - - -
- - - - -
-

Implementation

-
bool? get checkExtOCR => _checkExtOCR;
-
- -
- - - -
- -
- - void - checkExtOCR=(bool? val) - - -
- - - - -
-

Implementation

-
set checkExtOCR(bool? val) {
-  _checkExtOCR = val;
-  _set({"checkExtOCR": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkFibers.html b/docs/document_reader/AuthenticityParams/checkFibers.html deleted file mode 100644 index 15e94f8263..0000000000 --- a/docs/document_reader/AuthenticityParams/checkFibers.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkFibers property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkFibers
- -
- -
-
-
- -
-
-

checkFibers property -

- - - -
- -
- - bool? - checkFibers - - -
- - - - -
-

Implementation

-
bool? get checkFibers => _checkFibers;
-
- -
- - - -
- -
- - void - checkFibers=(bool? val) - - -
- - - - -
-

Implementation

-
set checkFibers(bool? val) {
-  _checkFibers = val;
-  _set({"checkFibers": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkIPI.html b/docs/document_reader/AuthenticityParams/checkIPI.html deleted file mode 100644 index 1b37089812..0000000000 --- a/docs/document_reader/AuthenticityParams/checkIPI.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkIPI property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkIPI
- -
- -
-
-
- -
-
-

checkIPI property -

- - - -
- -
- - bool? - checkIPI - - -
- - - - -
-

Implementation

-
bool? get checkIPI => _checkIPI;
-
- -
- - - -
- -
- - void - checkIPI=(bool? val) - - -
- - - - -
-

Implementation

-
set checkIPI(bool? val) {
-  _checkIPI = val;
-  _set({"checkIPI": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkIRB900.html b/docs/document_reader/AuthenticityParams/checkIRB900.html deleted file mode 100644 index 2d7697ba08..0000000000 --- a/docs/document_reader/AuthenticityParams/checkIRB900.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkIRB900 property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkIRB900
- -
- -
-
-
- -
-
-

checkIRB900 property -

- - - -
- -
- - bool? - checkIRB900 - - -
- - - - -
-

Implementation

-
bool? get checkIRB900 => _checkIRB900;
-
- -
- - - -
- -
- - void - checkIRB900=(bool? val) - - -
- - - - -
-

Implementation

-
set checkIRB900(bool? val) {
-  _checkIRB900 = val;
-  _set({"checkIRB900": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkIRVisibility.html b/docs/document_reader/AuthenticityParams/checkIRVisibility.html deleted file mode 100644 index a32cb0497a..0000000000 --- a/docs/document_reader/AuthenticityParams/checkIRVisibility.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkIRVisibility property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkIRVisibility
- -
- -
-
-
- -
-
-

checkIRVisibility property -

- - - -
- -
- - bool? - checkIRVisibility - - -
- - - - -
-

Implementation

-
bool? get checkIRVisibility => _checkIRVisibility;
-
- -
- - - -
- -
- - void - checkIRVisibility=(bool? val) - - -
- - - - -
-

Implementation

-
set checkIRVisibility(bool? val) {
-  _checkIRVisibility = val;
-  _set({"checkIRVisibility": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkImagePatterns.html b/docs/document_reader/AuthenticityParams/checkImagePatterns.html deleted file mode 100644 index aba32bfff3..0000000000 --- a/docs/document_reader/AuthenticityParams/checkImagePatterns.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkImagePatterns property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkImagePatterns
- -
- -
-
-
- -
-
-

checkImagePatterns property -

- - - -
- -
- - bool? - checkImagePatterns - - -
- - - - -
-

Implementation

-
bool? get checkImagePatterns => _checkImagePatterns;
-
- -
- - - -
- -
- - void - checkImagePatterns=(bool? val) - - -
- - - - -
-

Implementation

-
set checkImagePatterns(bool? val) {
-  _checkImagePatterns = val;
-  _set({"checkImagePatterns": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkLetterScreen.html b/docs/document_reader/AuthenticityParams/checkLetterScreen.html deleted file mode 100644 index 6af74c535f..0000000000 --- a/docs/document_reader/AuthenticityParams/checkLetterScreen.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkLetterScreen property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkLetterScreen
- -
- -
-
-
- -
-
-

checkLetterScreen property -

- - - -
- -
- - bool? - checkLetterScreen - - -
- - - - -
-

Implementation

-
bool? get checkLetterScreen => _checkLetterScreen;
-
- -
- - - -
- -
- - void - checkLetterScreen=(bool? val) - - -
- - - - -
-

Implementation

-
set checkLetterScreen(bool? val) {
-  _checkLetterScreen = val;
-  _set({"checkLetterScreen": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkPhotoComparison.html b/docs/document_reader/AuthenticityParams/checkPhotoComparison.html deleted file mode 100644 index 516373a1e7..0000000000 --- a/docs/document_reader/AuthenticityParams/checkPhotoComparison.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkPhotoComparison property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkPhotoComparison
- -
- -
-
-
- -
-
-

checkPhotoComparison property -

- - - -
- -
- - bool? - checkPhotoComparison - - -
- - - - -
-

Implementation

-
bool? get checkPhotoComparison => _checkPhotoComparison;
-
- -
- - - -
- -
- - void - checkPhotoComparison=(bool? val) - - -
- - - - -
-

Implementation

-
set checkPhotoComparison(bool? val) {
-  _checkPhotoComparison = val;
-  _set({"checkPhotoComparison": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkPhotoEmbedding.html b/docs/document_reader/AuthenticityParams/checkPhotoEmbedding.html deleted file mode 100644 index ef1cb514c2..0000000000 --- a/docs/document_reader/AuthenticityParams/checkPhotoEmbedding.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkPhotoEmbedding property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkPhotoEmbedding
- -
- -
-
-
- -
-
-

checkPhotoEmbedding property -

- - - -
- -
- - bool? - checkPhotoEmbedding - - -
- - - - -
-

Implementation

-
bool? get checkPhotoEmbedding => _checkPhotoEmbedding;
-
- -
- - - -
- -
- - void - checkPhotoEmbedding=(bool? val) - - -
- - - - -
-

Implementation

-
set checkPhotoEmbedding(bool? val) {
-  _checkPhotoEmbedding = val;
-  _set({"checkPhotoEmbedding": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/checkUVLuminiscence.html b/docs/document_reader/AuthenticityParams/checkUVLuminiscence.html deleted file mode 100644 index dddabceb5f..0000000000 --- a/docs/document_reader/AuthenticityParams/checkUVLuminiscence.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkUVLuminiscence property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkUVLuminiscence
- -
- -
-
-
- -
-
-

checkUVLuminiscence property -

- - - -
- -
- - bool? - checkUVLuminiscence - - -
- - - - -
-

Implementation

-
bool? get checkUVLuminiscence => _checkUVLuminiscence;
-
- -
- - - -
- -
- - void - checkUVLuminiscence=(bool? val) - - -
- - - - -
-

Implementation

-
set checkUVLuminiscence(bool? val) {
-  _checkUVLuminiscence = val;
-  _set({"checkUVLuminiscence": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/fromJson.html b/docs/document_reader/AuthenticityParams/fromJson.html deleted file mode 100644 index dba87e53f8..0000000000 --- a/docs/document_reader/AuthenticityParams/fromJson.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - fromJson method - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -AuthenticityParams -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static AuthenticityParams fromJson(jsonObject) {
-  if (jsonObject == null) return AuthenticityParams();
-  var result = AuthenticityParams();
-  result.testSetters = {};
-
-  result.useLivenessCheck = jsonObject["useLivenessCheck"];
-  result.livenessParams =
-      LivenessParams.fromJson(jsonObject["livenessParams"]);
-  result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"];
-  result.checkIRB900 = jsonObject["checkIRB900"];
-  result.checkImagePatterns = jsonObject["checkImagePatterns"];
-  result.checkFibers = jsonObject["checkFibers"];
-  result.checkExtMRZ = jsonObject["checkExtMRZ"];
-  result.checkExtOCR = jsonObject["checkExtOCR"];
-  result.checkAxial = jsonObject["checkAxial"];
-  result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"];
-  result.checkIRVisibility = jsonObject["checkIRVisibility"];
-  result.checkIPI = jsonObject["checkIPI"];
-  result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"];
-  result.checkPhotoComparison = jsonObject["checkPhotoComparison"];
-  result.checkLetterScreen = jsonObject["checkLetterScreen"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/livenessParams.html b/docs/document_reader/AuthenticityParams/livenessParams.html deleted file mode 100644 index fa4d18ef09..0000000000 --- a/docs/document_reader/AuthenticityParams/livenessParams.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - livenessParams property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livenessParams
- -
- -
-
-
- -
-
-

livenessParams property -

- - - -
- -
- - LivenessParams - livenessParams - - -
- - - - -
-

Implementation

-
LivenessParams get livenessParams => _livenessParams;
-
- -
- - - -
- -
- - void - livenessParams=(LivenessParams val) - - -
- - - - -
-

Implementation

-
set livenessParams(LivenessParams val) {
-  (_livenessParams = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/testSetters.html b/docs/document_reader/AuthenticityParams/testSetters.html deleted file mode 100644 index 5c7ffc1aa1..0000000000 --- a/docs/document_reader/AuthenticityParams/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/toJson.html b/docs/document_reader/AuthenticityParams/toJson.html deleted file mode 100644 index 171f0c94a1..0000000000 --- a/docs/document_reader/AuthenticityParams/toJson.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - toJson method - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "useLivenessCheck": useLivenessCheck,
-      "livenessParams": livenessParams.toJson(),
-      "checkUVLuminiscence": checkUVLuminiscence,
-      "checkIRB900": checkIRB900,
-      "checkImagePatterns": checkImagePatterns,
-      "checkFibers": checkFibers,
-      "checkExtMRZ": checkExtMRZ,
-      "checkExtOCR": checkExtOCR,
-      "checkAxial": checkAxial,
-      "checkBarcodeFormat": checkBarcodeFormat,
-      "checkIRVisibility": checkIRVisibility,
-      "checkIPI": checkIPI,
-      "checkPhotoEmbedding": checkPhotoEmbedding,
-      "checkPhotoComparison": checkPhotoComparison,
-      "checkLetterScreen": checkLetterScreen,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityParams/useLivenessCheck.html b/docs/document_reader/AuthenticityParams/useLivenessCheck.html deleted file mode 100644 index 6c7d795fdc..0000000000 --- a/docs/document_reader/AuthenticityParams/useLivenessCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - useLivenessCheck property - AuthenticityParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
useLivenessCheck
- -
- -
-
-
- -
-
-

useLivenessCheck property -

- - - -
- -
- - bool? - useLivenessCheck - - -
- - -
-

This parameter is used to enable document liveness check.

-
- - -
-

Implementation

-
bool? get useLivenessCheck => _useLivenessCheck;
-
- -
- - - -
- -
- - void - useLivenessCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set useLivenessCheck(bool? val) {
-  _useLivenessCheck = val;
-  _set({"useLivenessCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult-class-sidebar.html b/docs/document_reader/AuthenticityResult-class-sidebar.html deleted file mode 100644 index 8e591138d8..0000000000 --- a/docs/document_reader/AuthenticityResult-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. AuthenticityResult
  4. - - -
  5. - Properties -
  6. -
  7. checks
  8. -
  9. hashCode
  10. -
  11. runtimeType
  12. -
  13. status
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/AuthenticityResult-class.html b/docs/document_reader/AuthenticityResult-class.html deleted file mode 100644 index c2e9339ed4..0000000000 --- a/docs/document_reader/AuthenticityResult-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - AuthenticityResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityResult
- -
- -
-
-
- -
-
-

AuthenticityResult class - -

- - - - - - -
-

Constructors

- -
-
- AuthenticityResult() -
-
- -
-
-
- -
-

Properties

- -
-
- checks - List<AuthenticityCheck> - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - CheckResult - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - AuthenticityResult? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult/AuthenticityResult.html b/docs/document_reader/AuthenticityResult/AuthenticityResult.html deleted file mode 100644 index 200416ad27..0000000000 --- a/docs/document_reader/AuthenticityResult/AuthenticityResult.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - AuthenticityResult constructor - AuthenticityResult - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
AuthenticityResult
- -
- -
-
-
- -
-
-

AuthenticityResult constructor -

- -
- - AuthenticityResult() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult/checks.html b/docs/document_reader/AuthenticityResult/checks.html deleted file mode 100644 index 46025845ee..0000000000 --- a/docs/document_reader/AuthenticityResult/checks.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - checks property - AuthenticityResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checks
- -
- -
-
-
- -
-
-

checks property -

- - - -
- -
- - List<AuthenticityCheck> - checks - - -
- - - - -
-

Implementation

-
List<AuthenticityCheck> get checks => _checks;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult/fromJson.html b/docs/document_reader/AuthenticityResult/fromJson.html deleted file mode 100644 index 254ba357f3..0000000000 --- a/docs/document_reader/AuthenticityResult/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - AuthenticityResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -AuthenticityResult? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static AuthenticityResult? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = AuthenticityResult();
-
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-  for (var item in jsonObject["checks"])
-    result._checks.addSafe(AuthenticityCheck.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult/status.html b/docs/document_reader/AuthenticityResult/status.html deleted file mode 100644 index b43c895ae0..0000000000 --- a/docs/document_reader/AuthenticityResult/status.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - status property - AuthenticityResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - - - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/AuthenticityResult/toJson.html b/docs/document_reader/AuthenticityResult/toJson.html deleted file mode 100644 index b1d3e111fb..0000000000 --- a/docs/document_reader/AuthenticityResult/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - AuthenticityResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "status": status.value,
-      "checks": checks.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority-class-sidebar.html b/docs/document_reader/Authority-class-sidebar.html deleted file mode 100644 index 5b94c1c072..0000000000 --- a/docs/document_reader/Authority-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Authority
  4. - - -
  5. - Properties -
  6. -
  7. attributes
  8. -
  9. data
  10. -
  11. friendlyName
  12. -
  13. hashCode
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/Authority-class.html b/docs/document_reader/Authority-class.html deleted file mode 100644 index b8b62483df..0000000000 --- a/docs/document_reader/Authority-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Authority
- -
- -
-
-
- -
-
-

Authority class - -

- - - - - - -
-

Constructors

- -
-
- Authority() -
-
- -
-
-
- -
-

Properties

- -
-
- attributes - List<Attribute> - -
-
- -
no setter
- -
- -
- data - String? - -
-
- -
no setter
- -
- -
- friendlyName - RFIDValue? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Authority? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/Authority.html b/docs/document_reader/Authority/Authority.html deleted file mode 100644 index da1228ed5a..0000000000 --- a/docs/document_reader/Authority/Authority.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Authority constructor - Authority - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Authority
- -
- -
-
-
- -
-
-

Authority constructor -

- -
- - Authority() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/attributes.html b/docs/document_reader/Authority/attributes.html deleted file mode 100644 index c54e13efc0..0000000000 --- a/docs/document_reader/Authority/attributes.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - attributes property - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
attributes
- -
- -
-
-
- -
-
-

attributes property -

- - - -
- -
- - List<Attribute> - attributes - - -
- - - - -
-

Implementation

-
List<Attribute> get attributes => _attributes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/data.html b/docs/document_reader/Authority/data.html deleted file mode 100644 index 9a88412d71..0000000000 --- a/docs/document_reader/Authority/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String? - data - - -
- - - - -
-

Implementation

-
String? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/friendlyName.html b/docs/document_reader/Authority/friendlyName.html deleted file mode 100644 index 4bd1997de0..0000000000 --- a/docs/document_reader/Authority/friendlyName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - friendlyName property - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
friendlyName
- -
- -
-
-
- -
-
-

friendlyName property -

- - - -
- -
- - RFIDValue? - friendlyName - - -
- - - - -
-

Implementation

-
RFIDValue? get friendlyName => _friendlyName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/fromJson.html b/docs/document_reader/Authority/fromJson.html deleted file mode 100644 index 7c107f7988..0000000000 --- a/docs/document_reader/Authority/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Authority? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Authority? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Authority();
-
-  result._data = jsonObject["data"];
-  result._friendlyName = RFIDValue.fromJson(jsonObject["friendlyName"]);
-  for (var item in jsonObject["attributes"])
-    result._attributes.addSafe(Attribute.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Authority/toJson.html b/docs/document_reader/Authority/toJson.html deleted file mode 100644 index 3bc7bc13dc..0000000000 --- a/docs/document_reader/Authority/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - Authority class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "attributes": attributes.map((e) => e.toJson()).toList(),
-      "data": data,
-      "friendlyName": friendlyName?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig-class-sidebar.html b/docs/document_reader/BackendProcessingConfig-class-sidebar.html deleted file mode 100644 index c9ebe77f8e..0000000000 --- a/docs/document_reader/BackendProcessingConfig-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BackendProcessingConfig
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. httpHeaders
  10. -
  11. rfidServerSideChipVerification
  12. -
  13. runtimeType
  14. -
  15. url
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/BackendProcessingConfig-class.html b/docs/document_reader/BackendProcessingConfig-class.html deleted file mode 100644 index d5def1a16c..0000000000 --- a/docs/document_reader/BackendProcessingConfig-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BackendProcessingConfig
- -
- -
-
-
- -
-
-

BackendProcessingConfig class - -

- - - - - - -
-

Constructors

- -
-
- BackendProcessingConfig(String url, {bool? rfidServerSideChipVerification, Map<String, String>? httpHeaders}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- httpHeaders - Map<String, String>? - -
-
- -
no setter
- -
- -
- rfidServerSideChipVerification - bool? - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- url - String - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - BackendProcessingConfig? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/BackendProcessingConfig.html b/docs/document_reader/BackendProcessingConfig/BackendProcessingConfig.html deleted file mode 100644 index 02c2bb40ff..0000000000 --- a/docs/document_reader/BackendProcessingConfig/BackendProcessingConfig.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - BackendProcessingConfig constructor - BackendProcessingConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BackendProcessingConfig
- -
- -
-
-
- -
-
-

BackendProcessingConfig constructor -

- -
- - BackendProcessingConfig(
  1. String url,
  2. -
  3. {bool? rfidServerSideChipVerification,
  4. -
  5. Map<String, String>? httpHeaders}
  6. -
) -
- - - - - -
-

Implementation

-
BackendProcessingConfig
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/fromJson.html b/docs/document_reader/BackendProcessingConfig/fromJson.html deleted file mode 100644 index 3449346cfe..0000000000 --- a/docs/document_reader/BackendProcessingConfig/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -BackendProcessingConfig? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static BackendProcessingConfig? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = BackendProcessingConfig(jsonObject["url"]);
-
-  result._rfidServerSideChipVerification =
-      jsonObject["rfidServerSideChipVerification"];
-  if (jsonObject["httpHeaders"] != null)
-    result._httpHeaders = Map<String, String>.from(jsonObject["httpHeaders"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/httpHeaders.html b/docs/document_reader/BackendProcessingConfig/httpHeaders.html deleted file mode 100644 index 12910a7a82..0000000000 --- a/docs/document_reader/BackendProcessingConfig/httpHeaders.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - httpHeaders property - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
httpHeaders
- -
- -
-
-
- -
-
-

httpHeaders property -

- - - -
- -
- - Map<String, String>? - httpHeaders - - -
- - - - -
-

Implementation

-
Map<String, String>? get httpHeaders => _httpHeaders;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/rfidServerSideChipVerification.html b/docs/document_reader/BackendProcessingConfig/rfidServerSideChipVerification.html deleted file mode 100644 index 87c79cd564..0000000000 --- a/docs/document_reader/BackendProcessingConfig/rfidServerSideChipVerification.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - rfidServerSideChipVerification property - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidServerSideChipVerification
- -
- -
-
-
- -
-
-

rfidServerSideChipVerification property -

- - - -
- -
- - bool? - rfidServerSideChipVerification - - -
- - - - -
-

Implementation

-
bool? get rfidServerSideChipVerification => _rfidServerSideChipVerification;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/toJson.html b/docs/document_reader/BackendProcessingConfig/toJson.html deleted file mode 100644 index adc9581d51..0000000000 --- a/docs/document_reader/BackendProcessingConfig/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "url": url,
-      "rfidServerSideChipVerification": rfidServerSideChipVerification,
-      "httpHeaders": httpHeaders
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BackendProcessingConfig/url.html b/docs/document_reader/BackendProcessingConfig/url.html deleted file mode 100644 index 6fa18e7830..0000000000 --- a/docs/document_reader/BackendProcessingConfig/url.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - url property - BackendProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
url
- -
- -
-
-
- -
-
-

url property -

- - - -
- -
- - String - url - - -
- - - - -
-

Implementation

-
String get url => _url;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField-class-sidebar.html b/docs/document_reader/BarcodeField-class-sidebar.html deleted file mode 100644 index 20458f57a2..0000000000 --- a/docs/document_reader/BarcodeField-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BarcodeField
  4. - - -
  5. - Properties -
  6. -
  7. barcodeType
  8. -
  9. data
  10. -
  11. hashCode
  12. -
  13. pageIndex
  14. -
  15. pdf417Info
  16. -
  17. runtimeType
  18. -
  19. status
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/BarcodeField-class.html b/docs/document_reader/BarcodeField-class.html deleted file mode 100644 index c43aefd1cf..0000000000 --- a/docs/document_reader/BarcodeField-class.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - - - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeField
- -
- -
-
-
- -
-
-

BarcodeField class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- BarcodeField() -
-
- -
-
-
- -
-

Properties

- -
-
- barcodeType - BarcodeType - -
-
- Decoded barcode type. -
no setter
- -
- -
- data - → dynamic - -
-
- Results of reading data from barcode modules. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- pageIndex - int - -
-
- Indicates an index of the document page, whence the result is received. -
no setter
- -
- -
- pdf417Info - PDF417Info? - -
-
- Contains the information about the PDF417 barcode. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - BarcodeStatus - -
-
- Indicates barcode reading result. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - BarcodeField? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/BarcodeField.html b/docs/document_reader/BarcodeField/BarcodeField.html deleted file mode 100644 index 0d3451d780..0000000000 --- a/docs/document_reader/BarcodeField/BarcodeField.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - BarcodeField constructor - BarcodeField - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeField
- -
- -
-
-
- -
-
-

BarcodeField constructor -

- -
- - BarcodeField() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/barcodeType.html b/docs/document_reader/BarcodeField/barcodeType.html deleted file mode 100644 index 8ebec210b5..0000000000 --- a/docs/document_reader/BarcodeField/barcodeType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - barcodeType property - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
barcodeType
- -
- -
-
-
- -
-
-

barcodeType property -

- - - -
- -
- - BarcodeType - barcodeType - - -
- - -
-

Decoded barcode type.

-
- - -
-

Implementation

-
BarcodeType get barcodeType => _barcodeType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/data.html b/docs/document_reader/BarcodeField/data.html deleted file mode 100644 index d4dde1cca0..0000000000 --- a/docs/document_reader/BarcodeField/data.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - data property - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - dynamic - data - - -
- - -
-

Results of reading data from barcode modules.

-
- - -
-

Implementation

-
Uint8List? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/fromJson.html b/docs/document_reader/BarcodeField/fromJson.html deleted file mode 100644 index 65c1d8144d..0000000000 --- a/docs/document_reader/BarcodeField/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -BarcodeField? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static BarcodeField? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = BarcodeField();
-
-  result._barcodeType = BarcodeType.getByValue(jsonObject["barcodeType"])!;
-  result._status = BarcodeStatus.getByValue(jsonObject["status"])!;
-  result._pageIndex = jsonObject["pageIndex"];
-  result._pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"]);
-  result._data = _bytesFromBase64(jsonObject["data"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/pageIndex.html b/docs/document_reader/BarcodeField/pageIndex.html deleted file mode 100644 index e353ffaffa..0000000000 --- a/docs/document_reader/BarcodeField/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

Indicates an index of the document page, whence the result is received.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/pdf417Info.html b/docs/document_reader/BarcodeField/pdf417Info.html deleted file mode 100644 index 033636c627..0000000000 --- a/docs/document_reader/BarcodeField/pdf417Info.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pdf417Info property - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pdf417Info
- -
- -
-
-
- -
-
-

pdf417Info property -

- - - -
- -
- - PDF417Info? - pdf417Info - - -
- - -
-

Contains the information about the PDF417 barcode.

-
- - -
-

Implementation

-
PDF417Info? get pdf417Info => _pdf417Info;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/status.html b/docs/document_reader/BarcodeField/status.html deleted file mode 100644 index 9eeaaadd91..0000000000 --- a/docs/document_reader/BarcodeField/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - BarcodeStatus - status - - -
- - -
-

Indicates barcode reading result.

-
- - -
-

Implementation

-
BarcodeStatus get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeField/toJson.html b/docs/document_reader/BarcodeField/toJson.html deleted file mode 100644 index fabf779123..0000000000 --- a/docs/document_reader/BarcodeField/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - BarcodeField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "barcodeType": barcodeType.value,
-      "status": status.value,
-      "pdf417Info": pdf417Info?.toJson(),
-      "data": _bytesToBase64(data),
-      "pageIndex": pageIndex,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeResult-class-sidebar.html b/docs/document_reader/BarcodeResult-class-sidebar.html deleted file mode 100644 index 1de79cb58f..0000000000 --- a/docs/document_reader/BarcodeResult-class-sidebar.html +++ /dev/null @@ -1,27 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BarcodeResult
  4. - - -
  5. - Properties -
  6. -
  7. fields
  8. -
  9. hashCode
  10. -
  11. runtimeType
  12. - -
  13. Methods
  14. -
  15. noSuchMethod
  16. -
  17. toJson
  18. -
  19. toString
  20. - -
  21. Operators
  22. -
  23. operator ==
  24. - - - -
  25. Static methods
  26. -
  27. fromJson
  28. - -
diff --git a/docs/document_reader/BarcodeResult-class.html b/docs/document_reader/BarcodeResult-class.html deleted file mode 100644 index 82ae30b4eb..0000000000 --- a/docs/document_reader/BarcodeResult-class.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - - BarcodeResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeResult
- -
- -
-
-
- -
-
-

BarcodeResult class - -

- - -
-

Structure, describing single barcode extracted.

-
- - - - -
-

Constructors

- -
-
- BarcodeResult() -
-
- -
-
-
- -
-

Properties

- -
-
- fields - List<BarcodeField> - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - BarcodeResult? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeResult/BarcodeResult.html b/docs/document_reader/BarcodeResult/BarcodeResult.html deleted file mode 100644 index bd28e528dc..0000000000 --- a/docs/document_reader/BarcodeResult/BarcodeResult.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - BarcodeResult constructor - BarcodeResult - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeResult
- -
- -
-
-
- -
-
-

BarcodeResult constructor -

- -
- - BarcodeResult() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeResult/fields.html b/docs/document_reader/BarcodeResult/fields.html deleted file mode 100644 index 3f2d5aebe2..0000000000 --- a/docs/document_reader/BarcodeResult/fields.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - fields property - BarcodeResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fields
- -
- -
-
-
- -
-
-

fields property -

- - - -
- -
- - List<BarcodeField> - fields - - -
- - - - -
-

Implementation

-
List<BarcodeField> get fields => _fields;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeResult/fromJson.html b/docs/document_reader/BarcodeResult/fromJson.html deleted file mode 100644 index 6d939cd294..0000000000 --- a/docs/document_reader/BarcodeResult/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - BarcodeResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -BarcodeResult? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static BarcodeResult? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = BarcodeResult();
-
-  for (var item in jsonObject["fields"])
-    result._fields.addSafe(BarcodeField.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeResult/toJson.html b/docs/document_reader/BarcodeResult/toJson.html deleted file mode 100644 index 53553ed212..0000000000 --- a/docs/document_reader/BarcodeResult/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - BarcodeResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "fields": fields.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeStatus-enum-sidebar.html b/docs/document_reader/BarcodeStatus-enum-sidebar.html deleted file mode 100644 index a61cc444ab..0000000000 --- a/docs/document_reader/BarcodeStatus-enum-sidebar.html +++ /dev/null @@ -1,61 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BarcodeStatus
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NO_ERR
  10. -
  11. NULL_PTR_ERR
  12. -
  13. BAD_ARG_ERR
  14. -
  15. SIZE_ERR
  16. -
  17. RANGE_ERR
  18. -
  19. INTERNAL_ERR
  20. -
  21. TRY_EXCEPT_ERR
  22. -
  23. BAR_CODE_NOT_FOUND
  24. -
  25. BAR_CODE_DECODE_ERR
  26. -
  27. NO_USER_DLL_FOUND
  28. -
  29. NO_IPP_DLL_FOUND
  30. -
  31. IPP_EXEC_ERR
  32. -
  33. IPP_TRY_EXCEPT_ERR
  34. -
  35. BARCODE_ERROR_INPUT_PARAM
  36. -
  37. BARCODE_ERROR_FINIT
  38. -
  39. BARCODE_ERROR_NOT_LOAD_IP_DECODED_LL
  40. -
  41. BARCODE_ERROR_INNER_PROBLEM
  42. -
  43. BARCODE_ERROR_DECODE_1D_BAD_DECODE
  44. -
  45. BARCODE_ERROR_FIND_ROW_OR_COLUMN
  46. -
  47. BARCODE_ERROR_FIND_3X8_2D_X
  48. -
  49. BARCODE_ERROR_FIND_3X8_2D_Y
  50. -
  51. BARCODE_ERROR_2D_UGOL_MAX
  52. -
  53. BARCODE_ERROR_INDEFINITELY_DECODED
  54. -
  55. BARCODE_ERROR_DLL_NOT_INIT
  56. -
  57. BARCODE_ERROR_IP_DECODE_DLL_Try_Except
  58. -
  59. IPDECODE_ERROR_LARGEERRORS
  60. -
  61. IPDECODE_ERROR_FAULTCOLUMNS
  62. -
  63. IPDECODE_ERROR_FAULTROWS
  64. -
  65. IPDECODE_ERROR_INCORRECT_ERROR_LEVEL
  66. -
  67. IPDECODE_ERROR_LOADING_DEV_TABLE
  68. - -
  69. - Properties -
  70. -
  71. hashCode
  72. -
  73. index
  74. -
  75. runtimeType
  76. -
  77. value
  78. - -
  79. Methods
  80. -
  81. noSuchMethod
  82. -
  83. toString
  84. - -
  85. Operators
  86. -
  87. operator ==
  88. - - - -
  89. Static methods
  90. -
  91. getByValue
  92. - -
  93. Constants
  94. -
  95. values
  96. -
diff --git a/docs/document_reader/BarcodeStatus.html b/docs/document_reader/BarcodeStatus.html deleted file mode 100644 index ed964ca308..0000000000 --- a/docs/document_reader/BarcodeStatus.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - - - - BarcodeStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeStatus
- -
- -
-
-
- -
-
- -

- BarcodeStatus - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- BarcodeStatus(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const BarcodeStatus - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- BarcodeStatus(-1) -
-
- -
- NO_ERR - → const BarcodeStatus - - -
-
-

No error.

- - -
- BarcodeStatus(0) -
-
- -
- NULL_PTR_ERR - → const BarcodeStatus - - -
-
-

Null pointer of input arg/param error.

- - -
- BarcodeStatus(-6001) -
-
- -
- BAD_ARG_ERR - → const BarcodeStatus - - -
-
-

Function arg/param is bad.

- - -
- BarcodeStatus(-6002) -
-
- -
- SIZE_ERR - → const BarcodeStatus - - -
-
-

Wrong value of data size.

- - -
- BarcodeStatus(-6003) -
-
- -
- RANGE_ERR - → const BarcodeStatus - - -
-
-

Bad values of any parameter range.

- - -
- BarcodeStatus(-6004) -
-
- -
- INTERNAL_ERR - → const BarcodeStatus - - -
-
-

Internal program error.

- - -
- BarcodeStatus(-6005) -
-
- -
- TRY_EXCEPT_ERR - → const BarcodeStatus - - -
-
-

try-except process.

- - -
- BarcodeStatus(-6006) -
-
- -
- BAR_CODE_NOT_FOUND - → const BarcodeStatus - - -
-
-

Barcode detection error.

- - -
- BarcodeStatus(-6008) -
-
- -
- BAR_CODE_DECODE_ERR - → const BarcodeStatus - - -
-
-

Barcode decoding error.

- - -
- BarcodeStatus(-6010) -
-
- -
- NO_USER_DLL_FOUND - → const BarcodeStatus - - -
-
-

"ImageProcess.dll" connection error.

- - -
- BarcodeStatus(-6019) -
-
- -
- NO_IPP_DLL_FOUND - → const BarcodeStatus - - -
-
-

IPP Dll connection error.

- - -
- BarcodeStatus(-6020) -
-
- -
- IPP_EXEC_ERR - → const BarcodeStatus - - -
-
-

Run-time error in IPP-function.

- - -
- BarcodeStatus(-6024) -
-
- -
- IPP_TRY_EXCEPT_ERR - → const BarcodeStatus - - -
-
-

try-except execution in IPP-function.

- - -
- BarcodeStatus(-6025) -
-
- -
- BARCODE_ERROR_INPUT_PARAM - → const BarcodeStatus - - -
-
-

Input data error.

- - -
- BarcodeStatus(-11001) -
-
- -
- BARCODE_ERROR_FINIT - → const BarcodeStatus - - -
-
-

Initialization error.

- - -
- BarcodeStatus(-11006) -
-
- -
- BARCODE_ERROR_NOT_LOAD_IP_DECODED_LL - → const BarcodeStatus - - -
-
-

"IpDecode.dll" connection error.

- - -
- BarcodeStatus(-11012) -
-
- -
- BARCODE_ERROR_INNER_PROBLEM - → const BarcodeStatus - - -
-
-

Internal program error.

- - -
- BarcodeStatus(-11100) -
-
- -
- BARCODE_ERROR_DECODE_1D_BAD_DECODE - → const BarcodeStatus - - -
-
-

1D-barcode decoding error.

- - -
- BarcodeStatus(-11200) -
-
- -
- BARCODE_ERROR_FIND_ROW_OR_COLUMN - → const BarcodeStatus - - -
-
-

Row or Column count computational error (PDF417).

- - -
- BarcodeStatus(-11201) -
-
- -
- BARCODE_ERROR_FIND_3X8_2D_X - → const BarcodeStatus - - -
-
-

MinX computational error (PDF417).

- - -
- BarcodeStatus(-11202) -
-
- -
- BARCODE_ERROR_FIND_3X8_2D_Y - → const BarcodeStatus - - -
-
-

MinY computational error (PDF417).

- - -
- BarcodeStatus(-11203) -
-
- -
- BARCODE_ERROR_2D_UGOL_MAX - → const BarcodeStatus - - -
-
-

Invalid barcode angle (> 3 degree).

- - -
- BarcodeStatus(-11204) -
-
- -
- BARCODE_ERROR_INDEFINITELY_DECODED - → const BarcodeStatus - - -
-
-

The result may contain decoding errors.

- - -
- BarcodeStatus(-11210) -
-
- -
- BARCODE_ERROR_DLL_NOT_INIT - → const BarcodeStatus - - -
-
-

Dll initialization error.

- - -
- BarcodeStatus(-11300) -
-
- -
- BARCODE_ERROR_IP_DECODE_DLL_Try_Except - → const BarcodeStatus - - -
-
-

try-except in IPDECODE-function.

- - -
- BarcodeStatus(-11400) -
-
- -
- IPDECODE_ERROR_LARGEERRORS - → const BarcodeStatus - - -
-
-

Too many invalid code words.

- - -
- BarcodeStatus(-4503) -
-
- -
- IPDECODE_ERROR_FAULTCOLUMNS - → const BarcodeStatus - - -
-
-

Invalid number of columns.

- - -
- BarcodeStatus(-4504) -
-
- -
- IPDECODE_ERROR_FAULTROWS - → const BarcodeStatus - - -
-
-

Invalid number of rows.

- - -
- BarcodeStatus(-4505) -
-
- -
- IPDECODE_ERROR_INCORRECT_ERROR_LEVEL - → const BarcodeStatus - - -
-
-

Correction Level error.

- - -
- BarcodeStatus(-4511) -
-
- -
- IPDECODE_ERROR_LOADING_DEV_TABLE - → const BarcodeStatus - - -
-
-

Loading "DevTable.bin" error.

- - -
- BarcodeStatus(-4512) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - BarcodeStatus? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<BarcodeStatus> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NO_ERR, NULL_PTR_ERR, BAD_ARG_ERR, SIZE_ERR, RANGE_ERR, INTERNAL_ERR, TRY_EXCEPT_ERR, BAR_CODE_NOT_FOUND, BAR_CODE_DECODE_ERR, NO_USER_DLL_FOUND, NO_IPP_DLL_FOUND, IPP_EXEC_ERR, IPP_TRY_EXCE… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeStatus/BarcodeStatus.html b/docs/document_reader/BarcodeStatus/BarcodeStatus.html deleted file mode 100644 index 6f172699e7..0000000000 --- a/docs/document_reader/BarcodeStatus/BarcodeStatus.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - BarcodeStatus constructor - BarcodeStatus - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeStatus
- -
- -
-
-
- -
-
-

BarcodeStatus constructor -

- -
- const - BarcodeStatus(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const BarcodeStatus
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeStatus/value.html b/docs/document_reader/BarcodeStatus/value.html deleted file mode 100644 index 568b614206..0000000000 --- a/docs/document_reader/BarcodeStatus/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - BarcodeStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeStatus/values-constant.html b/docs/document_reader/BarcodeStatus/values-constant.html deleted file mode 100644 index 89c1fb8af9..0000000000 --- a/docs/document_reader/BarcodeStatus/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - BarcodeStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<BarcodeStatus> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeType-enum-sidebar.html b/docs/document_reader/BarcodeType-enum-sidebar.html deleted file mode 100644 index aba62ceb80..0000000000 --- a/docs/document_reader/BarcodeType-enum-sidebar.html +++ /dev/null @@ -1,51 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BarcodeType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. BCT_CODE128
  10. -
  11. CODE39
  12. -
  13. EAN8
  14. -
  15. ITF
  16. -
  17. PDF417
  18. -
  19. STF
  20. -
  21. MTF
  22. -
  23. IATA
  24. -
  25. CODABAR
  26. -
  27. UPCA
  28. -
  29. CODE93
  30. -
  31. UPCE
  32. -
  33. EAN13
  34. -
  35. QRCODE
  36. -
  37. AZTEC
  38. -
  39. DATAMATRIX
  40. -
  41. ALL_1D
  42. -
  43. CODE11
  44. -
  45. JABCODE
  46. - -
  47. - Properties -
  48. -
  49. hashCode
  50. -
  51. index
  52. -
  53. runtimeType
  54. -
  55. value
  56. - -
  57. Methods
  58. -
  59. noSuchMethod
  60. -
  61. toString
  62. - -
  63. Operators
  64. -
  65. operator ==
  66. - - - -
  67. Static methods
  68. -
  69. fromIntList
  70. -
  71. getByValue
  72. - -
  73. Constants
  74. -
  75. values
  76. -
diff --git a/docs/document_reader/BarcodeType.html b/docs/document_reader/BarcodeType.html deleted file mode 100644 index 034a503b8b..0000000000 --- a/docs/document_reader/BarcodeType.html +++ /dev/null @@ -1,626 +0,0 @@ - - - - - - - - BarcodeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeType
- -
- -
-
-
- -
-
- -

- BarcodeType - enum - - -

-
- - -
-

Enumeration contains the types of barcodes that can be processed.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- BarcodeType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const BarcodeType - - -
-
-

Unknown.

- - -
- BarcodeType(0) -
-
- -
- BCT_CODE128 - → const BarcodeType - - -
-
-

One-dimensional barcode, ISO 15417 (ANSI/AIM BC4-1999 Code 128).

- - -
- BarcodeType(1) -
-
- -
- CODE39 - → const BarcodeType - - -
-
-

One-dimensional barcode, ISO 16388 (ANSI/AIM BC1-1995 Code 39).

- - -
- BarcodeType(2) -
-
- -
- EAN8 - → const BarcodeType - - -
-
-

One-dimensional barcode, EAN8, ISO 15418.

- - -
- BarcodeType(3) -
-
- -
- ITF - → const BarcodeType - - -
-
-

One-dimensional barcode, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5).

- - -
- BarcodeType(4) -
-
- -
- PDF417 - → const BarcodeType - - -
-
-

Two-dimensional barcode, ISO 15438 (AIM USS PDF417).

- - -
- BarcodeType(5) -
-
- -
- STF - → const BarcodeType - - -
-
-

One-dimensional barcode, Standard 2 of 5 (Industrial).

- - -
- BarcodeType(6) -
-
- -
- MTF - → const BarcodeType - - -
-
-

One-dimensional barcode, Matrix 2 of 5.

- - -
- BarcodeType(7) -
-
- -
- IATA - → const BarcodeType - - -
-
-

One-dimensional barcode, IATA 2 of 5 (Airline).

- - -
- BarcodeType(8) -
-
- -
- CODABAR - → const BarcodeType - - -
-
-

One-dimensional barcode, (ANSI/AIM BC3-1995, USS - Codabar).

- - -
- BarcodeType(9) -
-
- -
- UPCA - → const BarcodeType - - -
-
-

One-dimensional barcode, UPC-A.

- - -
- BarcodeType(10) -
-
- -
- CODE93 - → const BarcodeType - - -
-
-

One-dimensional barcode, (ANSI/AIM BC5-1995, USS - Code 93).

- - -
- BarcodeType(11) -
-
- -
- UPCE - → const BarcodeType - - -
-
-

One-dimensional barcode, UPC-E.

- - -
- BarcodeType(12) -
-
- -
- EAN13 - → const BarcodeType - - -
-
-

One-dimensional barcode, EAN13, ISO 15418.

- - -
- BarcodeType(13) -
-
- -
- QRCODE - → const BarcodeType - - -
-
-

Two-dimensional QR barcode.

- - -
- BarcodeType(14) -
-
- -
- AZTEC - → const BarcodeType - - -
-
-

Two-dimensional AZTEC barcode.

- - -
- BarcodeType(15) -
-
- -
- DATAMATRIX - → const BarcodeType - - -
-
-

Two-dimensional DATAMATRIX barcode.

- - -
- BarcodeType(16) -
-
- -
- ALL_1D - → const BarcodeType - - -
-
-

One-dimensional barcodes.

- - -
- BarcodeType(17) -
-
- -
- CODE11 - → const BarcodeType - - -
-
-

One-dimensional barcode, Code 11.

- - -
- BarcodeType(18) -
-
- -
- JABCODE - → const BarcodeType - - -
-
-

Two-dimensional barcode, JAB Code

- - -
- BarcodeType(19) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<BarcodeType>? - - - -
-
- - - -
- -
- getByValue(int? i) - BarcodeType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<BarcodeType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, BCT_CODE128, CODE39, EAN8, ITF, PDF417, STF, MTF, IATA, CODABAR, UPCA, CODE93, UPCE, EAN13, QRCODE, AZTEC, DATAMATRIX, ALL_1D, CODE11, JABCODE] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeType/BarcodeType.html b/docs/document_reader/BarcodeType/BarcodeType.html deleted file mode 100644 index 6e63487520..0000000000 --- a/docs/document_reader/BarcodeType/BarcodeType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - BarcodeType constructor - BarcodeType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BarcodeType
- -
- -
-
-
- -
-
-

BarcodeType constructor -

- -
- const - BarcodeType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const BarcodeType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeType/value.html b/docs/document_reader/BarcodeType/value.html deleted file mode 100644 index ea115234f4..0000000000 --- a/docs/document_reader/BarcodeType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - BarcodeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BarcodeType/values-constant.html b/docs/document_reader/BarcodeType/values-constant.html deleted file mode 100644 index 9278312278..0000000000 --- a/docs/document_reader/BarcodeType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - BarcodeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<BarcodeType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BluetoothServiceCompletion-class-sidebar.html b/docs/document_reader/BluetoothServiceCompletion-class-sidebar.html deleted file mode 100644 index bffcbfb1c4..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion-class-sidebar.html +++ /dev/null @@ -1,26 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BluetoothServiceCompletion
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. - -
  11. Methods
  12. -
  13. noSuchMethod
  14. -
  15. onDeviceReady
  16. -
  17. onServiceConnected
  18. -
  19. onServiceDisconnected
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - - -
diff --git a/docs/document_reader/BluetoothServiceCompletion-class.html b/docs/document_reader/BluetoothServiceCompletion-class.html deleted file mode 100644 index 416be1ce79..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion-class.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - BluetoothServiceCompletion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BluetoothServiceCompletion
- -
- -
-
-
- -
-
-

BluetoothServiceCompletion class - abstract - -

- - -
-

Keeps user notified about btDevice`s connection state. -Used in DocumentReader.startBluetoothService

-

onServiceConnected fires when android`s bluetooth service is initialized.

-

onServiceDisconnected fires when android`s bluetooth service is destroyed.

-

onDeviceReady fires when a bluetooth device is connected and ready to use. -DocumentReader.initializeReaderWithBleDeviceConfig should be run here.

-

Android only.

-
- - - - -
-

Constructors

- -
-
- BluetoothServiceCompletion() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- onDeviceReady() - → void - - - -
-
- - - -
- -
- onServiceConnected(bool isBleManagerConnected) - → void - - - -
-
- - - -
- -
- onServiceDisconnected() - → void - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BluetoothServiceCompletion/BluetoothServiceCompletion.html b/docs/document_reader/BluetoothServiceCompletion/BluetoothServiceCompletion.html deleted file mode 100644 index d5fe46b4e0..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion/BluetoothServiceCompletion.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - BluetoothServiceCompletion constructor - BluetoothServiceCompletion - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BluetoothServiceCompletion
- -
- -
-
-
- -
-
-

BluetoothServiceCompletion constructor -

- -
- - BluetoothServiceCompletion() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BluetoothServiceCompletion/onDeviceReady.html b/docs/document_reader/BluetoothServiceCompletion/onDeviceReady.html deleted file mode 100644 index 4da069e488..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion/onDeviceReady.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onDeviceReady method - BluetoothServiceCompletion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onDeviceReady
- -
- -
-
-
- -
-
-

onDeviceReady abstract method -

- -
- - -void -onDeviceReady() - - - -
- - - - -
-

Implementation

-
void onDeviceReady();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BluetoothServiceCompletion/onServiceConnected.html b/docs/document_reader/BluetoothServiceCompletion/onServiceConnected.html deleted file mode 100644 index f0207e8e99..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion/onServiceConnected.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - onServiceConnected method - BluetoothServiceCompletion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onServiceConnected
- -
- -
-
-
- -
-
-

onServiceConnected abstract method -

- -
- - -void -onServiceConnected(
  1. bool isBleManagerConnected
  2. -
) - - - -
- - - - -
-

Implementation

-
void onServiceConnected(bool isBleManagerConnected);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BluetoothServiceCompletion/onServiceDisconnected.html b/docs/document_reader/BluetoothServiceCompletion/onServiceDisconnected.html deleted file mode 100644 index 123ff62a81..0000000000 --- a/docs/document_reader/BluetoothServiceCompletion/onServiceDisconnected.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onServiceDisconnected method - BluetoothServiceCompletion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onServiceDisconnected
- -
- -
-
-
- -
-
-

onServiceDisconnected abstract method -

- -
- - -void -onServiceDisconnected() - - - -
- - - - -
-

Implementation

-
void onServiceDisconnected();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData-class-sidebar.html b/docs/document_reader/BytesData-class-sidebar.html deleted file mode 100644 index 0829ceb93a..0000000000 --- a/docs/document_reader/BytesData-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. BytesData
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. hashCode
  10. -
  11. length
  12. -
  13. runtimeType
  14. -
  15. status
  16. -
  17. type
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/BytesData-class.html b/docs/document_reader/BytesData-class.html deleted file mode 100644 index 254a491f7f..0000000000 --- a/docs/document_reader/BytesData-class.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BytesData
- -
- -
-
-
- -
-
-

BytesData class - -

- - - - - - -
-

Constructors

- -
-
- BytesData() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- length - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - int - -
-
- -
no setter
- -
- -
- type - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - BytesData? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/BytesData.html b/docs/document_reader/BytesData/BytesData.html deleted file mode 100644 index 1c606274b6..0000000000 --- a/docs/document_reader/BytesData/BytesData.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - BytesData constructor - BytesData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
BytesData
- -
- -
-
-
- -
-
-

BytesData constructor -

- -
- - BytesData() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/data.html b/docs/document_reader/BytesData/data.html deleted file mode 100644 index 0a6a1375db..0000000000 --- a/docs/document_reader/BytesData/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String - data - - -
- - - - -
-

Implementation

-
String get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/fromJson.html b/docs/document_reader/BytesData/fromJson.html deleted file mode 100644 index b7dac65438..0000000000 --- a/docs/document_reader/BytesData/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -BytesData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static BytesData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = BytesData();
-
-  result._data = jsonObject["data"];
-  result._length = jsonObject["length"];
-  result._status = jsonObject["status"];
-  result._type = jsonObject["type"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/length.html b/docs/document_reader/BytesData/length.html deleted file mode 100644 index fea066073c..0000000000 --- a/docs/document_reader/BytesData/length.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - length property - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
length
- -
- -
-
-
- -
-
-

length property -

- - - -
- -
- - int - length - - -
- - - - -
-

Implementation

-
int get length => _length;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/status.html b/docs/document_reader/BytesData/status.html deleted file mode 100644 index 456f443480..0000000000 --- a/docs/document_reader/BytesData/status.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - status property - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - int - status - - -
- - - - -
-

Implementation

-
int get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/toJson.html b/docs/document_reader/BytesData/toJson.html deleted file mode 100644 index e1cfbee7ba..0000000000 --- a/docs/document_reader/BytesData/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "length": length,
-      "status": status,
-      "type": type,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/BytesData/type.html b/docs/document_reader/BytesData/type.html deleted file mode 100644 index 0777ca1296..0000000000 --- a/docs/document_reader/BytesData/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - BytesData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - int - type - - -
- - - - -
-

Implementation

-
int get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraMode-enum-sidebar.html b/docs/document_reader/CameraMode-enum-sidebar.html deleted file mode 100644 index c5e2a3b89a..0000000000 --- a/docs/document_reader/CameraMode-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CameraMode
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. AUTO
  10. -
  11. CAMERA1
  12. -
  13. CAMERA2
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/CameraMode.html b/docs/document_reader/CameraMode.html deleted file mode 100644 index 33c7519e60..0000000000 --- a/docs/document_reader/CameraMode.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - CameraMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraMode
- -
- -
-
-
- -
-
- -

- CameraMode - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CameraMode(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CameraMode - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CameraMode(-1) -
-
- -
- AUTO - → const CameraMode - - -
-
- - - -
- CameraMode(0) -
-
- -
- CAMERA1 - → const CameraMode - - -
-
- - - -
- CameraMode(1) -
-
- -
- CAMERA2 - → const CameraMode - - -
-
- - - -
- CameraMode(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CameraMode? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CameraMode> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, AUTO, CAMERA1, CAMERA2] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraMode/CameraMode.html b/docs/document_reader/CameraMode/CameraMode.html deleted file mode 100644 index a4d205296b..0000000000 --- a/docs/document_reader/CameraMode/CameraMode.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CameraMode constructor - CameraMode - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraMode
- -
- -
-
-
- -
-
-

CameraMode constructor -

- -
- const - CameraMode(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CameraMode
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraMode/value.html b/docs/document_reader/CameraMode/value.html deleted file mode 100644 index ac8dba6ceb..0000000000 --- a/docs/document_reader/CameraMode/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CameraMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraMode/values-constant.html b/docs/document_reader/CameraMode/values-constant.html deleted file mode 100644 index fa17d57372..0000000000 --- a/docs/document_reader/CameraMode/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CameraMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CameraMode> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraPosition-enum-sidebar.html b/docs/document_reader/CameraPosition-enum-sidebar.html deleted file mode 100644 index 921e81bb6c..0000000000 --- a/docs/document_reader/CameraPosition-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CameraPosition
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. UNSPECIFIED
  10. -
  11. BACK
  12. -
  13. FRONT
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/CameraPosition.html b/docs/document_reader/CameraPosition.html deleted file mode 100644 index b98fe64507..0000000000 --- a/docs/document_reader/CameraPosition.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - CameraPosition enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraPosition
- -
- -
-
-
- -
-
- -

- CameraPosition - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CameraPosition(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CameraPosition - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CameraPosition(-1) -
-
- -
- UNSPECIFIED - → const CameraPosition - - -
-
- - - -
- CameraPosition(0) -
-
- -
- BACK - → const CameraPosition - - -
-
- - - -
- CameraPosition(1) -
-
- -
- FRONT - → const CameraPosition - - -
-
- - - -
- CameraPosition(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CameraPosition? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CameraPosition> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, UNSPECIFIED, BACK, FRONT] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraPosition/CameraPosition.html b/docs/document_reader/CameraPosition/CameraPosition.html deleted file mode 100644 index f58f737ea9..0000000000 --- a/docs/document_reader/CameraPosition/CameraPosition.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CameraPosition constructor - CameraPosition - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraPosition
- -
- -
-
-
- -
-
-

CameraPosition constructor -

- -
- const - CameraPosition(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CameraPosition
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraPosition/value.html b/docs/document_reader/CameraPosition/value.html deleted file mode 100644 index c39a12cf29..0000000000 --- a/docs/document_reader/CameraPosition/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CameraPosition enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraPosition/values-constant.html b/docs/document_reader/CameraPosition/values-constant.html deleted file mode 100644 index 090a8e4651..0000000000 --- a/docs/document_reader/CameraPosition/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CameraPosition enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CameraPosition> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize-class-sidebar.html b/docs/document_reader/CameraSize-class-sidebar.html deleted file mode 100644 index 92332c2af7..0000000000 --- a/docs/document_reader/CameraSize-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CameraSize
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. height
  10. -
  11. runtimeType
  12. -
  13. width
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/CameraSize-class.html b/docs/document_reader/CameraSize-class.html deleted file mode 100644 index 1cdf6e61f9..0000000000 --- a/docs/document_reader/CameraSize-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - CameraSize class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraSize
- -
- -
-
-
- -
-
-

CameraSize class - -

- - - - - - -
-

Constructors

- -
-
- CameraSize(int width, int height) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- height - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- width - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CameraSize? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize/CameraSize.html b/docs/document_reader/CameraSize/CameraSize.html deleted file mode 100644 index d1fd83d6d3..0000000000 --- a/docs/document_reader/CameraSize/CameraSize.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - CameraSize constructor - CameraSize - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CameraSize
- -
- -
-
-
- -
-
-

CameraSize constructor -

- -
- - CameraSize(
  1. int width,
  2. -
  3. int height
  4. -
) -
- - - - - -
-

Implementation

-
CameraSize
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize/fromJson.html b/docs/document_reader/CameraSize/fromJson.html deleted file mode 100644 index f4a6e09392..0000000000 --- a/docs/document_reader/CameraSize/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - CameraSize class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CameraSize? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CameraSize? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return CameraSize(
-    jsonObject["width"],
-    jsonObject["height"],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize/height.html b/docs/document_reader/CameraSize/height.html deleted file mode 100644 index c86bec3444..0000000000 --- a/docs/document_reader/CameraSize/height.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - height property - CameraSize class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
height
- -
- -
-
-
- -
-
-

height property -

- - - -
- -
- - int - height - - -
- - - - -
-

Implementation

-
int get height => _height;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize/toJson.html b/docs/document_reader/CameraSize/toJson.html deleted file mode 100644 index 0afcb01f3b..0000000000 --- a/docs/document_reader/CameraSize/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - CameraSize class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() {
-  return {
-    "width": width,
-    "height": height,
-  }.clearNulls();
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CameraSize/width.html b/docs/document_reader/CameraSize/width.html deleted file mode 100644 index c227496ac9..0000000000 --- a/docs/document_reader/CameraSize/width.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - width property - CameraSize class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
width
- -
- -
-
-
- -
-
-

width property -

- - - -
- -
- - int - width - - -
- - - - -
-

Implementation

-
int get width => _width;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Cap-enum-sidebar.html b/docs/document_reader/Cap-enum-sidebar.html deleted file mode 100644 index 895e12216c..0000000000 --- a/docs/document_reader/Cap-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Cap
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. BUTT
  10. -
  11. ROUND
  12. -
  13. SQUARE
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/Cap.html b/docs/document_reader/Cap.html deleted file mode 100644 index c79e9f434e..0000000000 --- a/docs/document_reader/Cap.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - Cap enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Cap
- -
- -
-
-
- -
-
- -

- Cap - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- Cap(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const Cap - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- Cap(-1) -
-
- -
- BUTT - → const Cap - - -
-
- - - -
- Cap(0) -
-
- -
- ROUND - → const Cap - - -
-
- - - -
- Cap(1) -
-
- -
- SQUARE - → const Cap - - -
-
- - - -
- Cap(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - Cap? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<Cap> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, BUTT, ROUND, SQUARE] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Cap/Cap.html b/docs/document_reader/Cap/Cap.html deleted file mode 100644 index f7de3fea9b..0000000000 --- a/docs/document_reader/Cap/Cap.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - Cap constructor - Cap - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Cap
- -
- -
-
-
- -
-
-

Cap constructor -

- -
- const - Cap(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const Cap
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Cap/value.html b/docs/document_reader/Cap/value.html deleted file mode 100644 index 61a739e0df..0000000000 --- a/docs/document_reader/Cap/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - Cap enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Cap/values-constant.html b/docs/document_reader/Cap/values-constant.html deleted file mode 100644 index 17005288a3..0000000000 --- a/docs/document_reader/Cap/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - Cap enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<Cap> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureMode-enum-sidebar.html b/docs/document_reader/CaptureMode-enum-sidebar.html deleted file mode 100644 index 2db4cc7217..0000000000 --- a/docs/document_reader/CaptureMode-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CaptureMode
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. AUTO
  10. -
  11. CAPTURE_VIDEO
  12. -
  13. CAPTURE_FRAME
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/CaptureMode.html b/docs/document_reader/CaptureMode.html deleted file mode 100644 index b218ec07f0..0000000000 --- a/docs/document_reader/CaptureMode.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - CaptureMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CaptureMode
- -
- -
-
-
- -
-
- -

- CaptureMode - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CaptureMode(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CaptureMode - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CaptureMode(-1) -
-
- -
- AUTO - → const CaptureMode - - -
-
-

A flow of frames is taken for recognition right after a scenario is started.

- - -
- CaptureMode(0) -
-
- -
- CAPTURE_VIDEO - → const CaptureMode - - -
-
-

A flow of frames is taken for recognition right after the Capture button is pushed.

- - -
- CaptureMode(1) -
-
- -
- CAPTURE_FRAME - → const CaptureMode - - -
-
-

A single frame is taken for recognition right after the Capture button is pushed.

- - -
- CaptureMode(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CaptureMode? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CaptureMode> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, AUTO, CAPTURE_VIDEO, CAPTURE_FRAME] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureMode/CaptureMode.html b/docs/document_reader/CaptureMode/CaptureMode.html deleted file mode 100644 index 35c5db3028..0000000000 --- a/docs/document_reader/CaptureMode/CaptureMode.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CaptureMode constructor - CaptureMode - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CaptureMode
- -
- -
-
-
- -
-
-

CaptureMode constructor -

- -
- const - CaptureMode(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CaptureMode
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureMode/value.html b/docs/document_reader/CaptureMode/value.html deleted file mode 100644 index 24a56f4e4d..0000000000 --- a/docs/document_reader/CaptureMode/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CaptureMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureMode/values-constant.html b/docs/document_reader/CaptureMode/values-constant.html deleted file mode 100644 index 118dd6e6e5..0000000000 --- a/docs/document_reader/CaptureMode/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CaptureMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CaptureMode> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureSessionPreset-enum-sidebar.html b/docs/document_reader/CaptureSessionPreset-enum-sidebar.html deleted file mode 100644 index 268e83ac81..0000000000 --- a/docs/document_reader/CaptureSessionPreset-enum-sidebar.html +++ /dev/null @@ -1,43 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CaptureSessionPreset
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. LOW
  10. -
  11. MEDIUM
  12. -
  13. HIGH
  14. -
  15. PHOTO
  16. -
  17. INPUT_PRIORITY
  18. -
  19. PRESET_1280x720
  20. -
  21. PRESET_1920x1080
  22. -
  23. PRESET_3840x2160
  24. -
  25. FRAME_960x540
  26. -
  27. FRAME_1280x720
  28. -
  29. PRESET_640x480
  30. -
  31. PRESET_352x288
  32. - -
  33. - Properties -
  34. -
  35. hashCode
  36. -
  37. index
  38. -
  39. runtimeType
  40. -
  41. value
  42. - -
  43. Methods
  44. -
  45. noSuchMethod
  46. -
  47. toString
  48. - -
  49. Operators
  50. -
  51. operator ==
  52. - - - -
  53. Static methods
  54. -
  55. getByValue
  56. - -
  57. Constants
  58. -
  59. values
  60. -
diff --git a/docs/document_reader/CaptureSessionPreset.html b/docs/document_reader/CaptureSessionPreset.html deleted file mode 100644 index 6359e021c9..0000000000 --- a/docs/document_reader/CaptureSessionPreset.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - - - CaptureSessionPreset enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CaptureSessionPreset
- -
- -
-
-
- -
-
- -

- CaptureSessionPreset - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CaptureSessionPreset(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CaptureSessionPreset - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CaptureSessionPreset(-1) -
-
- -
- LOW - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for low quality output.

- - -
- CaptureSessionPreset(0) -
-
- -
- MEDIUM - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for medium quality output.

- - -
- CaptureSessionPreset(1) -
-
- -
- HIGH - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for high quality video and audio output.

- - -
- CaptureSessionPreset(2) -
-
- -
- PHOTO - → const CaptureSessionPreset - - -
-
- - - -
- CaptureSessionPreset(3) -
-
- -
- INPUT_PRIORITY - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset indicating that the formats of the session's -inputs are being given priority.

- - -
- CaptureSessionPreset(4) -
-
- -
- PRESET_1280x720 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for 1280x720 video output.

- - -
- CaptureSessionPreset(6) -
-
- -
- PRESET_1920x1080 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for 1920x1080 video output.

- - -
- CaptureSessionPreset(7) -
-
- -
- PRESET_3840x2160 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for 3840x2160 (UHD 4K) video output.

- - -
- CaptureSessionPreset(8) -
-
- -
- FRAME_960x540 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset producing 960x540 Apple iFrame video and audio content.

- - -
- CaptureSessionPreset(9) -
-
- -
- FRAME_1280x720 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset producing 1280x720 Apple iFrame video and audio content.

- - -
- CaptureSessionPreset(10) -
-
- -
- PRESET_640x480 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for 640x480 video output.

- - -
- CaptureSessionPreset(12) -
-
- -
- PRESET_352x288 - → const CaptureSessionPreset - - -
-
-

An AVCaptureSession preset suitable for 352x288 video output.

- - -
- CaptureSessionPreset(13) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CaptureSessionPreset? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CaptureSessionPreset> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, LOW, MEDIUM, HIGH, PHOTO, INPUT_PRIORITY, PRESET_1280x720, PRESET_1920x1080, PRESET_3840x2160, FRAME_960x540, FRAME_1280x720, PRESET_640x480, PRESET_352x288] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureSessionPreset/CaptureSessionPreset.html b/docs/document_reader/CaptureSessionPreset/CaptureSessionPreset.html deleted file mode 100644 index c64468622c..0000000000 --- a/docs/document_reader/CaptureSessionPreset/CaptureSessionPreset.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CaptureSessionPreset constructor - CaptureSessionPreset - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CaptureSessionPreset
- -
- -
-
-
- -
-
-

CaptureSessionPreset constructor -

- -
- const - CaptureSessionPreset(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CaptureSessionPreset
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureSessionPreset/value.html b/docs/document_reader/CaptureSessionPreset/value.html deleted file mode 100644 index 98ada3616d..0000000000 --- a/docs/document_reader/CaptureSessionPreset/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CaptureSessionPreset enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CaptureSessionPreset/values-constant.html b/docs/document_reader/CaptureSessionPreset/values-constant.html deleted file mode 100644 index 7fa3d29ecb..0000000000 --- a/docs/document_reader/CaptureSessionPreset/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CaptureSessionPreset enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CaptureSessionPreset> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties-class-sidebar.html b/docs/document_reader/CardProperties-class-sidebar.html deleted file mode 100644 index cd7be9f6c1..0000000000 --- a/docs/document_reader/CardProperties-class-sidebar.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CardProperties
  4. - - -
  5. - Properties -
  6. -
  7. aTQA
  8. -
  9. aTQB
  10. -
  11. aTR
  12. -
  13. baudrate1
  14. -
  15. baudrate2
  16. -
  17. bitRateR
  18. -
  19. bitRateS
  20. -
  21. chipTypeA
  22. -
  23. hashCode
  24. -
  25. mifareMemory
  26. -
  27. rfidType
  28. -
  29. runtimeType
  30. -
  31. sAK
  32. -
  33. support4
  34. -
  35. supportMifare
  36. -
  37. uID
  38. - -
  39. Methods
  40. -
  41. noSuchMethod
  42. -
  43. toJson
  44. -
  45. toString
  46. - -
  47. Operators
  48. -
  49. operator ==
  50. - - - -
  51. Static methods
  52. -
  53. fromJson
  54. - -
diff --git a/docs/document_reader/CardProperties-class.html b/docs/document_reader/CardProperties-class.html deleted file mode 100644 index 8b629d5e30..0000000000 --- a/docs/document_reader/CardProperties-class.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - - - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CardProperties
- -
- -
-
-
- -
-
-

CardProperties class - -

- - -
-

Structure is used to store extended information about the characteristics -of the RFID-chip located in the scope of the reader.

-
- - - - -
-

Constructors

- -
-
- CardProperties() -
-
- -
-
-
- -
-

Properties

- -
-
- aTQA - int - -
-
- Numeric ATQ_A value in hexadecimal format (e.g. "0x0000"). -
no setter
- -
- -
- aTQB - String? - -
-
- ATQ_B contents in text format. Each byte is represented by its -hexadecimal value. The individual bytes are sepa-rated by spaces -(e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81"). -
no setter
- -
- -
- aTR - String? - -
-
- aTR contents in text format. Each byte is represented by its hexadecimal value. -The individual bytes are separated by spaces -(e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93"). -
no setter
- -
- -
- baudrate1 - String? - -
-
- Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F"). -
no setter
- -
- -
- baudrate2 - String? - -
-
- Numeric Baudrate2 value in hexadecimal format. -
no setter
- -
- -
- bitRateR - int - -
-
- Numeric BitRateR value in hexadecimal format (e.g. "0x04"). -
no setter
- -
- -
- bitRateS - int - -
-
- Numeric BitRateS value in hexadecimal format (e.g. "0x04"). -
no setter
- -
- -
- chipTypeA - int - -
-
- Text abbreviation of ChipType_A value. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- mifareMemory - int - -
-
- Numeric MifareMemory value. -
no setter
- -
- -
- rfidType - int - -
-
- Text abbreviation of RFID_Type value. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- sAK - int - -
-
- Numeric SAK value in hexadecimal format (e.g. "0x00"). -
no setter
- -
- -
- support4 - bool - -
-
- Boolean Support_4 value. -
no setter
- -
- -
- supportMifare - bool - -
-
- Boolean Support_Mifare value. -
no setter
- -
- -
- uID - String? - -
-
- UID contents in text format. Each byte is represented by its hexadecimal value. -The individual bytes are separated by spaces (e.g. "F9 4F 41 60"). -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CardProperties? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/CardProperties.html b/docs/document_reader/CardProperties/CardProperties.html deleted file mode 100644 index 004c9439c1..0000000000 --- a/docs/document_reader/CardProperties/CardProperties.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CardProperties constructor - CardProperties - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CardProperties
- -
- -
-
-
- -
-
-

CardProperties constructor -

- -
- - CardProperties() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/aTQA.html b/docs/document_reader/CardProperties/aTQA.html deleted file mode 100644 index f743015f87..0000000000 --- a/docs/document_reader/CardProperties/aTQA.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - aTQA property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
aTQA
- -
- -
-
-
- -
-
-

aTQA property -

- - - -
- -
- - int - aTQA - - -
- - -
-

Numeric ATQ_A value in hexadecimal format (e.g. "0x0000").

-
- - -
-

Implementation

-
int get aTQA => _aTQA;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/aTQB.html b/docs/document_reader/CardProperties/aTQB.html deleted file mode 100644 index 134e56a746..0000000000 --- a/docs/document_reader/CardProperties/aTQB.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - aTQB property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
aTQB
- -
- -
-
-
- -
-
-

aTQB property -

- - - -
- -
- - String? - aTQB - - -
- - -
-

ATQ_B contents in text format. Each byte is represented by its -hexadecimal value. The individual bytes are sepa-rated by spaces -(e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81").

-
- - -
-

Implementation

-
String? get aTQB => _aTQB;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/aTR.html b/docs/document_reader/CardProperties/aTR.html deleted file mode 100644 index 22642ed066..0000000000 --- a/docs/document_reader/CardProperties/aTR.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - aTR property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
aTR
- -
- -
-
-
- -
-
-

aTR property -

- - - -
- -
- - String? - aTR - - -
- - -
-

aTR contents in text format. Each byte is represented by its hexadecimal value. -The individual bytes are separated by spaces -(e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93").

-
- - -
-

Implementation

-
String? get aTR => _aTR;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/baudrate1.html b/docs/document_reader/CardProperties/baudrate1.html deleted file mode 100644 index 3c2ca1e792..0000000000 --- a/docs/document_reader/CardProperties/baudrate1.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - baudrate1 property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
baudrate1
- -
- -
-
-
- -
-
-

baudrate1 property -

- - - -
- -
- - String? - baudrate1 - - -
- - -
-

Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F").

-
- - -
-

Implementation

-
String? get baudrate1 => _baudrate1;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/baudrate2.html b/docs/document_reader/CardProperties/baudrate2.html deleted file mode 100644 index 4163097c22..0000000000 --- a/docs/document_reader/CardProperties/baudrate2.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - baudrate2 property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
baudrate2
- -
- -
-
-
- -
-
-

baudrate2 property -

- - - -
- -
- - String? - baudrate2 - - -
- - -
-

Numeric Baudrate2 value in hexadecimal format.

-
- - -
-

Implementation

-
String? get baudrate2 => _baudrate2;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/bitRateR.html b/docs/document_reader/CardProperties/bitRateR.html deleted file mode 100644 index 62a91d22b1..0000000000 --- a/docs/document_reader/CardProperties/bitRateR.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - bitRateR property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
bitRateR
- -
- -
-
-
- -
-
-

bitRateR property -

- - - -
- -
- - int - bitRateR - - -
- - -
-

Numeric BitRateR value in hexadecimal format (e.g. "0x04").

-
- - -
-

Implementation

-
int get bitRateR => _bitRateR;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/bitRateS.html b/docs/document_reader/CardProperties/bitRateS.html deleted file mode 100644 index c811771bee..0000000000 --- a/docs/document_reader/CardProperties/bitRateS.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - bitRateS property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
bitRateS
- -
- -
-
-
- -
-
-

bitRateS property -

- - - -
- -
- - int - bitRateS - - -
- - -
-

Numeric BitRateS value in hexadecimal format (e.g. "0x04").

-
- - -
-

Implementation

-
int get bitRateS => _bitRateS;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/chipTypeA.html b/docs/document_reader/CardProperties/chipTypeA.html deleted file mode 100644 index 186d0b2fa9..0000000000 --- a/docs/document_reader/CardProperties/chipTypeA.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - chipTypeA property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
chipTypeA
- -
- -
-
-
- -
-
-

chipTypeA property -

- - - -
- -
- - int - chipTypeA - - -
- - -
-

Text abbreviation of ChipType_A value.

-
- - -
-

Implementation

-
int get chipTypeA => _chipTypeA;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/fromJson.html b/docs/document_reader/CardProperties/fromJson.html deleted file mode 100644 index aafbb902ed..0000000000 --- a/docs/document_reader/CardProperties/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CardProperties? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CardProperties? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = CardProperties();
-
-  result._aTQA = jsonObject["aTQA"];
-  result._bitRateR = jsonObject["bitRateR"];
-  result._bitRateS = jsonObject["bitRateS"];
-  result._chipTypeA = jsonObject["chipTypeA"];
-  result._mifareMemory = jsonObject["mifareMemory"];
-  result._rfidType = jsonObject["rfidType"];
-  result._sAK = jsonObject["sAK"];
-  result._support4 = jsonObject["support4"];
-  result._supportMifare = jsonObject["supportMifare"];
-  result._aTQB = jsonObject["aTQB"];
-  result._aTR = jsonObject["aTR"];
-  result._baudrate1 = jsonObject["baudrate1"];
-  result._baudrate2 = jsonObject["baudrate2"];
-  result._uID = jsonObject["uID"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/mifareMemory.html b/docs/document_reader/CardProperties/mifareMemory.html deleted file mode 100644 index 840dcb009c..0000000000 --- a/docs/document_reader/CardProperties/mifareMemory.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - mifareMemory property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mifareMemory
- -
- -
-
-
- -
-
-

mifareMemory property -

- - - -
- -
- - int - mifareMemory - - -
- - -
-

Numeric MifareMemory value.

-
- - -
-

Implementation

-
int get mifareMemory => _mifareMemory;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/rfidType.html b/docs/document_reader/CardProperties/rfidType.html deleted file mode 100644 index ff57c9dc04..0000000000 --- a/docs/document_reader/CardProperties/rfidType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rfidType property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidType
- -
- -
-
-
- -
-
-

rfidType property -

- - - -
- -
- - int - rfidType - - -
- - -
-

Text abbreviation of RFID_Type value.

-
- - -
-

Implementation

-
int get rfidType => _rfidType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/sAK.html b/docs/document_reader/CardProperties/sAK.html deleted file mode 100644 index b7c67fbded..0000000000 --- a/docs/document_reader/CardProperties/sAK.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sAK property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sAK
- -
- -
-
-
- -
-
-

sAK property -

- - - -
- -
- - int - sAK - - -
- - -
-

Numeric SAK value in hexadecimal format (e.g. "0x00").

-
- - -
-

Implementation

-
int get sAK => _sAK;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/support4.html b/docs/document_reader/CardProperties/support4.html deleted file mode 100644 index de841975a1..0000000000 --- a/docs/document_reader/CardProperties/support4.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - support4 property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
support4
- -
- -
-
-
- -
-
-

support4 property -

- - - -
- -
- - bool - support4 - - -
- - -
-

Boolean Support_4 value.

-
- - -
-

Implementation

-
bool get support4 => _support4;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/supportMifare.html b/docs/document_reader/CardProperties/supportMifare.html deleted file mode 100644 index 30bc6322f3..0000000000 --- a/docs/document_reader/CardProperties/supportMifare.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - supportMifare property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
supportMifare
- -
- -
-
-
- -
-
-

supportMifare property -

- - - -
- -
- - bool - supportMifare - - -
- - -
-

Boolean Support_Mifare value.

-
- - -
-

Implementation

-
bool get supportMifare => _supportMifare;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/toJson.html b/docs/document_reader/CardProperties/toJson.html deleted file mode 100644 index b786717398..0000000000 --- a/docs/document_reader/CardProperties/toJson.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - toJson method - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "aTQA": aTQA,
-      "bitRateR": bitRateR,
-      "bitRateS": bitRateS,
-      "chipTypeA": chipTypeA,
-      "mifareMemory": mifareMemory,
-      "rfidType": rfidType,
-      "sAK": sAK,
-      "support4": support4,
-      "supportMifare": supportMifare,
-      "aTQB": aTQB,
-      "aTR": aTR,
-      "baudrate1": baudrate1,
-      "baudrate2": baudrate2,
-      "uID": uID,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CardProperties/uID.html b/docs/document_reader/CardProperties/uID.html deleted file mode 100644 index e418291426..0000000000 --- a/docs/document_reader/CardProperties/uID.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - uID property - CardProperties class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
uID
- -
- -
-
-
- -
-
-

uID property -

- - - -
- -
- - String? - uID - - -
- - -
-

UID contents in text format. Each byte is represented by its hexadecimal value. -The individual bytes are separated by spaces (e.g. "F9 4F 41 60").

-
- - -
-

Implementation

-
String? get uID => _uID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain-class-sidebar.html b/docs/document_reader/CertificateChain-class-sidebar.html deleted file mode 100644 index 56516d3bfb..0000000000 --- a/docs/document_reader/CertificateChain-class-sidebar.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CertificateChain
  4. - - -
  5. - Properties -
  6. -
  7. extensions
  8. -
  9. fileName
  10. -
  11. hashCode
  12. -
  13. issuer
  14. -
  15. notifications
  16. -
  17. origin
  18. -
  19. paStatus
  20. -
  21. runtimeType
  22. -
  23. serialNumber
  24. -
  25. signatureAlgorithm
  26. -
  27. subject
  28. -
  29. subjectPKAlgorithm
  30. -
  31. type
  32. -
  33. validity
  34. -
  35. version
  36. - -
  37. Methods
  38. -
  39. noSuchMethod
  40. -
  41. toJson
  42. -
  43. toString
  44. - -
  45. Operators
  46. -
  47. operator ==
  48. - - - -
  49. Static methods
  50. -
  51. fromJson
  52. - -
diff --git a/docs/document_reader/CertificateChain-class.html b/docs/document_reader/CertificateChain-class.html deleted file mode 100644 index 442351ea03..0000000000 --- a/docs/document_reader/CertificateChain-class.html +++ /dev/null @@ -1,390 +0,0 @@ - - - - - - - - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CertificateChain
- -
- -
-
-
- -
-
-

CertificateChain class - -

- - - - - - -
-

Constructors

- -
-
- CertificateChain() -
-
- -
-
-
- -
-

Properties

- -
-
- extensions - List<Extension> - -
-
- -
no setter
- -
- -
- fileName - RFIDValue? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- issuer - Authority? - -
-
- -
no setter
- -
- -
- notifications - List<int> - -
-
- -
no setter
- -
- -
- origin - int - -
-
- -
no setter
- -
- -
- paStatus - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- serialNumber - String? - -
-
- -
no setter
- -
- -
- signatureAlgorithm - String? - -
-
- -
no setter
- -
- -
- subject - Authority? - -
-
- -
no setter
- -
- -
- subjectPKAlgorithm - String? - -
-
- -
no setter
- -
- -
- type - RFIDCertificateType - -
-
- Define the type of certificate used in the procedure of document -security object digital signature verification. -
no setter
- -
- -
- validity - RFIDValidity? - -
-
- -
no setter
- -
- -
- version - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CertificateChain? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/CertificateChain.html b/docs/document_reader/CertificateChain/CertificateChain.html deleted file mode 100644 index 5dd5ad08ca..0000000000 --- a/docs/document_reader/CertificateChain/CertificateChain.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CertificateChain constructor - CertificateChain - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CertificateChain
- -
- -
-
-
- -
-
-

CertificateChain constructor -

- -
- - CertificateChain() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/extensions.html b/docs/document_reader/CertificateChain/extensions.html deleted file mode 100644 index f48fe04851..0000000000 --- a/docs/document_reader/CertificateChain/extensions.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - extensions property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
extensions
- -
- -
-
-
- -
-
-

extensions property -

- - - -
- -
- - List<Extension> - extensions - - -
- - - - -
-

Implementation

-
List<Extension> get extensions => _extensions;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/fileName.html b/docs/document_reader/CertificateChain/fileName.html deleted file mode 100644 index 02652e0121..0000000000 --- a/docs/document_reader/CertificateChain/fileName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - fileName property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fileName
- -
- -
-
-
- -
-
-

fileName property -

- - - -
- -
- - RFIDValue? - fileName - - -
- - - - -
-

Implementation

-
RFIDValue? get fileName => _fileName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/fromJson.html b/docs/document_reader/CertificateChain/fromJson.html deleted file mode 100644 index af29d9e537..0000000000 --- a/docs/document_reader/CertificateChain/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CertificateChain? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CertificateChain? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = CertificateChain();
-
-  result._origin = jsonObject["origin"];
-  result._type = RFIDCertificateType.getByValue(jsonObject["type"])!;
-  result._version = jsonObject["version"];
-  result._paStatus = jsonObject["paStatus"];
-  result._serialNumber = jsonObject["serialNumber"];
-  result._signatureAlgorithm = jsonObject["signatureAlgorithm"];
-  result._subjectPKAlgorithm = jsonObject["subjectPKAlgorithm"];
-  result._fileName = RFIDValue.fromJson(jsonObject["fileName"]);
-  result._validity = RFIDValidity.fromJson(jsonObject["validity"]);
-  result._issuer = Authority.fromJson(jsonObject["issuer"]);
-  result._subject = Authority.fromJson(jsonObject["subject"]);
-  result._notifications = jsonObject["notifications"].cast<int>();
-  for (var item in jsonObject["extensions"])
-    result._extensions.addSafe(Extension.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/issuer.html b/docs/document_reader/CertificateChain/issuer.html deleted file mode 100644 index 1ef59254d1..0000000000 --- a/docs/document_reader/CertificateChain/issuer.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - issuer property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
issuer
- -
- -
-
-
- -
-
-

issuer property -

- - - -
- -
- - Authority? - issuer - - -
- - - - -
-

Implementation

-
Authority? get issuer => _issuer;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/notifications.html b/docs/document_reader/CertificateChain/notifications.html deleted file mode 100644 index 9ce54f3686..0000000000 --- a/docs/document_reader/CertificateChain/notifications.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - notifications property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int> - notifications - - -
- - - - -
-

Implementation

-
List<int> get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/origin.html b/docs/document_reader/CertificateChain/origin.html deleted file mode 100644 index 07875d29ee..0000000000 --- a/docs/document_reader/CertificateChain/origin.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - origin property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
origin
- -
- -
-
-
- -
-
-

origin property -

- - - -
- -
- - int - origin - - -
- - - - -
-

Implementation

-
int get origin => _origin;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/paStatus.html b/docs/document_reader/CertificateChain/paStatus.html deleted file mode 100644 index 96d0462760..0000000000 --- a/docs/document_reader/CertificateChain/paStatus.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - paStatus property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
paStatus
- -
- -
-
-
- -
-
-

paStatus property -

- - - -
- -
- - int - paStatus - - -
- - - - -
-

Implementation

-
int get paStatus => _paStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/serialNumber.html b/docs/document_reader/CertificateChain/serialNumber.html deleted file mode 100644 index 4063bc7ecb..0000000000 --- a/docs/document_reader/CertificateChain/serialNumber.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - serialNumber property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
serialNumber
- -
- -
-
-
- -
-
-

serialNumber property -

- - - -
- -
- - String? - serialNumber - - -
- - - - -
-

Implementation

-
String? get serialNumber => _serialNumber;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/signatureAlgorithm.html b/docs/document_reader/CertificateChain/signatureAlgorithm.html deleted file mode 100644 index 4008b18c52..0000000000 --- a/docs/document_reader/CertificateChain/signatureAlgorithm.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - signatureAlgorithm property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signatureAlgorithm
- -
- -
-
-
- -
-
-

signatureAlgorithm property -

- - - -
- -
- - String? - signatureAlgorithm - - -
- - - - -
-

Implementation

-
String? get signatureAlgorithm => _signatureAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/subject.html b/docs/document_reader/CertificateChain/subject.html deleted file mode 100644 index c9ed27769e..0000000000 --- a/docs/document_reader/CertificateChain/subject.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - subject property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
subject
- -
- -
-
-
- -
-
-

subject property -

- - - -
- -
- - Authority? - subject - - -
- - - - -
-

Implementation

-
Authority? get subject => _subject;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/subjectPKAlgorithm.html b/docs/document_reader/CertificateChain/subjectPKAlgorithm.html deleted file mode 100644 index 39847de0fd..0000000000 --- a/docs/document_reader/CertificateChain/subjectPKAlgorithm.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - subjectPKAlgorithm property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
subjectPKAlgorithm
- -
- -
-
-
- -
-
-

subjectPKAlgorithm property -

- - - -
- -
- - String? - subjectPKAlgorithm - - -
- - - - -
-

Implementation

-
String? get subjectPKAlgorithm => _subjectPKAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/toJson.html b/docs/document_reader/CertificateChain/toJson.html deleted file mode 100644 index a7a31f54b7..0000000000 --- a/docs/document_reader/CertificateChain/toJson.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - toJson method - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "type": type.value,
-      "extensions": extensions.map((e) => e.toJson()).toList(),
-      "fileName": fileName?.toJson(),
-      "issuer": issuer?.toJson(),
-      "notifications": notifications,
-      "origin": origin,
-      "paStatus": paStatus,
-      "serialNumber": serialNumber,
-      "signatureAlgorithm": signatureAlgorithm,
-      "subject": subject?.toJson(),
-      "subjectPKAlgorithm": subjectPKAlgorithm,
-      "validity": validity?.toJson(),
-      "version": version,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/type.html b/docs/document_reader/CertificateChain/type.html deleted file mode 100644 index 342fc96abb..0000000000 --- a/docs/document_reader/CertificateChain/type.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - type property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - RFIDCertificateType - type - - -
- - -
-

Define the type of certificate used in the procedure of document -security object digital signature verification.

-
- - -
-

Implementation

-
RFIDCertificateType get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/validity.html b/docs/document_reader/CertificateChain/validity.html deleted file mode 100644 index 3fb2b4bfe9..0000000000 --- a/docs/document_reader/CertificateChain/validity.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - validity property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
validity
- -
- -
-
-
- -
-
-

validity property -

- - - -
- -
- - RFIDValidity? - validity - - -
- - - - -
-

Implementation

-
RFIDValidity? get validity => _validity;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateChain/version.html b/docs/document_reader/CertificateChain/version.html deleted file mode 100644 index ead532f6ad..0000000000 --- a/docs/document_reader/CertificateChain/version.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - version property - CertificateChain class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - int - version - - -
- - - - -
-

Implementation

-
int get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData-class-sidebar.html b/docs/document_reader/CertificateData-class-sidebar.html deleted file mode 100644 index 559eae98e9..0000000000 --- a/docs/document_reader/CertificateData-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CertificateData
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. hashCode
  10. -
  11. length
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/CertificateData-class.html b/docs/document_reader/CertificateData-class.html deleted file mode 100644 index 8b25f5a88f..0000000000 --- a/docs/document_reader/CertificateData-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - CertificateData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CertificateData
- -
- -
-
-
- -
-
-

CertificateData class - -

- - - - - - -
-

Constructors

- -
-
- CertificateData() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- length - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CertificateData? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData/CertificateData.html b/docs/document_reader/CertificateData/CertificateData.html deleted file mode 100644 index e220d131e3..0000000000 --- a/docs/document_reader/CertificateData/CertificateData.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CertificateData constructor - CertificateData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CertificateData
- -
- -
-
-
- -
-
-

CertificateData constructor -

- -
- - CertificateData() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData/data.html b/docs/document_reader/CertificateData/data.html deleted file mode 100644 index 60bfc01624..0000000000 --- a/docs/document_reader/CertificateData/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - CertificateData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String? - data - - -
- - - - -
-

Implementation

-
String? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData/fromJson.html b/docs/document_reader/CertificateData/fromJson.html deleted file mode 100644 index 3c14b67065..0000000000 --- a/docs/document_reader/CertificateData/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - CertificateData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CertificateData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CertificateData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = CertificateData();
-
-  result._length = jsonObject["length"];
-  result._data = jsonObject["data"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData/length.html b/docs/document_reader/CertificateData/length.html deleted file mode 100644 index 0f6d7219e8..0000000000 --- a/docs/document_reader/CertificateData/length.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - length property - CertificateData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
length
- -
- -
-
-
- -
-
-

length property -

- - - -
- -
- - int - length - - -
- - - - -
-

Implementation

-
int get length => _length;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CertificateData/toJson.html b/docs/document_reader/CertificateData/toJson.html deleted file mode 100644 index 56e687b2a5..0000000000 --- a/docs/document_reader/CertificateData/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - CertificateData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "length": length,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckDiagnose-enum-sidebar.html b/docs/document_reader/CheckDiagnose-enum-sidebar.html deleted file mode 100644 index 9238159f6e..0000000000 --- a/docs/document_reader/CheckDiagnose-enum-sidebar.html +++ /dev/null @@ -1,146 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CheckDiagnose
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. PASS
  10. -
  11. INVALID_INPUT_DATA
  12. -
  13. INTERNAL_ERROR
  14. -
  15. EXCEPTION_IN_MODULE
  16. -
  17. UNCERTAIN_VERIFICATION
  18. -
  19. NECESSARY_IMAGE_NOT_FOUND
  20. -
  21. PHOTO_SIDES_NOT_FOUND
  22. -
  23. INVALID_CHECKSUM
  24. -
  25. SYNTAX_ERROR
  26. -
  27. LOGIC_ERROR
  28. -
  29. SOURCES_COMPARISON_ERROR
  30. -
  31. FIELDS_COMPARISON_LOGIC_ERROR
  32. -
  33. INVALID_FIELD_FORMAT
  34. -
  35. TRUE_LUMINISCENCE_ERROR
  36. -
  37. FALSE_LUMINISCENCE_ERROR
  38. -
  39. FIXED_PATTERN_ERROR
  40. -
  41. LOW_CONTRAST_IN_IR_LIGHT
  42. -
  43. INCORRECT_BACKGROUND_LIGHT
  44. -
  45. BACKGROUND_COMPARISON_ERROR
  46. -
  47. INCORRECT_TEXT_COLOR
  48. -
  49. PHOTO_FALSE_LUMINISCENCE
  50. -
  51. TOO_MUCH_SHIFT
  52. -
  53. CONTACT_CHIP_TYPE_MISMATCH
  54. -
  55. FIBERS_NOT_FOUND
  56. -
  57. TOO_MANY_OBJECTS
  58. -
  59. SPECKS_IN_UV
  60. -
  61. TOO_LOW_RESOLUTION
  62. -
  63. INVISIBLE_ELEMENT_PRESENT
  64. -
  65. VISIBLE_ELEMENT_ABSENT
  66. -
  67. ELEMENT_SHOULD_BE_COLORED
  68. -
  69. ELEMENT_SHOULD_BE_GRAYSCALE
  70. -
  71. PHOTO_WHITE_IR_DONT_MATCH
  72. -
  73. UV_DULL_PAPER_MRZ
  74. -
  75. FALSE_LUMINISCENCE_IN_MRZ
  76. -
  77. UV_DULL_PAPER_PHOTO
  78. -
  79. UV_DULL_PAPER_BLANK
  80. -
  81. UV_DULL_PAPER_ERROR
  82. -
  83. FALSE_LUMINISCENCE_IN_BLANK
  84. -
  85. BAD_AREA_IN_AXIAL
  86. -
  87. FALSE_IPI_PARAMETERS
  88. -
  89. FIELD_POS_CORRECTOR_HIGHLIGHT_IR
  90. -
  91. FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA
  92. -
  93. FIELD_POS_CORRECTOR_PHOTO_REPLACED
  94. -
  95. OVI_IR_INVISIBLE
  96. -
  97. OVI_INSUFFICIENT_AREA
  98. -
  99. OVI_COLOR_INVARIABLE
  100. -
  101. OVI_BAD_COLOR_FRONT
  102. -
  103. OVI_BAD_COLOR_SIDE
  104. -
  105. OVI_WIDE_COLOR_SPREAD
  106. -
  107. OVI_BAD_COLOR_PERCENT
  108. -
  109. HOLOGRAM_ELEMENT_ABSENT
  110. -
  111. HOLOGRAM_SIDE_TOP_IMAGES_ABSENT
  112. -
  113. HOLOGRAM_ELEMENT_PRESENT
  114. -
  115. HOLOGRAM_FRAMES_IS_ABSENT
  116. -
  117. HOLOGRAM_HOLO_FIELD_IS_ABSENT
  118. -
  119. PHOTO_PATTERN_INTERRUPTED
  120. -
  121. PHOTO_PATTERN_SHIFTED
  122. -
  123. PHOTO_PATTERN_DIFFERENT_COLORS
  124. -
  125. PHOTO_PATTERN_IR_VISIBLE
  126. -
  127. PHOTO_PATTERN_NOT_INTERSECT
  128. -
  129. PHOTO_SIZE_IS_WRONG
  130. -
  131. PHOTO_PATTERN_INVALID_COLOR
  132. -
  133. PHOTO_PATTERN_SHIFTED_VERT
  134. -
  135. PHOTO_PATTERN_PATTERN_NOT_FOUND
  136. -
  137. PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS
  138. -
  139. PHOTO_IS_NOT_RECTANGLE
  140. -
  141. PHOTO_CORNERS_IS_WRONG
  142. -
  143. DOCUMENT_IS_CANCELLING
  144. -
  145. TEXT_COLOR_SHOULD_BE_BLUE
  146. -
  147. TEXT_COLOR_SHOULD_BE_GREEN
  148. -
  149. TEXT_COLOR_SHOULD_BE_RED
  150. -
  151. TEXT_SHOULD_BE_BLACK
  152. -
  153. BARCODE_WAS_READ_WITH_ERRORS
  154. -
  155. BARCODE_DATA_FORMAT_ERROR
  156. -
  157. BARCODE_SIZE_PARAMS_ERROR
  158. -
  159. NOT_ALL_BARCODES_READ
  160. -
  161. GLARES_IN_BARCODE_AREA
  162. -
  163. PORTRAIT_COMPARISON_PORTRAITS_DIFFER
  164. -
  165. PORTRAIT_COMPARISON_NO_SERVICE_REPLY
  166. -
  167. PORTRAIT_COMPARISON_SERVICE_ERROR
  168. -
  169. PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES
  170. -
  171. PORTRAIT_COMPARISON_NO_LIVE_PHOTO
  172. -
  173. PORTRAIT_COMPARISON_NO_SERVICE_LICENSE
  174. -
  175. PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED
  176. -
  177. MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS
  178. -
  179. MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE
  180. -
  181. FINGERPRINTS_COMPARISON_MISMATCH
  182. -
  183. HOLO_PHOTO_FACE_NOT_DETECTED
  184. -
  185. HOLO_PHOTO_FACE_COMPARISON_FAILED
  186. -
  187. HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT
  188. -
  189. HOLO_ELEMENT_SHAPE_ERROR
  190. -
  191. ALGORITHM_STEPS_ERROR
  192. -
  193. HOLO_AREAS_NOT_LOADED
  194. -
  195. FINISHED_BY_TIMEOUT
  196. -
  197. HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME
  198. -
  199. LIVENESS_DEPTH_CHECK_FAILED
  200. -
  201. MRZ_QUALITY_WRONG_SYMBOL_POSITION
  202. -
  203. MRZ_QUALITY_WRONG_BACKGROUND
  204. -
  205. MRZ_QUALITY_WRONG_MRZ_WIDTH
  206. -
  207. MRZ_QUALITY_WRONG_MRZ_HEIGHT
  208. -
  209. MRZ_QUALITY_WRONG_LINE_POSITION
  210. -
  211. MRZ_QUALITY_WRONG_FONT_TYPE
  212. -
  213. OCR_QUALITY_TEXT_POSITION
  214. -
  215. OCR_QUALITY_INVALID_FONT
  216. -
  217. OCR_QUALITY_INVALID_BACKGROUND
  218. -
  219. LAS_INK_INVALID_LINES_FREQUENCY
  220. -
  221. DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED
  222. -
  223. DOC_LIVENESS_INVALID_BARCODE_BACKGROUND
  224. -
  225. ICAO_IDB_BASE_32_ERROR
  226. -
  227. ICAO_IDB_ZIPPED_ERROR
  228. -
  229. ICAO_IDB_MESSAGE_ZONE_EMPTY
  230. -
  231. ICAO_IDB_SIGNATURE_MUST_BE_PRESENT
  232. -
  233. ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT
  234. -
  235. ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT
  236. -
  237. LAST_DIAGNOSE_VALUE
  238. - -
  239. - Properties -
  240. -
  241. hashCode
  242. -
  243. index
  244. -
  245. runtimeType
  246. -
  247. value
  248. - -
  249. Methods
  250. -
  251. noSuchMethod
  252. -
  253. toString
  254. - -
  255. Operators
  256. -
  257. operator ==
  258. - - - -
  259. Static methods
  260. -
  261. getByValue
  262. - -
  263. Constants
  264. -
  265. values
  266. -
diff --git a/docs/document_reader/CheckDiagnose.html b/docs/document_reader/CheckDiagnose.html deleted file mode 100644 index cc179f6ea6..0000000000 --- a/docs/document_reader/CheckDiagnose.html +++ /dev/null @@ -1,2054 +0,0 @@ - - - - - - - - CheckDiagnose enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CheckDiagnose
- -
- -
-
-
- -
-
- -

- CheckDiagnose - enum - - -

-
- - -
-

Enumeration contains identificators that determine the result of the -text field comparison from different sources.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CheckDiagnose(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CheckDiagnose - - -
-
-

Check was not performed.

- - -
- CheckDiagnose(0) -
-
- -
- PASS - → const CheckDiagnose - - -
-
-

Check was ok.

- - -
- CheckDiagnose(1) -
-
- -
- INVALID_INPUT_DATA - → const CheckDiagnose - - -
-
-

Invalid input data.

- - -
- CheckDiagnose(2) -
-
- -
- INTERNAL_ERROR - → const CheckDiagnose - - -
-
-

Internal error in module.

- - -
- CheckDiagnose(3) -
-
- -
- EXCEPTION_IN_MODULE - → const CheckDiagnose - - -
-
-

Exception caught

- - -
- CheckDiagnose(4) -
-
- -
- UNCERTAIN_VERIFICATION - → const CheckDiagnose - - -
-
-

Can't make reliable decision.

- - -
- CheckDiagnose(5) -
-
- -
- NECESSARY_IMAGE_NOT_FOUND - → const CheckDiagnose - - -
-
-

Image in necessary light is not found.

- - -
- CheckDiagnose(7) -
-
- -
- PHOTO_SIDES_NOT_FOUND - → const CheckDiagnose - - -
-
-

Necessary side of photo not found.

- - -
- CheckDiagnose(8) -
-
- -
- INVALID_CHECKSUM - → const CheckDiagnose - - -
-
-

Invalid checksum.

- - -
- CheckDiagnose(10) -
-
- -
- SYNTAX_ERROR - → const CheckDiagnose - - -
-
-

Syntactical error.

- - -
- CheckDiagnose(11) -
-
- -
- LOGIC_ERROR - → const CheckDiagnose - - -
-
-

Logical error.

- - -
- CheckDiagnose(12) -
-
- -
- SOURCES_COMPARISON_ERROR - → const CheckDiagnose - - -
-
-

Comparison was incorrect.

- - -
- CheckDiagnose(13) -
-
- -
- FIELDS_COMPARISON_LOGIC_ERROR - → const CheckDiagnose - - -
-
-

Logical error, e.g. the current date is less than issue date.

- - -
- CheckDiagnose(14) -
-
- -
- INVALID_FIELD_FORMAT - → const CheckDiagnose - - -
-
-

Wrong field format.

- - -
- CheckDiagnose(15) -
-
- -
- TRUE_LUMINISCENCE_ERROR - → const CheckDiagnose - - -
-
-

Element of the luminescense in the UV does not meet the standard.

- - -
- CheckDiagnose(20) -
-
- -
- FALSE_LUMINISCENCE_ERROR - → const CheckDiagnose - - -
-
-

The presence of excess luminescence in UV.

- - -
- CheckDiagnose(21) -
-
- -
- FIXED_PATTERN_ERROR - → const CheckDiagnose - - -
-
-

Pattern does not match the standard.

- - -
- CheckDiagnose(22) -
-
- -
- LOW_CONTRAST_IN_IR_LIGHT - → const CheckDiagnose - - -
-
-

Low contrast of object in transmitted IR light.

- - -
- CheckDiagnose(23) -
-
- -
- INCORRECT_BACKGROUND_LIGHT - → const CheckDiagnose - - -
-
-

Background of page is too light or has invalid color.

- - -
- CheckDiagnose(24) -
-
- -
- BACKGROUND_COMPARISON_ERROR - → const CheckDiagnose - - -
-
-

Background lightness of two pages is different.

- - -
- CheckDiagnose(25) -
-
- -
- INCORRECT_TEXT_COLOR - → const CheckDiagnose - - -
-
-

Text has incorrect color of luminescence in UV light.

- - -
- CheckDiagnose(26) -
-
- -
- PHOTO_FALSE_LUMINISCENCE - → const CheckDiagnose - - -
-
-

Invalid luminescence in photo area.

- - -
- CheckDiagnose(27) -
-
- -
- TOO_MUCH_SHIFT - → const CheckDiagnose - - -
-
-

Object is too shifted from standard coordinates.

- - -
- CheckDiagnose(28) -
-
- -
- CONTACT_CHIP_TYPE_MISMATCH - → const CheckDiagnose - - -
-
-

Contact chip type mismatch.

- - -
- CheckDiagnose(29) -
-
- -
- FIBERS_NOT_FOUND - → const CheckDiagnose - - -
-
-

No protective fibers were found in UV.

- - -
- CheckDiagnose(30) -
-
- -
- TOO_MANY_OBJECTS - → const CheckDiagnose - - -
-
-

Error finding fibers, too many objects.

- - -
- CheckDiagnose(31) -
-
- -
- SPECKS_IN_UV - → const CheckDiagnose - - -
-
-

Speck or exposure in UV image.

- - -
- CheckDiagnose(33) -
-
- -
- TOO_LOW_RESOLUTION - → const CheckDiagnose - - -
-
-

Resolution too low for fibers search.

- - -
- CheckDiagnose(34) -
-
- -
- INVISIBLE_ELEMENT_PRESENT - → const CheckDiagnose - - -
-
-

Erroneous visibility of the element in IR.

- - -
- CheckDiagnose(40) -
-
- -
- VISIBLE_ELEMENT_ABSENT - → const CheckDiagnose - - -
-
-

Element is absent in IR.

- - -
- CheckDiagnose(41) -
-
- -
- ELEMENT_SHOULD_BE_COLORED - → const CheckDiagnose - - -
-
-

Element should be in color.

- - -
- CheckDiagnose(42) -
-
- -
- ELEMENT_SHOULD_BE_GRAYSCALE - → const CheckDiagnose - - -
-
-

Element should be in grayscale.

- - -
- CheckDiagnose(43) -
-
- -
- PHOTO_WHITE_IR_DONT_MATCH - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(44) -
-
- -
- UV_DULL_PAPER_MRZ - → const CheckDiagnose - - -
-
-

Glow paper in MRZ.

- - -
- CheckDiagnose(50) -
-
- -
- FALSE_LUMINISCENCE_IN_MRZ - → const CheckDiagnose - - -
-
-

Luminescence characters in MRZ.

- - -
- CheckDiagnose(51) -
-
- -
- UV_DULL_PAPER_PHOTO - → const CheckDiagnose - - -
-
-

Glow in the field of photo paper.

- - -
- CheckDiagnose(52) -
-
- -
- UV_DULL_PAPER_BLANK - → const CheckDiagnose - - -
-
-

Glow of the whole paper form.

- - -
- CheckDiagnose(53) -
-
- -
- UV_DULL_PAPER_ERROR - → const CheckDiagnose - - -
-
-

Glow of the document in UV.

- - -
- CheckDiagnose(54) -
-
- -
- FALSE_LUMINISCENCE_IN_BLANK - → const CheckDiagnose - - -
-
-

Element of blank has luminescence.

- - -
- CheckDiagnose(55) -
-
- -
- BAD_AREA_IN_AXIAL - → const CheckDiagnose - - -
-
-

Violation of the retro-reflective protection.

- - -
- CheckDiagnose(60) -
-
- -
- FALSE_IPI_PARAMETERS - → const CheckDiagnose - - -
-
-

Invalid params for IPI check.

- - -
- CheckDiagnose(65) -
-
- -
- FIELD_POS_CORRECTOR_HIGHLIGHT_IR - → const CheckDiagnose - - -
-
-

IR image too bright.

- - -
- CheckDiagnose(80) -
-
- -
- FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA - → const CheckDiagnose - - -
-
-

Glares in photo area.

- - -
- CheckDiagnose(81) -
-
- -
- FIELD_POS_CORRECTOR_PHOTO_REPLACED - → const CheckDiagnose - - -
-
-

Photo replaced.

- - -
- CheckDiagnose(82) -
-
- -
- OVI_IR_INVISIBLE - → const CheckDiagnose - - -
-
-

OVI object is not visible in IR.

- - -
- CheckDiagnose(90) -
-
- -
- OVI_INSUFFICIENT_AREA - → const CheckDiagnose - - -
-
-

Insufficient area of the object OVI.

- - -
- CheckDiagnose(91) -
-
- -
- OVI_COLOR_INVARIABLE - → const CheckDiagnose - - -
-
-

OVI color of an object does not change.

- - -
- CheckDiagnose(92) -
-
- -
- OVI_BAD_COLOR_FRONT - → const CheckDiagnose - - -
-
-

Impossible to determine the color of the AXIAL image.

- - -
- CheckDiagnose(93) -
-
- -
- OVI_BAD_COLOR_SIDE - → const CheckDiagnose - - -
-
-

Impossible to determine the color of the WHITE image.

- - -
- CheckDiagnose(94) -
-
- -
- OVI_WIDE_COLOR_SPREAD - → const CheckDiagnose - - -
-
-

Wide color spread.

- - -
- CheckDiagnose(95) -
-
- -
- OVI_BAD_COLOR_PERCENT - → const CheckDiagnose - - -
-
-

Not enough color information.

- - -
- CheckDiagnose(96) -
-
- -
- HOLOGRAM_ELEMENT_ABSENT - → const CheckDiagnose - - -
-
-

Hologram element absent.

- - -
- CheckDiagnose(100) -
-
- -
- HOLOGRAM_SIDE_TOP_IMAGES_ABSENT - → const CheckDiagnose - - -
-
-

There are no side or top images. Check cancelled.

- - -
- CheckDiagnose(101) -
-
- -
- HOLOGRAM_ELEMENT_PRESENT - → const CheckDiagnose - - -
-
-

Hologram element present.

- - -
- CheckDiagnose(102) -
-
- -
- HOLOGRAM_FRAMES_IS_ABSENT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(103) -
-
- -
- HOLOGRAM_HOLO_FIELD_IS_ABSENT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(104) -
-
- -
- PHOTO_PATTERN_INTERRUPTED - → const CheckDiagnose - - -
-
-

Pattern is interrupted.

- - -
- CheckDiagnose(110) -
-
- -
- PHOTO_PATTERN_SHIFTED - → const CheckDiagnose - - -
-
-

Some of the patterns are shifted relative to each other.

- - -
- CheckDiagnose(111) -
-
- -
- PHOTO_PATTERN_DIFFERENT_COLORS - → const CheckDiagnose - - -
-
-

Some parts of the pattern have different color.

- - -
- CheckDiagnose(112) -
-
- -
- PHOTO_PATTERN_IR_VISIBLE - → const CheckDiagnose - - -
-
-

Pattern visible in the infrared.

- - -
- CheckDiagnose(113) -
-
- -
- PHOTO_PATTERN_NOT_INTERSECT - → const CheckDiagnose - - -
-
-

Edge of the photo does not intersect with the pattern. Check cancelled.

- - -
- CheckDiagnose(114) -
-
- -
- PHOTO_SIZE_IS_WRONG - → const CheckDiagnose - - -
-
-

Size of the photo does not correspond to requirements.

- - -
- CheckDiagnose(115) -
-
- -
- PHOTO_PATTERN_INVALID_COLOR - → const CheckDiagnose - - -
-
-

Some parts of the pattern have invalid color.

- - -
- CheckDiagnose(116) -
-
- -
- PHOTO_PATTERN_SHIFTED_VERT - → const CheckDiagnose - - -
-
-

Some patterns are relatively shifted.

- - -
- CheckDiagnose(117) -
-
- -
- PHOTO_PATTERN_PATTERN_NOT_FOUND - → const CheckDiagnose - - -
-
-

Not found Pattern. Check cancelled.

- - -
- CheckDiagnose(118) -
-
- -
- PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS - → const CheckDiagnose - - -
-
-

Different lines thickness.

- - -
- CheckDiagnose(119) -
-
- -
- PHOTO_IS_NOT_RECTANGLE - → const CheckDiagnose - - -
-
-

Photo shape is not rectangular.

- - -
- CheckDiagnose(120) -
-
- -
- PHOTO_CORNERS_IS_WRONG - → const CheckDiagnose - - -
-
-

Photo corners don't meet the requirements.

- - -
- CheckDiagnose(121) -
-
- -
- DOCUMENT_IS_CANCELLING - → const CheckDiagnose - - -
-
-

For internal use only.

- - -
- CheckDiagnose(122) -
-
- -
- TEXT_COLOR_SHOULD_BE_BLUE - → const CheckDiagnose - - -
-
-

Text color should be blue.

- - -
- CheckDiagnose(130) -
-
- -
- TEXT_COLOR_SHOULD_BE_GREEN - → const CheckDiagnose - - -
-
-

Text color should be green.

- - -
- CheckDiagnose(131) -
-
- -
- TEXT_COLOR_SHOULD_BE_RED - → const CheckDiagnose - - -
-
-

Text color should be red.

- - -
- CheckDiagnose(132) -
-
- -
- TEXT_SHOULD_BE_BLACK - → const CheckDiagnose - - -
-
-

Text should be black.

- - -
- CheckDiagnose(133) -
-
- -
- BARCODE_WAS_READ_WITH_ERRORS - → const CheckDiagnose - - -
-
-

Barcode read with errors.

- - -
- CheckDiagnose(140) -
-
- -
- BARCODE_DATA_FORMAT_ERROR - → const CheckDiagnose - - -
-
-

Barcode data format error.

- - -
- CheckDiagnose(141) -
-
- -
- BARCODE_SIZE_PARAMS_ERROR - → const CheckDiagnose - - -
-
-

Barcode size parameters error.

- - -
- CheckDiagnose(142) -
-
- -
- NOT_ALL_BARCODES_READ - → const CheckDiagnose - - -
-
-

Not all barcodes read.

- - -
- CheckDiagnose(143) -
-
- -
- GLARES_IN_BARCODE_AREA - → const CheckDiagnose - - -
-
-

Glares in barcode area.

- - -
- CheckDiagnose(144) -
-
- -
- PORTRAIT_COMPARISON_PORTRAITS_DIFFER - → const CheckDiagnose - - -
-
-

Portraits differ.

- - -
- CheckDiagnose(150) -
-
- -
- PORTRAIT_COMPARISON_NO_SERVICE_REPLY - → const CheckDiagnose - - -
-
-

No reply from portrait comparison service.

- - -
- CheckDiagnose(151) -
-
- -
- PORTRAIT_COMPARISON_SERVICE_ERROR - → const CheckDiagnose - - -
-
-

Portrait comparison service error.

- - -
- CheckDiagnose(152) -
-
- -
- PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES - → const CheckDiagnose - - -
-
-

Not enough images.

- - -
- CheckDiagnose(153) -
-
- -
- PORTRAIT_COMPARISON_NO_LIVE_PHOTO - → const CheckDiagnose - - -
-
-

No image from camera.

- - -
- CheckDiagnose(154) -
-
- -
- PORTRAIT_COMPARISON_NO_SERVICE_LICENSE - → const CheckDiagnose - - -
-
-

No license on portrait comparison service.

- - -
- CheckDiagnose(155) -
-
- -
- PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED - → const CheckDiagnose - - -
-
-

No portraits detected

- - -
- CheckDiagnose(156) -
-
- -
- MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS - → const CheckDiagnose - - -
-
-

Unsuitable light conditions.

- - -
- CheckDiagnose(160) -
-
- -
- MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE - → const CheckDiagnose - - -
-
-

No difference in visible and UV mobile images. Possible UV torch malfunction.

- - -
- CheckDiagnose(161) -
-
- -
- FINGERPRINTS_COMPARISON_MISMATCH - → const CheckDiagnose - - -
-
-

Fingerprints comparison mismatch.

- - -
- CheckDiagnose(170) -
-
- -
- HOLO_PHOTO_FACE_NOT_DETECTED - → const CheckDiagnose - - -
-
-

Face isn’t detected.

- - -
- CheckDiagnose(180) -
-
- -
- HOLO_PHOTO_FACE_COMPARISON_FAILED - → const CheckDiagnose - - -
-
-

Face comparison failed.

- - -
- CheckDiagnose(181) -
-
- -
- HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT - → const CheckDiagnose - - -
-
-

Glare in center absent.

- - -
- CheckDiagnose(182) -
-
- -
- HOLO_ELEMENT_SHAPE_ERROR - → const CheckDiagnose - - -
-
-

Hologram element shape error.

- - -
- CheckDiagnose(183) -
-
- -
- ALGORITHM_STEPS_ERROR - → const CheckDiagnose - - -
-
-

Algorithm steps error.

- - -
- CheckDiagnose(184) -
-
- -
- HOLO_AREAS_NOT_LOADED - → const CheckDiagnose - - -
-
-

Hologram areas not loaded.

- - -
- CheckDiagnose(185) -
-
- -
- FINISHED_BY_TIMEOUT - → const CheckDiagnose - - -
-
-

Hologram check finished by time out.

- - -
- CheckDiagnose(186) -
-
- -
- HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(187) -
-
- -
- LIVENESS_DEPTH_CHECK_FAILED - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(190) -
-
- -
- MRZ_QUALITY_WRONG_SYMBOL_POSITION - → const CheckDiagnose - - -
-
-

Hologram check finished by time out.

- - -
- CheckDiagnose(200) -
-
- -
- MRZ_QUALITY_WRONG_BACKGROUND - → const CheckDiagnose - - -
-
-

Wrong background.

- - -
- CheckDiagnose(201) -
-
- -
- MRZ_QUALITY_WRONG_MRZ_WIDTH - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(202) -
-
- -
- MRZ_QUALITY_WRONG_MRZ_HEIGHT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(203) -
-
- -
- MRZ_QUALITY_WRONG_LINE_POSITION - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(204) -
-
- -
- MRZ_QUALITY_WRONG_FONT_TYPE - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(205) -
-
- -
- OCR_QUALITY_TEXT_POSITION - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(220) -
-
- -
- OCR_QUALITY_INVALID_FONT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(221) -
-
- -
- OCR_QUALITY_INVALID_BACKGROUND - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(222) -
-
- -
- LAS_INK_INVALID_LINES_FREQUENCY - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(230) -
-
- -
- DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED - → const CheckDiagnose - - -
-
-

Traces of an electronic device were found in the image.

- - -
- CheckDiagnose(240) -
-
- -
- DOC_LIVENESS_INVALID_BARCODE_BACKGROUND - → const CheckDiagnose - - -
-
-

Invalid barcode background.

- - -
- CheckDiagnose(241) -
-
- -
- ICAO_IDB_BASE_32_ERROR - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(243) -
-
- -
- ICAO_IDB_ZIPPED_ERROR - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(244) -
-
- -
- ICAO_IDB_MESSAGE_ZONE_EMPTY - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(245) -
-
- -
- ICAO_IDB_SIGNATURE_MUST_BE_PRESENT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(246) -
-
- -
- ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(247) -
-
- -
- ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT - → const CheckDiagnose - - -
-
- - - -
- CheckDiagnose(248) -
-
- -
- LAST_DIAGNOSE_VALUE - → const CheckDiagnose - - -
-
-

For internal use.

- - -
- CheckDiagnose(250) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CheckDiagnose? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CheckDiagnose> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, PASS, INVALID_INPUT_DATA, INTERNAL_ERROR, EXCEPTION_IN_MODULE, UNCERTAIN_VERIFICATION, NECESSARY_IMAGE_NOT_FOUND, PHOTO_SIDES_NOT_FOUND, INVALID_CHECKSUM, SYNTAX_ERROR, LOGIC_ERROR, SOURCES_… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckDiagnose/CheckDiagnose.html b/docs/document_reader/CheckDiagnose/CheckDiagnose.html deleted file mode 100644 index 0cdfe69f3a..0000000000 --- a/docs/document_reader/CheckDiagnose/CheckDiagnose.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CheckDiagnose constructor - CheckDiagnose - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CheckDiagnose
- -
- -
-
-
- -
-
-

CheckDiagnose constructor -

- -
- const - CheckDiagnose(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CheckDiagnose
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckDiagnose/value.html b/docs/document_reader/CheckDiagnose/value.html deleted file mode 100644 index 5a231dface..0000000000 --- a/docs/document_reader/CheckDiagnose/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CheckDiagnose enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckDiagnose/values-constant.html b/docs/document_reader/CheckDiagnose/values-constant.html deleted file mode 100644 index 6d3d1414a9..0000000000 --- a/docs/document_reader/CheckDiagnose/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CheckDiagnose enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CheckDiagnose> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckResult-enum-sidebar.html b/docs/document_reader/CheckResult-enum-sidebar.html deleted file mode 100644 index 589f23e1e3..0000000000 --- a/docs/document_reader/CheckResult-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CheckResult
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. ERROR
  10. -
  11. OK
  12. -
  13. WAS_NOT_DONE
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/CheckResult.html b/docs/document_reader/CheckResult.html deleted file mode 100644 index dd400edff7..0000000000 --- a/docs/document_reader/CheckResult.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - CheckResult enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CheckResult
- -
- -
-
-
- -
-
- -

- CheckResult - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CheckResult(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CheckResult - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CheckResult(-1) -
-
- -
- ERROR - → const CheckResult - - -
-
-

Check was not passed, the controlled parameter is not permitted.

- - -
- CheckResult(0) -
-
- -
- OK - → const CheckResult - - -
-
-

Check was passed, the controlled parameter is permitted.

- - -
- CheckResult(1) -
-
- -
- WAS_NOT_DONE - → const CheckResult - - -
-
-

Check was not carried out.

- - -
- CheckResult(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CheckResult? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CheckResult> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, ERROR, OK, WAS_NOT_DONE] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckResult/CheckResult.html b/docs/document_reader/CheckResult/CheckResult.html deleted file mode 100644 index 81f226d10a..0000000000 --- a/docs/document_reader/CheckResult/CheckResult.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CheckResult constructor - CheckResult - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CheckResult
- -
- -
-
-
- -
-
-

CheckResult constructor -

- -
- const - CheckResult(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CheckResult
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckResult/value.html b/docs/document_reader/CheckResult/value.html deleted file mode 100644 index f9fe3bb4a1..0000000000 --- a/docs/document_reader/CheckResult/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CheckResult enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CheckResult/values-constant.html b/docs/document_reader/CheckResult/values-constant.html deleted file mode 100644 index 1f9bb30b6c..0000000000 --- a/docs/document_reader/CheckResult/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CheckResult enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CheckResult> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ChipDetectedCompletion.html b/docs/document_reader/ChipDetectedCompletion.html deleted file mode 100644 index 34d33b03ca..0000000000 --- a/docs/document_reader/ChipDetectedCompletion.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - ChipDetectedCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ChipDetectedCompletion
- -
- -
-
-
- -
-
-

ChipDetectedCompletion typedef - -

- -
- ChipDetectedCompletion = - void Function() - -
- - -
-

Callback for receiving signal when RFID chip is recognized -by a phone and chip reading is started.

-

Only used with default constructor. If RFIDConfig.withoutUI was used, -you will receive this update via DocumentReaderCompletion.

-
- - -
-

Implementation

-
typedef ChipDetectedCompletion = void Function();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison-class-sidebar.html b/docs/document_reader/Comparison-class-sidebar.html deleted file mode 100644 index fc95863dd8..0000000000 --- a/docs/document_reader/Comparison-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Comparison
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. sourceTypeLeft
  12. -
  13. sourceTypeRight
  14. -
  15. status
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/Comparison-class.html b/docs/document_reader/Comparison-class.html deleted file mode 100644 index af976e9d3d..0000000000 --- a/docs/document_reader/Comparison-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Comparison
- -
- -
-
-
- -
-
-

Comparison class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- Comparison() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- sourceTypeLeft - ResultType - -
-
- The value's origin source. -
no setter
- -
- -
- sourceTypeRight - ResultType - -
-
- The value's origin source. -
no setter
- -
- -
- status - CheckResult - -
-
- The status of field comparisons. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Comparison? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/Comparison.html b/docs/document_reader/Comparison/Comparison.html deleted file mode 100644 index 88d6cc93f6..0000000000 --- a/docs/document_reader/Comparison/Comparison.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Comparison constructor - Comparison - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Comparison
- -
- -
-
-
- -
-
-

Comparison constructor -

- -
- - Comparison() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/fromJson.html b/docs/document_reader/Comparison/fromJson.html deleted file mode 100644 index 69fc763104..0000000000 --- a/docs/document_reader/Comparison/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Comparison? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Comparison? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Comparison();
-
-  result._sourceTypeLeft =
-      ResultType.getByValue(jsonObject["sourceTypeLeft"])!;
-  result._sourceTypeRight =
-      ResultType.getByValue(jsonObject["sourceTypeRight"])!;
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/sourceTypeLeft.html b/docs/document_reader/Comparison/sourceTypeLeft.html deleted file mode 100644 index e35c016132..0000000000 --- a/docs/document_reader/Comparison/sourceTypeLeft.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceTypeLeft property - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceTypeLeft
- -
- -
-
-
- -
-
-

sourceTypeLeft property -

- - - -
- -
- - ResultType - sourceTypeLeft - - -
- - -
-

The value's origin source.

-
- - -
-

Implementation

-
ResultType get sourceTypeLeft => _sourceTypeLeft;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/sourceTypeRight.html b/docs/document_reader/Comparison/sourceTypeRight.html deleted file mode 100644 index 2113b0e6b7..0000000000 --- a/docs/document_reader/Comparison/sourceTypeRight.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceTypeRight property - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceTypeRight
- -
- -
-
-
- -
-
-

sourceTypeRight property -

- - - -
- -
- - ResultType - sourceTypeRight - - -
- - -
-

The value's origin source.

-
- - -
-

Implementation

-
ResultType get sourceTypeRight => _sourceTypeRight;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/status.html b/docs/document_reader/Comparison/status.html deleted file mode 100644 index a0e9da0909..0000000000 --- a/docs/document_reader/Comparison/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

The status of field comparisons.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Comparison/toJson.html b/docs/document_reader/Comparison/toJson.html deleted file mode 100644 index 2af57023a6..0000000000 --- a/docs/document_reader/Comparison/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - Comparison class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "sourceTypeLeft": sourceTypeLeft.value,
-      "sourceTypeRight": sourceTypeRight.value,
-      "status": status.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate-class-sidebar.html b/docs/document_reader/Coordinate-class-sidebar.html deleted file mode 100644 index aa6c78d771..0000000000 --- a/docs/document_reader/Coordinate-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Coordinate
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. x
  12. -
  13. y
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/Coordinate-class.html b/docs/document_reader/Coordinate-class.html deleted file mode 100644 index b5bd259288..0000000000 --- a/docs/document_reader/Coordinate-class.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - Coordinate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Coordinate
- -
- -
-
-
- -
-
-

Coordinate class - -

- - -
-

Structure describing point coordinate.

-
- - - - -
-

Constructors

- -
-
- Coordinate() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- x - int - -
-
- -
no setter
- -
- -
- y - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Coordinate? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate/Coordinate.html b/docs/document_reader/Coordinate/Coordinate.html deleted file mode 100644 index d7a83e7fb4..0000000000 --- a/docs/document_reader/Coordinate/Coordinate.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Coordinate constructor - Coordinate - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Coordinate
- -
- -
-
-
- -
-
-

Coordinate constructor -

- -
- - Coordinate() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate/fromJson.html b/docs/document_reader/Coordinate/fromJson.html deleted file mode 100644 index 7819be1c8f..0000000000 --- a/docs/document_reader/Coordinate/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - Coordinate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Coordinate? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Coordinate? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Coordinate();
-
-  result._x = jsonObject["x"];
-  result._y = jsonObject["y"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate/toJson.html b/docs/document_reader/Coordinate/toJson.html deleted file mode 100644 index 946a828bf2..0000000000 --- a/docs/document_reader/Coordinate/toJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - toJson method - Coordinate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() {
-  Map<String, dynamic> result = {};
-
-  result["x"] = x;
-  result["y"] = y;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate/x.html b/docs/document_reader/Coordinate/x.html deleted file mode 100644 index ac306769c8..0000000000 --- a/docs/document_reader/Coordinate/x.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - x property - Coordinate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
x
- -
- -
-
-
- -
-
-

x property -

- - - -
- -
- - int - x - - -
- - - - -
-

Implementation

-
int get x => _x;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Coordinate/y.html b/docs/document_reader/Coordinate/y.html deleted file mode 100644 index 0e4c475391..0000000000 --- a/docs/document_reader/Coordinate/y.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - y property - Coordinate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
y
- -
- -
-
-
- -
-
-

y property -

- - - -
- -
- - int - y - - -
- - - - -
-

Implementation

-
int get y => _y;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomButtonTag-enum-sidebar.html b/docs/document_reader/CustomButtonTag-enum-sidebar.html deleted file mode 100644 index ec1b4ab0a3..0000000000 --- a/docs/document_reader/CustomButtonTag-enum-sidebar.html +++ /dev/null @@ -1,37 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CustomButtonTag
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. CLOSE
  10. -
  11. TORCH
  12. -
  13. CAPTURE
  14. -
  15. CHANGE_FRAME
  16. -
  17. SKIP
  18. -
  19. CAMERA_SWITCH
  20. - -
  21. - Properties -
  22. -
  23. hashCode
  24. -
  25. index
  26. -
  27. runtimeType
  28. -
  29. value
  30. - -
  31. Methods
  32. -
  33. noSuchMethod
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. getByValue
  44. - -
  45. Constants
  46. -
  47. values
  48. -
diff --git a/docs/document_reader/CustomButtonTag.html b/docs/document_reader/CustomButtonTag.html deleted file mode 100644 index 5b03442451..0000000000 --- a/docs/document_reader/CustomButtonTag.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - - - CustomButtonTag enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomButtonTag
- -
- -
-
-
- -
-
- -

- CustomButtonTag - enum - - -

-
- - -
-

Button tags for UI customization.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- CustomButtonTag(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const CustomButtonTag - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- CustomButtonTag(-1) -
-
- -
- CLOSE - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1001) -
-
- -
- TORCH - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1002) -
-
- -
- CAPTURE - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1003) -
-
- -
- CHANGE_FRAME - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1004) -
-
- -
- SKIP - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1005) -
-
- -
- CAMERA_SWITCH - → const CustomButtonTag - - -
-
- - - -
- CustomButtonTag(1006) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - CustomButtonTag? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<CustomButtonTag> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, CLOSE, TORCH, CAPTURE, CHANGE_FRAME, SKIP, CAMERA_SWITCH] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomButtonTag/CustomButtonTag.html b/docs/document_reader/CustomButtonTag/CustomButtonTag.html deleted file mode 100644 index 59912d645c..0000000000 --- a/docs/document_reader/CustomButtonTag/CustomButtonTag.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - CustomButtonTag constructor - CustomButtonTag - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomButtonTag
- -
- -
-
-
- -
-
-

CustomButtonTag constructor -

- -
- const - CustomButtonTag(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const CustomButtonTag
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomButtonTag/value.html b/docs/document_reader/CustomButtonTag/value.html deleted file mode 100644 index 2fa99365a5..0000000000 --- a/docs/document_reader/CustomButtonTag/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - CustomButtonTag enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomButtonTag/values-constant.html b/docs/document_reader/CustomButtonTag/values-constant.html deleted file mode 100644 index f457f1d954..0000000000 --- a/docs/document_reader/CustomButtonTag/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - CustomButtonTag enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<CustomButtonTag> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomButtonTappedCompletion.html b/docs/document_reader/CustomButtonTappedCompletion.html deleted file mode 100644 index 581917a9e9..0000000000 --- a/docs/document_reader/CustomButtonTappedCompletion.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - CustomButtonTappedCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomButtonTappedCompletion
- -
- -
-
-
- -
-
-

CustomButtonTappedCompletion typedef - -

- -
- CustomButtonTappedCompletion = - void Function(int tag) - -
- - -
-

Callback for receiving signal, when a custom button, -configured in Customization.uiCustomizationLayer, is pressed.

-

tag button id, indication which button was pressed.

-
- - -
-

Implementation

-
typedef CustomButtonTappedCompletion = void Function(int tag);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization-class-sidebar.html b/docs/document_reader/Customization-class-sidebar.html deleted file mode 100644 index 71cc38ed46..0000000000 --- a/docs/document_reader/Customization-class-sidebar.html +++ /dev/null @@ -1,88 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Customization
  4. - - -
  5. - Properties -
  6. -
  7. activityIndicatorColor
  8. -
  9. backgroundMaskAlpha
  10. -
  11. borderBackgroundImage
  12. -
  13. borderBackgroundImageTransformsAndroid
  14. -
  15. borderBackgroundImageTransformsIOS
  16. -
  17. cameraFrameActiveColor
  18. -
  19. cameraFrameBorderWidth
  20. -
  21. cameraFrameCornerRadius
  22. -
  23. cameraFrameDefaultColor
  24. -
  25. cameraFrameLandscapeAspectRatio
  26. -
  27. cameraFrameLineCap
  28. -
  29. cameraFrameLineLength
  30. -
  31. cameraFrameOffsetWidth
  32. -
  33. cameraFramePortraitAspectRatio
  34. -
  35. cameraFrameShapeType
  36. -
  37. cameraFrameVerticalPositionMultiplier
  38. -
  39. cameraPreviewBackgroundColor
  40. -
  41. cameraSwitchButtonImage
  42. -
  43. captureButtonImage
  44. -
  45. changeFrameButtonCollapseImage
  46. -
  47. changeFrameButtonExpandImage
  48. -
  49. closeButtonImage
  50. -
  51. colors
  52. -
  53. customLabelStatus
  54. -
  55. customStatusPositionMultiplier
  56. -
  57. fonts
  58. -
  59. hashCode
  60. -
  61. helpAnimationImage
  62. -
  63. helpAnimationImageTransformsAndroid
  64. -
  65. helpAnimationImageTransformsIOS
  66. -
  67. images
  68. -
  69. livenessAnimationImage
  70. -
  71. livenessAnimationImageTransformsAndroid
  72. -
  73. livenessAnimationImageTransformsIOS
  74. -
  75. livenessAnimationPositionMultiplier
  76. -
  77. multipageAnimationBackImage
  78. -
  79. multipageAnimationBackImageTransformsAndroid
  80. -
  81. multipageAnimationBackImageTransformsIOS
  82. -
  83. multipageAnimationFrontImage
  84. -
  85. multipageAnimationFrontImageTransformsAndroid
  86. -
  87. multipageAnimationFrontImageTransformsIOS
  88. -
  89. multipageButtonBackgroundColor
  90. -
  91. resultStatus
  92. -
  93. resultStatusBackgroundColor
  94. -
  95. resultStatusPositionMultiplier
  96. -
  97. resultStatusTextColor
  98. -
  99. resultStatusTextFont
  100. -
  101. runtimeType
  102. -
  103. showBackgroundMask
  104. -
  105. showHelpAnimation
  106. -
  107. showNextPageAnimation
  108. -
  109. showResultStatusMessages
  110. -
  111. showStatusMessages
  112. -
  113. status
  114. -
  115. statusBackgroundColor
  116. -
  117. statusPositionMultiplier
  118. -
  119. statusTextColor
  120. -
  121. statusTextFont
  122. -
  123. testSetters
  124. -
  125. tintColor
  126. -
  127. toolbarSize
  128. -
  129. torchButtonOffImage
  130. -
  131. torchButtonOnImage
  132. -
  133. uiCustomizationLayer
  134. - -
  135. Methods
  136. -
  137. noSuchMethod
  138. -
  139. toJson
  140. -
  141. toString
  142. - -
  143. Operators
  144. -
  145. operator ==
  146. - - - -
  147. Static methods
  148. -
  149. fromJson
  150. - -
diff --git a/docs/document_reader/Customization-class.html b/docs/document_reader/Customization-class.html deleted file mode 100644 index 82ef7e2309..0000000000 --- a/docs/document_reader/Customization-class.html +++ /dev/null @@ -1,950 +0,0 @@ - - - - - - - - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Customization
- -
- -
-
-
- -
-
-

Customization class - -

- - -
-

Params that relate to the camera view controller customization and etc.

-
- - - - -
-

Constructors

- -
-
- Customization() -
-
- -
-
-
- -
-

Properties

- -
-
- activityIndicatorColor - ↔ dynamic - -
-
- Allows you to set a color for the activity indicator. -
getter/setter pair
- -
- -
- backgroundMaskAlpha - double? - -
-
- Allows you to set intensity of the background mask. -
getter/setter pair
- -
- -
- borderBackgroundImage - ↔ dynamic - -
-
- Allows you to set any image within the camera frame. -
getter/setter pair
- -
- -
- borderBackgroundImageTransformsAndroid - List<double>? - -
-
- Matrix used to scale the view within the camera frame. -
getter/setter pair
- -
- -
- borderBackgroundImageTransformsIOS - ViewContentMode? - -
-
- Allows you to specify how a view within the camera frame adjusts -its content when its size changes. -
getter/setter pair
- -
- -
- cameraFrameActiveColor - ↔ dynamic - -
-
- Allows you to set a color for the camera frame when a document is detected. -
getter/setter pair
- -
- -
- cameraFrameBorderWidth - int? - -
-
- Allows you to set thickness of the camera frame borders. -
getter/setter pair
- -
- -
- cameraFrameCornerRadius - double? - -
-
- Allows you to set a corner radius of the camera frame. -
getter/setter pair
- -
- -
- cameraFrameDefaultColor - ↔ dynamic - -
-
- Allows you to set a color for the camera frame when a document is out -of the camera frame or is not detected. -
getter/setter pair
- -
- -
- cameraFrameLandscapeAspectRatio - double? - -
-
- Allows you to set an aspect ratio of the camera frame (landscape orientation). -Default: 0. -
getter/setter pair
- -
- -
- cameraFrameLineCap - Cap? - -
-
- Allows you to customize the beginning and ending of stroked lines -of the camera frame. -
getter/setter pair
- -
- -
- cameraFrameLineLength - int? - -
-
- Allows you to set length of the lines of the camera frame. -
getter/setter pair
- -
- -
- cameraFrameOffsetWidth - int? - -
-
- Allows you to set an offset for the camera frame (portrait orientation). -
getter/setter pair
- -
- -
- cameraFramePortraitAspectRatio - double? - -
-
- Allows you to set an aspect ratio of the camera frame (portrait orientation). -
getter/setter pair
- -
- -
- cameraFrameShapeType - FrameShapeType? - -
-
- Allows you to set a shape type for the camera frame. -
getter/setter pair
- -
- -
- cameraFrameVerticalPositionMultiplier - double? - -
-
- Allows you to change the location of the camera frame vertically. -
getter/setter pair
- -
- -
- cameraPreviewBackgroundColor - ↔ dynamic - -
-
- Allows you to set a background color for the camera preview -(top and bottom frames). -
getter/setter pair
- -
- -
- cameraSwitchButtonImage - ↔ dynamic - -
-
- Allows you to set any image for the button that allows -changing positions of the capture device. -
getter/setter pair
- -
- -
- captureButtonImage - ↔ dynamic - -
-
- Allows you to set any image for the capture button. -
getter/setter pair
- -
- -
- changeFrameButtonCollapseImage - ↔ dynamic - -
-
- Allows you to set any image for the button that allows changing -shapes of the camera (collapsed state). -
getter/setter pair
- -
- -
- changeFrameButtonExpandImage - ↔ dynamic - -
-
- Allows you to set any image for the button that allows changing -shapes of the camera (expanded state). -
getter/setter pair
- -
- -
- closeButtonImage - ↔ dynamic - -
-
- Allows you to set any image for the close button. -
getter/setter pair
- -
- -
- colors - CustomizationColors - -
-
- -
getter/setter pair
- -
- -
- customLabelStatus - String? - -
-
- Allows you to create a custom status. -
getter/setter pair
- -
- -
- customStatusPositionMultiplier - double? - -
-
- Allows you to change the location of the custom status. -
getter/setter pair
- -
- -
- fonts - CustomizationFonts - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- helpAnimationImage - ↔ dynamic - -
-
- Allows you to set any image for the help animation. -
getter/setter pair
- -
- -
- helpAnimationImageTransformsAndroid - List<double>? - -
-
- Matrix used to scale help animation. -
getter/setter pair
- -
- -
- helpAnimationImageTransformsIOS - ViewContentMode? - -
-
- Allows you to specify how a view of the help animation adjusts -its content when its size changes. -
getter/setter pair
- -
- -
- images - CustomizationImages - -
-
- -
getter/setter pair
- -
- -
- livenessAnimationImage - ↔ dynamic - -
-
- Allows you to set any image for the liveness animation. -
getter/setter pair
- -
- -
- livenessAnimationImageTransformsAndroid - List<double>? - -
-
- Matrix used to scale liveness animation. -
getter/setter pair
- -
- -
- livenessAnimationImageTransformsIOS - ViewContentMode? - -
-
- Allows you to specify how a view of the liveness animation -adjusts its content when its size changes. -
getter/setter pair
- -
- -
- livenessAnimationPositionMultiplier - double? - -
-
- Allows you to change the location of the liveness animation. -
getter/setter pair
- -
- -
- multipageAnimationBackImage - ↔ dynamic - -
-
- Allows you to set any image for the multipage animation (back side). -
getter/setter pair
- -
- -
- multipageAnimationBackImageTransformsAndroid - List<double>? - -
-
- Matrix used to scale multipage animation (back side). -
getter/setter pair
- -
- -
- multipageAnimationBackImageTransformsIOS - ViewContentMode? - -
-
- Allows you to specify how a view of the multipage animation (back side) -adjusts its content when its size changes. -
getter/setter pair
- -
- -
- multipageAnimationFrontImage - ↔ dynamic - -
-
- Allows you to set any image for the multipage animation (front side). -
getter/setter pair
- -
- -
- multipageAnimationFrontImageTransformsAndroid - List<double>? - -
-
- Matrix used to scale multipage animation (front side). -
getter/setter pair
- -
- -
- multipageAnimationFrontImageTransformsIOS - ViewContentMode? - -
-
- Allows you to specify how a view of the multipage animation (front side) -adjusts its content when its size changes. -
getter/setter pair
- -
- -
- multipageButtonBackgroundColor - ↔ dynamic - -
-
- Allows you to set a color for the "Skip next page" button. -
getter/setter pair
- -
- -
- resultStatus - String? - -
-
- Allows you to set any string to the result status. -
getter/setter pair
- -
- -
- resultStatusBackgroundColor - ↔ dynamic - -
-
- Allows you to set a color of the background for the result status messages. -
getter/setter pair
- -
- -
- resultStatusPositionMultiplier - double? - -
-
- Allows you to change the location of the result status. -
getter/setter pair
- -
- -
- resultStatusTextColor - ↔ dynamic - -
-
- Allows you to set a color for the result status messages. -
getter/setter pair
- -
- -
- resultStatusTextFont - Font? - -
-
- Allows you to set a font for the result status messages. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- showBackgroundMask - bool? - -
-
- If it's set to true, the background mask next to the camera frame -will be displayed. -
getter/setter pair
- -
- -
- showHelpAnimation - bool? - -
-
- If it's set to true, the animation showing how to position a document -will be displayed. -
getter/setter pair
- -
- -
- showNextPageAnimation - bool? - -
-
- If it's set to true, the animation asking for processing -the next page will be displayed. -
getter/setter pair
- -
- -
- showResultStatusMessages - bool? - -
-
- If it's set to true, result status messages during the document processing -will be shown. -
getter/setter pair
- -
- -
- showStatusMessages - bool? - -
-
- If it's set to true, status messages during the document processing -will be shown. -
getter/setter pair
- -
- -
- status - String? - -
-
- Allows you to set any string to the status. -
getter/setter pair
- -
- -
- statusBackgroundColor - ↔ dynamic - -
-
- Allows you to set a background color for the status messages. -
getter/setter pair
- -
- -
- statusPositionMultiplier - double? - -
-
- Allows you to change the location of the status. -
getter/setter pair
- -
- -
- statusTextColor - ↔ dynamic - -
-
- Allows you to set a color for the status messages. -
getter/setter pair
- -
- -
- statusTextFont - Font? - -
-
- Allows you to set a font for the status messages. -
getter/setter pair
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
- tintColor - ↔ dynamic - -
-
- Allows you to set a color for all visual elements. -
getter/setter pair
- -
- -
- toolbarSize - double? - -
-
- Allows you to set a size for the toolbar -(it's where all buttons are located). -
getter/setter pair
- -
- -
- torchButtonOffImage - ↔ dynamic - -
-
- Allows you to set any image for the torch button when its state is OFF. -
getter/setter pair
- -
- -
- torchButtonOnImage - ↔ dynamic - -
-
- Allows you to set any image for the torch button when its state is ON. -
getter/setter pair
- -
- -
- uiCustomizationLayer - Map<String, dynamic>? - -
-
- JSON structure defining labels and graphic elements -to be added to the Camera UI -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Customization - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/Customization.html b/docs/document_reader/Customization/Customization.html deleted file mode 100644 index 26326b1f1b..0000000000 --- a/docs/document_reader/Customization/Customization.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Customization constructor - Customization - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Customization
- -
- -
-
-
- -
-
-

Customization constructor -

- -
- - Customization() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/activityIndicatorColor.html b/docs/document_reader/Customization/activityIndicatorColor.html deleted file mode 100644 index 83372877d3..0000000000 --- a/docs/document_reader/Customization/activityIndicatorColor.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - activityIndicatorColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
activityIndicatorColor
- -
- -
-
-
- -
-
-

activityIndicatorColor property -

- - - -
- -
- - dynamic - activityIndicatorColor - - -
- - -
-

Allows you to set a color for the activity indicator.

-
- - -
-

Implementation

-
Color? get activityIndicatorColor => _activityIndicatorColor;
-
- -
- - - -
- -
- - void - activityIndicatorColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set activityIndicatorColor(Color? val) {
-  _activityIndicatorColor = val;
-  _set({"activityIndicatorColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/backgroundMaskAlpha.html b/docs/document_reader/Customization/backgroundMaskAlpha.html deleted file mode 100644 index a63333ad06..0000000000 --- a/docs/document_reader/Customization/backgroundMaskAlpha.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - backgroundMaskAlpha property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
backgroundMaskAlpha
- -
- -
-
-
- -
-
-

backgroundMaskAlpha property -

- - - -
- -
- - double? - backgroundMaskAlpha - - -
- - -
-

Allows you to set intensity of the background mask.

-

Default: 0.3.

-
- - -
-

Implementation

-
double? get backgroundMaskAlpha => _backgroundMaskAlpha;
-
- -
- - - -
- -
- - void - backgroundMaskAlpha=(double? val) - - -
- - - - -
-

Implementation

-
set backgroundMaskAlpha(double? val) {
-  _backgroundMaskAlpha = val;
-  _set({"backgroundMaskAlpha": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/borderBackgroundImage.html b/docs/document_reader/Customization/borderBackgroundImage.html deleted file mode 100644 index 7c77356ba9..0000000000 --- a/docs/document_reader/Customization/borderBackgroundImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - borderBackgroundImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
borderBackgroundImage
- -
- -
-
-
- -
-
-

borderBackgroundImage property -

- - - -
- -
- - dynamic - borderBackgroundImage - - -
- - -
-

Allows you to set any image within the camera frame.

-
- - -
-

Implementation

-
ByteData? get borderBackgroundImage => _borderBackgroundImage;
-
- -
- - - -
- -
- - void - borderBackgroundImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set borderBackgroundImage(ByteData? val) {
-  _borderBackgroundImage = val;
-  _set({"borderBackgroundImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/borderBackgroundImageTransformsAndroid.html b/docs/document_reader/Customization/borderBackgroundImageTransformsAndroid.html deleted file mode 100644 index aa4ba926d3..0000000000 --- a/docs/document_reader/Customization/borderBackgroundImageTransformsAndroid.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - borderBackgroundImageTransformsAndroid property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
borderBackgroundImageTransformsAndroid
- -
- -
-
-
- -
-
-

borderBackgroundImageTransformsAndroid property -

- - - -
- -
- - List<double>? - borderBackgroundImageTransformsAndroid - - -
- - -
-

Matrix used to scale the view within the camera frame.

-

Android class android.graphics.Matrix. -Passed as Matrix.setValues()

-

Android only. For iOS use borderBackgroundImageTransformsIOS.

-
- - -
-

Implementation

-
List<double>? get borderBackgroundImageTransformsAndroid =>
-    _borderBackgroundImageTransformsAndroid;
-
- -
- - - -
- -
- - void - borderBackgroundImageTransformsAndroid=(List<double>? val) - - -
- - - - -
-

Implementation

-
set borderBackgroundImageTransformsAndroid(List<double>? val) {
-  _borderBackgroundImageTransformsAndroid = val;
-  _set({"borderBackgroundImageMatrix": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/borderBackgroundImageTransformsIOS.html b/docs/document_reader/Customization/borderBackgroundImageTransformsIOS.html deleted file mode 100644 index 2bc877dd5e..0000000000 --- a/docs/document_reader/Customization/borderBackgroundImageTransformsIOS.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - borderBackgroundImageTransformsIOS property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
borderBackgroundImageTransformsIOS
- -
- -
-
-
- -
-
-

borderBackgroundImageTransformsIOS property -

- - - -
- -
- - ViewContentMode? - borderBackgroundImageTransformsIOS - - -
- - -
-

Allows you to specify how a view within the camera frame adjusts -its content when its size changes.

-

Default: ViewContentMode.SCALE_ASPECT_FIT.

-

IOS only. For Android use borderBackgroundImageTransformsAndroid.

-
- - -
-

Implementation

-
ViewContentMode? get borderBackgroundImageTransformsIOS =>
-    _borderBackgroundImageTransformsIOS;
-
- -
- - - -
- -
- - void - borderBackgroundImageTransformsIOS=(ViewContentMode? val) - - -
- - - - -
-

Implementation

-
set borderBackgroundImageTransformsIOS(ViewContentMode? val) {
-  _borderBackgroundImageTransformsIOS = val;
-  _set({"borderBackgroundImageContentMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameActiveColor.html b/docs/document_reader/Customization/cameraFrameActiveColor.html deleted file mode 100644 index a1b18f2a81..0000000000 --- a/docs/document_reader/Customization/cameraFrameActiveColor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameActiveColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameActiveColor
- -
- -
-
-
- -
-
-

cameraFrameActiveColor property -

- - - -
- -
- - dynamic - cameraFrameActiveColor - - -
- - -
-

Allows you to set a color for the camera frame when a document is detected.

-

Default: Colors.green.

-
- - -
-

Implementation

-
Color? get cameraFrameActiveColor => _cameraFrameActiveColor;
-
- -
- - - -
- -
- - void - cameraFrameActiveColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set cameraFrameActiveColor(Color? val) {
-  _cameraFrameActiveColor = val;
-  _set({"cameraFrameActiveColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameBorderWidth.html b/docs/document_reader/Customization/cameraFrameBorderWidth.html deleted file mode 100644 index ca210a9ec6..0000000000 --- a/docs/document_reader/Customization/cameraFrameBorderWidth.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameBorderWidth property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameBorderWidth
- -
- -
-
-
- -
-
-

cameraFrameBorderWidth property -

- - - -
- -
- - int? - cameraFrameBorderWidth - - -
- - -
-

Allows you to set thickness of the camera frame borders.

-

Default: 3.

-
- - -
-

Implementation

-
int? get cameraFrameBorderWidth => _cameraFrameBorderWidth;
-
- -
- - - -
- -
- - void - cameraFrameBorderWidth=(int? val) - - -
- - - - -
-

Implementation

-
set cameraFrameBorderWidth(int? val) {
-  _cameraFrameBorderWidth = val;
-  _set({"cameraFrameBorderWidth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameCornerRadius.html b/docs/document_reader/Customization/cameraFrameCornerRadius.html deleted file mode 100644 index cf1d82a3c4..0000000000 --- a/docs/document_reader/Customization/cameraFrameCornerRadius.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameCornerRadius property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameCornerRadius
- -
- -
-
-
- -
-
-

cameraFrameCornerRadius property -

- - - -
- -
- - double? - cameraFrameCornerRadius - - -
- - -
-

Allows you to set a corner radius of the camera frame.

-

Default: 10.

-
- - -
-

Implementation

-
double? get cameraFrameCornerRadius => _cameraFrameCornerRadius;
-
- -
- - - -
- -
- - void - cameraFrameCornerRadius=(double? val) - - -
- - - - -
-

Implementation

-
set cameraFrameCornerRadius(double? val) {
-  _cameraFrameCornerRadius = val;
-  _set({"cameraFrameCornerRadius": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameDefaultColor.html b/docs/document_reader/Customization/cameraFrameDefaultColor.html deleted file mode 100644 index b3dc76ce60..0000000000 --- a/docs/document_reader/Customization/cameraFrameDefaultColor.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraFrameDefaultColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameDefaultColor
- -
- -
-
-
- -
-
-

cameraFrameDefaultColor property -

- - - -
- -
- - dynamic - cameraFrameDefaultColor - - -
- - -
-

Allows you to set a color for the camera frame when a document is out -of the camera frame or is not detected.

-

Default: Colors.white.

-
- - -
-

Implementation

-
Color? get cameraFrameDefaultColor => _cameraFrameDefaultColor;
-
- -
- - - -
- -
- - void - cameraFrameDefaultColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set cameraFrameDefaultColor(Color? val) {
-  _cameraFrameDefaultColor = val;
-  _set({"cameraFrameDefaultColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameLandscapeAspectRatio.html b/docs/document_reader/Customization/cameraFrameLandscapeAspectRatio.html deleted file mode 100644 index c079753c6d..0000000000 --- a/docs/document_reader/Customization/cameraFrameLandscapeAspectRatio.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraFrameLandscapeAspectRatio property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameLandscapeAspectRatio
- -
- -
-
-
- -
-
-

cameraFrameLandscapeAspectRatio property -

- - - -
- -
- - double? - cameraFrameLandscapeAspectRatio - - -
- - -
-

Allows you to set an aspect ratio of the camera frame (landscape orientation). -Default: 0.

-
- - -
-

Implementation

-
double? get cameraFrameLandscapeAspectRatio =>
-    _cameraFrameLandscapeAspectRatio;
-
- -
- - - -
- -
- - void - cameraFrameLandscapeAspectRatio=(double? val) - - -
- - - - -
-

Implementation

-
set cameraFrameLandscapeAspectRatio(double? val) {
-  _cameraFrameLandscapeAspectRatio = val;
-  _set({"cameraFrameLandscapeAspectRatio": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameLineCap.html b/docs/document_reader/Customization/cameraFrameLineCap.html deleted file mode 100644 index 35c2aaa81e..0000000000 --- a/docs/document_reader/Customization/cameraFrameLineCap.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraFrameLineCap property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameLineCap
- -
- -
-
-
- -
-
-

cameraFrameLineCap property -

- - - -
- -
- - Cap? - cameraFrameLineCap - - -
- - -
-

Allows you to customize the beginning and ending of stroked lines -of the camera frame.

-

Default: Cap.BUTT.

-
- - -
-

Implementation

-
Cap? get cameraFrameLineCap => _cameraFrameLineCap;
-
- -
- - - -
- -
- - void - cameraFrameLineCap=(Cap? val) - - -
- - - - -
-

Implementation

-
set cameraFrameLineCap(Cap? val) {
-  _cameraFrameLineCap = val;
-  _set({"cameraFrameLineCap": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameLineLength.html b/docs/document_reader/Customization/cameraFrameLineLength.html deleted file mode 100644 index 8f05cc377d..0000000000 --- a/docs/document_reader/Customization/cameraFrameLineLength.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - cameraFrameLineLength property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameLineLength
- -
- -
-
-
- -
-
-

cameraFrameLineLength property -

- - - -
- -
- - int? - cameraFrameLineLength - - -
- - -
-

Allows you to set length of the lines of the camera frame.

-

It's applied once you change the cameraFrameShapeType property to -FrameShapeType.CORNER.

-

Default: 25.

-
- - -
-

Implementation

-
int? get cameraFrameLineLength => _cameraFrameLineLength;
-
- -
- - - -
- -
- - void - cameraFrameLineLength=(int? val) - - -
- - - - -
-

Implementation

-
set cameraFrameLineLength(int? val) {
-  _cameraFrameLineLength = val;
-  _set({"cameraFrameLineLength": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameOffsetWidth.html b/docs/document_reader/Customization/cameraFrameOffsetWidth.html deleted file mode 100644 index e5777ab394..0000000000 --- a/docs/document_reader/Customization/cameraFrameOffsetWidth.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameOffsetWidth property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameOffsetWidth
- -
- -
-
-
- -
-
-

cameraFrameOffsetWidth property -

- - - -
- -
- - int? - cameraFrameOffsetWidth - - -
- - -
-

Allows you to set an offset for the camera frame (portrait orientation).

-

Default: 3.

-
- - -
-

Implementation

-
int? get cameraFrameOffsetWidth => _cameraFrameOffsetWidth;
-
- -
- - - -
- -
- - void - cameraFrameOffsetWidth=(int? val) - - -
- - - - -
-

Implementation

-
set cameraFrameOffsetWidth(int? val) {
-  _cameraFrameOffsetWidth = val;
-  _set({"cameraFrameOffsetWidth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFramePortraitAspectRatio.html b/docs/document_reader/Customization/cameraFramePortraitAspectRatio.html deleted file mode 100644 index 98c40e5874..0000000000 --- a/docs/document_reader/Customization/cameraFramePortraitAspectRatio.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFramePortraitAspectRatio property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFramePortraitAspectRatio
- -
- -
-
-
- -
-
-

cameraFramePortraitAspectRatio property -

- - - -
- -
- - double? - cameraFramePortraitAspectRatio - - -
- - -
-

Allows you to set an aspect ratio of the camera frame (portrait orientation).

-

Default: 0.

-
- - -
-

Implementation

-
double? get cameraFramePortraitAspectRatio => _cameraFramePortraitAspectRatio;
-
- -
- - - -
- -
- - void - cameraFramePortraitAspectRatio=(double? val) - - -
- - - - -
-

Implementation

-
set cameraFramePortraitAspectRatio(double? val) {
-  _cameraFramePortraitAspectRatio = val;
-  _set({"cameraFramePortraitAspectRatio": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameShapeType.html b/docs/document_reader/Customization/cameraFrameShapeType.html deleted file mode 100644 index 92b0d29d75..0000000000 --- a/docs/document_reader/Customization/cameraFrameShapeType.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameShapeType property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameShapeType
- -
- -
-
-
- -
-
-

cameraFrameShapeType property -

- - - -
- -
- - FrameShapeType? - cameraFrameShapeType - - -
- - -
-

Allows you to set a shape type for the camera frame.

-

Default: FrameShapeType.LINE.

-
- - -
-

Implementation

-
FrameShapeType? get cameraFrameShapeType => _cameraFrameShapeType;
-
- -
- - - -
- -
- - void - cameraFrameShapeType=(FrameShapeType? val) - - -
- - - - -
-

Implementation

-
set cameraFrameShapeType(FrameShapeType? val) {
-  _cameraFrameShapeType = val;
-  _set({"cameraFrameShapeType": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraFrameVerticalPositionMultiplier.html b/docs/document_reader/Customization/cameraFrameVerticalPositionMultiplier.html deleted file mode 100644 index 7572c9616b..0000000000 --- a/docs/document_reader/Customization/cameraFrameVerticalPositionMultiplier.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrameVerticalPositionMultiplier property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrameVerticalPositionMultiplier
- -
- -
-
-
- -
-
-

cameraFrameVerticalPositionMultiplier property -

- - - -
- -
- - double? - cameraFrameVerticalPositionMultiplier - - -
- - -
-

Allows you to change the location of the camera frame vertically.

-
- - -
-

Implementation

-
double? get cameraFrameVerticalPositionMultiplier =>
-    _cameraFrameVerticalPositionMultiplier;
-
- -
- - - -
- -
- - void - cameraFrameVerticalPositionMultiplier=(double? val) - - -
- - - - -
-

Implementation

-
set cameraFrameVerticalPositionMultiplier(double? val) {
-  _cameraFrameVerticalPositionMultiplier = val;
-  _set({"cameraFrameVerticalPositionMultiplier": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraPreviewBackgroundColor.html b/docs/document_reader/Customization/cameraPreviewBackgroundColor.html deleted file mode 100644 index 2097929696..0000000000 --- a/docs/document_reader/Customization/cameraPreviewBackgroundColor.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraPreviewBackgroundColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraPreviewBackgroundColor
- -
- -
-
-
- -
-
-

cameraPreviewBackgroundColor property -

- - - -
- -
- - dynamic - cameraPreviewBackgroundColor - - -
- - -
-

Allows you to set a background color for the camera preview -(top and bottom frames).

-

Default: Colors.black.

-
- - -
-

Implementation

-
Color? get cameraPreviewBackgroundColor => _cameraPreviewBackgroundColor;
-
- -
- - - -
- -
- - void - cameraPreviewBackgroundColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set cameraPreviewBackgroundColor(Color? val) {
-  _cameraPreviewBackgroundColor = val;
-  _set({"cameraPreviewBackgroundColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/cameraSwitchButtonImage.html b/docs/document_reader/Customization/cameraSwitchButtonImage.html deleted file mode 100644 index 3b029d5aba..0000000000 --- a/docs/document_reader/Customization/cameraSwitchButtonImage.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraSwitchButtonImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraSwitchButtonImage
- -
- -
-
-
- -
-
-

cameraSwitchButtonImage property -

- - - -
- -
- - dynamic - cameraSwitchButtonImage - - -
- - -
-

Allows you to set any image for the button that allows -changing positions of the capture device.

-
- - -
-

Implementation

-
ByteData? get cameraSwitchButtonImage => _cameraSwitchButtonImage;
-
- -
- - - -
- -
- - void - cameraSwitchButtonImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set cameraSwitchButtonImage(ByteData? val) {
-  _cameraSwitchButtonImage = val;
-  _set({"cameraSwitchButtonImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/captureButtonImage.html b/docs/document_reader/Customization/captureButtonImage.html deleted file mode 100644 index 3ff9f16687..0000000000 --- a/docs/document_reader/Customization/captureButtonImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - captureButtonImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
captureButtonImage
- -
- -
-
-
- -
-
-

captureButtonImage property -

- - - -
- -
- - dynamic - captureButtonImage - - -
- - -
-

Allows you to set any image for the capture button.

-
- - -
-

Implementation

-
ByteData? get captureButtonImage => _captureButtonImage;
-
- -
- - - -
- -
- - void - captureButtonImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set captureButtonImage(ByteData? val) {
-  _captureButtonImage = val;
-  _set({"captureButtonImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/changeFrameButtonCollapseImage.html b/docs/document_reader/Customization/changeFrameButtonCollapseImage.html deleted file mode 100644 index 63451a7dce..0000000000 --- a/docs/document_reader/Customization/changeFrameButtonCollapseImage.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - changeFrameButtonCollapseImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
changeFrameButtonCollapseImage
- -
- -
-
-
- -
-
-

changeFrameButtonCollapseImage property -

- - - -
- -
- - dynamic - changeFrameButtonCollapseImage - - -
- - -
-

Allows you to set any image for the button that allows changing -shapes of the camera (collapsed state).

-
- - -
-

Implementation

-
ByteData? get changeFrameButtonCollapseImage =>
-    _changeFrameButtonCollapseImage;
-
- -
- - - -
- -
- - void - changeFrameButtonCollapseImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set changeFrameButtonCollapseImage(ByteData? val) {
-  _changeFrameButtonCollapseImage = val;
-  _set({"changeFrameButtonCollapseImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/changeFrameButtonExpandImage.html b/docs/document_reader/Customization/changeFrameButtonExpandImage.html deleted file mode 100644 index 22c0dc7419..0000000000 --- a/docs/document_reader/Customization/changeFrameButtonExpandImage.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - changeFrameButtonExpandImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
changeFrameButtonExpandImage
- -
- -
-
-
- -
-
-

changeFrameButtonExpandImage property -

- - - -
- -
- - dynamic - changeFrameButtonExpandImage - - -
- - -
-

Allows you to set any image for the button that allows changing -shapes of the camera (expanded state).

-
- - -
-

Implementation

-
ByteData? get changeFrameButtonExpandImage => _changeFrameButtonExpandImage;
-
- -
- - - -
- -
- - void - changeFrameButtonExpandImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set changeFrameButtonExpandImage(ByteData? val) {
-  _changeFrameButtonExpandImage = val;
-  _set({"changeFrameButtonExpandImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/closeButtonImage.html b/docs/document_reader/Customization/closeButtonImage.html deleted file mode 100644 index 78902f87ce..0000000000 --- a/docs/document_reader/Customization/closeButtonImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - closeButtonImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
closeButtonImage
- -
- -
-
-
- -
-
-

closeButtonImage property -

- - - -
- -
- - dynamic - closeButtonImage - - -
- - -
-

Allows you to set any image for the close button.

-
- - -
-

Implementation

-
ByteData? get closeButtonImage => _closeButtonImage;
-
- -
- - - -
- -
- - void - closeButtonImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set closeButtonImage(ByteData? val) {
-  _closeButtonImage = val;
-  _set({"closeButtonImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/colors.html b/docs/document_reader/Customization/colors.html deleted file mode 100644 index cec05dd7fe..0000000000 --- a/docs/document_reader/Customization/colors.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - colors property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
colors
- -
- -
-
-
- -
-
-

colors property -

- - - -
- -
- - CustomizationColors - colors - - -
- - - - -
-

Implementation

-
CustomizationColors get colors => _colors;
-
- -
- - - -
- -
- - void - colors=(CustomizationColors val) - - -
- - - - -
-

Implementation

-
set colors(CustomizationColors val) {
-  (_colors = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/customLabelStatus.html b/docs/document_reader/Customization/customLabelStatus.html deleted file mode 100644 index e7c55f33c5..0000000000 --- a/docs/document_reader/Customization/customLabelStatus.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - customLabelStatus property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
customLabelStatus
- -
- -
-
-
- -
-
-

customLabelStatus property -

- - - -
- -
- - String? - customLabelStatus - - -
- - -
-

Allows you to create a custom status.

-
- - -
-

Implementation

-
String? get customLabelStatus => _customLabelStatus;
-
- -
- - - -
- -
- - void - customLabelStatus=(String? val) - - -
- - - - -
-

Implementation

-
set customLabelStatus(String? val) {
-  _customLabelStatus = val;
-  _set({"customLabelStatus": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/customStatusPositionMultiplier.html b/docs/document_reader/Customization/customStatusPositionMultiplier.html deleted file mode 100644 index 6dbbf148fb..0000000000 --- a/docs/document_reader/Customization/customStatusPositionMultiplier.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - customStatusPositionMultiplier property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
customStatusPositionMultiplier
- -
- -
-
-
- -
-
-

customStatusPositionMultiplier property -

- - - -
- -
- - double? - customStatusPositionMultiplier - - -
- - -
-

Allows you to change the location of the custom status.

-

For example, if you set the multiplier to 0.5 and the number of pixels -by vertical is equal to 800, your message will be centralized and located -at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier -is equal to 1, the message will be centered. If the multiplier is equal -to zero, the default location will be used.

-

Default: 1.

-
- - -
-

Implementation

-
double? get customStatusPositionMultiplier => _customStatusPositionMultiplier;
-
- -
- - - -
- -
- - void - customStatusPositionMultiplier=(double? val) - - -
- - - - -
-

Implementation

-
set customStatusPositionMultiplier(double? val) {
-  _customStatusPositionMultiplier = val;
-  _set({"customStatusPositionMultiplier": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/fonts.html b/docs/document_reader/Customization/fonts.html deleted file mode 100644 index 15482d1583..0000000000 --- a/docs/document_reader/Customization/fonts.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - fonts property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fonts
- -
- -
-
-
- -
-
-

fonts property -

- - - -
- -
- - CustomizationFonts - fonts - - -
- - - - -
-

Implementation

-
CustomizationFonts get fonts => _fonts;
-
- -
- - - -
- -
- - void - fonts=(CustomizationFonts val) - - -
- - - - -
-

Implementation

-
set fonts(CustomizationFonts val) {
-  (_fonts = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/fromJson.html b/docs/document_reader/Customization/fromJson.html deleted file mode 100644 index bfa195cc15..0000000000 --- a/docs/document_reader/Customization/fromJson.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - fromJson method - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Customization -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Customization fromJson(jsonObject) {
-  var result = Customization();
-  result.testSetters = {};
-
-  result.showStatusMessages = jsonObject["showStatusMessages"];
-  result.showResultStatusMessages = jsonObject["showResultStatusMessages"];
-  result.showHelpAnimation = jsonObject["showHelpAnimation"];
-  result.showNextPageAnimation = jsonObject["showNextPageAnimation"];
-  result.showBackgroundMask = jsonObject["showBackgroundMask"];
-
-  result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"];
-  result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"];
-  result.cameraFrameShapeType =
-      FrameShapeType.getByValue(jsonObject["cameraFrameShapeType"]);
-  result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"];
-
-  result.status = jsonObject["status"];
-  result.resultStatus = jsonObject["resultStatus"];
-
-  result.cameraFrameDefaultColor =
-      _intToColor(jsonObject["cameraFrameDefaultColor"]);
-  result.cameraFrameActiveColor =
-      _intToColor(jsonObject["cameraFrameActiveColor"]);
-  result.statusTextColor = _intToColor(jsonObject["statusTextColor"]);
-  result.resultStatusTextColor =
-      _intToColor(jsonObject["resultStatusTextColor"]);
-  result.resultStatusBackgroundColor =
-      _intToColor(jsonObject["resultStatusBackgroundColor"]);
-  result.multipageButtonBackgroundColor =
-      _intToColor(jsonObject["multipageButtonBackgroundColor"]);
-  result.tintColor = _intToColor(jsonObject["tintColor"]);
-  result.activityIndicatorColor =
-      _intToColor(jsonObject["activityIndicatorColor"]);
-  result.statusBackgroundColor =
-      _intToColor(jsonObject["statusBackgroundColor"]);
-  result.cameraPreviewBackgroundColor =
-      _intToColor(jsonObject["cameraPreviewBackgroundColor"]);
-
-  result.statusPositionMultiplier =
-      _toDouble(jsonObject["statusPositionMultiplier"]);
-  result.resultStatusPositionMultiplier =
-      _toDouble(jsonObject["resultStatusPositionMultiplier"]);
-  result.toolbarSize = _toDouble(jsonObject["toolbarSize"]);
-  result.backgroundMaskAlpha = _toDouble(jsonObject["backgroundMaskAlpha"]);
-  result.customStatusPositionMultiplier =
-      _toDouble(jsonObject["customStatusPositionMultiplier"]);
-  result.cameraFrameVerticalPositionMultiplier =
-      _toDouble(jsonObject["cameraFrameVerticalPositionMultiplier"]);
-  result.cameraFrameLandscapeAspectRatio =
-      _toDouble(jsonObject["cameraFrameLandscapeAspectRatio"]);
-  result.cameraFrameCornerRadius =
-      _toDouble(jsonObject["cameraFrameCornerRadius"]);
-  result.cameraFramePortraitAspectRatio =
-      _toDouble(jsonObject["cameraFramePortraitAspectRatio"]);
-  result.livenessAnimationPositionMultiplier =
-      _toDouble(jsonObject["livenessAnimationPositionMultiplier"]);
-
-  result.multipageAnimationFrontImage =
-      _dataFromBase64(jsonObject["multipageAnimationFrontImage"]);
-  result.multipageAnimationBackImage =
-      _dataFromBase64(jsonObject["multipageAnimationBackImage"]);
-  result.borderBackgroundImage =
-      _dataFromBase64(jsonObject["borderBackgroundImage"]);
-  result.helpAnimationImage =
-      _dataFromBase64(jsonObject["helpAnimationImage"]);
-  result.closeButtonImage = _dataFromBase64(jsonObject["closeButtonImage"]);
-  result.captureButtonImage =
-      _dataFromBase64(jsonObject["captureButtonImage"]);
-  result.cameraSwitchButtonImage =
-      _dataFromBase64(jsonObject["cameraSwitchButtonImage"]);
-  result.torchButtonOnImage =
-      _dataFromBase64(jsonObject["torchButtonOnImage"]);
-  result.torchButtonOffImage =
-      _dataFromBase64(jsonObject["torchButtonOffImage"]);
-  result.changeFrameButtonExpandImage =
-      _dataFromBase64(jsonObject["changeFrameButtonExpandImage"]);
-  result.changeFrameButtonCollapseImage =
-      _dataFromBase64(jsonObject["changeFrameButtonCollapseImage"]);
-  result.livenessAnimationImage =
-      _dataFromBase64(jsonObject["livenessAnimationImage"]);
-
-  result.customLabelStatus = jsonObject["customLabelStatus"];
-  result.cameraFrameLineCap =
-      Cap.getByValue(jsonObject["cameraFrameLineCap"]);
-  result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"];
-  result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"]);
-  result.resultStatusTextFont =
-      Font.fromJson(jsonObject["resultStatusTextFont"]);
-
-  result.helpAnimationImageTransformsIOS =
-      ViewContentMode.getByValue(jsonObject["helpAnimationImageContentMode"]);
-  result.multipageAnimationFrontImageTransformsIOS =
-      ViewContentMode.getByValue(
-          jsonObject["multipageAnimationFrontImageContentMode"]);
-  result.multipageAnimationBackImageTransformsIOS =
-      ViewContentMode.getByValue(
-          jsonObject["multipageAnimationBackImageContentMode"]);
-  result.livenessAnimationImageTransformsIOS = ViewContentMode.getByValue(
-      jsonObject["livenessAnimationImageContentMode"]);
-  result.borderBackgroundImageTransformsIOS = ViewContentMode.getByValue(
-      jsonObject["borderBackgroundImageContentMode"]);
-
-  if (jsonObject["helpAnimationImageMatrix"] != null) {
-    List<double> array = [];
-    for (var value in jsonObject["helpAnimationImageMatrix"])
-      array.add(value.toDouble());
-    result.helpAnimationImageTransformsAndroid = array;
-  } else
-    result.helpAnimationImageTransformsAndroid = null;
-  if (jsonObject["multipageAnimationFrontImageMatrix"] != null) {
-    List<double> array = [];
-    for (var value in jsonObject["multipageAnimationFrontImageMatrix"])
-      array.add(value.toDouble());
-    result.multipageAnimationFrontImageTransformsAndroid = array;
-  } else
-    result.multipageAnimationFrontImageTransformsAndroid = null;
-  if (jsonObject["multipageAnimationBackImageMatrix"] != null) {
-    List<double> array = [];
-    for (var value in jsonObject["multipageAnimationBackImageMatrix"])
-      array.add(value.toDouble());
-    result.multipageAnimationBackImageTransformsAndroid = array;
-  } else
-    result.multipageAnimationBackImageTransformsAndroid = null;
-  if (jsonObject["livenessAnimationImageMatrix"] != null) {
-    List<double> array = [];
-    for (var value in jsonObject["livenessAnimationImageMatrix"])
-      array.add(value.toDouble());
-    result.livenessAnimationImageTransformsAndroid = array;
-  } else
-    result.livenessAnimationImageTransformsAndroid = null;
-  if (jsonObject["borderBackgroundImageMatrix"] != null) {
-    List<double> array = [];
-    for (var value in jsonObject["borderBackgroundImageMatrix"])
-      array.add(value.toDouble());
-    result.borderBackgroundImageTransformsAndroid = array;
-  } else
-    result.borderBackgroundImageTransformsAndroid = null;
-
-  result.colors = CustomizationColors.fromJson(jsonObject["colors"]);
-  result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"]);
-  result.images = CustomizationImages.fromJson(jsonObject["images"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/helpAnimationImage.html b/docs/document_reader/Customization/helpAnimationImage.html deleted file mode 100644 index 15289701d7..0000000000 --- a/docs/document_reader/Customization/helpAnimationImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - helpAnimationImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
helpAnimationImage
- -
- -
-
-
- -
-
-

helpAnimationImage property -

- - - -
- -
- - dynamic - helpAnimationImage - - -
- - -
-

Allows you to set any image for the help animation.

-
- - -
-

Implementation

-
ByteData? get helpAnimationImage => _helpAnimationImage;
-
- -
- - - -
- -
- - void - helpAnimationImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set helpAnimationImage(ByteData? val) {
-  _helpAnimationImage = val;
-  _set({"helpAnimationImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/helpAnimationImageTransformsAndroid.html b/docs/document_reader/Customization/helpAnimationImageTransformsAndroid.html deleted file mode 100644 index af7b09bf24..0000000000 --- a/docs/document_reader/Customization/helpAnimationImageTransformsAndroid.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - helpAnimationImageTransformsAndroid property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
helpAnimationImageTransformsAndroid
- -
- -
-
-
- -
-
-

helpAnimationImageTransformsAndroid property -

- - - -
- -
- - List<double>? - helpAnimationImageTransformsAndroid - - -
- - -
-

Matrix used to scale help animation.

-

Android class android.graphics.Matrix. -Passed as Matrix.setValues()

-

Android only. For iOS use helpAnimationImageTransformsIOS.

-
- - -
-

Implementation

-
List<double>? get helpAnimationImageTransformsAndroid =>
-    _helpAnimationImageTransformsAndroid;
-
- -
- - - -
- -
- - void - helpAnimationImageTransformsAndroid=(List<double>? val) - - -
- - - - -
-

Implementation

-
set helpAnimationImageTransformsAndroid(List<double>? val) {
-  _helpAnimationImageTransformsAndroid = val;
-  _set({"helpAnimationImageMatrix": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/helpAnimationImageTransformsIOS.html b/docs/document_reader/Customization/helpAnimationImageTransformsIOS.html deleted file mode 100644 index 8759f89e9c..0000000000 --- a/docs/document_reader/Customization/helpAnimationImageTransformsIOS.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - helpAnimationImageTransformsIOS property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
helpAnimationImageTransformsIOS
- -
- -
-
-
- -
-
-

helpAnimationImageTransformsIOS property -

- - - -
- -
- - ViewContentMode? - helpAnimationImageTransformsIOS - - -
- - -
-

Allows you to specify how a view of the help animation adjusts -its content when its size changes.

-

Default: ViewContentMode.SCALE_ASPECT_FIT.

-

IOS only. For Android use helpAnimationImageTransformsAndroid.

-
- - -
-

Implementation

-
ViewContentMode? get helpAnimationImageTransformsIOS =>
-    _helpAnimationImageTransformsIOS;
-
- -
- - - -
- -
- - void - helpAnimationImageTransformsIOS=(ViewContentMode? val) - - -
- - - - -
-

Implementation

-
set helpAnimationImageTransformsIOS(ViewContentMode? val) {
-  _helpAnimationImageTransformsIOS = val;
-  _set({"helpAnimationImageContentMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/images.html b/docs/document_reader/Customization/images.html deleted file mode 100644 index 300eb95e0f..0000000000 --- a/docs/document_reader/Customization/images.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - images property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
images
- -
- -
-
-
- -
-
-

images property -

- - - -
- -
- - CustomizationImages - images - - -
- - - - -
-

Implementation

-
CustomizationImages get images => _images;
-
- -
- - - -
- -
- - void - images=(CustomizationImages val) - - -
- - - - -
-

Implementation

-
set images(CustomizationImages val) {
-  (_images = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/livenessAnimationImage.html b/docs/document_reader/Customization/livenessAnimationImage.html deleted file mode 100644 index 452dd962fd..0000000000 --- a/docs/document_reader/Customization/livenessAnimationImage.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - livenessAnimationImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livenessAnimationImage
- -
- -
-
-
- -
-
-

livenessAnimationImage property -

- - - -
- -
- - dynamic - livenessAnimationImage - - -
- - -
-

Allows you to set any image for the liveness animation.

-

When set to null the default image will be used. -This property can be set during the scanning process to tailor -the user experiese for different types of documents.

-
- - -
-

Implementation

-
ByteData? get livenessAnimationImage => _livenessAnimationImage;
-
- -
- - - -
- -
- - void - livenessAnimationImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set livenessAnimationImage(ByteData? val) {
-  _livenessAnimationImage = val;
-  _set({"livenessAnimationImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/livenessAnimationImageTransformsAndroid.html b/docs/document_reader/Customization/livenessAnimationImageTransformsAndroid.html deleted file mode 100644 index 6e738b6984..0000000000 --- a/docs/document_reader/Customization/livenessAnimationImageTransformsAndroid.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - livenessAnimationImageTransformsAndroid property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livenessAnimationImageTransformsAndroid
- -
- -
-
-
- -
-
-

livenessAnimationImageTransformsAndroid property -

- - - -
- -
- - List<double>? - livenessAnimationImageTransformsAndroid - - -
- - -
-

Matrix used to scale liveness animation.

-

Android class android.graphics.Matrix. -Passed as Matrix.setValues()

-

Android only. For iOS use livenessAnimationImageTransformsIOS.

-
- - -
-

Implementation

-
List<double>? get livenessAnimationImageTransformsAndroid =>
-    _livenessAnimationImageTransformsAndroid;
-
- -
- - - -
- -
- - void - livenessAnimationImageTransformsAndroid=(List<double>? val) - - -
- - - - -
-

Implementation

-
set livenessAnimationImageTransformsAndroid(List<double>? val) {
-  _livenessAnimationImageTransformsAndroid = val;
-  _set({"livenessAnimationImageMatrix": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/livenessAnimationImageTransformsIOS.html b/docs/document_reader/Customization/livenessAnimationImageTransformsIOS.html deleted file mode 100644 index 87fc2548f9..0000000000 --- a/docs/document_reader/Customization/livenessAnimationImageTransformsIOS.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - livenessAnimationImageTransformsIOS property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livenessAnimationImageTransformsIOS
- -
- -
-
-
- -
-
-

livenessAnimationImageTransformsIOS property -

- - - -
- -
- - ViewContentMode? - livenessAnimationImageTransformsIOS - - -
- - -
-

Allows you to specify how a view of the liveness animation -adjusts its content when its size changes.

-

Default: ViewContentMode.SCALE_ASPECT_FIT.

-

IOS only. For Android use livenessAnimationImageTransformsAndroid.

-
- - -
-

Implementation

-
ViewContentMode? get livenessAnimationImageTransformsIOS =>
-    _livenessAnimationImageTransformsIOS;
-
- -
- - - -
- -
- - void - livenessAnimationImageTransformsIOS=(ViewContentMode? val) - - -
- - - - -
-

Implementation

-
set livenessAnimationImageTransformsIOS(ViewContentMode? val) {
-  _livenessAnimationImageTransformsIOS = val;
-  _set({"livenessAnimationImageContentMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/livenessAnimationPositionMultiplier.html b/docs/document_reader/Customization/livenessAnimationPositionMultiplier.html deleted file mode 100644 index f4b8e253ac..0000000000 --- a/docs/document_reader/Customization/livenessAnimationPositionMultiplier.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - livenessAnimationPositionMultiplier property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livenessAnimationPositionMultiplier
- -
- -
-
-
- -
-
-

livenessAnimationPositionMultiplier property -

- - - -
- -
- - double? - livenessAnimationPositionMultiplier - - -
- - -
-

Allows you to change the location of the liveness animation.

-

For example, if you set the multiplier to 0.5 and the number of pixels -by vertical is equal to 800, the animation will be centralized and located -at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier -is set to 1, the animation will be centered. If the multiplier is -set to 0, the default value will be used.

-

Defaults to 1.

-
- - -
-

Implementation

-
double? get livenessAnimationPositionMultiplier =>
-    _livenessAnimationPositionMultiplier;
-
- -
- - - -
- -
- - void - livenessAnimationPositionMultiplier=(double? val) - - -
- - - - -
-

Implementation

-
set livenessAnimationPositionMultiplier(double? val) {
-  _livenessAnimationPositionMultiplier = val;
-  _set({"livenessAnimationPositionMultiplier": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationBackImage.html b/docs/document_reader/Customization/multipageAnimationBackImage.html deleted file mode 100644 index 7d494314ca..0000000000 --- a/docs/document_reader/Customization/multipageAnimationBackImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - multipageAnimationBackImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationBackImage
- -
- -
-
-
- -
-
-

multipageAnimationBackImage property -

- - - -
- -
- - dynamic - multipageAnimationBackImage - - -
- - -
-

Allows you to set any image for the multipage animation (back side).

-
- - -
-

Implementation

-
ByteData? get multipageAnimationBackImage => _multipageAnimationBackImage;
-
- -
- - - -
- -
- - void - multipageAnimationBackImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set multipageAnimationBackImage(ByteData? val) {
-  _multipageAnimationBackImage = val;
-  _set({"multipageAnimationBackImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationBackImageTransformsAndroid.html b/docs/document_reader/Customization/multipageAnimationBackImageTransformsAndroid.html deleted file mode 100644 index 0a36a35bee..0000000000 --- a/docs/document_reader/Customization/multipageAnimationBackImageTransformsAndroid.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - multipageAnimationBackImageTransformsAndroid property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationBackImageTransformsAndroid
- -
- -
-
-
- -
-
-

multipageAnimationBackImageTransformsAndroid property -

- - - -
- -
- - List<double>? - multipageAnimationBackImageTransformsAndroid - - -
- - -
-

Matrix used to scale multipage animation (back side).

-

Android class android.graphics.Matrix. -Passed as Matrix.setValues()

-

Android only. For iOS use multipageAnimationBackImageTransformsIOS.

-
- - -
-

Implementation

-
List<double>? get multipageAnimationBackImageTransformsAndroid =>
-    _multipageAnimationBackImageTransformsAndroid;
-
- -
- - - -
- -
- - void - multipageAnimationBackImageTransformsAndroid=(List<double>? val) - - -
- - - - -
-

Implementation

-
set multipageAnimationBackImageTransformsAndroid(List<double>? val) {
-  _multipageAnimationBackImageTransformsAndroid = val;
-  _set({"multipageAnimationBackImageMatrix": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationBackImageTransformsIOS.html b/docs/document_reader/Customization/multipageAnimationBackImageTransformsIOS.html deleted file mode 100644 index 4b2df73876..0000000000 --- a/docs/document_reader/Customization/multipageAnimationBackImageTransformsIOS.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - multipageAnimationBackImageTransformsIOS property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationBackImageTransformsIOS
- -
- -
-
-
- -
-
-

multipageAnimationBackImageTransformsIOS property -

- - - -
- -
- - ViewContentMode? - multipageAnimationBackImageTransformsIOS - - -
- - -
-

Allows you to specify how a view of the multipage animation (back side) -adjusts its content when its size changes.

-

Default: ViewContentMode.SCALE_TO_FILL.

-

IOS only. For Android use multipageAnimationBackImageTransformsAndroid.

-
- - -
-

Implementation

-
ViewContentMode? get multipageAnimationBackImageTransformsIOS =>
-    _multipageAnimationBackImageTransformsIOS;
-
- -
- - - -
- -
- - void - multipageAnimationBackImageTransformsIOS=(ViewContentMode? val) - - -
- - - - -
-

Implementation

-
set multipageAnimationBackImageTransformsIOS(ViewContentMode? val) {
-  _multipageAnimationBackImageTransformsIOS = val;
-  _set({"multipageAnimationBackImageContentMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationFrontImage.html b/docs/document_reader/Customization/multipageAnimationFrontImage.html deleted file mode 100644 index 6f06af13a2..0000000000 --- a/docs/document_reader/Customization/multipageAnimationFrontImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - multipageAnimationFrontImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationFrontImage
- -
- -
-
-
- -
-
-

multipageAnimationFrontImage property -

- - - -
- -
- - dynamic - multipageAnimationFrontImage - - -
- - -
-

Allows you to set any image for the multipage animation (front side).

-
- - -
-

Implementation

-
ByteData? get multipageAnimationFrontImage => _multipageAnimationFrontImage;
-
- -
- - - -
- -
- - void - multipageAnimationFrontImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set multipageAnimationFrontImage(ByteData? val) {
-  _multipageAnimationFrontImage = val;
-  _set({"multipageAnimationFrontImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationFrontImageTransformsAndroid.html b/docs/document_reader/Customization/multipageAnimationFrontImageTransformsAndroid.html deleted file mode 100644 index 64bb2a8c14..0000000000 --- a/docs/document_reader/Customization/multipageAnimationFrontImageTransformsAndroid.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - multipageAnimationFrontImageTransformsAndroid property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationFrontImageTransformsAndroid
- -
- -
-
-
- -
-
-

multipageAnimationFrontImageTransformsAndroid property -

- - - -
- -
- - List<double>? - multipageAnimationFrontImageTransformsAndroid - - -
- - -
-

Matrix used to scale multipage animation (front side).

-

Android class android.graphics.Matrix. -Passed as Matrix.setValues()

-

Android only. For iOS use multipageAnimationFrontImageTransformsIOS.

-
- - -
-

Implementation

-
List<double>? get multipageAnimationFrontImageTransformsAndroid =>
-    _multipageAnimationFrontImageTransformsAndroid;
-
- -
- - - -
- -
- - void - multipageAnimationFrontImageTransformsAndroid=(List<double>? val) - - -
- - - - -
-

Implementation

-
set multipageAnimationFrontImageTransformsAndroid(List<double>? val) {
-  _multipageAnimationFrontImageTransformsAndroid = val;
-  _set({"multipageAnimationFrontImageMatrix": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageAnimationFrontImageTransformsIOS.html b/docs/document_reader/Customization/multipageAnimationFrontImageTransformsIOS.html deleted file mode 100644 index afd50fc392..0000000000 --- a/docs/document_reader/Customization/multipageAnimationFrontImageTransformsIOS.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - multipageAnimationFrontImageTransformsIOS property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageAnimationFrontImageTransformsIOS
- -
- -
-
-
- -
-
-

multipageAnimationFrontImageTransformsIOS property -

- - - -
- -
- - ViewContentMode? - multipageAnimationFrontImageTransformsIOS - - -
- - -
-

Allows you to specify how a view of the multipage animation (front side) -adjusts its content when its size changes.

-

Default: ViewContentMode.SCALE_TO_FILL.

-

IOS only. For Android use multipageAnimationFrontImageTransformsAndroid.

-
- - -
-

Implementation

-
ViewContentMode? get multipageAnimationFrontImageTransformsIOS =>
-    _multipageAnimationFrontImageTransformsIOS;
-
- -
- - - -
- -
- - void - multipageAnimationFrontImageTransformsIOS=(ViewContentMode? val) - - -
- - - - -
-

Implementation

-
set multipageAnimationFrontImageTransformsIOS(ViewContentMode? val) {
-  _multipageAnimationFrontImageTransformsIOS = val;
-  _set({"multipageAnimationFrontImageContentMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/multipageButtonBackgroundColor.html b/docs/document_reader/Customization/multipageButtonBackgroundColor.html deleted file mode 100644 index e91d25a064..0000000000 --- a/docs/document_reader/Customization/multipageButtonBackgroundColor.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - multipageButtonBackgroundColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageButtonBackgroundColor
- -
- -
-
-
- -
-
-

multipageButtonBackgroundColor property -

- - - -
- -
- - dynamic - multipageButtonBackgroundColor - - -
- - -
-

Allows you to set a color for the "Skip next page" button.

-
- - -
-

Implementation

-
Color? get multipageButtonBackgroundColor => _multipageButtonBackgroundColor;
-
- -
- - - -
- -
- - void - multipageButtonBackgroundColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set multipageButtonBackgroundColor(Color? val) {
-  _multipageButtonBackgroundColor = val;
-  _set({"multipageButtonBackgroundColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/resultStatus.html b/docs/document_reader/Customization/resultStatus.html deleted file mode 100644 index 1ed4d9caa2..0000000000 --- a/docs/document_reader/Customization/resultStatus.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - resultStatus property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatus
- -
- -
-
-
- -
-
-

resultStatus property -

- - - -
- -
- - String? - resultStatus - - -
- - -
-

Allows you to set any string to the result status.

-
- - -
-

Implementation

-
String? get resultStatus => _resultStatus;
-
- -
- - - -
- -
- - void - resultStatus=(String? val) - - -
- - - - -
-

Implementation

-
set resultStatus(String? val) {
-  _resultStatus = val;
-  _set({"resultStatus": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/resultStatusBackgroundColor.html b/docs/document_reader/Customization/resultStatusBackgroundColor.html deleted file mode 100644 index 7984e66e45..0000000000 --- a/docs/document_reader/Customization/resultStatusBackgroundColor.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - resultStatusBackgroundColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatusBackgroundColor
- -
- -
-
-
- -
-
-

resultStatusBackgroundColor property -

- - - -
- -
- - dynamic - resultStatusBackgroundColor - - -
- - -
-

Allows you to set a color of the background for the result status messages.

-
- - -
-

Implementation

-
Color? get resultStatusBackgroundColor => _resultStatusBackgroundColor;
-
- -
- - - -
- -
- - void - resultStatusBackgroundColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set resultStatusBackgroundColor(Color? val) {
-  _resultStatusBackgroundColor = val;
-  _set({"resultStatusBackgroundColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/resultStatusPositionMultiplier.html b/docs/document_reader/Customization/resultStatusPositionMultiplier.html deleted file mode 100644 index dbafad0fcd..0000000000 --- a/docs/document_reader/Customization/resultStatusPositionMultiplier.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - resultStatusPositionMultiplier property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatusPositionMultiplier
- -
- -
-
-
- -
-
-

resultStatusPositionMultiplier property -

- - - -
- -
- - double? - resultStatusPositionMultiplier - - -
- - -
-

Allows you to change the location of the result status.

-

For example, if you set the multiplier to 0.5 and the number of pixels -by vertical is equal to 800, your message will be centralized and located -at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier -is equal to 1, the message will be centered. If the multiplier is equal -to zero, the default location will be used.

-

Default: 0.

-
- - -
-

Implementation

-
double? get resultStatusPositionMultiplier => _resultStatusPositionMultiplier;
-
- -
- - - -
- -
- - void - resultStatusPositionMultiplier=(double? val) - - -
- - - - -
-

Implementation

-
set resultStatusPositionMultiplier(double? val) {
-  _resultStatusPositionMultiplier = val;
-  _set({"resultStatusPositionMultiplier": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/resultStatusTextColor.html b/docs/document_reader/Customization/resultStatusTextColor.html deleted file mode 100644 index be48247f4d..0000000000 --- a/docs/document_reader/Customization/resultStatusTextColor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - resultStatusTextColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatusTextColor
- -
- -
-
-
- -
-
-

resultStatusTextColor property -

- - - -
- -
- - dynamic - resultStatusTextColor - - -
- - -
-

Allows you to set a color for the result status messages.

-

Default: Colors.white.

-
- - -
-

Implementation

-
Color? get resultStatusTextColor => _resultStatusTextColor;
-
- -
- - - -
- -
- - void - resultStatusTextColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set resultStatusTextColor(Color? val) {
-  _resultStatusTextColor = val;
-  _set({"resultStatusTextColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/resultStatusTextFont.html b/docs/document_reader/Customization/resultStatusTextFont.html deleted file mode 100644 index 6b7615f249..0000000000 --- a/docs/document_reader/Customization/resultStatusTextFont.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - resultStatusTextFont property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatusTextFont
- -
- -
-
-
- -
-
-

resultStatusTextFont property -

- - - -
- -
- - Font? - resultStatusTextFont - - -
- - -
-

Allows you to set a font for the result status messages.

-
- - -
-

Implementation

-
Font? get resultStatusTextFont => _resultStatusTextFont;
-
- -
- - - -
- -
- - void - resultStatusTextFont=(Font? val) - - -
- - - - -
-

Implementation

-
set resultStatusTextFont(Font? val) {
-  _resultStatusTextFont = val;
-  _set({"resultStatusTextFont": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/showBackgroundMask.html b/docs/document_reader/Customization/showBackgroundMask.html deleted file mode 100644 index da15862fa6..0000000000 --- a/docs/document_reader/Customization/showBackgroundMask.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showBackgroundMask property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showBackgroundMask
- -
- -
-
-
- -
-
-

showBackgroundMask property -

- - - -
- -
- - bool? - showBackgroundMask - - -
- - -
-

If it's set to true, the background mask next to the camera frame -will be displayed.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showBackgroundMask => _showBackgroundMask;
-
- -
- - - -
- -
- - void - showBackgroundMask=(bool? val) - - -
- - - - -
-

Implementation

-
set showBackgroundMask(bool? val) {
-  _showBackgroundMask = val;
-  _set({"showBackgroundMask": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/showHelpAnimation.html b/docs/document_reader/Customization/showHelpAnimation.html deleted file mode 100644 index 3733d7d64b..0000000000 --- a/docs/document_reader/Customization/showHelpAnimation.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showHelpAnimation property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showHelpAnimation
- -
- -
-
-
- -
-
-

showHelpAnimation property -

- - - -
- -
- - bool? - showHelpAnimation - - -
- - -
-

If it's set to true, the animation showing how to position a document -will be displayed.

-

Default: false.

-
- - -
-

Implementation

-
bool? get showHelpAnimation => _showHelpAnimation;
-
- -
- - - -
- -
- - void - showHelpAnimation=(bool? val) - - -
- - - - -
-

Implementation

-
set showHelpAnimation(bool? val) {
-  _showHelpAnimation = val;
-  _set({"showHelpAnimation": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/showNextPageAnimation.html b/docs/document_reader/Customization/showNextPageAnimation.html deleted file mode 100644 index 9922645bcd..0000000000 --- a/docs/document_reader/Customization/showNextPageAnimation.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showNextPageAnimation property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showNextPageAnimation
- -
- -
-
-
- -
-
-

showNextPageAnimation property -

- - - -
- -
- - bool? - showNextPageAnimation - - -
- - -
-

If it's set to true, the animation asking for processing -the next page will be displayed.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showNextPageAnimation => _showNextPageAnimation;
-
- -
- - - -
- -
- - void - showNextPageAnimation=(bool? val) - - -
- - - - -
-

Implementation

-
set showNextPageAnimation(bool? val) {
-  _showNextPageAnimation = val;
-  _set({"showNextPageAnimation": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/showResultStatusMessages.html b/docs/document_reader/Customization/showResultStatusMessages.html deleted file mode 100644 index 6d02b58252..0000000000 --- a/docs/document_reader/Customization/showResultStatusMessages.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showResultStatusMessages property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showResultStatusMessages
- -
- -
-
-
- -
-
-

showResultStatusMessages property -

- - - -
- -
- - bool? - showResultStatusMessages - - -
- - -
-

If it's set to true, result status messages during the document processing -will be shown.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showResultStatusMessages => _showResultStatusMessages;
-
- -
- - - -
- -
- - void - showResultStatusMessages=(bool? val) - - -
- - - - -
-

Implementation

-
set showResultStatusMessages(bool? val) {
-  _showResultStatusMessages = val;
-  _set({"showResultStatusMessages": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/showStatusMessages.html b/docs/document_reader/Customization/showStatusMessages.html deleted file mode 100644 index 05ea66ac3f..0000000000 --- a/docs/document_reader/Customization/showStatusMessages.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showStatusMessages property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showStatusMessages
- -
- -
-
-
- -
-
-

showStatusMessages property -

- - - -
- -
- - bool? - showStatusMessages - - -
- - -
-

If it's set to true, status messages during the document processing -will be shown.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showStatusMessages => _showStatusMessages;
-
- -
- - - -
- -
- - void - showStatusMessages=(bool? val) - - -
- - - - -
-

Implementation

-
set showStatusMessages(bool? val) {
-  _showStatusMessages = val;
-  _set({"showStatusMessages": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/status.html b/docs/document_reader/Customization/status.html deleted file mode 100644 index 54f26dc130..0000000000 --- a/docs/document_reader/Customization/status.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - status property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - String? - status - - -
- - -
-

Allows you to set any string to the status.

-
- - -
-

Implementation

-
String? get status => _status;
-
- -
- - - -
- -
- - void - status=(String? val) - - -
- - - - -
-

Implementation

-
set status(String? val) {
-  _status = val;
-  _set({"status": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/statusBackgroundColor.html b/docs/document_reader/Customization/statusBackgroundColor.html deleted file mode 100644 index 9663b34904..0000000000 --- a/docs/document_reader/Customization/statusBackgroundColor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - statusBackgroundColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
statusBackgroundColor
- -
- -
-
-
- -
-
-

statusBackgroundColor property -

- - - -
- -
- - dynamic - statusBackgroundColor - - -
- - -
-

Allows you to set a background color for the status messages.

-

Default: Colors.transparent.

-
- - -
-

Implementation

-
Color? get statusBackgroundColor => _statusBackgroundColor;
-
- -
- - - -
- -
- - void - statusBackgroundColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set statusBackgroundColor(Color? val) {
-  _statusBackgroundColor = val;
-  _set({"statusBackgroundColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/statusPositionMultiplier.html b/docs/document_reader/Customization/statusPositionMultiplier.html deleted file mode 100644 index 147ca6f6ba..0000000000 --- a/docs/document_reader/Customization/statusPositionMultiplier.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - statusPositionMultiplier property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
statusPositionMultiplier
- -
- -
-
-
- -
-
-

statusPositionMultiplier property -

- - - -
- -
- - double? - statusPositionMultiplier - - -
- - -
-

Allows you to change the location of the status.

-

For example, if you set the multiplier to 0.5 and the number of pixels -by vertical is equal to 800, your message will be centralized and located -at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier -is equal to 1, the message will be centered. If the multiplier is equal -to zero, the default location will be used.

-

Default: 0.

-
- - -
-

Implementation

-
double? get statusPositionMultiplier => _statusPositionMultiplier;
-
- -
- - - -
- -
- - void - statusPositionMultiplier=(double? val) - - -
- - - - -
-

Implementation

-
set statusPositionMultiplier(double? val) {
-  _statusPositionMultiplier = val;
-  _set({"statusPositionMultiplier": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/statusTextColor.html b/docs/document_reader/Customization/statusTextColor.html deleted file mode 100644 index ad4233d7ed..0000000000 --- a/docs/document_reader/Customization/statusTextColor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - statusTextColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
statusTextColor
- -
- -
-
-
- -
-
-

statusTextColor property -

- - - -
- -
- - dynamic - statusTextColor - - -
- - -
-

Allows you to set a color for the status messages.

-

Default: Colors.white.

-
- - -
-

Implementation

-
Color? get statusTextColor => _statusTextColor;
-
- -
- - - -
- -
- - void - statusTextColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set statusTextColor(Color? val) {
-  _statusTextColor = val;
-  _set({"statusTextColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/statusTextFont.html b/docs/document_reader/Customization/statusTextFont.html deleted file mode 100644 index 51a543a2ca..0000000000 --- a/docs/document_reader/Customization/statusTextFont.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - statusTextFont property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
statusTextFont
- -
- -
-
-
- -
-
-

statusTextFont property -

- - - -
- -
- - Font? - statusTextFont - - -
- - -
-

Allows you to set a font for the status messages.

-
- - -
-

Implementation

-
Font? get statusTextFont => _statusTextFont;
-
- -
- - - -
- -
- - void - statusTextFont=(Font? val) - - -
- - - - -
-

Implementation

-
set statusTextFont(Font? val) {
-  _statusTextFont = val;
-  _set({"statusTextFont": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/testSetters.html b/docs/document_reader/Customization/testSetters.html deleted file mode 100644 index 738c5ba4b1..0000000000 --- a/docs/document_reader/Customization/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/tintColor.html b/docs/document_reader/Customization/tintColor.html deleted file mode 100644 index 3029226c21..0000000000 --- a/docs/document_reader/Customization/tintColor.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - tintColor property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
tintColor
- -
- -
-
-
- -
-
-

tintColor property -

- - - -
- -
- - dynamic - tintColor - - -
- - -
-

Allows you to set a color for all visual elements.

-
- - -
-

Implementation

-
Color? get tintColor => _tintColor;
-
- -
- - - -
- -
- - void - tintColor=(dynamic val) - - -
- - - - -
-

Implementation

-
set tintColor(Color? val) {
-  _tintColor = val;
-  _set({"tintColor": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/toJson.html b/docs/document_reader/Customization/toJson.html deleted file mode 100644 index e7daef6005..0000000000 --- a/docs/document_reader/Customization/toJson.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - toJson method - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "showStatusMessages": showStatusMessages,
-      "showResultStatusMessages": showResultStatusMessages,
-      "showHelpAnimation": showHelpAnimation,
-      "showNextPageAnimation": showNextPageAnimation,
-      "showBackgroundMask": showBackgroundMask,
-      "cameraFrameBorderWidth": cameraFrameBorderWidth,
-      "cameraFrameLineLength": cameraFrameLineLength,
-      "cameraFrameShapeType": cameraFrameShapeType?.value,
-      "cameraFrameOffsetWidth": cameraFrameOffsetWidth,
-      "status": status,
-      "resultStatus": resultStatus,
-      "cameraFrameDefaultColor": _intFromColor(cameraFrameDefaultColor),
-      "cameraFrameActiveColor": _intFromColor(cameraFrameActiveColor),
-      "statusTextColor": _intFromColor(statusTextColor),
-      "resultStatusTextColor": _intFromColor(resultStatusTextColor),
-      "resultStatusBackgroundColor":
-          _intFromColor(resultStatusBackgroundColor),
-      "multipageButtonBackgroundColor":
-          _intFromColor(multipageButtonBackgroundColor),
-      "tintColor": _intFromColor(tintColor),
-      "activityIndicatorColor": _intFromColor(activityIndicatorColor),
-      "statusBackgroundColor": _intFromColor(statusBackgroundColor),
-      "cameraPreviewBackgroundColor":
-          _intFromColor(cameraPreviewBackgroundColor),
-      "statusPositionMultiplier": statusPositionMultiplier,
-      "resultStatusPositionMultiplier": resultStatusPositionMultiplier,
-      "toolbarSize": toolbarSize,
-      "backgroundMaskAlpha": backgroundMaskAlpha,
-      "customStatusPositionMultiplier": customStatusPositionMultiplier,
-      "cameraFrameVerticalPositionMultiplier":
-          cameraFrameVerticalPositionMultiplier,
-      "cameraFrameLandscapeAspectRatio": cameraFrameLandscapeAspectRatio,
-      "cameraFramePortraitAspectRatio": cameraFramePortraitAspectRatio,
-      "cameraFrameCornerRadius": cameraFrameCornerRadius,
-      "livenessAnimationPositionMultiplier":
-          livenessAnimationPositionMultiplier,
-      "multipageAnimationFrontImage":
-          _dataToBase64(multipageAnimationFrontImage),
-      "multipageAnimationBackImage":
-          _dataToBase64(multipageAnimationBackImage),
-      "borderBackgroundImage": _dataToBase64(borderBackgroundImage),
-      "helpAnimationImage": _dataToBase64(helpAnimationImage),
-      "closeButtonImage": _dataToBase64(closeButtonImage),
-      "captureButtonImage": _dataToBase64(captureButtonImage),
-      "cameraSwitchButtonImage": _dataToBase64(cameraSwitchButtonImage),
-      "torchButtonOnImage": _dataToBase64(torchButtonOnImage),
-      "torchButtonOffImage": _dataToBase64(torchButtonOffImage),
-      "changeFrameButtonExpandImage":
-          _dataToBase64(changeFrameButtonExpandImage),
-      "changeFrameButtonCollapseImage":
-          _dataToBase64(changeFrameButtonCollapseImage),
-      "livenessAnimationImage": _dataToBase64(livenessAnimationImage),
-      "customLabelStatus": customLabelStatus,
-      "cameraFrameLineCap": cameraFrameLineCap?.value,
-      "uiCustomizationLayer": uiCustomizationLayer,
-      "statusTextFont": statusTextFont?.toJson(),
-      "resultStatusTextFont": resultStatusTextFont?.toJson(),
-      "helpAnimationImageContentMode": helpAnimationImageTransformsIOS?.value,
-      "multipageAnimationFrontImageContentMode":
-          multipageAnimationFrontImageTransformsIOS?.value,
-      "multipageAnimationBackImageContentMode":
-          multipageAnimationBackImageTransformsIOS?.value,
-      "livenessAnimationImageContentMode":
-          livenessAnimationImageTransformsIOS?.value,
-      "borderBackgroundImageContentMode":
-          borderBackgroundImageTransformsIOS?.value,
-      "helpAnimationImageMatrix": helpAnimationImageTransformsAndroid,
-      "multipageAnimationFrontImageMatrix":
-          multipageAnimationFrontImageTransformsAndroid,
-      "multipageAnimationBackImageMatrix":
-          multipageAnimationBackImageTransformsAndroid,
-      "livenessAnimationImageMatrix": livenessAnimationImageTransformsAndroid,
-      "borderBackgroundImageMatrix": borderBackgroundImageTransformsAndroid,
-      "colors": colors.toJson(),
-      "fonts": fonts.toJson(),
-      "images": images.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/toolbarSize.html b/docs/document_reader/Customization/toolbarSize.html deleted file mode 100644 index ffafd56c62..0000000000 --- a/docs/document_reader/Customization/toolbarSize.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - toolbarSize property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toolbarSize
- -
- -
-
-
- -
-
-

toolbarSize property -

- - - -
- -
- - double? - toolbarSize - - -
- - -
-

Allows you to set a size for the toolbar -(it's where all buttons are located).

-
- - -
-

Implementation

-
double? get toolbarSize => _toolbarSize;
-
- -
- - - -
- -
- - void - toolbarSize=(double? val) - - -
- - - - -
-

Implementation

-
set toolbarSize(double? val) {
-  _toolbarSize = val;
-  _set({"toolbarSize": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/torchButtonOffImage.html b/docs/document_reader/Customization/torchButtonOffImage.html deleted file mode 100644 index 7cc497b235..0000000000 --- a/docs/document_reader/Customization/torchButtonOffImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - torchButtonOffImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
torchButtonOffImage
- -
- -
-
-
- -
-
-

torchButtonOffImage property -

- - - -
- -
- - dynamic - torchButtonOffImage - - -
- - -
-

Allows you to set any image for the torch button when its state is OFF.

-
- - -
-

Implementation

-
ByteData? get torchButtonOffImage => _torchButtonOffImage;
-
- -
- - - -
- -
- - void - torchButtonOffImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set torchButtonOffImage(ByteData? val) {
-  _torchButtonOffImage = val;
-  _set({"torchButtonOffImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/torchButtonOnImage.html b/docs/document_reader/Customization/torchButtonOnImage.html deleted file mode 100644 index e7ac857fae..0000000000 --- a/docs/document_reader/Customization/torchButtonOnImage.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - torchButtonOnImage property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
torchButtonOnImage
- -
- -
-
-
- -
-
-

torchButtonOnImage property -

- - - -
- -
- - dynamic - torchButtonOnImage - - -
- - -
-

Allows you to set any image for the torch button when its state is ON.

-
- - -
-

Implementation

-
ByteData? get torchButtonOnImage => _torchButtonOnImage;
-
- -
- - - -
- -
- - void - torchButtonOnImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set torchButtonOnImage(ByteData? val) {
-  _torchButtonOnImage = val;
-  _set({"torchButtonOnImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Customization/uiCustomizationLayer.html b/docs/document_reader/Customization/uiCustomizationLayer.html deleted file mode 100644 index 64a466b04d..0000000000 --- a/docs/document_reader/Customization/uiCustomizationLayer.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - uiCustomizationLayer property - Customization class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
uiCustomizationLayer
- -
- -
-
-
- -
-
-

uiCustomizationLayer property -

- - - -
- -
- - Map<String, dynamic>? - uiCustomizationLayer - - -
- - -
-

JSON structure defining labels and graphic elements -to be added to the Camera UI

-
- - -
-

Implementation

-
Map<String, dynamic>? get uiCustomizationLayer => _uiCustomizationLayer;
-
- -
- - - -
- -
- - void - uiCustomizationLayer=(Map<String, dynamic>? val) - - -
- - - - -
-

Implementation

-
set uiCustomizationLayer(Map<String, dynamic>? val) {
-  _uiCustomizationLayer = val;
-  _set({"uiCustomizationLayer": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors-class-sidebar.html b/docs/document_reader/CustomizationColors-class-sidebar.html deleted file mode 100644 index c9a45bb62c..0000000000 --- a/docs/document_reader/CustomizationColors-class-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CustomizationColors
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. rfidProcessingScreenBackground
  10. -
  11. rfidProcessingScreenHintLabelBackground
  12. -
  13. rfidProcessingScreenHintLabelText
  14. -
  15. rfidProcessingScreenProgressBar
  16. -
  17. rfidProcessingScreenProgressBarBackground
  18. -
  19. rfidProcessingScreenProgressLabelText
  20. -
  21. rfidProcessingScreenResultLabelText
  22. -
  23. runtimeType
  24. -
  25. testSetters
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toJson
  32. -
  33. toString
  34. - -
  35. Operators
  36. -
  37. operator ==
  38. - - - -
  39. Static methods
  40. -
  41. fromJson
  42. - -
diff --git a/docs/document_reader/CustomizationColors-class.html b/docs/document_reader/CustomizationColors-class.html deleted file mode 100644 index 2dbcd8d2dc..0000000000 --- a/docs/document_reader/CustomizationColors-class.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationColors
- -
- -
-
-
- -
-
-

CustomizationColors class - -

- - - - - - -
-

Constructors

- -
-
- CustomizationColors() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- rfidProcessingScreenBackground - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenHintLabelBackground - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenHintLabelText - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenProgressBar - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenProgressBarBackground - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenProgressLabelText - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenResultLabelText - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CustomizationColors - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/CustomizationColors.html b/docs/document_reader/CustomizationColors/CustomizationColors.html deleted file mode 100644 index 92cee29889..0000000000 --- a/docs/document_reader/CustomizationColors/CustomizationColors.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CustomizationColors constructor - CustomizationColors - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationColors
- -
- -
-
-
- -
-
-

CustomizationColors constructor -

- -
- - CustomizationColors() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/fromJson.html b/docs/document_reader/CustomizationColors/fromJson.html deleted file mode 100644 index 1086167c53..0000000000 --- a/docs/document_reader/CustomizationColors/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CustomizationColors -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CustomizationColors fromJson(jsonObject) {
-  var result = CustomizationColors();
-  result.testSetters = {};
-
-  result.rfidProcessingScreenBackground =
-      _intToColor(jsonObject["rfidProcessingScreenBackground"])!;
-  result.rfidProcessingScreenHintLabelText =
-      _intToColor(jsonObject["rfidProcessingScreenHintLabelText"])!;
-  result.rfidProcessingScreenHintLabelBackground =
-      _intToColor(jsonObject["rfidProcessingScreenHintLabelBackground"])!;
-  result.rfidProcessingScreenProgressLabelText =
-      _intToColor(jsonObject["rfidProcessingScreenProgressLabelText"])!;
-  result.rfidProcessingScreenProgressBar =
-      _intToColor(jsonObject["rfidProcessingScreenProgressBar"])!;
-  result.rfidProcessingScreenProgressBarBackground =
-      _intToColor(jsonObject["rfidProcessingScreenProgressBarBackground"])!;
-  result.rfidProcessingScreenResultLabelText =
-      _intToColor(jsonObject["rfidProcessingScreenResultLabelText"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenBackground.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenBackground.html deleted file mode 100644 index f95d04da17..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenBackground.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - rfidProcessingScreenBackground property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenBackground
- -
- -
-
-
- -
-
-

rfidProcessingScreenBackground property -

- - - -
- -
- - dynamic - rfidProcessingScreenBackground - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenBackground => _rfidProcessingScreenBackground;
-
- -
- - - -
- -
- - void - rfidProcessingScreenBackground=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenBackground(Color val) {
-  _rfidProcessingScreenBackground = val;
-  _set({"rfidProcessingScreenBackground": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelBackground.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelBackground.html deleted file mode 100644 index 3205f8f4a5..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelBackground.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenHintLabelBackground property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenHintLabelBackground
- -
- -
-
-
- -
-
-

rfidProcessingScreenHintLabelBackground property -

- - - -
- -
- - dynamic - rfidProcessingScreenHintLabelBackground - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenHintLabelBackground =>
-    _rfidProcessingScreenHintLabelBackground;
-
- -
- - - -
- -
- - void - rfidProcessingScreenHintLabelBackground=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenHintLabelBackground(Color val) {
-  _rfidProcessingScreenHintLabelBackground = val;
-  _set({"rfidProcessingScreenHintLabelBackground": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelText.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelText.html deleted file mode 100644 index c50ba176e2..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenHintLabelText.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenHintLabelText property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenHintLabelText
- -
- -
-
-
- -
-
-

rfidProcessingScreenHintLabelText property -

- - - -
- -
- - dynamic - rfidProcessingScreenHintLabelText - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenHintLabelText =>
-    _rfidProcessingScreenHintLabelText;
-
- -
- - - -
- -
- - void - rfidProcessingScreenHintLabelText=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenHintLabelText(Color val) {
-  _rfidProcessingScreenHintLabelText = val;
-  _set({"rfidProcessingScreenHintLabelText": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBar.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBar.html deleted file mode 100644 index c7bd70d7f3..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBar.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - rfidProcessingScreenProgressBar property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenProgressBar
- -
- -
-
-
- -
-
-

rfidProcessingScreenProgressBar property -

- - - -
- -
- - dynamic - rfidProcessingScreenProgressBar - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenProgressBar => _rfidProcessingScreenProgressBar;
-
- -
- - - -
- -
- - void - rfidProcessingScreenProgressBar=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenProgressBar(Color val) {
-  _rfidProcessingScreenProgressBar = val;
-  _set({"rfidProcessingScreenProgressBar": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBarBackground.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBarBackground.html deleted file mode 100644 index cf59bfca92..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressBarBackground.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenProgressBarBackground property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenProgressBarBackground
- -
- -
-
-
- -
-
-

rfidProcessingScreenProgressBarBackground property -

- - - -
- -
- - dynamic - rfidProcessingScreenProgressBarBackground - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenProgressBarBackground =>
-    _rfidProcessingScreenProgressBarBackground;
-
- -
- - - -
- -
- - void - rfidProcessingScreenProgressBarBackground=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenProgressBarBackground(Color val) {
-  _rfidProcessingScreenProgressBarBackground = val;
-  _set({"rfidProcessingScreenProgressBarBackground": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressLabelText.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressLabelText.html deleted file mode 100644 index 1ffdccbe79..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenProgressLabelText.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenProgressLabelText property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenProgressLabelText
- -
- -
-
-
- -
-
-

rfidProcessingScreenProgressLabelText property -

- - - -
- -
- - dynamic - rfidProcessingScreenProgressLabelText - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenProgressLabelText =>
-    _rfidProcessingScreenProgressLabelText;
-
- -
- - - -
- -
- - void - rfidProcessingScreenProgressLabelText=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenProgressLabelText(Color val) {
-  _rfidProcessingScreenProgressLabelText = val;
-  _set({"rfidProcessingScreenProgressLabelText": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/rfidProcessingScreenResultLabelText.html b/docs/document_reader/CustomizationColors/rfidProcessingScreenResultLabelText.html deleted file mode 100644 index e5a0792524..0000000000 --- a/docs/document_reader/CustomizationColors/rfidProcessingScreenResultLabelText.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenResultLabelText property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenResultLabelText
- -
- -
-
-
- -
-
-

rfidProcessingScreenResultLabelText property -

- - - -
- -
- - dynamic - rfidProcessingScreenResultLabelText - - -
- - - - -
-

Implementation

-
Color get rfidProcessingScreenResultLabelText =>
-    _rfidProcessingScreenResultLabelText;
-
- -
- - - -
- -
- - void - rfidProcessingScreenResultLabelText=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenResultLabelText(Color val) {
-  _rfidProcessingScreenResultLabelText = val;
-  _set({"rfidProcessingScreenResultLabelText": _intFromColor(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/testSetters.html b/docs/document_reader/CustomizationColors/testSetters.html deleted file mode 100644 index f2557379ef..0000000000 --- a/docs/document_reader/CustomizationColors/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationColors/toJson.html b/docs/document_reader/CustomizationColors/toJson.html deleted file mode 100644 index a8e4c52156..0000000000 --- a/docs/document_reader/CustomizationColors/toJson.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - toJson method - CustomizationColors class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "rfidProcessingScreenBackground":
-          _intFromColor(rfidProcessingScreenBackground),
-      "rfidProcessingScreenHintLabelText":
-          _intFromColor(rfidProcessingScreenHintLabelText),
-      "rfidProcessingScreenHintLabelBackground":
-          _intFromColor(rfidProcessingScreenHintLabelBackground),
-      "rfidProcessingScreenProgressLabelText":
-          _intFromColor(rfidProcessingScreenProgressLabelText),
-      "rfidProcessingScreenProgressBar":
-          _intFromColor(rfidProcessingScreenProgressBar),
-      "rfidProcessingScreenProgressBarBackground":
-          _intFromColor(rfidProcessingScreenProgressBarBackground),
-      "rfidProcessingScreenResultLabelText":
-          _intFromColor(rfidProcessingScreenResultLabelText),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts-class-sidebar.html b/docs/document_reader/CustomizationFonts-class-sidebar.html deleted file mode 100644 index 0e738738ac..0000000000 --- a/docs/document_reader/CustomizationFonts-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CustomizationFonts
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. rfidProcessingScreenHintLabel
  10. -
  11. rfidProcessingScreenProgressLabel
  12. -
  13. rfidProcessingScreenResultLabel
  14. -
  15. runtimeType
  16. -
  17. testSetters
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/CustomizationFonts-class.html b/docs/document_reader/CustomizationFonts-class.html deleted file mode 100644 index 932a87f767..0000000000 --- a/docs/document_reader/CustomizationFonts-class.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationFonts
- -
- -
-
-
- -
-
-

CustomizationFonts class - -

- - - - - - -
-

Constructors

- -
-
- CustomizationFonts() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- rfidProcessingScreenHintLabel - Font? - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenProgressLabel - Font? - -
-
- -
getter/setter pair
- -
- -
- rfidProcessingScreenResultLabel - Font? - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CustomizationFonts - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/CustomizationFonts.html b/docs/document_reader/CustomizationFonts/CustomizationFonts.html deleted file mode 100644 index 11f6a5408e..0000000000 --- a/docs/document_reader/CustomizationFonts/CustomizationFonts.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CustomizationFonts constructor - CustomizationFonts - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationFonts
- -
- -
-
-
- -
-
-

CustomizationFonts constructor -

- -
- - CustomizationFonts() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/fromJson.html b/docs/document_reader/CustomizationFonts/fromJson.html deleted file mode 100644 index e10c38dfbf..0000000000 --- a/docs/document_reader/CustomizationFonts/fromJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - fromJson method - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CustomizationFonts -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CustomizationFonts fromJson(jsonObject) {
-  var result = CustomizationFonts();
-  result.testSetters = {};
-
-  result.rfidProcessingScreenHintLabel =
-      Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]);
-  result.rfidProcessingScreenProgressLabel =
-      Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]);
-  result.rfidProcessingScreenResultLabel =
-      Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/rfidProcessingScreenHintLabel.html b/docs/document_reader/CustomizationFonts/rfidProcessingScreenHintLabel.html deleted file mode 100644 index 389f9a6e3a..0000000000 --- a/docs/document_reader/CustomizationFonts/rfidProcessingScreenHintLabel.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - rfidProcessingScreenHintLabel property - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenHintLabel
- -
- -
-
-
- -
-
-

rfidProcessingScreenHintLabel property -

- - - -
- -
- - Font? - rfidProcessingScreenHintLabel - - -
- - - - -
-

Implementation

-
Font? get rfidProcessingScreenHintLabel => _rfidProcessingScreenHintLabel;
-
- -
- - - -
- -
- - void - rfidProcessingScreenHintLabel=(Font? val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenHintLabel(Font? val) {
-  _rfidProcessingScreenHintLabel = val;
-  _set({"rfidProcessingScreenHintLabel": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/rfidProcessingScreenProgressLabel.html b/docs/document_reader/CustomizationFonts/rfidProcessingScreenProgressLabel.html deleted file mode 100644 index 2468e8ba0c..0000000000 --- a/docs/document_reader/CustomizationFonts/rfidProcessingScreenProgressLabel.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenProgressLabel property - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenProgressLabel
- -
- -
-
-
- -
-
-

rfidProcessingScreenProgressLabel property -

- - - -
- -
- - Font? - rfidProcessingScreenProgressLabel - - -
- - - - -
-

Implementation

-
Font? get rfidProcessingScreenProgressLabel =>
-    _rfidProcessingScreenProgressLabel;
-
- -
- - - -
- -
- - void - rfidProcessingScreenProgressLabel=(Font? val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenProgressLabel(Font? val) {
-  _rfidProcessingScreenProgressLabel = val;
-  _set({"rfidProcessingScreenProgressLabel": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/rfidProcessingScreenResultLabel.html b/docs/document_reader/CustomizationFonts/rfidProcessingScreenResultLabel.html deleted file mode 100644 index ebe2a73407..0000000000 --- a/docs/document_reader/CustomizationFonts/rfidProcessingScreenResultLabel.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - rfidProcessingScreenResultLabel property - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenResultLabel
- -
- -
-
-
- -
-
-

rfidProcessingScreenResultLabel property -

- - - -
- -
- - Font? - rfidProcessingScreenResultLabel - - -
- - - - -
-

Implementation

-
Font? get rfidProcessingScreenResultLabel => _rfidProcessingScreenResultLabel;
-
- -
- - - -
- -
- - void - rfidProcessingScreenResultLabel=(Font? val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenResultLabel(Font? val) {
-  _rfidProcessingScreenResultLabel = val;
-  _set({"rfidProcessingScreenResultLabel": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/testSetters.html b/docs/document_reader/CustomizationFonts/testSetters.html deleted file mode 100644 index 894de72b12..0000000000 --- a/docs/document_reader/CustomizationFonts/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationFonts/toJson.html b/docs/document_reader/CustomizationFonts/toJson.html deleted file mode 100644 index 55ca05e810..0000000000 --- a/docs/document_reader/CustomizationFonts/toJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - toJson method - CustomizationFonts class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "rfidProcessingScreenHintLabel":
-          rfidProcessingScreenHintLabel?.toJson(),
-      "rfidProcessingScreenProgressLabel":
-          rfidProcessingScreenProgressLabel?.toJson(),
-      "rfidProcessingScreenResultLabel":
-          rfidProcessingScreenResultLabel?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages-class-sidebar.html b/docs/document_reader/CustomizationImages-class-sidebar.html deleted file mode 100644 index 4321218385..0000000000 --- a/docs/document_reader/CustomizationImages-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. CustomizationImages
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. rfidProcessingScreenFailureImage
  10. -
  11. runtimeType
  12. -
  13. testSetters
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/CustomizationImages-class.html b/docs/document_reader/CustomizationImages-class.html deleted file mode 100644 index d3ef072836..0000000000 --- a/docs/document_reader/CustomizationImages-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - CustomizationImages class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationImages
- -
- -
-
-
- -
-
-

CustomizationImages class - -

- - - - - - -
-

Constructors

- -
-
- CustomizationImages() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- rfidProcessingScreenFailureImage - ↔ dynamic - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - CustomizationImages - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages/CustomizationImages.html b/docs/document_reader/CustomizationImages/CustomizationImages.html deleted file mode 100644 index 7fb1e12d68..0000000000 --- a/docs/document_reader/CustomizationImages/CustomizationImages.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - CustomizationImages constructor - CustomizationImages - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
CustomizationImages
- -
- -
-
-
- -
-
-

CustomizationImages constructor -

- -
- - CustomizationImages() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages/fromJson.html b/docs/document_reader/CustomizationImages/fromJson.html deleted file mode 100644 index aca4eb617d..0000000000 --- a/docs/document_reader/CustomizationImages/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - CustomizationImages class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -CustomizationImages -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static CustomizationImages fromJson(jsonObject) {
-  var result = CustomizationImages();
-  result.testSetters = {};
-
-  result.rfidProcessingScreenFailureImage =
-      _dataFromBase64(jsonObject["rfidProcessingScreenFailureImage"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages/rfidProcessingScreenFailureImage.html b/docs/document_reader/CustomizationImages/rfidProcessingScreenFailureImage.html deleted file mode 100644 index 3e1c035a9d..0000000000 --- a/docs/document_reader/CustomizationImages/rfidProcessingScreenFailureImage.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - rfidProcessingScreenFailureImage property - CustomizationImages class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidProcessingScreenFailureImage
- -
- -
-
-
- -
-
-

rfidProcessingScreenFailureImage property -

- - - -
- -
- - dynamic - rfidProcessingScreenFailureImage - - -
- - - - -
-

Implementation

-
ByteData get rfidProcessingScreenFailureImage =>
-    _rfidProcessingScreenFailureImage;
-
- -
- - - -
- -
- - void - rfidProcessingScreenFailureImage=(dynamic val) - - -
- - - - -
-

Implementation

-
set rfidProcessingScreenFailureImage(ByteData val) {
-  _rfidProcessingScreenFailureImage = val;
-  _set({"rfidProcessingScreenFailureImage": _dataToBase64(val)});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages/testSetters.html b/docs/document_reader/CustomizationImages/testSetters.html deleted file mode 100644 index 6c976c2046..0000000000 --- a/docs/document_reader/CustomizationImages/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - CustomizationImages class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/CustomizationImages/toJson.html b/docs/document_reader/CustomizationImages/toJson.html deleted file mode 100644 index 56eb03b1b8..0000000000 --- a/docs/document_reader/CustomizationImages/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - CustomizationImages class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "rfidProcessingScreenFailureImage":
-          _dataToBase64(rfidProcessingScreenFailureImage),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField-class-sidebar.html b/docs/document_reader/DataField-class-sidebar.html deleted file mode 100644 index d3d5491f85..0000000000 --- a/docs/document_reader/DataField-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DataField
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. fieldType
  10. -
  11. hashCode
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/DataField-class.html b/docs/document_reader/DataField-class.html deleted file mode 100644 index 5af1056bfb..0000000000 --- a/docs/document_reader/DataField-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - DataField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DataField
- -
- -
-
-
- -
-
-

DataField class - -

- - - - - - -
-

Constructors

- -
-
- DataField() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String - -
-
- -
no setter
- -
- -
- fieldType - RFIDDataFileType - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DataField? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField/DataField.html b/docs/document_reader/DataField/DataField.html deleted file mode 100644 index 7a46b4db0c..0000000000 --- a/docs/document_reader/DataField/DataField.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DataField constructor - DataField - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DataField
- -
- -
-
-
- -
-
-

DataField constructor -

- -
- - DataField() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField/data.html b/docs/document_reader/DataField/data.html deleted file mode 100644 index d6ee1945ae..0000000000 --- a/docs/document_reader/DataField/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - DataField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String - data - - -
- - - - -
-

Implementation

-
String get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField/fieldType.html b/docs/document_reader/DataField/fieldType.html deleted file mode 100644 index 3b1a4227c4..0000000000 --- a/docs/document_reader/DataField/fieldType.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - fieldType property - DataField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldType
- -
- -
-
-
- -
-
-

fieldType property -

- - - -
- -
- - RFIDDataFileType - fieldType - - -
- - - - -
-

Implementation

-
RFIDDataFileType get fieldType => _fieldType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField/fromJson.html b/docs/document_reader/DataField/fromJson.html deleted file mode 100644 index 1e09409d1c..0000000000 --- a/docs/document_reader/DataField/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - DataField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DataField? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static DataField? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DataField();
-
-  result._data = jsonObject["data"];
-  var fieldType = RFIDDataFileType.getByValue(jsonObject["fieldType"]);
-  if (fieldType == null) return null;
-  result._fieldType = fieldType;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DataField/toJson.html b/docs/document_reader/DataField/toJson.html deleted file mode 100644 index d0e7679c20..0000000000 --- a/docs/document_reader/DataField/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - DataField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "fieldType": fieldType.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocFormat-enum-sidebar.html b/docs/document_reader/DocFormat-enum-sidebar.html deleted file mode 100644 index 910fb83cd9..0000000000 --- a/docs/document_reader/DocFormat-enum-sidebar.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocFormat
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. ID1
  10. -
  11. ID2
  12. -
  13. ID3
  14. -
  15. NON
  16. -
  17. A4
  18. -
  19. ID3_x2
  20. -
  21. ID2_TURKEY
  22. -
  23. ID1_90
  24. -
  25. ID1_180
  26. -
  27. ID1_270
  28. -
  29. ID2_180
  30. -
  31. ID3_180
  32. -
  33. CUSTOM
  34. -
  35. PHOTO
  36. -
  37. FLEXIBLE
  38. - -
  39. - Properties -
  40. -
  41. hashCode
  42. -
  43. index
  44. -
  45. runtimeType
  46. -
  47. value
  48. - -
  49. Methods
  50. -
  51. noSuchMethod
  52. -
  53. toString
  54. - -
  55. Operators
  56. -
  57. operator ==
  58. - - - -
  59. Static methods
  60. -
  61. getByValue
  62. - -
  63. Constants
  64. -
  65. values
  66. -
diff --git a/docs/document_reader/DocFormat.html b/docs/document_reader/DocFormat.html deleted file mode 100644 index 7851878ded..0000000000 --- a/docs/document_reader/DocFormat.html +++ /dev/null @@ -1,554 +0,0 @@ - - - - - - - - DocFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocFormat
- -
- -
-
-
- -
-
- -

- DocFormat - enum - - -

-
- - -
-

Defining the geometric format of documents in accordance with ISO / IEC 7810.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- DocFormat(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const DocFormat - - -
-
-

Unknown format.

- - -
- DocFormat(-1) -
-
- -
- ID1 - → const DocFormat - - -
-
-

ID1 document format.

- - -
- DocFormat(0) -
-
- -
- ID2 - → const DocFormat - - -
-
-

ID2 document format.

- - -
- DocFormat(1) -
-
- -
- ID3 - → const DocFormat - - -
-
-

ID3 document format.

- - -
- DocFormat(2) -
-
- -
- NON - → const DocFormat - - -
-
-

Undefined document format.

- - -
- DocFormat(3) -
-
- -
- A4 - → const DocFormat - - -
-
-

A4 document format.

- - -
- DocFormat(4) -
-
- -
- ID3_x2 - → const DocFormat - - -
-
-

ID3 double document format.

- - -
- DocFormat(5) -
-
- -
- ID2_TURKEY - → const DocFormat - - -
-
-

ID2 Turkey document format.

- - -
- DocFormat(6) -
-
- -
- ID1_90 - → const DocFormat - - -
-
-

ID1 format document rotated 90 degrees.

- - -
- DocFormat(10) -
-
- -
- ID1_180 - → const DocFormat - - -
-
-

ID1 format document rotated 180 degrees.

- - -
- DocFormat(11) -
-
- -
- ID1_270 - → const DocFormat - - -
-
-

ID1 format document rotated 270 degrees.

- - -
- DocFormat(12) -
-
- -
- ID2_180 - → const DocFormat - - -
-
-

ID2 format document rotated 180 degrees.

- - -
- DocFormat(13) -
-
- -
- ID3_180 - → const DocFormat - - -
-
-

ID3 format document rotated 180 degrees.

- - -
- DocFormat(14) -
-
- -
- CUSTOM - → const DocFormat - - -
-
-

Arbitrary format.

- - -
- DocFormat(1000) -
-
- -
- PHOTO - → const DocFormat - - -
-
-

Photo format.

- - -
- DocFormat(1001) -
-
- -
- FLEXIBLE - → const DocFormat - - -
-
-

Flexible format. Standard formats can be resized during cropping, depending -on various factors: light, background etc.

- - -
- DocFormat(1002) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - DocFormat? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<DocFormat> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, ID1, ID2, ID3, NON, A4, ID3_x2, ID2_TURKEY, ID1_90, ID1_180, ID1_270, ID2_180, ID3_180, CUSTOM, PHOTO, FLEXIBLE] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocFormat/DocFormat.html b/docs/document_reader/DocFormat/DocFormat.html deleted file mode 100644 index 0c282c12bb..0000000000 --- a/docs/document_reader/DocFormat/DocFormat.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - DocFormat constructor - DocFormat - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocFormat
- -
- -
-
-
- -
-
-

DocFormat constructor -

- -
- const - DocFormat(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const DocFormat
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocFormat/value.html b/docs/document_reader/DocFormat/value.html deleted file mode 100644 index 7e889e12d9..0000000000 --- a/docs/document_reader/DocFormat/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - DocFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocFormat/values-constant.html b/docs/document_reader/DocFormat/values-constant.html deleted file mode 100644 index 3f7ef80ff7..0000000000 --- a/docs/document_reader/DocFormat/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - DocFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<DocFormat> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction-enum-sidebar.html b/docs/document_reader/DocReaderAction-enum-sidebar.html deleted file mode 100644 index f8f9fdff5d..0000000000 --- a/docs/document_reader/DocReaderAction-enum-sidebar.html +++ /dev/null @@ -1,43 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderAction
  4. - -
  5. Values
  6. -
  7. COMPLETE
  8. -
  9. PROCESS
  10. -
  11. MORE_PAGES_AVAILABLE
  12. -
  13. CANCEL
  14. -
  15. ERROR
  16. -
  17. PROCESS_WHITE_FLASHLIGHT
  18. -
  19. TIMEOUT
  20. -
  21. PROCESSING_ON_SERVICE
  22. -
  23. PROCESS_WHITE_UV_IMAGES
  24. -
  25. PROCESS_IR_FRAME
  26. - -
  27. - Properties -
  28. -
  29. hashCode
  30. -
  31. index
  32. -
  33. runtimeType
  34. -
  35. value
  36. - -
  37. Methods
  38. -
  39. finished
  40. -
  41. interrupted
  42. -
  43. noSuchMethod
  44. -
  45. stopped
  46. -
  47. toString
  48. - -
  49. Operators
  50. -
  51. operator ==
  52. - - - -
  53. Static methods
  54. -
  55. getByValue
  56. - -
  57. Constants
  58. -
  59. values
  60. -
diff --git a/docs/document_reader/DocReaderAction.html b/docs/document_reader/DocReaderAction.html deleted file mode 100644 index cd1b281db6..0000000000 --- a/docs/document_reader/DocReaderAction.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - - - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderAction
- -
- -
-
-
- -
-
- -

- DocReaderAction - enum - - -

-
- - -
-

Contains all possible DocumentReaderNotification callback codes

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- DocReaderAction(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- COMPLETE - → const DocReaderAction - - -
-
-

Processing finished, the results were received

- - -
- DocReaderAction(0) -
-
- -
- PROCESS - → const DocReaderAction - - -
-
-

Processing didn't finish, intermediate results may be obtained

- - -
- DocReaderAction(1) -
-
- -
- MORE_PAGES_AVAILABLE - → const DocReaderAction - - -
-
-

Processing of a page is completed, the next one can be processed

- - -
- DocReaderAction(2) -
-
- -
- CANCEL - → const DocReaderAction - - -
-
-

Processing was cancelled, incomplete results may be obtained

- - -
- DocReaderAction(3) -
-
- -
- ERROR - → const DocReaderAction - - -
-
-

An error occurred during processing, incomplete results may be obtained

- - -
- DocReaderAction(4) -
-
- -
- PROCESS_WHITE_FLASHLIGHT - → const DocReaderAction - - -
-
-

Processing of a hologram is started

- - -
- DocReaderAction(5) -
-
- -
- TIMEOUT - → const DocReaderAction - - -
-
-

Processing is finished by timeout, intermediate results can be received. Processing finishes due to non-compliance with the image quality requirements

- - -
- DocReaderAction(6) -
-
- -
- PROCESSING_ON_SERVICE - → const DocReaderAction - - -
-
-

Online processing is started

- - -
- DocReaderAction(7) -
-
- -
- PROCESS_WHITE_UV_IMAGES - → const DocReaderAction - - -
-
-

Processing didn't finish, intermediate results may be obtained, UV images may be obtained

- - -
- DocReaderAction(102) -
-
- -
- PROCESS_IR_FRAME - → const DocReaderAction - - -
-
-

Processing didn't finish, intermediate results may be obtained, IR images may be obtained

- - -
- DocReaderAction(103) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- finished() - bool - - - -
-
- - - -
- -
- interrupted() - bool - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- stopped() - bool - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - DocReaderAction? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<DocReaderAction> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [COMPLETE, PROCESS, MORE_PAGES_AVAILABLE, CANCEL, ERROR, PROCESS_WHITE_FLASHLIGHT, TIMEOUT, PROCESSING_ON_SERVICE, PROCESS_WHITE_UV_IMAGES, PROCESS_IR_FRAME] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/DocReaderAction.html b/docs/document_reader/DocReaderAction/DocReaderAction.html deleted file mode 100644 index 72c2f04c82..0000000000 --- a/docs/document_reader/DocReaderAction/DocReaderAction.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - DocReaderAction constructor - DocReaderAction - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderAction
- -
- -
-
-
- -
-
-

DocReaderAction constructor -

- -
- const - DocReaderAction(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const DocReaderAction
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/finished.html b/docs/document_reader/DocReaderAction/finished.html deleted file mode 100644 index e3b0b385eb..0000000000 --- a/docs/document_reader/DocReaderAction/finished.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - finished method - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
finished
- -
- -
-
-
- -
-
-

finished method -

- -
- - -bool -finished() - - - -
- - - - -
-

Implementation

-
bool finished() => this == COMPLETE || this == TIMEOUT;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/interrupted.html b/docs/document_reader/DocReaderAction/interrupted.html deleted file mode 100644 index f70d99f95e..0000000000 --- a/docs/document_reader/DocReaderAction/interrupted.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - interrupted method - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
interrupted
- -
- -
-
-
- -
-
-

interrupted method -

- -
- - -bool -interrupted() - - - -
- - - - -
-

Implementation

-
bool interrupted() => this == CANCEL || this == ERROR;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/stopped.html b/docs/document_reader/DocReaderAction/stopped.html deleted file mode 100644 index 165d24cd6b..0000000000 --- a/docs/document_reader/DocReaderAction/stopped.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - stopped method - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
stopped
- -
- -
-
-
- -
-
-

stopped method -

- -
- - -bool -stopped() - - - -
- - - - -
-

Implementation

-
bool stopped() => finished() || interrupted();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/value.html b/docs/document_reader/DocReaderAction/value.html deleted file mode 100644 index 596a2157fd..0000000000 --- a/docs/document_reader/DocReaderAction/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderAction/values-constant.html b/docs/document_reader/DocReaderAction/values-constant.html deleted file mode 100644 index 71b68d3f40..0000000000 --- a/docs/document_reader/DocReaderAction/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - DocReaderAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<DocReaderAction> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException-class-sidebar.html b/docs/document_reader/DocReaderException-class-sidebar.html deleted file mode 100644 index d23651c3fc..0000000000 --- a/docs/document_reader/DocReaderException-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderException
  4. - - -
  5. - Properties -
  6. -
  7. code
  8. -
  9. hashCode
  10. -
  11. message
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/DocReaderException-class.html b/docs/document_reader/DocReaderException-class.html deleted file mode 100644 index 22d8cd6337..0000000000 --- a/docs/document_reader/DocReaderException-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - DocReaderException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderException
- -
- -
-
-
- -
-
-

DocReaderException class - -

- - - - - - -
-

Constructors

- -
-
- DocReaderException() -
-
- -
-
-
- -
-

Properties

- -
-
- code - ErrorCodes - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- message - String - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DocReaderException? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException/DocReaderException.html b/docs/document_reader/DocReaderException/DocReaderException.html deleted file mode 100644 index 708ea96ebb..0000000000 --- a/docs/document_reader/DocReaderException/DocReaderException.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DocReaderException constructor - DocReaderException - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderException
- -
- -
-
-
- -
-
-

DocReaderException constructor -

- -
- - DocReaderException() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException/code.html b/docs/document_reader/DocReaderException/code.html deleted file mode 100644 index 6760501f00..0000000000 --- a/docs/document_reader/DocReaderException/code.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - code property - DocReaderException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
code
- -
- -
-
-
- -
-
-

code property -

- - - -
- -
- - ErrorCodes - code - - -
- - - - -
-

Implementation

-
ErrorCodes get code => _code;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException/fromJson.html b/docs/document_reader/DocReaderException/fromJson.html deleted file mode 100644 index 7c0c7027e4..0000000000 --- a/docs/document_reader/DocReaderException/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - DocReaderException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DocReaderException? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static DocReaderException? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DocReaderException();
-
-  result._code = ErrorCodes.getByValue(jsonObject["code"])!;
-  result._message = jsonObject["message"] ?? "";
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException/message.html b/docs/document_reader/DocReaderException/message.html deleted file mode 100644 index e97f53486f..0000000000 --- a/docs/document_reader/DocReaderException/message.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - message property - DocReaderException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
message
- -
- -
-
-
- -
-
-

message property -

- - - -
- -
- - String - message - - -
- - - - -
-

Implementation

-
String get message => _message;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderException/toJson.html b/docs/document_reader/DocReaderException/toJson.html deleted file mode 100644 index 82d3bd84fb..0000000000 --- a/docs/document_reader/DocReaderException/toJson.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - toJson method - DocReaderException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "code": code.value,
-      "message": message,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderFrame-enum-sidebar.html b/docs/document_reader/DocReaderFrame-enum-sidebar.html deleted file mode 100644 index 33f7b1a09e..0000000000 --- a/docs/document_reader/DocReaderFrame-enum-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderFrame
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. SCENARIO_DEFAULT
  10. -
  11. MAX
  12. -
  13. NONE
  14. -
  15. DOCUMENT
  16. - -
  17. - Properties -
  18. -
  19. hashCode
  20. -
  21. index
  22. -
  23. runtimeType
  24. -
  25. value
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. getByValue
  40. - -
  41. Constants
  42. -
  43. values
  44. -
diff --git a/docs/document_reader/DocReaderFrame.html b/docs/document_reader/DocReaderFrame.html deleted file mode 100644 index 5625549a2c..0000000000 --- a/docs/document_reader/DocReaderFrame.html +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - DocReaderFrame enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderFrame
- -
- -
-
-
- -
-
- -

- DocReaderFrame - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- DocReaderFrame(String value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const DocReaderFrame - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- DocReaderFrame("") -
-
- -
- SCENARIO_DEFAULT - → const DocReaderFrame - - -
-
-

Size of the frame depends on the scenario, that means default values are used.

- - -
- DocReaderFrame("id1") -
-
- -
- MAX - → const DocReaderFrame - - -
-
-

Full frame.

- - -
- DocReaderFrame("max") -
-
- -
- NONE - → const DocReaderFrame - - -
-
-

No frame.

- - -
- DocReaderFrame("none") -
-
- -
- DOCUMENT - → const DocReaderFrame - - -
-
-

Size of the frame corresponds to the ID-3 format in the portrait mode -and to the ID-1 in the landscape mode.

- - -
- DocReaderFrame("document") -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - String - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(String? i) - DocReaderFrame? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<DocReaderFrame> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, SCENARIO_DEFAULT, MAX, NONE, DOCUMENT] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderFrame/DocReaderFrame.html b/docs/document_reader/DocReaderFrame/DocReaderFrame.html deleted file mode 100644 index 976fe6232a..0000000000 --- a/docs/document_reader/DocReaderFrame/DocReaderFrame.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - DocReaderFrame constructor - DocReaderFrame - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderFrame
- -
- -
-
-
- -
-
-

DocReaderFrame constructor -

- -
- const - DocReaderFrame(
  1. String value
  2. -
) -
- - - - - -
-

Implementation

-
const DocReaderFrame
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderFrame/value.html b/docs/document_reader/DocReaderFrame/value.html deleted file mode 100644 index 3134135c07..0000000000 --- a/docs/document_reader/DocReaderFrame/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - DocReaderFrame enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - String - value -
final
- -
- - - -
-

Implementation

-
final String value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderFrame/values-constant.html b/docs/document_reader/DocReaderFrame/values-constant.html deleted file mode 100644 index 968cb30ef0..0000000000 --- a/docs/document_reader/DocReaderFrame/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - DocReaderFrame enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<DocReaderFrame> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderOrientation-enum-sidebar.html b/docs/document_reader/DocReaderOrientation-enum-sidebar.html deleted file mode 100644 index 1ea97d2241..0000000000 --- a/docs/document_reader/DocReaderOrientation-enum-sidebar.html +++ /dev/null @@ -1,36 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderOrientation
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. ALL
  10. -
  11. PORTRAIT
  12. -
  13. LANDSCAPE
  14. -
  15. LANDSCAPE_LEFT
  16. -
  17. LANDSCAPE_RIGHT
  18. - -
  19. - Properties -
  20. -
  21. hashCode
  22. -
  23. index
  24. -
  25. runtimeType
  26. -
  27. value
  28. - -
  29. Methods
  30. -
  31. noSuchMethod
  32. -
  33. toString
  34. - -
  35. Operators
  36. -
  37. operator ==
  38. - - - -
  39. Static methods
  40. -
  41. getByValue
  42. - -
  43. Constants
  44. -
  45. values
  46. -
diff --git a/docs/document_reader/DocReaderOrientation.html b/docs/document_reader/DocReaderOrientation.html deleted file mode 100644 index 9e7d03206f..0000000000 --- a/docs/document_reader/DocReaderOrientation.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - - - - DocReaderOrientation enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderOrientation
- -
- -
-
-
- -
-
- -

- DocReaderOrientation - enum - - -

-
- - -
-

Contains set of values of the application's orientation.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- DocReaderOrientation(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const DocReaderOrientation - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- DocReaderOrientation(-1) -
-
- -
- ALL - → const DocReaderOrientation - - -
-
-

All interface orientations - orientation not set, activities will rotate.

- - -
- DocReaderOrientation(0) -
-
- -
- PORTRAIT - → const DocReaderOrientation - - -
-
-

A portrait interface orientation.

- - -
- DocReaderOrientation(1) -
-
- -
- LANDSCAPE - → const DocReaderOrientation - - -
-
-

Both landscape-left and landscape-right interface orientation.

- - -
- DocReaderOrientation(2) -
-
- -
- LANDSCAPE_LEFT - → const DocReaderOrientation - - -
-
-

A landscape-left interface orientation.

- - -
- DocReaderOrientation(3) -
-
- -
- LANDSCAPE_RIGHT - → const DocReaderOrientation - - -
-
-

A landscape-right interface orientation.

- - -
- DocReaderOrientation(4) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - DocReaderOrientation? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<DocReaderOrientation> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, ALL, PORTRAIT, LANDSCAPE, LANDSCAPE_LEFT, LANDSCAPE_RIGHT] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderOrientation/DocReaderOrientation.html b/docs/document_reader/DocReaderOrientation/DocReaderOrientation.html deleted file mode 100644 index 49b2dd1573..0000000000 --- a/docs/document_reader/DocReaderOrientation/DocReaderOrientation.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - DocReaderOrientation constructor - DocReaderOrientation - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderOrientation
- -
- -
-
-
- -
-
-

DocReaderOrientation constructor -

- -
- const - DocReaderOrientation(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const DocReaderOrientation
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderOrientation/value.html b/docs/document_reader/DocReaderOrientation/value.html deleted file mode 100644 index be7331fc80..0000000000 --- a/docs/document_reader/DocReaderOrientation/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - DocReaderOrientation enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderOrientation/values-constant.html b/docs/document_reader/DocReaderOrientation/values-constant.html deleted file mode 100644 index 88da716a48..0000000000 --- a/docs/document_reader/DocReaderOrientation/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - DocReaderOrientation enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<DocReaderOrientation> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario-class-sidebar.html b/docs/document_reader/DocReaderScenario-class-sidebar.html deleted file mode 100644 index 76e1c9e174..0000000000 --- a/docs/document_reader/DocReaderScenario-class-sidebar.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderScenario
  4. - - -
  5. - Properties -
  6. -
  7. caption
  8. -
  9. description
  10. -
  11. faceExt
  12. -
  13. frameKWHDoublePageSpreadLandscape
  14. -
  15. frameKWHDoublePageSpreadPortrait
  16. -
  17. frameKWHLandscape
  18. -
  19. frameKWHPortrait
  20. -
  21. frameOrientation
  22. -
  23. hashCode
  24. -
  25. manualCrop
  26. -
  27. multiPageOff
  28. -
  29. name
  30. -
  31. runtimeType
  32. -
  33. seriesProcessMode
  34. -
  35. uvTorch
  36. - -
  37. Methods
  38. -
  39. noSuchMethod
  40. -
  41. toJson
  42. -
  43. toString
  44. - -
  45. Operators
  46. -
  47. operator ==
  48. - - - -
  49. Static methods
  50. -
  51. fromJson
  52. - -
diff --git a/docs/document_reader/DocReaderScenario-class.html b/docs/document_reader/DocReaderScenario-class.html deleted file mode 100644 index 6e6da8e379..0000000000 --- a/docs/document_reader/DocReaderScenario-class.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - - - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderScenario
- -
- -
-
-
- -
-
-

DocReaderScenario class - -

- - - - - - -
-

Constructors

- -
-
- DocReaderScenario() -
-
- -
-
-
- -
-

Properties

- -
-
- caption - String - -
-
- string representation of scenario ID. -
no setter
- -
- -
- description - String - -
-
- Description of the scenario. -
no setter
- -
- -
- faceExt - bool - -
-
- -
no setter
- -
- -
- frameKWHDoublePageSpreadLandscape - double - -
-
- -
no setter
- -
- -
- frameKWHDoublePageSpreadPortrait - double - -
-
- -
no setter
- -
- -
- frameKWHLandscape - double - -
-
- -
no setter
- -
- -
- frameKWHPortrait - double - -
-
- -
no setter
- -
- -
- frameOrientation - DocReaderOrientation - -
-
- Available orientation for scenario. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- manualCrop - bool - -
-
- -
no setter
- -
- -
- multiPageOff - bool - -
-
- -
no setter
- -
- -
- name - String - -
-
- ID of the scenario. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- seriesProcessMode - bool - -
-
- -
no setter
- -
- -
- uvTorch - bool - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DocReaderScenario? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/DocReaderScenario.html b/docs/document_reader/DocReaderScenario/DocReaderScenario.html deleted file mode 100644 index f7be24ea56..0000000000 --- a/docs/document_reader/DocReaderScenario/DocReaderScenario.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DocReaderScenario constructor - DocReaderScenario - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderScenario
- -
- -
-
-
- -
-
-

DocReaderScenario constructor -

- -
- - DocReaderScenario() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/caption.html b/docs/document_reader/DocReaderScenario/caption.html deleted file mode 100644 index f8f7c272d9..0000000000 --- a/docs/document_reader/DocReaderScenario/caption.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - caption property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
caption
- -
- -
-
-
- -
-
-

caption property -

- - - -
- -
- - String - caption - - -
- - -
-

string representation of scenario ID.

-
- - -
-

Implementation

-
String get caption => _caption;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/description.html b/docs/document_reader/DocReaderScenario/description.html deleted file mode 100644 index e9aceda0bd..0000000000 --- a/docs/document_reader/DocReaderScenario/description.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - description property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
description
- -
- -
-
-
- -
-
-

description property -

- - - -
- -
- - String - description - - -
- - -
-

Description of the scenario.

-
- - -
-

Implementation

-
String get description => _description;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/faceExt.html b/docs/document_reader/DocReaderScenario/faceExt.html deleted file mode 100644 index ad1f20b6c3..0000000000 --- a/docs/document_reader/DocReaderScenario/faceExt.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - faceExt property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
faceExt
- -
- -
-
-
- -
-
-

faceExt property -

- - - -
- -
- - bool - faceExt - - -
- - - - -
-

Implementation

-
bool get faceExt => _faceExt;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadLandscape.html b/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadLandscape.html deleted file mode 100644 index 38b829e50c..0000000000 --- a/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadLandscape.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - frameKWHDoublePageSpreadLandscape property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
frameKWHDoublePageSpreadLandscape
- -
- -
-
-
- -
-
-

frameKWHDoublePageSpreadLandscape property -

- - - -
- -
- - double - frameKWHDoublePageSpreadLandscape - - -
- - - - -
-

Implementation

-
double get frameKWHDoublePageSpreadLandscape =>
-    _frameKWHDoublePageSpreadLandscape;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadPortrait.html b/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadPortrait.html deleted file mode 100644 index 56502e5365..0000000000 --- a/docs/document_reader/DocReaderScenario/frameKWHDoublePageSpreadPortrait.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - frameKWHDoublePageSpreadPortrait property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
frameKWHDoublePageSpreadPortrait
- -
- -
-
-
- -
-
-

frameKWHDoublePageSpreadPortrait property -

- - - -
- -
- - double - frameKWHDoublePageSpreadPortrait - - -
- - - - -
-

Implementation

-
double get frameKWHDoublePageSpreadPortrait =>
-    _frameKWHDoublePageSpreadPortrait;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/frameKWHLandscape.html b/docs/document_reader/DocReaderScenario/frameKWHLandscape.html deleted file mode 100644 index ca5c80d039..0000000000 --- a/docs/document_reader/DocReaderScenario/frameKWHLandscape.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - frameKWHLandscape property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
frameKWHLandscape
- -
- -
-
-
- -
-
-

frameKWHLandscape property -

- - - -
- -
- - double - frameKWHLandscape - - -
- - - - -
-

Implementation

-
double get frameKWHLandscape => _frameKWHLandscape;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/frameKWHPortrait.html b/docs/document_reader/DocReaderScenario/frameKWHPortrait.html deleted file mode 100644 index 6c22a970ad..0000000000 --- a/docs/document_reader/DocReaderScenario/frameKWHPortrait.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - frameKWHPortrait property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
frameKWHPortrait
- -
- -
-
-
- -
-
-

frameKWHPortrait property -

- - - -
- -
- - double - frameKWHPortrait - - -
- - - - -
-

Implementation

-
double get frameKWHPortrait => _frameKWHPortrait;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/frameOrientation.html b/docs/document_reader/DocReaderScenario/frameOrientation.html deleted file mode 100644 index ffca036a4c..0000000000 --- a/docs/document_reader/DocReaderScenario/frameOrientation.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - frameOrientation property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
frameOrientation
- -
- -
-
-
- -
-
-

frameOrientation property -

- - - -
- -
- - DocReaderOrientation - frameOrientation - - -
- - -
-

Available orientation for scenario.

-
- - -
-

Implementation

-
DocReaderOrientation get frameOrientation => _frameOrientation;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/fromJson.html b/docs/document_reader/DocReaderScenario/fromJson.html deleted file mode 100644 index ec7520a13e..0000000000 --- a/docs/document_reader/DocReaderScenario/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DocReaderScenario? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static DocReaderScenario? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DocReaderScenario();
-
-  result._uvTorch = jsonObject["uvTorch"];
-  result._frameOrientation =
-      DocReaderOrientation.getByValue(jsonObject["frameOrientation"])!;
-  result._faceExt = jsonObject["faceExt"];
-  result._multiPageOff = jsonObject["multiPageOff"];
-  result._seriesProcessMode = jsonObject["seriesProcessMode"];
-  result._frameKWHLandscape = jsonObject["frameKWHLandscape"].toDouble();
-  result._frameKWHPortrait = jsonObject["frameKWHPortrait"].toDouble();
-  result._frameKWHDoublePageSpreadPortrait =
-      jsonObject["frameKWHDoublePageSpreadPortrait"].toDouble();
-  result._frameKWHDoublePageSpreadLandscape =
-      jsonObject["frameKWHDoublePageSpreadLandscape"].toDouble();
-  result._name = jsonObject["name"];
-  result._caption = jsonObject["caption"];
-  result._description = jsonObject["description"];
-  result._manualCrop = jsonObject["manualCrop"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/manualCrop.html b/docs/document_reader/DocReaderScenario/manualCrop.html deleted file mode 100644 index c6246efe54..0000000000 --- a/docs/document_reader/DocReaderScenario/manualCrop.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - manualCrop property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
manualCrop
- -
- -
-
-
- -
-
-

manualCrop property -

- - - -
- -
- - bool - manualCrop - - -
- - - - -
-

Implementation

-
bool get manualCrop => _manualCrop;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/multiPageOff.html b/docs/document_reader/DocReaderScenario/multiPageOff.html deleted file mode 100644 index 6bb825ba27..0000000000 --- a/docs/document_reader/DocReaderScenario/multiPageOff.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - multiPageOff property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multiPageOff
- -
- -
-
-
- -
-
-

multiPageOff property -

- - - -
- -
- - bool - multiPageOff - - -
- - - - -
-

Implementation

-
bool get multiPageOff => _multiPageOff;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/name.html b/docs/document_reader/DocReaderScenario/name.html deleted file mode 100644 index 7a0bbd0751..0000000000 --- a/docs/document_reader/DocReaderScenario/name.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - name property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
name
- -
- -
-
-
- -
-
-

name property -

- - - -
- -
- - String - name - - -
- - -
-

ID of the scenario.

-
- - -
-

Implementation

-
String get name => _name;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/seriesProcessMode.html b/docs/document_reader/DocReaderScenario/seriesProcessMode.html deleted file mode 100644 index c14c11f9b6..0000000000 --- a/docs/document_reader/DocReaderScenario/seriesProcessMode.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - seriesProcessMode property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
seriesProcessMode
- -
- -
-
-
- -
-
-

seriesProcessMode property -

- - - -
- -
- - bool - seriesProcessMode - - -
- - - - -
-

Implementation

-
bool get seriesProcessMode => _seriesProcessMode;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/toJson.html b/docs/document_reader/DocReaderScenario/toJson.html deleted file mode 100644 index b783d1c07b..0000000000 --- a/docs/document_reader/DocReaderScenario/toJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - toJson method - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "uvTorch": uvTorch,
-      "frameOrientation": frameOrientation.value,
-      "faceExt": faceExt,
-      "multiPageOff": multiPageOff,
-      "seriesProcessMode": seriesProcessMode,
-      "frameKWHLandscape": frameKWHLandscape,
-      "frameKWHPortrait": frameKWHPortrait,
-      "frameKWHDoublePageSpreadPortrait": frameKWHDoublePageSpreadPortrait,
-      "frameKWHDoublePageSpreadLandscape": frameKWHDoublePageSpreadLandscape,
-      "name": name,
-      "caption": caption,
-      "description": description,
-      "manualCrop": manualCrop
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderScenario/uvTorch.html b/docs/document_reader/DocReaderScenario/uvTorch.html deleted file mode 100644 index 1dbfa72813..0000000000 --- a/docs/document_reader/DocReaderScenario/uvTorch.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - uvTorch property - DocReaderScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
uvTorch
- -
- -
-
-
- -
-
-

uvTorch property -

- - - -
- -
- - bool - uvTorch - - -
- - - - -
-

Implementation

-
bool get uvTorch => _uvTorch;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion-class-sidebar.html b/docs/document_reader/DocReaderVersion-class-sidebar.html deleted file mode 100644 index 152eb783b9..0000000000 --- a/docs/document_reader/DocReaderVersion-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocReaderVersion
  4. - - -
  5. - Properties -
  6. -
  7. api
  8. -
  9. core
  10. -
  11. coreMode
  12. -
  13. database
  14. -
  15. hashCode
  16. -
  17. runtimeType
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/DocReaderVersion-class.html b/docs/document_reader/DocReaderVersion-class.html deleted file mode 100644 index 24dd257a92..0000000000 --- a/docs/document_reader/DocReaderVersion-class.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderVersion
- -
- -
-
-
- -
-
-

DocReaderVersion class - -

- - -
-

Class contains properties to get the information about the SDK.

-
- - - - -
-

Constructors

- -
-
- DocReaderVersion() -
-
- -
-
-
- -
-

Properties

- -
-
- api - String? - -
-
- A version of the API framework. -
no setter
- -
- -
- core - String? - -
-
- A version of the Core framework. -
no setter
- -
- -
- coreMode - String? - -
-
- A type of the Core framework. -
no setter
- -
- -
- database - DocumentsDatabase? - -
-
- A version of the database. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DocReaderVersion? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/DocReaderVersion.html b/docs/document_reader/DocReaderVersion/DocReaderVersion.html deleted file mode 100644 index db5ea424c5..0000000000 --- a/docs/document_reader/DocReaderVersion/DocReaderVersion.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DocReaderVersion constructor - DocReaderVersion - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocReaderVersion
- -
- -
-
-
- -
-
-

DocReaderVersion constructor -

- -
- - DocReaderVersion() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/api.html b/docs/document_reader/DocReaderVersion/api.html deleted file mode 100644 index d6528c742b..0000000000 --- a/docs/document_reader/DocReaderVersion/api.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - api property - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
api
- -
- -
-
-
- -
-
-

api property -

- - - -
- -
- - String? - api - - -
- - -
-

A version of the API framework.

-
- - -
-

Implementation

-
String? get api => _api;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/core.html b/docs/document_reader/DocReaderVersion/core.html deleted file mode 100644 index ef4ef92e3d..0000000000 --- a/docs/document_reader/DocReaderVersion/core.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - core property - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
core
- -
- -
-
-
- -
-
-

core property -

- - - -
- -
- - String? - core - - -
- - -
-

A version of the Core framework.

-
- - -
-

Implementation

-
String? get core => _core;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/coreMode.html b/docs/document_reader/DocReaderVersion/coreMode.html deleted file mode 100644 index 849db501d7..0000000000 --- a/docs/document_reader/DocReaderVersion/coreMode.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - coreMode property - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
coreMode
- -
- -
-
-
- -
-
-

coreMode property -

- - - -
- -
- - String? - coreMode - - -
- - -
-

A type of the Core framework.

-
- - -
-

Implementation

-
String? get coreMode => _coreMode;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/database.html b/docs/document_reader/DocReaderVersion/database.html deleted file mode 100644 index 6b043f8ab0..0000000000 --- a/docs/document_reader/DocReaderVersion/database.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - database property - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
database
- -
- -
-
-
- -
-
-

database property -

- - - -
- -
- - DocumentsDatabase? - database - - -
- - -
-

A version of the database.

-
- - -
-

Implementation

-
DocumentsDatabase? get database => _database;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/fromJson.html b/docs/document_reader/DocReaderVersion/fromJson.html deleted file mode 100644 index 6de5957c0a..0000000000 --- a/docs/document_reader/DocReaderVersion/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DocReaderVersion? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static DocReaderVersion? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DocReaderVersion();
-
-  result._api = jsonObject["api"];
-  result._core = jsonObject["core"];
-  result._coreMode = jsonObject["coreMode"];
-  result._database = DocumentsDatabase.fromJson(jsonObject["database"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocReaderVersion/toJson.html b/docs/document_reader/DocReaderVersion/toJson.html deleted file mode 100644 index f5fce5dba0..0000000000 --- a/docs/document_reader/DocReaderVersion/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - DocReaderVersion class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "api": api,
-      "core": core,
-      "coreMode": coreMode,
-      "database": database?.toJson()
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocType-enum-sidebar.html b/docs/document_reader/DocType-enum-sidebar.html deleted file mode 100644 index e4365f37b4..0000000000 --- a/docs/document_reader/DocType-enum-sidebar.html +++ /dev/null @@ -1,261 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocType
  4. - -
  5. Values
  6. -
  7. NotDefined
  8. -
  9. Passport
  10. -
  11. IdentityCard
  12. -
  13. DiplomaticPassport
  14. -
  15. ServicePassport
  16. -
  17. SeamanIdentityDocument
  18. -
  19. IdentityCardForResidence
  20. -
  21. TravelDocument
  22. -
  23. Other
  24. -
  25. VisaID2
  26. -
  27. VisaID3
  28. -
  29. NationalIdentityCard
  30. -
  31. SocialIdentityCard
  32. -
  33. AliensIdentityCard
  34. -
  35. PrivilegedIdentityCard
  36. -
  37. ResidencePermitIdentityCard
  38. -
  39. OriginCard
  40. -
  41. EmergencyPassport
  42. -
  43. AliensPassport
  44. -
  45. AlternativeIdentityCard
  46. -
  47. AuthorizationCard
  48. -
  49. BeginnerPermit
  50. -
  51. BorderCrossingCard
  52. -
  53. ChauffeurLicense
  54. -
  55. ChauffeurLicenseUnder18
  56. -
  57. ChauffeurLicenseUnder21
  58. -
  59. CommercialDrivingLicense
  60. -
  61. CommercialDrivingLicenseInstructionalPermit
  62. -
  63. CommercialDrivingLicenseUnder18
  64. -
  65. CommercialDrivingLicenseUnder21
  66. -
  67. CommercialInstructionPermit
  68. -
  69. CommercialNewPermit
  70. -
  71. ConcealedCarryLicense
  72. -
  73. ConcealedFirearmPermit
  74. -
  75. ConditionalDrivingLicense
  76. -
  77. DepartmentOfVeteransAffairsIdentityCard
  78. -
  79. DiplomaticDrivingLicense
  80. -
  81. DrivingLicense
  82. -
  83. DrivingLicenseInstructionalPermit
  84. -
  85. DrivingLicenseInstructionalPermitUnder18
  86. -
  87. DrivingLicenseInstructionalPermitUnder21
  88. -
  89. DrivingLicenseLearnersPermit
  90. -
  91. DrivingLicenseLearnersPermitUnder18
  92. -
  93. DrivingLicenseLearnersPermitUnder21
  94. -
  95. DrivingLicenseNovice
  96. -
  97. DrivingLicenseNoviceUnder18
  98. -
  99. DrivingLicenseNoviceUnder21
  100. -
  101. DrivingLicenseRegisteredOffender
  102. -
  103. DrivingLicenseRestrictedUnder18
  104. -
  105. DrivingLicenseRestrictedUnder21
  106. -
  107. DrivingLicenseTemporaryVisitor
  108. -
  109. DrivingLicenseTemporaryVisitorUnder18
  110. -
  111. DrivingLicenseTemporaryVisitorUnder21
  112. -
  113. DrivingLicenseUnder18
  114. -
  115. DrivingLicenseUnder21
  116. -
  117. EmploymentDrivingPermit
  118. -
  119. EnhancedChauffeurLicense
  120. -
  121. EnhancedChauffeurLicenseUnder18
  122. -
  123. EnhancedChauffeurLicenseUnder21
  124. -
  125. EnhancedCommercialDrivingLicense
  126. -
  127. EnhancedDrivingLicense
  128. -
  129. EnhancedDrivingLicenseUnder18
  130. -
  131. EnhancedDrivingLicenseUnder21
  132. -
  133. EnhancedIdentityCard
  134. -
  135. EnhancedIdentityCardUnder18
  136. -
  137. EnhancedIdentityCardUnder21
  138. -
  139. EnhancedOperatorsLicense
  140. -
  141. FirearmsPermit
  142. -
  143. FullProvisionalLicense
  144. -
  145. FullProvisionalLicenseUnder18
  146. -
  147. FullProvisionalLicenseUnder21
  148. -
  149. GenevaConventionsIdentityCard
  150. -
  151. GraduatedDrivingLicenseUnder18
  152. -
  153. GraduatedDrivingLicenseUnder21
  154. -
  155. GraduatedInstructionPermitUnder18
  156. -
  157. GraduatedInstructionPermitUnder21
  158. -
  159. GraduatedLicenseUnder18
  160. -
  161. GraduatedLicenseUnder21
  162. -
  163. HandgunCarryPermit
  164. -
  165. IdentityAndPrivilegeCard
  166. -
  167. IdentityCardMobilityImpaired
  168. -
  169. IdentityCardRegisteredOffender
  170. -
  171. IdentityCaremporaryVisitor
  172. -
  173. IdentityCaremporaryVisitorUnder18
  174. -
  175. IdentityCaremporaryVisitorUnder21
  176. -
  177. IdentityCardUnder18
  178. -
  179. IdentityCardUnder21
  180. -
  181. IgnitionInterlockPermit
  182. -
  183. ImmigrantVisa
  184. -
  185. InstructionPermit
  186. -
  187. InstructionPermitUnder18
  188. -
  189. InstructionPermitUnder21
  190. -
  191. InterimDrivingLicense
  192. -
  193. InterimIdentityCard
  194. -
  195. IntermediateDrivingLicense
  196. -
  197. IntermediateDrivingLicenseUnder18
  198. -
  199. IntermediateDrivingLicenseUnder21
  200. -
  201. JuniorDrivingLicense
  202. -
  203. LearnerInstructionalPermit
  204. -
  205. LearnerLicense
  206. -
  207. LearnerLicenseUnder18
  208. -
  209. LearnerLicenseUnder21
  210. -
  211. LearnerPermit
  212. -
  213. LearnerPermitUnder18
  214. -
  215. LearnerPermitUnder21
  216. -
  217. LimitedLicense
  218. -
  219. LimitedPermit
  220. -
  221. LimiteermDrivingLicense
  222. -
  223. LimiteermIdentityCard
  224. -
  225. LiquorIdentityCard
  226. -
  227. NewPermit
  228. -
  229. NewPermitUnder18
  230. -
  231. NewPermitUnder21
  232. -
  233. NonUsCitizenDrivingLicense
  234. -
  235. OccupationalDrivingLicense
  236. -
  237. OneidaTribeOfIndiansIdentityCard
  238. -
  239. OperatorLicense
  240. -
  241. OperatorLicenseUnder18
  242. -
  243. OperatorLicenseUnder21
  244. -
  245. PermanentDrivingLicense
  246. -
  247. PermitToReEnter
  248. -
  249. ProbationaryAutoLicense
  250. -
  251. ProbationaryDrivingLicenseUnder18
  252. -
  253. ProbationaryDrivingLicenseUnder21
  254. -
  255. ProbationaryVehicleSalespersonLicense
  256. -
  257. ProvisionalDrivingLicense
  258. -
  259. ProvisionalDrivingLicenseUnder18
  260. -
  261. ProvisionalDrivingLicenseUnder21
  262. -
  263. ProvisionalLicense
  264. -
  265. ProvisionalLicenseUnder18
  266. -
  267. ProvisionalLicenseUnder21
  268. -
  269. PublicPassengerChauffeurLicense
  270. -
  271. RacingAndGamingComissionCard
  272. -
  273. RefugeeTravelDocument
  274. -
  275. RenewalPermit
  276. -
  277. RestrictedCommercialDrivingLicense
  278. -
  279. RestrictedDrivingLicense
  280. -
  281. RestrictedPermit
  282. -
  283. SeasonalPermit
  284. -
  285. SeasonalResidentIdentityCard
  286. -
  287. SeniorCitizenIdentityCard
  288. -
  289. SexOffender
  290. -
  291. SocialSecurityCard
  292. -
  293. TemporaryDrivingLicense
  294. -
  295. TemporaryDrivingLicenseUnder18
  296. -
  297. TemporaryDrivingLicenseUnder21
  298. -
  299. TemporaryIdentityCard
  300. -
  301. TemporaryInstructionPermitIdentityCard
  302. -
  303. TemporaryInstructionPermitIdentityCardUnder18
  304. -
  305. TemporaryInstructionPermitIdentityCardUnder21
  306. -
  307. TemporaryVisitorDrivingLicense
  308. -
  309. TemporaryVisitorDrivingLicenseUnder18
  310. -
  311. TemporaryVisitorDrivingLicenseUnder21
  312. -
  313. UniformedServicesIdentityCard
  314. -
  315. VehicleSalespersonLicense
  316. -
  317. WorkerIdentificationCredential
  318. -
  319. CommercialDrivingLicenseNovice
  320. -
  321. CommercialDrivingLicenseNoviceUnder18
  322. -
  323. CommercialDrivingLicenseNoviceUnder21
  324. -
  325. PassportCard
  326. -
  327. PermanentResidentCard
  328. -
  329. PersonalIdentificationVerification
  330. -
  331. TemporaryOperatorLicense
  332. -
  333. DrivingLicenseUnder19
  334. -
  335. IdentityCardUnder19
  336. -
  337. Visa
  338. -
  339. TemporaryPassport
  340. -
  341. VotingCard
  342. -
  343. HealthCard
  344. -
  345. CertificateOfCitizenship
  346. -
  347. AddressCard
  348. -
  349. AirportImmigrationCard
  350. -
  351. AlienRegistrationCard
  352. -
  353. APEHCard
  354. -
  355. CouponToDrivingLicense
  356. -
  357. CrewMemberCertificate
  358. -
  359. DocumentForReturn
  360. -
  361. ECard
  362. -
  363. EmploymentCard
  364. -
  365. HKSARImmigrationForm
  366. -
  367. ImmigrantCard
  368. -
  369. LabourCard
  370. -
  371. LaissezPasser
  372. -
  373. LawyerIdentityCertificate
  374. -
  375. LicenseCard
  376. -
  377. PassportStateless
  378. -
  379. PassportChild
  380. -
  381. PassportConsular
  382. -
  383. PassportDiplomaticService
  384. -
  385. PassportOfficial
  386. -
  387. PassportProvisional
  388. -
  389. PassportSpecial
  390. -
  391. PermissionToTheLocalBorderTraffic
  392. -
  393. RegistrationCertificate
  394. -
  395. SEDESOLCard
  396. -
  397. SocialCard
  398. -
  399. TBCard
  400. -
  401. VehiclePassport
  402. -
  403. WDocument
  404. -
  405. DiplomaticIdentityCard
  406. -
  407. ConsularIdentityCard
  408. -
  409. IncomeTaxCard
  410. -
  411. ResidencePermit
  412. -
  413. DocumentOfIdentity
  414. -
  415. BorderCrossingPermit
  416. -
  417. PassportLimitedValidity
  418. -
  419. SIMCard
  420. -
  421. TaxCard
  422. -
  423. CompanyCard
  424. -
  425. DomesticPassport
  426. -
  427. IdentityCertificate
  428. -
  429. ResidentIdCard
  430. -
  431. ArmedForcesIdentityCard
  432. -
  433. ProfessionalCard
  434. -
  435. RegistrationStamp
  436. -
  437. DriverCard
  438. -
  439. DriverTrainingCertificate
  440. -
  441. QualificationDrivingLicense
  442. -
  443. MembershipCard
  444. -
  445. PublicVehicleDriverAuthorityCard
  446. -
  447. MarineLicense
  448. -
  449. TemporaryLearnerDrivingLicense
  450. -
  451. TemporaryCommercialDrivingLicense
  452. -
  453. InterimInstructionalPermit
  454. -
  455. CertificateOfCompetency
  456. -
  457. CertificateOfProficiency
  458. -
  459. TradeLicense
  460. -
  461. PassportPage
  462. -
  463. Invoice
  464. -
  465. PassengerLocatorForm
  466. - -
  467. - Properties -
  468. -
  469. hashCode
  470. -
  471. index
  472. -
  473. runtimeType
  474. -
  475. value
  476. - -
  477. Methods
  478. -
  479. noSuchMethod
  480. -
  481. toString
  482. - -
  483. Operators
  484. -
  485. operator ==
  486. - - - -
  487. Static methods
  488. -
  489. fromIntList
  490. -
  491. getByValue
  492. - -
  493. Constants
  494. -
  495. values
  496. -
diff --git a/docs/document_reader/DocType.html b/docs/document_reader/DocType.html deleted file mode 100644 index 052f888a54..0000000000 --- a/docs/document_reader/DocType.html +++ /dev/null @@ -1,3773 +0,0 @@ - - - - - - - - DocType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocType
- -
- -
-
-
- -
-
- -

- DocType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- DocType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- NotDefined - → const DocType - - -
-
-

An unknown document type.

- - -
- DocType(0) -
-
- -
- Passport - → const DocType - - -
-
-

Passport.

- - -
- DocType(11) -
-
- -
- IdentityCard - → const DocType - - -
-
-

Identity Card.

- - -
- DocType(12) -
-
- -
- DiplomaticPassport - → const DocType - - -
-
-

Diplomatic Passport.

- - -
- DocType(13) -
-
- -
- ServicePassport - → const DocType - - -
-
-

Service Passport.

- - -
- DocType(14) -
-
- -
- SeamanIdentityDocument - → const DocType - - -
-
-

Seaman's Identity Document.

- - -
- DocType(15) -
-
- -
- IdentityCardForResidence - → const DocType - - -
-
-

Identity Card for Residence.

- - -
- DocType(16) -
-
- -
- TravelDocument - → const DocType - - -
-
-

Travel Document.

- - -
- DocType(17) -
-
- -
- Other - → const DocType - - -
-
-

Other.

- - -
- DocType(99) -
-
- -
- VisaID2 - → const DocType - - -
-
-

Visa ID-2.

- - -
- DocType(29) -
-
- -
- VisaID3 - → const DocType - - -
-
-

Visa ID-3.

- - -
- DocType(30) -
-
- -
- NationalIdentityCard - → const DocType - - -
-
-

National Identity Card.

- - -
- DocType(20) -
-
- -
- SocialIdentityCard - → const DocType - - -
-
-

Social Identity Card.

- - -
- DocType(21) -
-
- -
- AliensIdentityCard - → const DocType - - -
-
-

Alien's Identity Card.

- - -
- DocType(22) -
-
- -
- PrivilegedIdentityCard - → const DocType - - -
-
-

Privileged Identity Card.

- - -
- DocType(23) -
-
- -
- ResidencePermitIdentityCard - → const DocType - - -
-
-

Residence Permit Identity Card.

- - -
- DocType(24) -
-
- -
- OriginCard - → const DocType - - -
-
-

Origin Card.

- - -
- DocType(25) -
-
- -
- EmergencyPassport - → const DocType - - -
-
-

Emergency Passport.

- - -
- DocType(26) -
-
- -
- AliensPassport - → const DocType - - -
-
-

Alien's Passport.

- - -
- DocType(27) -
-
- -
- AlternativeIdentityCard - → const DocType - - -
-
-

Alternative Identity Card.

- - -
- DocType(28) -
-
- -
- AuthorizationCard - → const DocType - - -
-
-

Authorization Card.

- - -
- DocType(32) -
-
- -
- BeginnerPermit - → const DocType - - -
-
-

Beginner Permit.

- - -
- DocType(33) -
-
- -
- BorderCrossingCard - → const DocType - - -
-
-

Border Crossing Card.

- - -
- DocType(34) -
-
- -
- ChauffeurLicense - → const DocType - - -
-
-

Chauffeur License.

- - -
- DocType(35) -
-
- -
- ChauffeurLicenseUnder18 - → const DocType - - -
-
-

Chauffeur License under 18.

- - -
- DocType(36) -
-
- -
- ChauffeurLicenseUnder21 - → const DocType - - -
-
-

Chauffeur License under 21.

- - -
- DocType(37) -
-
- -
- CommercialDrivingLicense - → const DocType - - -
-
-

Commercial Driving License.

- - -
- DocType(38) -
-
- -
- CommercialDrivingLicenseInstructionalPermit - → const DocType - - -
-
-

Commercial Driving License Instructional Permit.

- - -
- DocType(39) -
-
- -
- CommercialDrivingLicenseUnder18 - → const DocType - - -
-
-

Commercial Driving License under 18.

- - -
- DocType(40) -
-
- -
- CommercialDrivingLicenseUnder21 - → const DocType - - -
-
-

Commercial Driving License under 21.

- - -
- DocType(41) -
-
- -
- CommercialInstructionPermit - → const DocType - - -
-
-

Commercial Indtuction Permit.

- - -
- DocType(42) -
-
- -
- CommercialNewPermit - → const DocType - - -
-
-

Commercial New Permit.

- - -
- DocType(43) -
-
- -
- ConcealedCarryLicense - → const DocType - - -
-
-

Concealed Carry License.

- - -
- DocType(44) -
-
- -
- ConcealedFirearmPermit - → const DocType - - -
-
-

Concealed Firearm Permit.

- - -
- DocType(45) -
-
- -
- ConditionalDrivingLicense - → const DocType - - -
-
-

Conditional Driving License.

- - -
- DocType(46) -
-
- -
- DepartmentOfVeteransAffairsIdentityCard - → const DocType - - -
-
-

Department of Veterans Affairs Identity Card.

- - -
- DocType(47) -
-
- -
- DiplomaticDrivingLicense - → const DocType - - -
-
-

Diplomatic Driving License.

- - -
- DocType(48) -
-
- -
- DrivingLicense - → const DocType - - -
-
-

Driving License.

- - -
- DocType(49) -
-
- -
- DrivingLicenseInstructionalPermit - → const DocType - - -
-
-

Driving License Instructional Permit.

- - -
- DocType(50) -
-
- -
- DrivingLicenseInstructionalPermitUnder18 - → const DocType - - -
-
-

Driving License Instructional Permit under 18.

- - -
- DocType(51) -
-
- -
- DrivingLicenseInstructionalPermitUnder21 - → const DocType - - -
-
-

Driving License Instructional Permit under 21.

- - -
- DocType(52) -
-
- -
- DrivingLicenseLearnersPermit - → const DocType - - -
-
-

Driving License Learners Permit.

- - -
- DocType(53) -
-
- -
- DrivingLicenseLearnersPermitUnder18 - → const DocType - - -
-
-

Driving License Learners Permit under 18.

- - -
- DocType(54) -
-
- -
- DrivingLicenseLearnersPermitUnder21 - → const DocType - - -
-
-

Driving License Learners Permit under 21.

- - -
- DocType(55) -
-
- -
- DrivingLicenseNovice - → const DocType - - -
-
-

Driving License Novice.

- - -
- DocType(56) -
-
- -
- DrivingLicenseNoviceUnder18 - → const DocType - - -
-
-

Driving License Novice under 18.

- - -
- DocType(57) -
-
- -
- DrivingLicenseNoviceUnder21 - → const DocType - - -
-
-

Driving License Novice under 21.

- - -
- DocType(58) -
-
- -
- DrivingLicenseRegisteredOffender - → const DocType - - -
-
-

Driving License Registered Offender.

- - -
- DocType(59) -
-
- -
- DrivingLicenseRestrictedUnder18 - → const DocType - - -
-
-

Driving License Redticted under 18.

- - -
- DocType(60) -
-
- -
- DrivingLicenseRestrictedUnder21 - → const DocType - - -
-
-

Driving License Redticted under 21.

- - -
- DocType(61) -
-
- -
- DrivingLicenseTemporaryVisitor - → const DocType - - -
-
-

Driving License Temporary Visitor.

- - -
- DocType(62) -
-
- -
- DrivingLicenseTemporaryVisitorUnder18 - → const DocType - - -
-
-

Driving License Temporary Visitor under 18.

- - -
- DocType(63) -
-
- -
- DrivingLicenseTemporaryVisitorUnder21 - → const DocType - - -
-
-

Driving License Temporary Visitor under 21.

- - -
- DocType(64) -
-
- -
- DrivingLicenseUnder18 - → const DocType - - -
-
-

Driving License under 18.

- - -
- DocType(65) -
-
- -
- DrivingLicenseUnder21 - → const DocType - - -
-
-

Driving License under 21.

- - -
- DocType(66) -
-
- -
- EmploymentDrivingPermit - → const DocType - - -
-
-

Employment Driving Permit.

- - -
- DocType(67) -
-
- -
- EnhancedChauffeurLicense - → const DocType - - -
-
-

Enhanced Chauffeur License.

- - -
- DocType(68) -
-
- -
- EnhancedChauffeurLicenseUnder18 - → const DocType - - -
-
-

Enhanced Chauffeur License under 18.

- - -
- DocType(69) -
-
- -
- EnhancedChauffeurLicenseUnder21 - → const DocType - - -
-
-

Enhanced Chauffeur License under 21.

- - -
- DocType(70) -
-
- -
- EnhancedCommercialDrivingLicense - → const DocType - - -
-
-

Enhanced Commercial Driving License.

- - -
- DocType(71) -
-
- -
- EnhancedDrivingLicense - → const DocType - - -
-
-

Enhanced Driving License.

- - -
- DocType(72) -
-
- -
- EnhancedDrivingLicenseUnder18 - → const DocType - - -
-
-

Enhanced Driving License under 18.

- - -
- DocType(73) -
-
- -
- EnhancedDrivingLicenseUnder21 - → const DocType - - -
-
-

Enhanced Driving License under 21.

- - -
- DocType(74) -
-
- -
- EnhancedIdentityCard - → const DocType - - -
-
-

Enhanced Identity Card.

- - -
- DocType(75) -
-
- -
- EnhancedIdentityCardUnder18 - → const DocType - - -
-
-

Enhanced Identity Card under 18.

- - -
- DocType(76) -
-
- -
- EnhancedIdentityCardUnder21 - → const DocType - - -
-
-

Enhanced Identity Card under 21.

- - -
- DocType(77) -
-
- -
- EnhancedOperatorsLicense - → const DocType - - -
-
-

Enhanced Operators License.

- - -
- DocType(78) -
-
- -
- FirearmsPermit - → const DocType - - -
-
-

Firearms Permit.

- - -
- DocType(79) -
-
- -
- FullProvisionalLicense - → const DocType - - -
-
-

Full Provisional License.

- - -
- DocType(80) -
-
- -
- FullProvisionalLicenseUnder18 - → const DocType - - -
-
-

Full Provisional License under 18.

- - -
- DocType(81) -
-
- -
- FullProvisionalLicenseUnder21 - → const DocType - - -
-
-

Full Provisional License under 21.

- - -
- DocType(82) -
-
- -
- GenevaConventionsIdentityCard - → const DocType - - -
-
-

Geneva Conventions Identity Card.

- - -
- DocType(83) -
-
- -
- GraduatedDrivingLicenseUnder18 - → const DocType - - -
-
-

Graduated Driving License under 18.

- - -
- DocType(84) -
-
- -
- GraduatedDrivingLicenseUnder21 - → const DocType - - -
-
-

Graduated Driving License under 21.

- - -
- DocType(85) -
-
- -
- GraduatedInstructionPermitUnder18 - → const DocType - - -
-
-

Graduated Indtuction Permit under 18.

- - -
- DocType(86) -
-
- -
- GraduatedInstructionPermitUnder21 - → const DocType - - -
-
-

Graduated Indtuction Permit under 21.

- - -
- DocType(87) -
-
- -
- GraduatedLicenseUnder18 - → const DocType - - -
-
-

Graduated License under 18.

- - -
- DocType(88) -
-
- -
- GraduatedLicenseUnder21 - → const DocType - - -
-
-

Graduated License under 21.

- - -
- DocType(89) -
-
- -
- HandgunCarryPermit - → const DocType - - -
-
-

Handgun Carry Permit.

- - -
- DocType(90) -
-
- -
- IdentityAndPrivilegeCard - → const DocType - - -
-
-

Identity and Privilege Card.

- - -
- DocType(91) -
-
- -
- IdentityCardMobilityImpaired - → const DocType - - -
-
-

Identity Card Mobility Impaired.

- - -
- DocType(92) -
-
- -
- IdentityCardRegisteredOffender - → const DocType - - -
-
-

Identity Card Registered Offender.

- - -
- DocType(93) -
-
- -
- IdentityCaremporaryVisitor - → const DocType - - -
-
-

Identity Card Temporary Visitor.

- - -
- DocType(94) -
-
- -
- IdentityCaremporaryVisitorUnder18 - → const DocType - - -
-
-

Identity Card Temporary Visitor under 18.

- - -
- DocType(95) -
-
- -
- IdentityCaremporaryVisitorUnder21 - → const DocType - - -
-
-

Identity Card Temporary Visitor under 21.

- - -
- DocType(96) -
-
- -
- IdentityCardUnder18 - → const DocType - - -
-
-

Identity Card under 18.

- - -
- DocType(97) -
-
- -
- IdentityCardUnder21 - → const DocType - - -
-
-

Identity Card under 21.

- - -
- DocType(98) -
-
- -
- IgnitionInterlockPermit - → const DocType - - -
-
-

Ignition Interlock Permit.

- - -
- DocType(100) -
-
- -
- ImmigrantVisa - → const DocType - - -
-
-

Immigrant Visa.

- - -
- DocType(101) -
-
- -
- InstructionPermit - → const DocType - - -
-
-

Indtuction Permit.

- - -
- DocType(102) -
-
- -
- InstructionPermitUnder18 - → const DocType - - -
-
-

Indtuction Permit under 18.

- - -
- DocType(103) -
-
- -
- InstructionPermitUnder21 - → const DocType - - -
-
-

Indtuction Permit under 21.

- - -
- DocType(104) -
-
- -
- InterimDrivingLicense - → const DocType - - -
-
-

Interim Driving License.

- - -
- DocType(105) -
-
- -
- InterimIdentityCard - → const DocType - - -
-
-

Interim Identity Card.

- - -
- DocType(106) -
-
- -
- IntermediateDrivingLicense - → const DocType - - -
-
-

Intermediate Driving License.

- - -
- DocType(107) -
-
- -
- IntermediateDrivingLicenseUnder18 - → const DocType - - -
-
-

Intermediate Driving License under 18.

- - -
- DocType(108) -
-
- -
- IntermediateDrivingLicenseUnder21 - → const DocType - - -
-
-

Intermediate Driving License under 21.

- - -
- DocType(109) -
-
- -
- JuniorDrivingLicense - → const DocType - - -
-
-

Junior Driving License.

- - -
- DocType(110) -
-
- -
- LearnerInstructionalPermit - → const DocType - - -
-
-

Learner Instructional Permit.

- - -
- DocType(111) -
-
- -
- LearnerLicense - → const DocType - - -
-
-

Learner License.

- - -
- DocType(112) -
-
- -
- LearnerLicenseUnder18 - → const DocType - - -
-
-

Learner License under 18.

- - -
- DocType(113) -
-
- -
- LearnerLicenseUnder21 - → const DocType - - -
-
-

Learner License under 21.

- - -
- DocType(114) -
-
- -
- LearnerPermit - → const DocType - - -
-
-

Learner Permit.

- - -
- DocType(115) -
-
- -
- LearnerPermitUnder18 - → const DocType - - -
-
-

Learner Permit under 18.

- - -
- DocType(116) -
-
- -
- LearnerPermitUnder21 - → const DocType - - -
-
-

Learner Permit under 21.

- - -
- DocType(117) -
-
- -
- LimitedLicense - → const DocType - - -
-
-

Limited License.

- - -
- DocType(118) -
-
- -
- LimitedPermit - → const DocType - - -
-
-

Limited Permit.

- - -
- DocType(119) -
-
- -
- LimiteermDrivingLicense - → const DocType - - -
-
-

Limited Term Driving License.

- - -
- DocType(120) -
-
- -
- LimiteermIdentityCard - → const DocType - - -
-
-

Limited Term Identity Card.

- - -
- DocType(121) -
-
- -
- LiquorIdentityCard - → const DocType - - -
-
-

Liquor Identity Card.

- - -
- DocType(122) -
-
- -
- NewPermit - → const DocType - - -
-
-

New Permit.

- - -
- DocType(123) -
-
- -
- NewPermitUnder18 - → const DocType - - -
-
-

New Permit under 18.

- - -
- DocType(124) -
-
- -
- NewPermitUnder21 - → const DocType - - -
-
-

New Permit under 21.

- - -
- DocType(125) -
-
- -
- NonUsCitizenDrivingLicense - → const DocType - - -
-
-

Non-US Citizen Driving License.

- - -
- DocType(126) -
-
- -
- OccupationalDrivingLicense - → const DocType - - -
-
-

Occupational Driving License.

- - -
- DocType(127) -
-
- -
- OneidaTribeOfIndiansIdentityCard - → const DocType - - -
-
-

Oneida Tribe of Indians Identity Card.

- - -
- DocType(128) -
-
- -
- OperatorLicense - → const DocType - - -
-
-

Operator License.

- - -
- DocType(129) -
-
- -
- OperatorLicenseUnder18 - → const DocType - - -
-
-

Operator License under 18.

- - -
- DocType(130) -
-
- -
- OperatorLicenseUnder21 - → const DocType - - -
-
-

Operator License under 21.

- - -
- DocType(131) -
-
- -
- PermanentDrivingLicense - → const DocType - - -
-
-

Permanent Driving License.

- - -
- DocType(132) -
-
- -
- PermitToReEnter - → const DocType - - -
-
-

Permit to Re-enter.

- - -
- DocType(133) -
-
- -
- ProbationaryAutoLicense - → const DocType - - -
-
-

Probationary Auto License.

- - -
- DocType(134) -
-
- -
- ProbationaryDrivingLicenseUnder18 - → const DocType - - -
-
-

Probationary Auto License under 18.

- - -
- DocType(135) -
-
- -
- ProbationaryDrivingLicenseUnder21 - → const DocType - - -
-
-

Probationary Auto License under 21.

- - -
- DocType(136) -
-
- -
- ProbationaryVehicleSalespersonLicense - → const DocType - - -
-
-

Probationary Vehicle Salesperson License.

- - -
- DocType(137) -
-
- -
- ProvisionalDrivingLicense - → const DocType - - -
-
-

Provisional Driving License.

- - -
- DocType(138) -
-
- -
- ProvisionalDrivingLicenseUnder18 - → const DocType - - -
-
-

Provisional Driving License under 18.

- - -
- DocType(139) -
-
- -
- ProvisionalDrivingLicenseUnder21 - → const DocType - - -
-
-

Provisional Driving License under 21.

- - -
- DocType(140) -
-
- -
- ProvisionalLicense - → const DocType - - -
-
-

Provisional License.

- - -
- DocType(141) -
-
- -
- ProvisionalLicenseUnder18 - → const DocType - - -
-
-

Provisional License under 18.

- - -
- DocType(142) -
-
- -
- ProvisionalLicenseUnder21 - → const DocType - - -
-
-

Provisional License under 21.

- - -
- DocType(143) -
-
- -
- PublicPassengerChauffeurLicense - → const DocType - - -
-
-

Public Passenger Chauffeur License.

- - -
- DocType(144) -
-
- -
- RacingAndGamingComissionCard - → const DocType - - -
-
-

Racing and Gaming Comission Card.

- - -
- DocType(145) -
-
- -
- RefugeeTravelDocument - → const DocType - - -
-
-

Refugee Travel Document.

- - -
- DocType(146) -
-
- -
- RenewalPermit - → const DocType - - -
-
-

Renewal Permit.

- - -
- DocType(147) -
-
- -
- RestrictedCommercialDrivingLicense - → const DocType - - -
-
-

Restricted Commercial Driving License.

- - -
- DocType(148) -
-
- -
- RestrictedDrivingLicense - → const DocType - - -
-
-

Restricted Driving License.

- - -
- DocType(149) -
-
- -
- RestrictedPermit - → const DocType - - -
-
-

Restricted Permit.

- - -
- DocType(150) -
-
- -
- SeasonalPermit - → const DocType - - -
-
-

Seasonal Permit.

- - -
- DocType(151) -
-
- -
- SeasonalResidentIdentityCard - → const DocType - - -
-
-

Seasonal Resident Identity Card.

- - -
- DocType(152) -
-
- -
- SeniorCitizenIdentityCard - → const DocType - - -
-
-

Senior Citizen Identity Card.

- - -
- DocType(153) -
-
- -
- SexOffender - → const DocType - - -
-
-

Sex Offender.

- - -
- DocType(154) -
-
- -
- SocialSecurityCard - → const DocType - - -
-
-

Social Security Card.

- - -
- DocType(155) -
-
- -
- TemporaryDrivingLicense - → const DocType - - -
-
-

Temporary Driving License.

- - -
- DocType(156) -
-
- -
- TemporaryDrivingLicenseUnder18 - → const DocType - - -
-
-

Temporary Driving License under 18.

- - -
- DocType(157) -
-
- -
- TemporaryDrivingLicenseUnder21 - → const DocType - - -
-
-

Temporary Driving License under 21.

- - -
- DocType(158) -
-
- -
- TemporaryIdentityCard - → const DocType - - -
-
-

Temporary Identity Card.

- - -
- DocType(159) -
-
- -
- TemporaryInstructionPermitIdentityCard - → const DocType - - -
-
-

Temporary Instruction Permit Identity Card.

- - -
- DocType(160) -
-
- -
- TemporaryInstructionPermitIdentityCardUnder18 - → const DocType - - -
-
-

Temporary Instruction Permit Identity Card under 18.

- - -
- DocType(161) -
-
- -
- TemporaryInstructionPermitIdentityCardUnder21 - → const DocType - - -
-
-

Temporary Instruction Permit Identity Card under 21.

- - -
- DocType(162) -
-
- -
- TemporaryVisitorDrivingLicense - → const DocType - - -
-
-

Temporary Visitor Driving License.

- - -
- DocType(163) -
-
- -
- TemporaryVisitorDrivingLicenseUnder18 - → const DocType - - -
-
-

Temporary Visitor Driving License under 18.

- - -
- DocType(164) -
-
- -
- TemporaryVisitorDrivingLicenseUnder21 - → const DocType - - -
-
-

Temporary Visitor Driving License under 21.

- - -
- DocType(165) -
-
- -
- UniformedServicesIdentityCard - → const DocType - - -
-
-

Uniformed Services Identity Card.

- - -
- DocType(166) -
-
- -
- VehicleSalespersonLicense - → const DocType - - -
-
-

Vehicle Salesperson License.

- - -
- DocType(167) -
-
- -
- WorkerIdentificationCredential - → const DocType - - -
-
-

Worker Identification Credential.

- - -
- DocType(168) -
-
- -
- CommercialDrivingLicenseNovice - → const DocType - - -
-
-

Commercial Driving License Novice.

- - -
- DocType(169) -
-
- -
- CommercialDrivingLicenseNoviceUnder18 - → const DocType - - -
-
-

Commercial Driving License Novice under 18.

- - -
- DocType(170) -
-
- -
- CommercialDrivingLicenseNoviceUnder21 - → const DocType - - -
-
-

Commercial Driving License Novice under 21.

- - -
- DocType(171) -
-
- -
- PassportCard - → const DocType - - -
-
-

Passport Card.

- - -
- DocType(172) -
-
- -
- PermanentResidentCard - → const DocType - - -
-
-

Permanent Resident Card.

- - -
- DocType(173) -
-
- -
- PersonalIdentificationVerification - → const DocType - - -
-
-

Personal Identification Verification.

- - -
- DocType(174) -
-
- -
- TemporaryOperatorLicense - → const DocType - - -
-
-

Temporary Operator License.

- - -
- DocType(175) -
-
- -
- DrivingLicenseUnder19 - → const DocType - - -
-
-

Driving License under 19.

- - -
- DocType(176) -
-
- -
- IdentityCardUnder19 - → const DocType - - -
-
-

Identity Card under 19.

- - -
- DocType(177) -
-
- -
- Visa - → const DocType - - -
-
-

Visa.

- - -
- DocType(178) -
-
- -
- TemporaryPassport - → const DocType - - -
-
-

Temporary Passport.

- - -
- DocType(179) -
-
- -
- VotingCard - → const DocType - - -
-
-

Voting Card.

- - -
- DocType(180) -
-
- -
- HealthCard - → const DocType - - -
-
-

Health Card.

- - -
- DocType(181) -
-
- -
- CertificateOfCitizenship - → const DocType - - -
-
-

Certificate of Citizenship.

- - -
- DocType(182) -
-
- -
- AddressCard - → const DocType - - -
-
-

Address Card.

- - -
- DocType(183) -
-
- -
- AirportImmigrationCard - → const DocType - - -
-
-

Airport Immigration Card.

- - -
- DocType(184) -
-
- -
- AlienRegistrationCard - → const DocType - - -
-
-

Alien Regidtation Card.

- - -
- DocType(185) -
-
- -
- APEHCard - → const DocType - - -
-
-

APEH Card.

- - -
- DocType(186) -
-
- -
- CouponToDrivingLicense - → const DocType - - -
-
-

Coupon To Driving License.

- - -
- DocType(187) -
-
- -
- CrewMemberCertificate - → const DocType - - -
-
-

Crew Member Certificate.

- - -
- DocType(188) -
-
- -
- DocumentForReturn - → const DocType - - -
-
-

Document for Return.

- - -
- DocType(189) -
-
- -
- ECard - → const DocType - - -
-
-

E-Card.

- - -
- DocType(190) -
-
- -
- EmploymentCard - → const DocType - - -
-
-

Employment Card.

- - -
- DocType(191) -
-
- -
- HKSARImmigrationForm - → const DocType - - -
-
-

HKSAR Immigration Form.

- - -
- DocType(192) -
-
- -
- ImmigrantCard - → const DocType - - -
-
-

Immigrant Card.

- - -
- DocType(193) -
-
- -
- LabourCard - → const DocType - - -
-
-

Labour Card.

- - -
- DocType(194) -
-
- -
- LaissezPasser - → const DocType - - -
-
-

Laissez Passer.

- - -
- DocType(195) -
-
- -
- LawyerIdentityCertificate - → const DocType - - -
-
-

Lawyer Identity Certificate.

- - -
- DocType(196) -
-
- -
- LicenseCard - → const DocType - - -
-
-

License Card.

- - -
- DocType(197) -
-
- -
- PassportStateless - → const DocType - - -
-
-

Passport Stateless.

- - -
- DocType(198) -
-
- -
- PassportChild - → const DocType - - -
-
-

Passport Child.

- - -
- DocType(199) -
-
- -
- PassportConsular - → const DocType - - -
-
-

Passport Consular.

- - -
- DocType(200) -
-
- -
- PassportDiplomaticService - → const DocType - - -
-
-

Passport Diplomatic Service.

- - -
- DocType(201) -
-
- -
- PassportOfficial - → const DocType - - -
-
-

Passport Official.

- - -
- DocType(202) -
-
- -
- PassportProvisional - → const DocType - - -
-
-

Passport Provisional.

- - -
- DocType(203) -
-
- -
- PassportSpecial - → const DocType - - -
-
-

Passport Special.

- - -
- DocType(204) -
-
- -
- PermissionToTheLocalBorderTraffic - → const DocType - - -
-
-

Permission to the Local Border Traffic.

- - -
- DocType(205) -
-
- -
- RegistrationCertificate - → const DocType - - -
-
-

Registration Certificate.

- - -
- DocType(206) -
-
- -
- SEDESOLCard - → const DocType - - -
-
-

SEDESOL Card.

- - -
- DocType(207) -
-
- -
- SocialCard - → const DocType - - -
-
-

Social Card.

- - -
- DocType(208) -
-
- -
- TBCard - → const DocType - - -
-
-

TB Card.

- - -
- DocType(209) -
-
- -
- VehiclePassport - → const DocType - - -
-
-

Vehicle Passport.

- - -
- DocType(210) -
-
- -
- WDocument - → const DocType - - -
-
-

W Document.

- - -
- DocType(211) -
-
- -
- DiplomaticIdentityCard - → const DocType - - -
-
-

Diplomatic Identity Card.

- - -
- DocType(212) -
-
- -
- ConsularIdentityCard - → const DocType - - -
-
-

Consular Identity Card.

- - -
- DocType(213) -
-
- -
- IncomeTaxCard - → const DocType - - -
-
-

Income Tax Card.

- - -
- DocType(214) -
-
- -
- ResidencePermit - → const DocType - - -
-
-

Residence Permit.

- - -
- DocType(215) -
-
- -
- DocumentOfIdentity - → const DocType - - -
-
-

Document of Identity.

- - -
- DocType(216) -
-
- -
- BorderCrossingPermit - → const DocType - - -
-
-

Border Crossing Permit.

- - -
- DocType(217) -
-
- -
- PassportLimitedValidity - → const DocType - - -
-
-

Passport Limited Validity.

- - -
- DocType(218) -
-
- -
- SIMCard - → const DocType - - -
-
-

SIM Card.

- - -
- DocType(219) -
-
- -
- TaxCard - → const DocType - - -
-
-

Tax Card.

- - -
- DocType(220) -
-
- -
- CompanyCard - → const DocType - - -
-
-

Company Card.

- - -
- DocType(221) -
-
- -
- DomesticPassport - → const DocType - - -
-
-

Domestic Passport.

- - -
- DocType(222) -
-
- -
- IdentityCertificate - → const DocType - - -
-
-

Identity Certificate.

- - -
- DocType(223) -
-
- -
- ResidentIdCard - → const DocType - - -
-
-

Resident Id Card.

- - -
- DocType(224) -
-
- -
- ArmedForcesIdentityCard - → const DocType - - -
-
-

Armed Forces Identity Card.

- - -
- DocType(225) -
-
- -
- ProfessionalCard - → const DocType - - -
-
-

Professional Card.

- - -
- DocType(226) -
-
- -
- RegistrationStamp - → const DocType - - -
-
-

Registration Stamp.

- - -
- DocType(227) -
-
- -
- DriverCard - → const DocType - - -
-
-

Driver Card.

- - -
- DocType(228) -
-
- -
- DriverTrainingCertificate - → const DocType - - -
-
-

Driver Training Certificate.

- - -
- DocType(229) -
-
- -
- QualificationDrivingLicense - → const DocType - - -
-
-

Qualification Driving License.

- - -
- DocType(230) -
-
- -
- MembershipCard - → const DocType - - -
-
-

Membership Card.

- - -
- DocType(231) -
-
- -
- PublicVehicleDriverAuthorityCard - → const DocType - - -
-
-

Public Vehicle Driver Authority Card.

- - -
- DocType(232) -
-
- -
- MarineLicense - → const DocType - - -
-
-

Marine License.

- - -
- DocType(233) -
-
- -
- TemporaryLearnerDrivingLicense - → const DocType - - -
-
-

Temporary Learner Driving License.

- - -
- DocType(234) -
-
- -
- TemporaryCommercialDrivingLicense - → const DocType - - -
-
-

Temporary Commercial Driving License.

- - -
- DocType(235) -
-
- -
- InterimInstructionalPermit - → const DocType - - -
-
-

Interim Instructional Permit.

- - -
- DocType(236) -
-
- -
- CertificateOfCompetency - → const DocType - - -
-
-

Certificate of Competency.

- - -
- DocType(237) -
-
- -
- CertificateOfProficiency - → const DocType - - -
-
-

Certificate of Proficiency.

- - -
- DocType(238) -
-
- -
- TradeLicense - → const DocType - - -
-
- - - -
- DocType(239) -
-
- -
- PassportPage - → const DocType - - -
-
- - - -
- DocType(240) -
-
- -
- Invoice - → const DocType - - -
-
- - - -
- DocType(241) -
-
- -
- PassengerLocatorForm - → const DocType - - -
-
- - - -
- DocType(242) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<DocType>? - - - -
-
- - - -
- -
- getByValue(int? i) - DocType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<DocType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [NotDefined, Passport, IdentityCard, DiplomaticPassport, ServicePassport, SeamanIdentityDocument, IdentityCardForResidence, TravelDocument, Other, VisaID2, VisaID3, NationalIdentityCard, SocialIdentit… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocType/DocType.html b/docs/document_reader/DocType/DocType.html deleted file mode 100644 index 73f1236362..0000000000 --- a/docs/document_reader/DocType/DocType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - DocType constructor - DocType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocType
- -
- -
-
-
- -
-
-

DocType constructor -

- -
- const - DocType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const DocType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocType/value.html b/docs/document_reader/DocType/value.html deleted file mode 100644 index 1f87dbdcd9..0000000000 --- a/docs/document_reader/DocType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - DocType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocType/values-constant.html b/docs/document_reader/DocType/values-constant.html deleted file mode 100644 index 61fdb06a98..0000000000 --- a/docs/document_reader/DocType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - DocType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<DocType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader-class-sidebar.html b/docs/document_reader/DocumentReader-class-sidebar.html deleted file mode 100644 index 9287b1e532..0000000000 --- a/docs/document_reader/DocumentReader-class-sidebar.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - - - -
  1. - Properties -
  2. -
  3. availableScenarios
  4. -
  5. customization
  6. -
  7. functionality
  8. -
  9. hashCode
  10. -
  11. isAuthenticatorAvailableForUse
  12. -
  13. isBlePermissionsGranted
  14. -
  15. isReady
  16. -
  17. isRFIDAvailableForUse
  18. -
  19. license
  20. -
  21. localizationDictionary
  22. -
  23. onCustomButtonTapped
  24. -
  25. processParams
  26. -
  27. rfidScenario
  28. -
  29. rfidSessionStatus
  30. -
  31. runtimeType
  32. -
  33. status
  34. -
  35. tag
  36. -
  37. version
  38. -
  39. videoEncoderCompletion
  40. - -
  41. Methods
  42. -
  43. addPKDCertificates
  44. -
  45. cancelDBUpdate
  46. -
  47. checkDatabaseUpdate
  48. -
  49. clearPKDCertificates
  50. -
  51. deinitializeReader
  52. -
  53. finalizePackage
  54. -
  55. initializeReader
  56. -
  57. noSuchMethod
  58. -
  59. prepareDatabase
  60. -
  61. recognize
  62. -
  63. removeDatabase
  64. -
  65. resetConfiguration
  66. -
  67. rfid
  68. -
  69. runAutoUpdate
  70. -
  71. scan
  72. -
  73. setTCCParams
  74. -
  75. startBluetoothService
  76. -
  77. startNewPage
  78. -
  79. startNewSession
  80. -
  81. stopRFIDReader
  82. -
  83. stopScanner
  84. -
  85. toString
  86. - -
  87. Operators
  88. -
  89. operator ==
  90. - - -
  91. Static properties
  92. -
  93. instance
  94. - - -
diff --git a/docs/document_reader/DocumentReader-class.html b/docs/document_reader/DocumentReader-class.html deleted file mode 100644 index db5c331748..0000000000 --- a/docs/document_reader/DocumentReader-class.html +++ /dev/null @@ -1,682 +0,0 @@ - - - - - - - - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentReader
- -
- -
-
-
- -
-
-

DocumentReader class - -

- - -
-

Entry point of the Regula DocumentReader SDK.

-
- - - - - -
-

Properties

- -
-
- availableScenarios - List<DocReaderScenario> - -
-
- A list of scenarios that can be used for documents recognition based on -your license and Core framework capabilities. -
no setter
- -
- -
- customization - Customization - -
-
- Params that relate to the camera view controller customization and etc. -
getter/setter pair
- -
- -
- functionality - Functionality - -
-
- Params that influence the scanning process, camera view controller -customization and etc. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- isAuthenticatorAvailableForUse - Future<bool> - -
-
- Allows you to check if you can use external Regula Bluetooth devices based -on your license and Core framework capabilities. -
no setter
- -
- -
- isBlePermissionsGranted - Future<bool> - -
-
- Checks if the app has all the required bluetooth permissions. -
no setter
- -
- -
- isReady - Future<bool> - -
-
- Allows you to check if Document Reader is ready for use. -
no setter
- -
- -
- isRFIDAvailableForUse - bool - -
-
- Allows you to check if RFID chip reading can be performed based on your -license and Core framework capabilities. -
no setter
- -
- -
- license - License - -
-
- Information about your license. -
no setter
- -
- -
- localizationDictionary - Map<String, String>? - -
-
- A localization dictionary to override default localization logic. -Allows to replace any string of DocumentReader SDK with an arbitrary string. -
getter/setter pair
- -
- -
- onCustomButtonTapped - CustomButtonTappedCompletion - -
-
- -
no getter
- -
- -
- processParams - ProcessParams - -
-
- Params that influence the scanning process. -
getter/setter pair
- -
- -
- rfidScenario - RFIDScenario - -
-
- Params that influence the RFID chip processing. -
getter/setter pair
- -
- -
- rfidSessionStatus - String? - -
-
- Allows you to get a status of the RFID chip reading process. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - Future<String> - -
-
- Allows you to get a status of Document Reader. -
no setter
- -
- -
- tag - String? - -
-
- Current Session identifier. -
getter/setter pair
- -
- -
- version - DocReaderVersion - -
-
- Information about the SDK. -
no setter
- -
- -
- videoEncoderCompletion - VideoEncoderCompletion - -
-
- Allows user to receive a video file of current session -
no getter
- -
- -
-
- - -
-

Methods

-
-
- addPKDCertificates(List<PKDCertificate> certificates) - Future<void> - - - -
-
- Used to pass certificates to Document Reader that will be used during the -RFID chip processing. - - -
- -
- cancelDBUpdate() - Future<bool> - - - -
-
- Allows you to cancel the database update. - - -
- -
- checkDatabaseUpdate(String databaseID) - Future<DocumentsDatabase?> - - - -
-
- Allows you to to check database update. - - -
- -
- clearPKDCertificates() - Future<void> - - - -
-
- It's used to remove certificates from your app that are used during the -RFID chip processing. - - -
- -
- deinitializeReader() - Future<void> - - - -
-
- Used to deinitialize Document Reader and free up RAM as a -consequence of this. - - -
- -
- finalizePackage() - Future<FinalizePackageCompletion> - - - -
-
- - - -
- -
- initializeReader(InitConfig config) - Future<SuccessOrError> - - - -
-
- Allows you to initialize Document Reader. - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- prepareDatabase(String databaseID, DocumentReaderPrepareCompletion prepareCompletion) - Future<SuccessOrError> - - - -
-
- Allows you to download a database from the Regula server. If it exists -in your app and compatible with the SDK, it won't be downloaded. - - -
- -
- recognize(RecognizeConfig config, DocumentReaderCompletion completion) - → void - - - -
-
- Used for proccessing predefined images. - - -
- -
- removeDatabase() - Future<bool> - - - -
-
- Allows you to remove the database from your app. - - -
- -
- resetConfiguration() - → void - - - -
-
- Use this method to reset all parameters to their default values. - - -
- -
- rfid(RFIDConfig config) - → void - - - -
-
- Used for the RFID chip processing. - - -
- -
- runAutoUpdate(String databaseID, DocumentReaderPrepareCompletion prepareCompletion) - Future<SuccessOrError> - - - -
-
- Allows you to download a database from the Regula server. -Each new update of the database will be downloaded. - - -
- -
- scan(ScannerConfig config, DocumentReaderCompletion completion) - → void - - - -
-
- Used for multiple frames processing which are captured from the camera. - - -
- -
- setTCCParams(TccParams params) - Future<SuccessOrError> - - - -
-
- Sets the given TCCParams to the RFID session. -The parameters are required to be set before starting RFID session. - - -
- -
- startBluetoothService(BluetoothServiceCompletion completion) - → void - - - -
-
- Used to connect to the ble device. - - -
- -
- startNewPage() - Future<void> - - - -
-
- Used to start the processing of the next page of the document once the -current one is processed. - - -
- -
- startNewSession() - Future<void> - - - -
-
- Used to start a scanning process. - - -
- -
- stopRFIDReader() - Future<void> - - - -
-
- Used to stop the scanning process. - - -
- -
- stopScanner() - Future<void> - - - -
-
- Used to stop the scanning process. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- -
-

Static Properties

- -
-
- instance - DocumentReader - -
-
- The only instanse of singleton class DocumentReader. -
no setter
- -
- -
-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/addPKDCertificates.html b/docs/document_reader/DocumentReader/addPKDCertificates.html deleted file mode 100644 index 5dd83569d7..0000000000 --- a/docs/document_reader/DocumentReader/addPKDCertificates.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - addPKDCertificates method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
addPKDCertificates
- -
- -
-
-
- -
-
-

addPKDCertificates method -

- -
- - -Future<void> -addPKDCertificates(
  1. List<PKDCertificate> certificates
  2. -
) - - - -
- -
-

Used to pass certificates to Document Reader that will be used during the -RFID chip processing.

-

certificates - PKD certificates.

-
- - - -
-

Implementation

-
Future<void> addPKDCertificates(List<PKDCertificate> certificates) async {
-  List<dynamic> json = [];
-  for (PKDCertificate cert in certificates) {
-    json.add(cert.toJson());
-  }
-  await _bridge.invokeMethod("addPKDCertificates", [json]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/availableScenarios.html b/docs/document_reader/DocumentReader/availableScenarios.html deleted file mode 100644 index 50ef541dcb..0000000000 --- a/docs/document_reader/DocumentReader/availableScenarios.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - availableScenarios property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
availableScenarios
- -
- -
-
-
- -
-
-

availableScenarios property -

- - - -
- -
- - List<DocReaderScenario> - availableScenarios - - -
- - -
-

A list of scenarios that can be used for documents recognition based on -your license and Core framework capabilities.

-
- - -
-

Implementation

-
List<DocReaderScenario> get availableScenarios => _availableScenarios;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/cancelDBUpdate.html b/docs/document_reader/DocumentReader/cancelDBUpdate.html deleted file mode 100644 index a8324f46f0..0000000000 --- a/docs/document_reader/DocumentReader/cancelDBUpdate.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - cancelDBUpdate method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cancelDBUpdate
- -
- -
-
-
- -
-
-

cancelDBUpdate method -

- -
- - -Future<bool> -cancelDBUpdate() - - - -
- -
-

Allows you to cancel the database update.

-
- - - -
-

Implementation

-
Future<bool> cancelDBUpdate() async {
-  return await _bridge.invokeMethod("cancelDBUpdate", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/checkDatabaseUpdate.html b/docs/document_reader/DocumentReader/checkDatabaseUpdate.html deleted file mode 100644 index c94f122d1a..0000000000 --- a/docs/document_reader/DocumentReader/checkDatabaseUpdate.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - checkDatabaseUpdate method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkDatabaseUpdate
- -
- -
-
-
- -
-
-

checkDatabaseUpdate method -

- -
- - -Future<DocumentsDatabase?> -checkDatabaseUpdate(
  1. String databaseID
  2. -
) - - - -
- -
-

Allows you to to check database update.

-

databaseID - identifier of the database.

-
- - - -
-

Implementation

-
Future<DocumentsDatabase?> checkDatabaseUpdate(String databaseID) async {
-  String? response = await _bridge.invokeMethod(
-    "checkDatabaseUpdate",
-    [databaseID],
-  );
-  return DocumentsDatabase.fromJson(_decode(response));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/clearPKDCertificates.html b/docs/document_reader/DocumentReader/clearPKDCertificates.html deleted file mode 100644 index 165d322bdb..0000000000 --- a/docs/document_reader/DocumentReader/clearPKDCertificates.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - clearPKDCertificates method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
clearPKDCertificates
- -
- -
-
-
- -
-
-

clearPKDCertificates method -

- -
- - -Future<void> -clearPKDCertificates() - - - -
- -
-

It's used to remove certificates from your app that are used during the -RFID chip processing.

-
- - - -
-

Implementation

-
Future<void> clearPKDCertificates() async {
-  await _bridge.invokeMethod("clearPKDCertificates", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/customization.html b/docs/document_reader/DocumentReader/customization.html deleted file mode 100644 index 7e64148db6..0000000000 --- a/docs/document_reader/DocumentReader/customization.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - customization property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
customization
- -
- -
-
-
- -
-
-

customization property -

- - - -
- -
- - Customization - customization - - -
- - -
-

Params that relate to the camera view controller customization and etc.

-
- - -
-

Implementation

-
Customization get customization => _customization;
-
- -
- - - -
- -
- - void - customization=(Customization val) - - -
- - - - -
-

Implementation

-
set customization(Customization val) {
-  _customization = val;
-  _customization._apply();
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/deinitializeReader.html b/docs/document_reader/DocumentReader/deinitializeReader.html deleted file mode 100644 index 3529e1cce6..0000000000 --- a/docs/document_reader/DocumentReader/deinitializeReader.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - deinitializeReader method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
deinitializeReader
- -
- -
-
-
- -
-
-

deinitializeReader method -

- -
- - -Future<void> -deinitializeReader() - - - -
- -
-

Used to deinitialize Document Reader and free up RAM as a -consequence of this.

-
- - - -
-

Implementation

-
Future<void> deinitializeReader() async {
-  await _bridge.invokeMethod("deinitializeReader", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/finalizePackage.html b/docs/document_reader/DocumentReader/finalizePackage.html deleted file mode 100644 index e6760da012..0000000000 --- a/docs/document_reader/DocumentReader/finalizePackage.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - finalizePackage method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
finalizePackage
- -
- -
-
-
- -
-
-

finalizePackage method -

- -
- - -Future<FinalizePackageCompletion> -finalizePackage() - - - -
- - - - -
-

Implementation

-
Future<FinalizePackageCompletion> finalizePackage() async {
-  var response = await _bridge.invokeMethod("finalizePackage", []);
-
-  var jsonObject = json.decode(response);
-  var action = DocReaderAction.getByValue(jsonObject["action"])!;
-  var info = TransactionInfo.fromJson(jsonObject["info"]);
-  var error = DocReaderException.fromJson(jsonObject["error"]);
-
-  return (action, info, error);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/functionality.html b/docs/document_reader/DocumentReader/functionality.html deleted file mode 100644 index a4d59eab5b..0000000000 --- a/docs/document_reader/DocumentReader/functionality.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - functionality property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
functionality
- -
- -
-
-
- -
-
-

functionality property -

- - - -
- -
- - Functionality - functionality - - -
- - -
-

Params that influence the scanning process, camera view controller -customization and etc.

-
- - -
-

Implementation

-
Functionality get functionality => _functionality;
-
- -
- - - -
- -
- - void - functionality=(Functionality val) - - -
- - - - -
-

Implementation

-
set functionality(Functionality val) {
-  _functionality = val;
-  _functionality._apply();
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/initializeReader.html b/docs/document_reader/DocumentReader/initializeReader.html deleted file mode 100644 index 2a3bb9cc99..0000000000 --- a/docs/document_reader/DocumentReader/initializeReader.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - initializeReader method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
initializeReader
- -
- -
-
-
- -
-
-

initializeReader method -

- -
- - -Future<SuccessOrError> -initializeReader(
  1. InitConfig config
  2. -
) - - - -
- -
-

Allows you to initialize Document Reader.

-

config - configuration file for DocumentReader initialization.

-

Check out SuccessOrError documentation for handling return type.

-
- - - -
-

Implementation

-
Future<SuccessOrError> initializeReader(InitConfig config) async {
-  var funcName = config._useBleDevice
-      ? "initializeReaderWithBleDeviceConfig"
-      : "initializeReader";
-  var response = await _bridge.invokeMethod(funcName, [config.toJson()]);
-  await _onInit();
-  return _successOrErrorFromJson(response);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/instance.html b/docs/document_reader/DocumentReader/instance.html deleted file mode 100644 index b8d479ea6a..0000000000 --- a/docs/document_reader/DocumentReader/instance.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - instance property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
instance
- -
- -
-
-
- -
-
-

instance property -

- - - -
- -
- - DocumentReader - instance - - -
- - -
-

The only instanse of singleton class DocumentReader.

-
- - -
-

Implementation

-
static DocumentReader get instance => _instance;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/isAuthenticatorAvailableForUse.html b/docs/document_reader/DocumentReader/isAuthenticatorAvailableForUse.html deleted file mode 100644 index 00f2fe2071..0000000000 --- a/docs/document_reader/DocumentReader/isAuthenticatorAvailableForUse.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - isAuthenticatorAvailableForUse property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isAuthenticatorAvailableForUse
- -
- -
-
-
- -
-
-

isAuthenticatorAvailableForUse property -

- - - -
- -
- - Future<bool> - isAuthenticatorAvailableForUse - - -
- - -
-

Allows you to check if you can use external Regula Bluetooth devices based -on your license and Core framework capabilities.

-

Android only.

-
- - -
-

Implementation

-
Future<bool> get isAuthenticatorAvailableForUse async {
-  return await _bridge.invokeMethod("isAuthenticatorAvailableForUse", []);
-}
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/isBlePermissionsGranted.html b/docs/document_reader/DocumentReader/isBlePermissionsGranted.html deleted file mode 100644 index ec96d94796..0000000000 --- a/docs/document_reader/DocumentReader/isBlePermissionsGranted.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - isBlePermissionsGranted property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isBlePermissionsGranted
- -
- -
-
-
- -
-
-

isBlePermissionsGranted property -

- - - -
- -
- - Future<bool> - isBlePermissionsGranted - - -
- - -
-

Checks if the app has all the required bluetooth permissions.

-

Android only.

-
- - -
-

Implementation

-
Future<bool> get isBlePermissionsGranted async {
-  if (!Platform.isAndroid)
-    throw PlatformException(
-      code: "android-only",
-      message: "isBlePermissionsGranted is accessible only on Android",
-    );
-  return await _bridge.invokeMethod("isBlePermissionsGranted", []);
-}
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/isRFIDAvailableForUse.html b/docs/document_reader/DocumentReader/isRFIDAvailableForUse.html deleted file mode 100644 index 8a2951150c..0000000000 --- a/docs/document_reader/DocumentReader/isRFIDAvailableForUse.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - isRFIDAvailableForUse property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isRFIDAvailableForUse
- -
- -
-
-
- -
-
-

isRFIDAvailableForUse property -

- - - -
- -
- - bool - isRFIDAvailableForUse - - -
- - -
-

Allows you to check if RFID chip reading can be performed based on your -license and Core framework capabilities.

-
- - -
-

Implementation

-
bool get isRFIDAvailableForUse => _isRFIDAvailableForUse;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/isReady.html b/docs/document_reader/DocumentReader/isReady.html deleted file mode 100644 index 1e9b2b83b4..0000000000 --- a/docs/document_reader/DocumentReader/isReady.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - isReady property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isReady
- -
- -
-
-
- -
-
-

isReady property -

- - - -
- -
- - Future<bool> - isReady - - -
- - -
-

Allows you to check if Document Reader is ready for use.

-
- - -
-

Implementation

-
Future<bool> get isReady async {
-  return await _bridge.invokeMethod("getDocumentReaderIsReady", []);
-}
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/license.html b/docs/document_reader/DocumentReader/license.html deleted file mode 100644 index d678720c61..0000000000 --- a/docs/document_reader/DocumentReader/license.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - license property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
license
- -
- -
-
-
- -
-
-

license property -

- - - -
- -
- - License - license - - -
- - -
-

Information about your license.

-
- - -
-

Implementation

-
License get license => _license;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/localizationDictionary.html b/docs/document_reader/DocumentReader/localizationDictionary.html deleted file mode 100644 index 4cdcf6db63..0000000000 --- a/docs/document_reader/DocumentReader/localizationDictionary.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - localizationDictionary property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
localizationDictionary
- -
- -
-
-
- -
-
-

localizationDictionary property -

- - - -
- -
- - Map<String, String>? - localizationDictionary - - -
- - -
-

A localization dictionary to override default localization logic. -Allows to replace any string of DocumentReader SDK with an arbitrary string.

-

To see all the localization keys, look up the RegulaSDK.strings file at -ios/Pods/DocumentReader/DocumentReader.xcframework/ios-arm64/DocumentReader.framework/en.lproj/RegulaSDK.strings.

-
- - -
-

Implementation

-
Map<String, String>? get localizationDictionary => _localizationDictionary;
-
- -
- - - -
- -
- - void - localizationDictionary=(Map<String, String>? val) - - -
- - - - -
-

Implementation

-
set localizationDictionary(Map<String, String>? val) {
-  _localizationDictionary = val;
-  _setLocalizationDictionary(val);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/onCustomButtonTapped.html b/docs/document_reader/DocumentReader/onCustomButtonTapped.html deleted file mode 100644 index eb5c53b237..0000000000 --- a/docs/document_reader/DocumentReader/onCustomButtonTapped.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - onCustomButtonTapped property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onCustomButtonTapped
- -
- -
-
-
- -
-
-

onCustomButtonTapped property -

- - - - -
- -
- - void - onCustomButtonTapped=(CustomButtonTappedCompletion completion) - - -
- - - - -
-

Implementation

-
set onCustomButtonTapped(CustomButtonTappedCompletion completion) =>
-    _setCustomButtonTappedCompletion(completion);
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/prepareDatabase.html b/docs/document_reader/DocumentReader/prepareDatabase.html deleted file mode 100644 index c9c575aa8a..0000000000 --- a/docs/document_reader/DocumentReader/prepareDatabase.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - prepareDatabase method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
prepareDatabase
- -
- -
-
-
- -
-
-

prepareDatabase method -

- -
- - -Future<SuccessOrError> -prepareDatabase(
  1. String databaseID,
  2. -
  3. DocumentReaderPrepareCompletion prepareCompletion
  4. -
) - - - -
- -
-

Allows you to download a database from the Regula server. If it exists -in your app and compatible with the SDK, it won't be downloaded.

-

databaseID - identifier of the database.

-

prepareCompletion - callback that returns downloading progress.

-

Check out SuccessOrError documentation for handling return type.

-
- - - -
-

Implementation

-
Future<SuccessOrError> prepareDatabase(
-  String databaseID,
-  DocumentReaderPrepareCompletion prepareCompletion,
-) async {
-  _setDocumentReaderPrepareCompletion(prepareCompletion);
-  var response = await _bridge.invokeMethod("prepareDatabase", [databaseID]);
-  return _successOrErrorFromJson(response);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/processParams.html b/docs/document_reader/DocumentReader/processParams.html deleted file mode 100644 index 24283bfcc1..0000000000 --- a/docs/document_reader/DocumentReader/processParams.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - processParams property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
processParams
- -
- -
-
-
- -
-
-

processParams property -

- - - -
- -
- - ProcessParams - processParams - - -
- - -
-

Params that influence the scanning process.

-
- - -
-

Implementation

-
ProcessParams get processParams => _processParams;
-
- -
- - - -
- -
- - void - processParams=(ProcessParams val) - - -
- - - - -
-

Implementation

-
set processParams(ProcessParams val) {
-  _processParams = val;
-  _processParams._apply();
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/recognize.html b/docs/document_reader/DocumentReader/recognize.html deleted file mode 100644 index 86e34d57ae..0000000000 --- a/docs/document_reader/DocumentReader/recognize.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - recognize method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
recognize
- -
- -
-
-
- -
-
-

recognize method -

- -
- - -void -recognize(
  1. RecognizeConfig config,
  2. -
  3. DocumentReaderCompletion completion
  4. -
) - - - -
- -
-

Used for proccessing predefined images.

-

config - scanning configuration.

-

completion - block to execute after the recognition process finishes.

-
- - - -
-

Implementation

-
void recognize(RecognizeConfig config, DocumentReaderCompletion completion) {
-  _setDocumentReaderCompletion(completion);
-  _bridge.invokeMethod("recognize", [config.toJson()]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/removeDatabase.html b/docs/document_reader/DocumentReader/removeDatabase.html deleted file mode 100644 index a728c25b4a..0000000000 --- a/docs/document_reader/DocumentReader/removeDatabase.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - removeDatabase method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
removeDatabase
- -
- -
-
-
- -
-
-

removeDatabase method -

- -
- - -Future<bool> -removeDatabase() - - - -
- -
-

Allows you to remove the database from your app.

-
- - - -
-

Implementation

-
Future<bool> removeDatabase() async {
-  return await _bridge.invokeMethod("removeDatabase", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/resetConfiguration.html b/docs/document_reader/DocumentReader/resetConfiguration.html deleted file mode 100644 index cf83a233e2..0000000000 --- a/docs/document_reader/DocumentReader/resetConfiguration.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - resetConfiguration method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resetConfiguration
- -
- -
-
-
- -
-
-

resetConfiguration method -

- -
- - -void -resetConfiguration() - - - -
- -
-

Use this method to reset all parameters to their default values.

-
- - - -
-

Implementation

-
void resetConfiguration() {
-  _bridge.invokeMethod("resetConfiguration", []);
-  _functionality = Functionality();
-  _processParams = ProcessParams();
-  _customization = Customization();
-  _rfidScenario = RFIDScenario();
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/rfid.html b/docs/document_reader/DocumentReader/rfid.html deleted file mode 100644 index b529d4f094..0000000000 --- a/docs/document_reader/DocumentReader/rfid.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - rfid method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfid
- -
- -
-
-
- -
-
-

rfid method -

- -
- - -void -rfid(
  1. RFIDConfig config
  2. -
) - - - -
- -
-

Used for the RFID chip processing.

-

config - chip reading configuration.

-
- - - -
-

Implementation

-
void rfid(RFIDConfig config) {
-  config._disableUI
-      ? _setRFIDCompletion(config._rfidCompletion!)
-      : _setDocumentReaderCompletion(config._completion!);
-
-  _setRFIDProgressCompletion(config.onProgress);
-  _setChipDetectedCompletion(config.onChipDetected);
-  _setRetryReadChipCompletion(config.onRetryReadChip);
-
-  _setPaCertificateCompletion(config.onRequestPACertificates);
-  _setTaCertificateCompletion(config.onRequestTACertificates);
-  _setTaSignatureCompletion(config.onRequestTASignature);
-
-  _bridge.invokeMethod(config._disableUI ? "readRFID" : "startRFIDReader", [
-    config.onRequestPACertificates != null,
-    config.onRequestTACertificates != null,
-    config.onRequestTASignature != null,
-  ]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/rfidScenario.html b/docs/document_reader/DocumentReader/rfidScenario.html deleted file mode 100644 index fa2cd5b43b..0000000000 --- a/docs/document_reader/DocumentReader/rfidScenario.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - rfidScenario property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidScenario
- -
- -
-
-
- -
-
-

rfidScenario property -

- - - -
- -
- - RFIDScenario - rfidScenario - - -
- - -
-

Params that influence the RFID chip processing.

-
- - -
-

Implementation

-
RFIDScenario get rfidScenario => _rfidScenario;
-
- -
- - - -
- -
- - void - rfidScenario=(RFIDScenario val) - - -
- - - - -
-

Implementation

-
set rfidScenario(RFIDScenario val) {
-  _rfidScenario = val;
-  _rfidScenario._apply();
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/rfidSessionStatus.html b/docs/document_reader/DocumentReader/rfidSessionStatus.html deleted file mode 100644 index 508265d319..0000000000 --- a/docs/document_reader/DocumentReader/rfidSessionStatus.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - rfidSessionStatus property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidSessionStatus
- -
- -
-
-
- -
-
-

rfidSessionStatus property -

- - - -
- -
- - String? - rfidSessionStatus - - -
- - -
-

Allows you to get a status of the RFID chip reading process.

-

IOS only.

-
- - -
-

Implementation

-
String? get rfidSessionStatus {
-  if (!Platform.isIOS)
-    throw PlatformException(
-      code: "ios-only",
-      message: "rfidSessionStatus is accessible only on iOS",
-    );
-  return _rfidSessionStatus;
-}
-
- -
- - - -
- -
- - void - rfidSessionStatus=(String? val) - - -
- - - - -
-

Implementation

-
set rfidSessionStatus(String? val) {
-  if (!Platform.isIOS)
-    throw PlatformException(
-      code: "ios-only",
-      message: "rfidSessionStatus is accessible only on iOS",
-    );
-  _rfidSessionStatus = val;
-  _setRfidSessionStatus(val);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/runAutoUpdate.html b/docs/document_reader/DocumentReader/runAutoUpdate.html deleted file mode 100644 index ece79c151e..0000000000 --- a/docs/document_reader/DocumentReader/runAutoUpdate.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - runAutoUpdate method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
runAutoUpdate
- -
- -
-
-
- -
-
-

runAutoUpdate method -

- -
- - -Future<SuccessOrError> -runAutoUpdate(
  1. String databaseID,
  2. -
  3. DocumentReaderPrepareCompletion prepareCompletion
  4. -
) - - - -
- -
-

Allows you to download a database from the Regula server. -Each new update of the database will be downloaded.

-

databaseID - identifier of the database.

-

prepareCompletion - callback that returns downloading progress.

-

Check out SuccessOrError documentation for handling return type.

-
- - - -
-

Implementation

-
Future<SuccessOrError> runAutoUpdate(
-  String databaseID,
-  DocumentReaderPrepareCompletion prepareCompletion,
-) async {
-  _setDocumentReaderPrepareCompletion(prepareCompletion);
-  var response = await _bridge.invokeMethod("runAutoUpdate", [databaseID]);
-  return _successOrErrorFromJson(response);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/scan.html b/docs/document_reader/DocumentReader/scan.html deleted file mode 100644 index a4c7c89418..0000000000 --- a/docs/document_reader/DocumentReader/scan.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - scan method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
scan
- -
- -
-
-
- -
-
-

scan method -

- -
- - -void -scan(
  1. ScannerConfig config,
  2. -
  3. DocumentReaderCompletion completion
  4. -
) - - - -
- -
-

Used for multiple frames processing which are captured from the camera.

-

config - scanning configuration.

-

completion - block to execute after the recognition process finishes.

-
- - - -
-

Implementation

-
void scan(ScannerConfig config, DocumentReaderCompletion completion) {
-  _setDocumentReaderCompletion(completion);
-  _bridge.invokeMethod("scan", [config.toJson()]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/setTCCParams.html b/docs/document_reader/DocumentReader/setTCCParams.html deleted file mode 100644 index 8f8ce27527..0000000000 --- a/docs/document_reader/DocumentReader/setTCCParams.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - setTCCParams method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
setTCCParams
- -
- -
-
-
- -
-
-

setTCCParams method -

- -
- - -Future<SuccessOrError> -setTCCParams(
  1. TccParams params
  2. -
) - - - -
- -
-

Sets the given TCCParams to the RFID session. -The parameters are required to be set before starting RFID session.

-

params - TCC related parameters.

-

Check out SuccessOrError documentation for handling return type.

-
- - - -
-

Implementation

-
Future<SuccessOrError> setTCCParams(TccParams params) async {
-  var response = await _bridge.invokeMethod(
-    "setTCCParams",
-    [params.toJson()],
-  );
-  return _successOrErrorFromJson(response);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/startBluetoothService.html b/docs/document_reader/DocumentReader/startBluetoothService.html deleted file mode 100644 index a521bea39c..0000000000 --- a/docs/document_reader/DocumentReader/startBluetoothService.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - startBluetoothService method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
startBluetoothService
- -
- -
-
-
- -
-
-

startBluetoothService method -

- -
- - -void -startBluetoothService(
  1. BluetoothServiceCompletion completion
  2. -
) - - - -
- -
-

Used to connect to the ble device.

-

Android only.

-
- - - -
-

Implementation

-
void startBluetoothService(BluetoothServiceCompletion completion) {
-  if (!Platform.isAndroid)
-    throw PlatformException(
-      code: "android-only",
-      message: "startBluetoothService is accessible only on Android",
-    );
-  _setBluetoothServiceCompletion(completion);
-  _bridge.invokeMethod("startBluetoothService", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/startNewPage.html b/docs/document_reader/DocumentReader/startNewPage.html deleted file mode 100644 index 30d7dd9759..0000000000 --- a/docs/document_reader/DocumentReader/startNewPage.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - startNewPage method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
startNewPage
- -
- -
-
-
- -
-
-

startNewPage method -

- -
- - -Future<void> -startNewPage() - - - -
- -
-

Used to start the processing of the next page of the document once the -current one is processed.

-
- - - -
-

Implementation

-
Future<void> startNewPage() async {
-  await _bridge.invokeMethod("startNewPage", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/startNewSession.html b/docs/document_reader/DocumentReader/startNewSession.html deleted file mode 100644 index 7d9a824775..0000000000 --- a/docs/document_reader/DocumentReader/startNewSession.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - startNewSession method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
startNewSession
- -
- -
-
-
- -
-
-

startNewSession method -

- -
- - -Future<void> -startNewSession() - - - -
- -
-

Used to start a scanning process.

-
- - - -
-

Implementation

-
Future<void> startNewSession() async {
-  await _bridge.invokeMethod("startNewSession", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/status.html b/docs/document_reader/DocumentReader/status.html deleted file mode 100644 index 80d910032e..0000000000 --- a/docs/document_reader/DocumentReader/status.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - status property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - Future<String> - status - - -
- - -
-

Allows you to get a status of Document Reader.

-
- - -
-

Implementation

-
Future<String> get status async {
-  return await _bridge.invokeMethod("getDocumentReaderStatus", []);
-}
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/stopRFIDReader.html b/docs/document_reader/DocumentReader/stopRFIDReader.html deleted file mode 100644 index fb451373b6..0000000000 --- a/docs/document_reader/DocumentReader/stopRFIDReader.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - stopRFIDReader method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
stopRFIDReader
- -
- -
-
-
- -
-
-

stopRFIDReader method -

- -
- - -Future<void> -stopRFIDReader() - - - -
- -
-

Used to stop the scanning process.

-
- - - -
-

Implementation

-
Future<void> stopRFIDReader() async {
-  await _bridge.invokeMethod("stopRFIDReader", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/stopScanner.html b/docs/document_reader/DocumentReader/stopScanner.html deleted file mode 100644 index 52ca5da9ea..0000000000 --- a/docs/document_reader/DocumentReader/stopScanner.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - stopScanner method - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
stopScanner
- -
- -
-
-
- -
-
-

stopScanner method -

- -
- - -Future<void> -stopScanner() - - - -
- -
-

Used to stop the scanning process.

-
- - - -
-

Implementation

-
Future<void> stopScanner() async {
-  await _bridge.invokeMethod("stopScanner", []);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/tag.html b/docs/document_reader/DocumentReader/tag.html deleted file mode 100644 index 58e6bef06a..0000000000 --- a/docs/document_reader/DocumentReader/tag.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - tag property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
tag
- -
- -
-
-
- -
-
-

tag property -

- - - -
- -
- - String? - tag - - -
- - -
-

Current Session identifier.

-
- - -
-

Implementation

-
String? get tag => _tag;
-
- -
- - - -
- -
- - void - tag=(String? val) - - -
- - - - -
-

Implementation

-
set tag(String? val) {
-  _tag = val;
-  _setTag(val);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/version.html b/docs/document_reader/DocumentReader/version.html deleted file mode 100644 index 021ac6bc91..0000000000 --- a/docs/document_reader/DocumentReader/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - DocReaderVersion - version - - -
- - -
-

Information about the SDK.

-
- - -
-

Implementation

-
DocReaderVersion get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReader/videoEncoderCompletion.html b/docs/document_reader/DocumentReader/videoEncoderCompletion.html deleted file mode 100644 index 0d7eeeef33..0000000000 --- a/docs/document_reader/DocumentReader/videoEncoderCompletion.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - videoEncoderCompletion property - DocumentReader class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
videoEncoderCompletion
- -
- -
-
-
- -
-
-

videoEncoderCompletion property -

- - - - -
- -
- - void - videoEncoderCompletion=(VideoEncoderCompletion completion) - - -
- - -
-

Allows user to receive a video file of current session

-
- - -
-

Implementation

-
set videoEncoderCompletion(VideoEncoderCompletion completion) =>
-    _setVideoEncoderCompletion(completion);
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReaderCompletion.html b/docs/document_reader/DocumentReaderCompletion.html deleted file mode 100644 index dd07449636..0000000000 --- a/docs/document_reader/DocumentReaderCompletion.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - DocumentReaderCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentReaderCompletion
- -
- -
-
-
- -
-
-

DocumentReaderCompletion typedef - -

- -
- DocumentReaderCompletion = - void Function(DocReaderAction action, Results? results, DocReaderException? error) - -
- - -
-

Callback for receiving answer from processing engine.

-

action defines current processing status.

-

results defines current processing results.

-

error in case of anything is wrong - brief message for developer, null otherwise.

-
- - -
-

Implementation

-
typedef DocumentReaderCompletion = void Function(
-  DocReaderAction action,
-  Results? results,
-  DocReaderException? error,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentReaderPrepareCompletion.html b/docs/document_reader/DocumentReaderPrepareCompletion.html deleted file mode 100644 index 2978a4e45b..0000000000 --- a/docs/document_reader/DocumentReaderPrepareCompletion.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - DocumentReaderPrepareCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentReaderPrepareCompletion
- -
- -
-
-
- -
-
-

DocumentReaderPrepareCompletion typedef - -

- -
- DocumentReaderPrepareCompletion = - void Function(PrepareProgress progress) - -
- - -
-

Callback for receiving notifications on Documents Database preparation.

-
- - -
-

Implementation

-
typedef DocumentReaderPrepareCompletion = void Function(
-  PrepareProgress progress,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType-class-sidebar.html b/docs/document_reader/DocumentType-class-sidebar.html deleted file mode 100644 index 795d326635..0000000000 --- a/docs/document_reader/DocumentType-class-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocumentType
  4. - - -
  5. - Properties -
  6. -
  7. countryName
  8. -
  9. description
  10. -
  11. fDSID
  12. -
  13. format
  14. -
  15. hashCode
  16. -
  17. iCAOCode
  18. -
  19. id
  20. -
  21. isDeprecated
  22. -
  23. mrz
  24. -
  25. name
  26. -
  27. pageIndex
  28. -
  29. runtimeType
  30. -
  31. type
  32. -
  33. year
  34. - -
  35. Methods
  36. -
  37. noSuchMethod
  38. -
  39. toJson
  40. -
  41. toString
  42. - -
  43. Operators
  44. -
  45. operator ==
  46. - - - -
  47. Static methods
  48. -
  49. fromJson
  50. - -
diff --git a/docs/document_reader/DocumentType-class.html b/docs/document_reader/DocumentType-class.html deleted file mode 100644 index 0d40e63263..0000000000 --- a/docs/document_reader/DocumentType-class.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - - - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentType
- -
- -
-
-
- -
-
-

DocumentType class - -

- - - - - - -
-

Constructors

- -
-
- DocumentType() -
-
- -
-
-
- -
-

Properties

- -
-
- countryName - String? - -
-
- Document issuing country name. -
no setter
- -
- -
- description - String? - -
-
- Document description text. -
no setter
- -
- -
- fDSID - List<int>? - -
-
- An array of IRS document identifiers. -
no setter
- -
- -
- format - DocFormat - -
-
- Document format. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- iCAOCode - String? - -
-
- Document issuing country ICAO code. -
no setter
- -
- -
- id - int - -
-
- Document type numeric code. -
no setter
- -
- -
- isDeprecated - bool - -
-
- Document deprecation. -
no setter
- -
- -
- mrz - bool - -
-
- Flag for MRZ presence on a document. -
no setter
- -
- -
- name - String? - -
-
- Document type name. -
no setter
- -
- -
- pageIndex - int - -
-
- An index of the document page whence results are received. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - DocType - -
-
- Document type. -
no setter
- -
- -
- year - String? - -
-
- Document issue year. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DocumentType? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/DocumentType.html b/docs/document_reader/DocumentType/DocumentType.html deleted file mode 100644 index ee4d2e3394..0000000000 --- a/docs/document_reader/DocumentType/DocumentType.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DocumentType constructor - DocumentType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentType
- -
- -
-
-
- -
-
-

DocumentType constructor -

- -
- - DocumentType() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/countryName.html b/docs/document_reader/DocumentType/countryName.html deleted file mode 100644 index 876596c433..0000000000 --- a/docs/document_reader/DocumentType/countryName.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - countryName property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
countryName
- -
- -
-
-
- -
-
-

countryName property -

- - - -
- -
- - String? - countryName - - -
- - -
-

Document issuing country name.

-
- - -
-

Implementation

-
String? get countryName => _countryName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/description.html b/docs/document_reader/DocumentType/description.html deleted file mode 100644 index 60b29d037b..0000000000 --- a/docs/document_reader/DocumentType/description.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - description property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
description
- -
- -
-
-
- -
-
-

description property -

- - - -
- -
- - String? - description - - -
- - -
-

Document description text.

-
- - -
-

Implementation

-
String? get description => _description;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/fDSID.html b/docs/document_reader/DocumentType/fDSID.html deleted file mode 100644 index acb4680e48..0000000000 --- a/docs/document_reader/DocumentType/fDSID.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fDSID property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fDSID
- -
- -
-
-
- -
-
-

fDSID property -

- - - -
- -
- - List<int>? - fDSID - - -
- - -
-

An array of IRS document identifiers.

-
- - -
-

Implementation

-
List<int>? get fDSID => _fDSID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/format.html b/docs/document_reader/DocumentType/format.html deleted file mode 100644 index fb03286b5d..0000000000 --- a/docs/document_reader/DocumentType/format.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - format property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
format
- -
- -
-
-
- -
-
-

format property -

- - - -
- -
- - DocFormat - format - - -
- - -
-

Document format.

-
- - -
-

Implementation

-
DocFormat get format => _format;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/fromJson.html b/docs/document_reader/DocumentType/fromJson.html deleted file mode 100644 index e3e0420c51..0000000000 --- a/docs/document_reader/DocumentType/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DocumentType? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static DocumentType? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DocumentType();
-
-  result._pageIndex = jsonObject["pageIndex"];
-  result._id = jsonObject["documentID"];
-  result._type = DocType.getByValue(jsonObject["dType"])!;
-  result._format = DocFormat.getByValue(jsonObject["dFormat"])!;
-  result._mrz = jsonObject["dMRZ"];
-  result._isDeprecated = jsonObject["isDeprecated"];
-  result._name = jsonObject["name"];
-  result._iCAOCode = jsonObject["ICAOCode"];
-  result._description = jsonObject["dDescription"];
-  result._year = jsonObject["dYear"];
-  result._countryName = jsonObject["dCountryName"];
-  result._fDSID = jsonObject["FDSID"] == null
-      ? null
-      : List<int>.from(jsonObject["FDSID"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/iCAOCode.html b/docs/document_reader/DocumentType/iCAOCode.html deleted file mode 100644 index 6abf60faea..0000000000 --- a/docs/document_reader/DocumentType/iCAOCode.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - iCAOCode property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
iCAOCode
- -
- -
-
-
- -
-
-

iCAOCode property -

- - - -
- -
- - String? - iCAOCode - - -
- - -
-

Document issuing country ICAO code.

-
- - -
-

Implementation

-
String? get iCAOCode => _iCAOCode;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/id.html b/docs/document_reader/DocumentType/id.html deleted file mode 100644 index 5473f17875..0000000000 --- a/docs/document_reader/DocumentType/id.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - id property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
id
- -
- -
-
-
- -
-
-

id property -

- - - -
- -
- - int - id - - -
- - -
-

Document type numeric code.

-
- - -
-

Implementation

-
int get id => _id;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/isDeprecated.html b/docs/document_reader/DocumentType/isDeprecated.html deleted file mode 100644 index 87ea14eea7..0000000000 --- a/docs/document_reader/DocumentType/isDeprecated.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - isDeprecated property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isDeprecated
- -
- -
-
-
- -
-
-

isDeprecated property -

- - - -
- -
- - bool - isDeprecated - - -
- - -
-

Document deprecation.

-
- - -
-

Implementation

-
bool get isDeprecated => _isDeprecated;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/mrz.html b/docs/document_reader/DocumentType/mrz.html deleted file mode 100644 index b7660a424c..0000000000 --- a/docs/document_reader/DocumentType/mrz.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - mrz property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mrz
- -
- -
-
-
- -
-
-

mrz property -

- - - -
- -
- - bool - mrz - - -
- - -
-

Flag for MRZ presence on a document.

-
- - -
-

Implementation

-
bool get mrz => _mrz;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/name.html b/docs/document_reader/DocumentType/name.html deleted file mode 100644 index 052042bafb..0000000000 --- a/docs/document_reader/DocumentType/name.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - name property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
name
- -
- -
-
-
- -
-
-

name property -

- - - -
- -
- - String? - name - - -
- - -
-

Document type name.

-
- - -
-

Implementation

-
String? get name => _name;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/pageIndex.html b/docs/document_reader/DocumentType/pageIndex.html deleted file mode 100644 index 6e9a9b4f2d..0000000000 --- a/docs/document_reader/DocumentType/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

An index of the document page whence results are received.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/toJson.html b/docs/document_reader/DocumentType/toJson.html deleted file mode 100644 index ceeebe4747..0000000000 --- a/docs/document_reader/DocumentType/toJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - toJson method - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "name": name,
-      "documentID": id,
-      "ICAOCode": iCAOCode,
-      "FDSID": fDSID,
-      "dType": type.value,
-      "dFormat": format.value,
-      "dMRZ": mrz,
-      "isDeprecated": isDeprecated,
-      "dDescription": description,
-      "dYear": year,
-      "dCountryName": countryName,
-      "pageIndex": pageIndex,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/type.html b/docs/document_reader/DocumentType/type.html deleted file mode 100644 index 7f3eee2781..0000000000 --- a/docs/document_reader/DocumentType/type.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - type property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - DocType - type - - -
- - -
-

Document type.

-
- - -
-

Implementation

-
DocType get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentType/year.html b/docs/document_reader/DocumentType/year.html deleted file mode 100644 index e026fa4fb9..0000000000 --- a/docs/document_reader/DocumentType/year.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - year property - DocumentType class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
year
- -
- -
-
-
- -
-
-

year property -

- - - -
- -
- - String? - year - - -
- - -
-

Document issue year.

-
- - -
-

Implementation

-
String? get year => _year;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase-class-sidebar.html b/docs/document_reader/DocumentsDatabase-class-sidebar.html deleted file mode 100644 index f95b45fc36..0000000000 --- a/docs/document_reader/DocumentsDatabase-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. DocumentsDatabase
  4. - - -
  5. - Properties -
  6. -
  7. countriesNumber
  8. -
  9. databaseDescription
  10. -
  11. databaseID
  12. -
  13. date
  14. -
  15. documentsNumber
  16. -
  17. hashCode
  18. -
  19. runtimeType
  20. -
  21. size
  22. -
  23. version
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/DocumentsDatabase-class.html b/docs/document_reader/DocumentsDatabase-class.html deleted file mode 100644 index d252452304..0000000000 --- a/docs/document_reader/DocumentsDatabase-class.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - - - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentsDatabase
- -
- -
-
-
- -
-
-

DocumentsDatabase class - -

- - -
-

Class contains properties to get the information about the database.

-
- - - - -
-

Constructors

- -
-
- DocumentsDatabase() -
-
- -
-
-
- -
-

Properties

- -
-
- countriesNumber - int - -
-
- A number of countries included in the database. -
no setter
- -
- -
- databaseDescription - String? - -
-
- A list of supported documents in the database. -
no setter
- -
- -
- databaseID - String? - -
-
- An ID of the database, e.g. BLR, RUS. -
no setter
- -
- -
- date - String? - -
-
- A date when the database was created. -
no setter
- -
- -
- documentsNumber - int - -
-
- A number of documents included in the database. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- size - int? - -
-
- Database size. In bytes. -Available for database update check. -
no setter
- -
- -
- version - String? - -
-
- A version of the database. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - DocumentsDatabase? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/DocumentsDatabase.html b/docs/document_reader/DocumentsDatabase/DocumentsDatabase.html deleted file mode 100644 index b7af66e66c..0000000000 --- a/docs/document_reader/DocumentsDatabase/DocumentsDatabase.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - DocumentsDatabase constructor - DocumentsDatabase - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
DocumentsDatabase
- -
- -
-
-
- -
-
-

DocumentsDatabase constructor -

- -
- - DocumentsDatabase() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/countriesNumber.html b/docs/document_reader/DocumentsDatabase/countriesNumber.html deleted file mode 100644 index 4a02265c06..0000000000 --- a/docs/document_reader/DocumentsDatabase/countriesNumber.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - countriesNumber property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
countriesNumber
- -
- -
-
-
- -
-
-

countriesNumber property -

- - - -
- -
- - int - countriesNumber - - -
- - -
-

A number of countries included in the database.

-
- - -
-

Implementation

-
int get countriesNumber => _countriesNumber;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/databaseDescription.html b/docs/document_reader/DocumentsDatabase/databaseDescription.html deleted file mode 100644 index a79c78085c..0000000000 --- a/docs/document_reader/DocumentsDatabase/databaseDescription.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - databaseDescription property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
databaseDescription
- -
- -
-
-
- -
-
-

databaseDescription property -

- - - -
- -
- - String? - databaseDescription - - -
- - -
-

A list of supported documents in the database.

-
- - -
-

Implementation

-
String? get databaseDescription => _databaseDescription;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/databaseID.html b/docs/document_reader/DocumentsDatabase/databaseID.html deleted file mode 100644 index eca95fe435..0000000000 --- a/docs/document_reader/DocumentsDatabase/databaseID.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - databaseID property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
databaseID
- -
- -
-
-
- -
-
-

databaseID property -

- - - -
- -
- - String? - databaseID - - -
- - -
-

An ID of the database, e.g. BLR, RUS.

-
- - -
-

Implementation

-
String? get databaseID => _databaseID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/date.html b/docs/document_reader/DocumentsDatabase/date.html deleted file mode 100644 index 0fb996bbc7..0000000000 --- a/docs/document_reader/DocumentsDatabase/date.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - date property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
date
- -
- -
-
-
- -
-
-

date property -

- - - -
- -
- - String? - date - - -
- - -
-

A date when the database was created.

-
- - -
-

Implementation

-
String? get date => _date;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/documentsNumber.html b/docs/document_reader/DocumentsDatabase/documentsNumber.html deleted file mode 100644 index 34a878ddee..0000000000 --- a/docs/document_reader/DocumentsDatabase/documentsNumber.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - documentsNumber property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentsNumber
- -
- -
-
-
- -
-
-

documentsNumber property -

- - - -
- -
- - int - documentsNumber - - -
- - -
-

A number of documents included in the database.

-
- - -
-

Implementation

-
int get documentsNumber => _documentsNumber;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/fromJson.html b/docs/document_reader/DocumentsDatabase/fromJson.html deleted file mode 100644 index f317a4b37e..0000000000 --- a/docs/document_reader/DocumentsDatabase/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -DocumentsDatabase? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static DocumentsDatabase? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = DocumentsDatabase();
-
-  result._databaseID = jsonObject["databaseID"];
-  result._version = jsonObject["version"];
-  result._date = jsonObject["date"];
-  result._databaseDescription = jsonObject["databaseDescription"];
-  result._countriesNumber = jsonObject["countriesNumber"];
-  result._documentsNumber = jsonObject["documentsNumber"];
-  result._size = jsonObject["size"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/size.html b/docs/document_reader/DocumentsDatabase/size.html deleted file mode 100644 index d86db28b61..0000000000 --- a/docs/document_reader/DocumentsDatabase/size.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - size property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
size
- -
- -
-
-
- -
-
-

size property -

- - - -
- -
- - int? - size - - -
- - -
-

Database size. In bytes. -Available for database update check.

-
- - -
-

Implementation

-
int? get size => _size;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/toJson.html b/docs/document_reader/DocumentsDatabase/toJson.html deleted file mode 100644 index e1d2ba8d82..0000000000 --- a/docs/document_reader/DocumentsDatabase/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "databaseID": databaseID,
-      "version": version,
-      "date": date,
-      "databaseDescription": databaseDescription,
-      "countriesNumber": countriesNumber,
-      "documentsNumber": documentsNumber,
-      "size": size
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/DocumentsDatabase/version.html b/docs/document_reader/DocumentsDatabase/version.html deleted file mode 100644 index 98493f062f..0000000000 --- a/docs/document_reader/DocumentsDatabase/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - DocumentsDatabase class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - String? - version - - -
- - -
-

A version of the database.

-
- - -
-

Implementation

-
String? get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups-class-sidebar.html b/docs/document_reader/EDLDataGroups-class-sidebar.html deleted file mode 100644 index b757cfa56e..0000000000 --- a/docs/document_reader/EDLDataGroups-class-sidebar.html +++ /dev/null @@ -1,41 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. EDLDataGroups
  4. - - -
  5. - Properties -
  6. -
  7. dg1
  8. -
  9. dg2
  10. -
  11. dg3
  12. -
  13. dg4
  14. -
  15. dg5
  16. -
  17. dg6
  18. -
  19. dg7
  20. -
  21. dg8
  22. -
  23. dg9
  24. -
  25. dg10
  26. -
  27. dg11
  28. -
  29. dg12
  30. -
  31. dg13
  32. -
  33. dg14
  34. -
  35. hashCode
  36. -
  37. runtimeType
  38. -
  39. testSetters
  40. - -
  41. Methods
  42. -
  43. noSuchMethod
  44. -
  45. toJson
  46. -
  47. toString
  48. - -
  49. Operators
  50. -
  51. operator ==
  52. - - - -
  53. Static methods
  54. -
  55. fromJson
  56. - -
diff --git a/docs/document_reader/EDLDataGroups-class.html b/docs/document_reader/EDLDataGroups-class.html deleted file mode 100644 index 42e91876be..0000000000 --- a/docs/document_reader/EDLDataGroups-class.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - - - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EDLDataGroups
- -
- -
-
-
- -
-
-

EDLDataGroups class - -

- - - - - - -
-

Constructors

- -
-
- EDLDataGroups() -
-
- -
-
-
- -
-

Properties

- -
-
- dg1 - bool - -
-
- -
getter/setter pair
- -
- -
- dg2 - bool - -
-
- -
getter/setter pair
- -
- -
- dg3 - bool - -
-
- -
getter/setter pair
- -
- -
- dg4 - bool - -
-
- -
getter/setter pair
- -
- -
- dg5 - bool - -
-
- -
getter/setter pair
- -
- -
- dg6 - bool - -
-
- -
getter/setter pair
- -
- -
- dg7 - bool - -
-
- -
getter/setter pair
- -
- -
- dg8 - bool - -
-
- -
getter/setter pair
- -
- -
- dg9 - bool - -
-
- -
getter/setter pair
- -
- -
- dg10 - bool - -
-
- -
getter/setter pair
- -
- -
- dg11 - bool - -
-
- -
getter/setter pair
- -
- -
- dg12 - bool - -
-
- -
getter/setter pair
- -
- -
- dg13 - bool - -
-
- -
getter/setter pair
- -
- -
- dg14 - bool - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - EDLDataGroups - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/EDLDataGroups.html b/docs/document_reader/EDLDataGroups/EDLDataGroups.html deleted file mode 100644 index b0f802bb85..0000000000 --- a/docs/document_reader/EDLDataGroups/EDLDataGroups.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - EDLDataGroups constructor - EDLDataGroups - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EDLDataGroups
- -
- -
-
-
- -
-
-

EDLDataGroups constructor -

- -
- - EDLDataGroups() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg1.html b/docs/document_reader/EDLDataGroups/dg1.html deleted file mode 100644 index 08b131d269..0000000000 --- a/docs/document_reader/EDLDataGroups/dg1.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg1 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg1
- -
- -
-
-
- -
-
-

dg1 property -

- - - -
- -
- - bool - dg1 - - -
- - - - -
-

Implementation

-
bool get dg1 => _dg1;
-
- -
- - - -
- -
- - void - dg1=(bool val) - - -
- - - - -
-

Implementation

-
set dg1(bool val) {
-  _dg1 = val;
-  _set({"DG1": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg10.html b/docs/document_reader/EDLDataGroups/dg10.html deleted file mode 100644 index 9a8b9019e6..0000000000 --- a/docs/document_reader/EDLDataGroups/dg10.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg10 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg10
- -
- -
-
-
- -
-
-

dg10 property -

- - - -
- -
- - bool - dg10 - - -
- - - - -
-

Implementation

-
bool get dg10 => _dg10;
-
- -
- - - -
- -
- - void - dg10=(bool val) - - -
- - - - -
-

Implementation

-
set dg10(bool val) {
-  _dg10 = val;
-  _set({"DG10": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg11.html b/docs/document_reader/EDLDataGroups/dg11.html deleted file mode 100644 index 651f0aa994..0000000000 --- a/docs/document_reader/EDLDataGroups/dg11.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg11 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg11
- -
- -
-
-
- -
-
-

dg11 property -

- - - -
- -
- - bool - dg11 - - -
- - - - -
-

Implementation

-
bool get dg11 => _dg11;
-
- -
- - - -
- -
- - void - dg11=(bool val) - - -
- - - - -
-

Implementation

-
set dg11(bool val) {
-  _dg11 = val;
-  _set({"DG11": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg12.html b/docs/document_reader/EDLDataGroups/dg12.html deleted file mode 100644 index 7e2bafe933..0000000000 --- a/docs/document_reader/EDLDataGroups/dg12.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg12 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg12
- -
- -
-
-
- -
-
-

dg12 property -

- - - -
- -
- - bool - dg12 - - -
- - - - -
-

Implementation

-
bool get dg12 => _dg12;
-
- -
- - - -
- -
- - void - dg12=(bool val) - - -
- - - - -
-

Implementation

-
set dg12(bool val) {
-  _dg12 = val;
-  _set({"DG12": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg13.html b/docs/document_reader/EDLDataGroups/dg13.html deleted file mode 100644 index ee46cfb37b..0000000000 --- a/docs/document_reader/EDLDataGroups/dg13.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg13 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg13
- -
- -
-
-
- -
-
-

dg13 property -

- - - -
- -
- - bool - dg13 - - -
- - - - -
-

Implementation

-
bool get dg13 => _dg13;
-
- -
- - - -
- -
- - void - dg13=(bool val) - - -
- - - - -
-

Implementation

-
set dg13(bool val) {
-  _dg13 = val;
-  _set({"DG13": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg14.html b/docs/document_reader/EDLDataGroups/dg14.html deleted file mode 100644 index 9ea129b81e..0000000000 --- a/docs/document_reader/EDLDataGroups/dg14.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg14 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg14
- -
- -
-
-
- -
-
-

dg14 property -

- - - -
- -
- - bool - dg14 - - -
- - - - -
-

Implementation

-
bool get dg14 => _dg14;
-
- -
- - - -
- -
- - void - dg14=(bool val) - - -
- - - - -
-

Implementation

-
set dg14(bool val) {
-  _dg14 = val;
-  _set({"DG14": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg2.html b/docs/document_reader/EDLDataGroups/dg2.html deleted file mode 100644 index 04777024a0..0000000000 --- a/docs/document_reader/EDLDataGroups/dg2.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg2 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg2
- -
- -
-
-
- -
-
-

dg2 property -

- - - -
- -
- - bool - dg2 - - -
- - - - -
-

Implementation

-
bool get dg2 => _dg2;
-
- -
- - - -
- -
- - void - dg2=(bool val) - - -
- - - - -
-

Implementation

-
set dg2(bool val) {
-  _dg2 = val;
-  _set({"DG2": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg3.html b/docs/document_reader/EDLDataGroups/dg3.html deleted file mode 100644 index a89475696d..0000000000 --- a/docs/document_reader/EDLDataGroups/dg3.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg3 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg3
- -
- -
-
-
- -
-
-

dg3 property -

- - - -
- -
- - bool - dg3 - - -
- - - - -
-

Implementation

-
bool get dg3 => _dg3;
-
- -
- - - -
- -
- - void - dg3=(bool val) - - -
- - - - -
-

Implementation

-
set dg3(bool val) {
-  _dg3 = val;
-  _set({"DG3": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg4.html b/docs/document_reader/EDLDataGroups/dg4.html deleted file mode 100644 index 6f072b7c5c..0000000000 --- a/docs/document_reader/EDLDataGroups/dg4.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg4 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg4
- -
- -
-
-
- -
-
-

dg4 property -

- - - -
- -
- - bool - dg4 - - -
- - - - -
-

Implementation

-
bool get dg4 => _dg4;
-
- -
- - - -
- -
- - void - dg4=(bool val) - - -
- - - - -
-

Implementation

-
set dg4(bool val) {
-  _dg4 = val;
-  _set({"DG4": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg5.html b/docs/document_reader/EDLDataGroups/dg5.html deleted file mode 100644 index db8c7dc358..0000000000 --- a/docs/document_reader/EDLDataGroups/dg5.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg5 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg5
- -
- -
-
-
- -
-
-

dg5 property -

- - - -
- -
- - bool - dg5 - - -
- - - - -
-

Implementation

-
bool get dg5 => _dg5;
-
- -
- - - -
- -
- - void - dg5=(bool val) - - -
- - - - -
-

Implementation

-
set dg5(bool val) {
-  _dg5 = val;
-  _set({"DG5": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg6.html b/docs/document_reader/EDLDataGroups/dg6.html deleted file mode 100644 index 1f541055ba..0000000000 --- a/docs/document_reader/EDLDataGroups/dg6.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg6 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg6
- -
- -
-
-
- -
-
-

dg6 property -

- - - -
- -
- - bool - dg6 - - -
- - - - -
-

Implementation

-
bool get dg6 => _dg6;
-
- -
- - - -
- -
- - void - dg6=(bool val) - - -
- - - - -
-

Implementation

-
set dg6(bool val) {
-  _dg6 = val;
-  _set({"DG6": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg7.html b/docs/document_reader/EDLDataGroups/dg7.html deleted file mode 100644 index dc391913ba..0000000000 --- a/docs/document_reader/EDLDataGroups/dg7.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg7 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg7
- -
- -
-
-
- -
-
-

dg7 property -

- - - -
- -
- - bool - dg7 - - -
- - - - -
-

Implementation

-
bool get dg7 => _dg7;
-
- -
- - - -
- -
- - void - dg7=(bool val) - - -
- - - - -
-

Implementation

-
set dg7(bool val) {
-  _dg7 = val;
-  _set({"DG7": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg8.html b/docs/document_reader/EDLDataGroups/dg8.html deleted file mode 100644 index 3bda2d312d..0000000000 --- a/docs/document_reader/EDLDataGroups/dg8.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg8 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg8
- -
- -
-
-
- -
-
-

dg8 property -

- - - -
- -
- - bool - dg8 - - -
- - - - -
-

Implementation

-
bool get dg8 => _dg8;
-
- -
- - - -
- -
- - void - dg8=(bool val) - - -
- - - - -
-

Implementation

-
set dg8(bool val) {
-  _dg8 = val;
-  _set({"DG8": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/dg9.html b/docs/document_reader/EDLDataGroups/dg9.html deleted file mode 100644 index e1193c9ac8..0000000000 --- a/docs/document_reader/EDLDataGroups/dg9.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg9 property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg9
- -
- -
-
-
- -
-
-

dg9 property -

- - - -
- -
- - bool - dg9 - - -
- - - - -
-

Implementation

-
bool get dg9 => _dg9;
-
- -
- - - -
- -
- - void - dg9=(bool val) - - -
- - - - -
-

Implementation

-
set dg9(bool val) {
-  _dg9 = val;
-  _set({"DG9": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/fromJson.html b/docs/document_reader/EDLDataGroups/fromJson.html deleted file mode 100644 index 074e472550..0000000000 --- a/docs/document_reader/EDLDataGroups/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -EDLDataGroups -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static EDLDataGroups fromJson(jsonObject) {
-  var result = EDLDataGroups();
-  result.testSetters = {};
-
-  result.dg1 = jsonObject["DG1"];
-  result.dg2 = jsonObject["DG2"];
-  result.dg3 = jsonObject["DG3"];
-  result.dg4 = jsonObject["DG4"];
-  result.dg5 = jsonObject["DG5"];
-  result.dg6 = jsonObject["DG6"];
-  result.dg7 = jsonObject["DG7"];
-  result.dg8 = jsonObject["DG8"];
-  result.dg9 = jsonObject["DG9"];
-  result.dg10 = jsonObject["DG10"];
-  result.dg11 = jsonObject["DG11"];
-  result.dg12 = jsonObject["DG12"];
-  result.dg13 = jsonObject["DG13"];
-  result.dg14 = jsonObject["DG14"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/testSetters.html b/docs/document_reader/EDLDataGroups/testSetters.html deleted file mode 100644 index 368e2dc983..0000000000 --- a/docs/document_reader/EDLDataGroups/testSetters.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - testSetters property - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EDLDataGroups/toJson.html b/docs/document_reader/EDLDataGroups/toJson.html deleted file mode 100644 index fd59ef7cdf..0000000000 --- a/docs/document_reader/EDLDataGroups/toJson.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - toJson method - EDLDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "DG1": dg1,
-      "DG2": dg2,
-      "DG3": dg3,
-      "DG4": dg4,
-      "DG5": dg5,
-      "DG6": dg6,
-      "DG7": dg7,
-      "DG8": dg8,
-      "DG9": dg9,
-      "DG10": dg10,
-      "DG11": dg11,
-      "DG12": dg12,
-      "DG13": dg13,
-      "DG14": dg14,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups-class-sidebar.html b/docs/document_reader/EIDDataGroups-class-sidebar.html deleted file mode 100644 index 6989dc0d7f..0000000000 --- a/docs/document_reader/EIDDataGroups-class-sidebar.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. EIDDataGroups
  4. - - -
  5. - Properties -
  6. -
  7. dg1
  8. -
  9. dg2
  10. -
  11. dg3
  12. -
  13. dg4
  14. -
  15. dg5
  16. -
  17. dg6
  18. -
  19. dg7
  20. -
  21. dg8
  22. -
  23. dg9
  24. -
  25. dg10
  26. -
  27. dg11
  28. -
  29. dg12
  30. -
  31. dg13
  32. -
  33. dg14
  34. -
  35. dg15
  36. -
  37. dg16
  38. -
  39. dg17
  40. -
  41. dg18
  42. -
  43. dg19
  44. -
  45. dg20
  46. -
  47. dg21
  48. -
  49. hashCode
  50. -
  51. runtimeType
  52. -
  53. testSetters
  54. - -
  55. Methods
  56. -
  57. noSuchMethod
  58. -
  59. toJson
  60. -
  61. toString
  62. - -
  63. Operators
  64. -
  65. operator ==
  66. - - - -
  67. Static methods
  68. -
  69. fromJson
  70. - -
diff --git a/docs/document_reader/EIDDataGroups-class.html b/docs/document_reader/EIDDataGroups-class.html deleted file mode 100644 index 58284efb76..0000000000 --- a/docs/document_reader/EIDDataGroups-class.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - - - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EIDDataGroups
- -
- -
-
-
- -
-
-

EIDDataGroups class - -

- - - - - - -
-

Constructors

- -
-
- EIDDataGroups() -
-
- -
-
-
- -
-

Properties

- -
-
- dg1 - bool - -
-
- -
getter/setter pair
- -
- -
- dg2 - bool - -
-
- -
getter/setter pair
- -
- -
- dg3 - bool - -
-
- -
getter/setter pair
- -
- -
- dg4 - bool - -
-
- -
getter/setter pair
- -
- -
- dg5 - bool - -
-
- -
getter/setter pair
- -
- -
- dg6 - bool - -
-
- -
getter/setter pair
- -
- -
- dg7 - bool - -
-
- -
getter/setter pair
- -
- -
- dg8 - bool - -
-
- -
getter/setter pair
- -
- -
- dg9 - bool - -
-
- -
getter/setter pair
- -
- -
- dg10 - bool - -
-
- -
getter/setter pair
- -
- -
- dg11 - bool - -
-
- -
getter/setter pair
- -
- -
- dg12 - bool - -
-
- -
getter/setter pair
- -
- -
- dg13 - bool - -
-
- -
getter/setter pair
- -
- -
- dg14 - bool - -
-
- -
getter/setter pair
- -
- -
- dg15 - bool - -
-
- -
getter/setter pair
- -
- -
- dg16 - bool - -
-
- -
getter/setter pair
- -
- -
- dg17 - bool - -
-
- -
getter/setter pair
- -
- -
- dg18 - bool - -
-
- -
getter/setter pair
- -
- -
- dg19 - bool - -
-
- -
getter/setter pair
- -
- -
- dg20 - bool - -
-
- -
getter/setter pair
- -
- -
- dg21 - bool - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - EIDDataGroups - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/EIDDataGroups.html b/docs/document_reader/EIDDataGroups/EIDDataGroups.html deleted file mode 100644 index efba44e505..0000000000 --- a/docs/document_reader/EIDDataGroups/EIDDataGroups.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - EIDDataGroups constructor - EIDDataGroups - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EIDDataGroups
- -
- -
-
-
- -
-
-

EIDDataGroups constructor -

- -
- - EIDDataGroups() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg1.html b/docs/document_reader/EIDDataGroups/dg1.html deleted file mode 100644 index 4afd262f7c..0000000000 --- a/docs/document_reader/EIDDataGroups/dg1.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg1 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg1
- -
- -
-
-
- -
-
-

dg1 property -

- - - -
- -
- - bool - dg1 - - -
- - - - -
-

Implementation

-
bool get dg1 => _dg1;
-
- -
- - - -
- -
- - void - dg1=(bool val) - - -
- - - - -
-

Implementation

-
set dg1(bool val) {
-  _dg1 = val;
-  _set({"DG1": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg10.html b/docs/document_reader/EIDDataGroups/dg10.html deleted file mode 100644 index 7ffac9f659..0000000000 --- a/docs/document_reader/EIDDataGroups/dg10.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg10 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg10
- -
- -
-
-
- -
-
-

dg10 property -

- - - -
- -
- - bool - dg10 - - -
- - - - -
-

Implementation

-
bool get dg10 => _dg10;
-
- -
- - - -
- -
- - void - dg10=(bool val) - - -
- - - - -
-

Implementation

-
set dg10(bool val) {
-  _dg10 = val;
-  _set({"DG10": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg11.html b/docs/document_reader/EIDDataGroups/dg11.html deleted file mode 100644 index dde4c71ff2..0000000000 --- a/docs/document_reader/EIDDataGroups/dg11.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg11 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg11
- -
- -
-
-
- -
-
-

dg11 property -

- - - -
- -
- - bool - dg11 - - -
- - - - -
-

Implementation

-
bool get dg11 => _dg11;
-
- -
- - - -
- -
- - void - dg11=(bool val) - - -
- - - - -
-

Implementation

-
set dg11(bool val) {
-  _dg11 = val;
-  _set({"DG11": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg12.html b/docs/document_reader/EIDDataGroups/dg12.html deleted file mode 100644 index 307a622729..0000000000 --- a/docs/document_reader/EIDDataGroups/dg12.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg12 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg12
- -
- -
-
-
- -
-
-

dg12 property -

- - - -
- -
- - bool - dg12 - - -
- - - - -
-

Implementation

-
bool get dg12 => _dg12;
-
- -
- - - -
- -
- - void - dg12=(bool val) - - -
- - - - -
-

Implementation

-
set dg12(bool val) {
-  _dg12 = val;
-  _set({"DG12": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg13.html b/docs/document_reader/EIDDataGroups/dg13.html deleted file mode 100644 index e11c2685a4..0000000000 --- a/docs/document_reader/EIDDataGroups/dg13.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg13 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg13
- -
- -
-
-
- -
-
-

dg13 property -

- - - -
- -
- - bool - dg13 - - -
- - - - -
-

Implementation

-
bool get dg13 => _dg13;
-
- -
- - - -
- -
- - void - dg13=(bool val) - - -
- - - - -
-

Implementation

-
set dg13(bool val) {
-  _dg13 = val;
-  _set({"DG13": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg14.html b/docs/document_reader/EIDDataGroups/dg14.html deleted file mode 100644 index 165b048848..0000000000 --- a/docs/document_reader/EIDDataGroups/dg14.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg14 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg14
- -
- -
-
-
- -
-
-

dg14 property -

- - - -
- -
- - bool - dg14 - - -
- - - - -
-

Implementation

-
bool get dg14 => _dg14;
-
- -
- - - -
- -
- - void - dg14=(bool val) - - -
- - - - -
-

Implementation

-
set dg14(bool val) {
-  _dg14 = val;
-  _set({"DG14": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg15.html b/docs/document_reader/EIDDataGroups/dg15.html deleted file mode 100644 index aced5d524c..0000000000 --- a/docs/document_reader/EIDDataGroups/dg15.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg15 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg15
- -
- -
-
-
- -
-
-

dg15 property -

- - - -
- -
- - bool - dg15 - - -
- - - - -
-

Implementation

-
bool get dg15 => _dg15;
-
- -
- - - -
- -
- - void - dg15=(bool val) - - -
- - - - -
-

Implementation

-
set dg15(bool val) {
-  _dg15 = val;
-  _set({"DG15": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg16.html b/docs/document_reader/EIDDataGroups/dg16.html deleted file mode 100644 index 93cd47b3e1..0000000000 --- a/docs/document_reader/EIDDataGroups/dg16.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg16 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg16
- -
- -
-
-
- -
-
-

dg16 property -

- - - -
- -
- - bool - dg16 - - -
- - - - -
-

Implementation

-
bool get dg16 => _dg16;
-
- -
- - - -
- -
- - void - dg16=(bool val) - - -
- - - - -
-

Implementation

-
set dg16(bool val) {
-  _dg16 = val;
-  _set({"DG16": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg17.html b/docs/document_reader/EIDDataGroups/dg17.html deleted file mode 100644 index 5a9bd191f6..0000000000 --- a/docs/document_reader/EIDDataGroups/dg17.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg17 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg17
- -
- -
-
-
- -
-
-

dg17 property -

- - - -
- -
- - bool - dg17 - - -
- - - - -
-

Implementation

-
bool get dg17 => _dg17;
-
- -
- - - -
- -
- - void - dg17=(bool val) - - -
- - - - -
-

Implementation

-
set dg17(bool val) {
-  _dg17 = val;
-  _set({"DG17": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg18.html b/docs/document_reader/EIDDataGroups/dg18.html deleted file mode 100644 index ecea5b4a3a..0000000000 --- a/docs/document_reader/EIDDataGroups/dg18.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg18 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg18
- -
- -
-
-
- -
-
-

dg18 property -

- - - -
- -
- - bool - dg18 - - -
- - - - -
-

Implementation

-
bool get dg18 => _dg18;
-
- -
- - - -
- -
- - void - dg18=(bool val) - - -
- - - - -
-

Implementation

-
set dg18(bool val) {
-  _dg18 = val;
-  _set({"DG18": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg19.html b/docs/document_reader/EIDDataGroups/dg19.html deleted file mode 100644 index 2b65b0ce23..0000000000 --- a/docs/document_reader/EIDDataGroups/dg19.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg19 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg19
- -
- -
-
-
- -
-
-

dg19 property -

- - - -
- -
- - bool - dg19 - - -
- - - - -
-

Implementation

-
bool get dg19 => _dg19;
-
- -
- - - -
- -
- - void - dg19=(bool val) - - -
- - - - -
-

Implementation

-
set dg19(bool val) {
-  _dg19 = val;
-  _set({"DG19": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg2.html b/docs/document_reader/EIDDataGroups/dg2.html deleted file mode 100644 index 5a7b8e8a40..0000000000 --- a/docs/document_reader/EIDDataGroups/dg2.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg2 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg2
- -
- -
-
-
- -
-
-

dg2 property -

- - - -
- -
- - bool - dg2 - - -
- - - - -
-

Implementation

-
bool get dg2 => _dg2;
-
- -
- - - -
- -
- - void - dg2=(bool val) - - -
- - - - -
-

Implementation

-
set dg2(bool val) {
-  _dg2 = val;
-  _set({"DG2": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg20.html b/docs/document_reader/EIDDataGroups/dg20.html deleted file mode 100644 index 4f36b6f67d..0000000000 --- a/docs/document_reader/EIDDataGroups/dg20.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg20 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg20
- -
- -
-
-
- -
-
-

dg20 property -

- - - -
- -
- - bool - dg20 - - -
- - - - -
-

Implementation

-
bool get dg20 => _dg20;
-
- -
- - - -
- -
- - void - dg20=(bool val) - - -
- - - - -
-

Implementation

-
set dg20(bool val) {
-  _dg20 = val;
-  _set({"DG20": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg21.html b/docs/document_reader/EIDDataGroups/dg21.html deleted file mode 100644 index 439b29925f..0000000000 --- a/docs/document_reader/EIDDataGroups/dg21.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg21 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg21
- -
- -
-
-
- -
-
-

dg21 property -

- - - -
- -
- - bool - dg21 - - -
- - - - -
-

Implementation

-
bool get dg21 => _dg21;
-
- -
- - - -
- -
- - void - dg21=(bool val) - - -
- - - - -
-

Implementation

-
set dg21(bool val) {
-  _dg21 = val;
-  _set({"DG21": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg3.html b/docs/document_reader/EIDDataGroups/dg3.html deleted file mode 100644 index f44c236c87..0000000000 --- a/docs/document_reader/EIDDataGroups/dg3.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg3 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg3
- -
- -
-
-
- -
-
-

dg3 property -

- - - -
- -
- - bool - dg3 - - -
- - - - -
-

Implementation

-
bool get dg3 => _dg3;
-
- -
- - - -
- -
- - void - dg3=(bool val) - - -
- - - - -
-

Implementation

-
set dg3(bool val) {
-  _dg3 = val;
-  _set({"DG3": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg4.html b/docs/document_reader/EIDDataGroups/dg4.html deleted file mode 100644 index e0c480e097..0000000000 --- a/docs/document_reader/EIDDataGroups/dg4.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg4 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg4
- -
- -
-
-
- -
-
-

dg4 property -

- - - -
- -
- - bool - dg4 - - -
- - - - -
-

Implementation

-
bool get dg4 => _dg4;
-
- -
- - - -
- -
- - void - dg4=(bool val) - - -
- - - - -
-

Implementation

-
set dg4(bool val) {
-  _dg4 = val;
-  _set({"DG4": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg5.html b/docs/document_reader/EIDDataGroups/dg5.html deleted file mode 100644 index efcfbcc4f5..0000000000 --- a/docs/document_reader/EIDDataGroups/dg5.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg5 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg5
- -
- -
-
-
- -
-
-

dg5 property -

- - - -
- -
- - bool - dg5 - - -
- - - - -
-

Implementation

-
bool get dg5 => _dg5;
-
- -
- - - -
- -
- - void - dg5=(bool val) - - -
- - - - -
-

Implementation

-
set dg5(bool val) {
-  _dg5 = val;
-  _set({"DG5": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg6.html b/docs/document_reader/EIDDataGroups/dg6.html deleted file mode 100644 index 6aa6f27d28..0000000000 --- a/docs/document_reader/EIDDataGroups/dg6.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg6 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg6
- -
- -
-
-
- -
-
-

dg6 property -

- - - -
- -
- - bool - dg6 - - -
- - - - -
-

Implementation

-
bool get dg6 => _dg6;
-
- -
- - - -
- -
- - void - dg6=(bool val) - - -
- - - - -
-

Implementation

-
set dg6(bool val) {
-  _dg6 = val;
-  _set({"DG6": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg7.html b/docs/document_reader/EIDDataGroups/dg7.html deleted file mode 100644 index 69c9639920..0000000000 --- a/docs/document_reader/EIDDataGroups/dg7.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg7 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg7
- -
- -
-
-
- -
-
-

dg7 property -

- - - -
- -
- - bool - dg7 - - -
- - - - -
-

Implementation

-
bool get dg7 => _dg7;
-
- -
- - - -
- -
- - void - dg7=(bool val) - - -
- - - - -
-

Implementation

-
set dg7(bool val) {
-  _dg7 = val;
-  _set({"DG7": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg8.html b/docs/document_reader/EIDDataGroups/dg8.html deleted file mode 100644 index e75048e1d9..0000000000 --- a/docs/document_reader/EIDDataGroups/dg8.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg8 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg8
- -
- -
-
-
- -
-
-

dg8 property -

- - - -
- -
- - bool - dg8 - - -
- - - - -
-

Implementation

-
bool get dg8 => _dg8;
-
- -
- - - -
- -
- - void - dg8=(bool val) - - -
- - - - -
-

Implementation

-
set dg8(bool val) {
-  _dg8 = val;
-  _set({"DG8": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/dg9.html b/docs/document_reader/EIDDataGroups/dg9.html deleted file mode 100644 index c1f28ca7d7..0000000000 --- a/docs/document_reader/EIDDataGroups/dg9.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg9 property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg9
- -
- -
-
-
- -
-
-

dg9 property -

- - - -
- -
- - bool - dg9 - - -
- - - - -
-

Implementation

-
bool get dg9 => _dg9;
-
- -
- - - -
- -
- - void - dg9=(bool val) - - -
- - - - -
-

Implementation

-
set dg9(bool val) {
-  _dg9 = val;
-  _set({"DG9": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/fromJson.html b/docs/document_reader/EIDDataGroups/fromJson.html deleted file mode 100644 index f273bb3b71..0000000000 --- a/docs/document_reader/EIDDataGroups/fromJson.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - fromJson method - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -EIDDataGroups -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static EIDDataGroups fromJson(jsonObject) {
-  var result = EIDDataGroups();
-  result.testSetters = {};
-
-  result.dg1 = jsonObject["DG1"];
-  result.dg2 = jsonObject["DG2"];
-  result.dg3 = jsonObject["DG3"];
-  result.dg4 = jsonObject["DG4"];
-  result.dg5 = jsonObject["DG5"];
-  result.dg6 = jsonObject["DG6"];
-  result.dg7 = jsonObject["DG7"];
-  result.dg8 = jsonObject["DG8"];
-  result.dg9 = jsonObject["DG9"];
-  result.dg10 = jsonObject["DG10"];
-  result.dg11 = jsonObject["DG11"];
-  result.dg12 = jsonObject["DG12"];
-  result.dg13 = jsonObject["DG13"];
-  result.dg14 = jsonObject["DG14"];
-  result.dg15 = jsonObject["DG15"];
-  result.dg16 = jsonObject["DG16"];
-  result.dg17 = jsonObject["DG17"];
-  result.dg18 = jsonObject["DG18"];
-  result.dg19 = jsonObject["DG19"];
-  result.dg20 = jsonObject["DG20"];
-  result.dg21 = jsonObject["DG21"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/testSetters.html b/docs/document_reader/EIDDataGroups/testSetters.html deleted file mode 100644 index 7fd0b52028..0000000000 --- a/docs/document_reader/EIDDataGroups/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EIDDataGroups/toJson.html b/docs/document_reader/EIDDataGroups/toJson.html deleted file mode 100644 index bd1b2234e5..0000000000 --- a/docs/document_reader/EIDDataGroups/toJson.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - toJson method - EIDDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "DG1": dg1,
-      "DG2": dg2,
-      "DG3": dg3,
-      "DG4": dg4,
-      "DG5": dg5,
-      "DG6": dg6,
-      "DG7": dg7,
-      "DG8": dg8,
-      "DG9": dg9,
-      "DG10": dg10,
-      "DG11": dg11,
-      "DG12": dg12,
-      "DG13": dg13,
-      "DG14": dg14,
-      "DG15": dg15,
-      "DG16": dg16,
-      "DG17": dg17,
-      "DG18": dg18,
-      "DG19": dg19,
-      "DG20": dg20,
-      "DG21": dg21,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups-class-sidebar.html b/docs/document_reader/EPassportDataGroups-class-sidebar.html deleted file mode 100644 index 13f5304648..0000000000 --- a/docs/document_reader/EPassportDataGroups-class-sidebar.html +++ /dev/null @@ -1,43 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. EPassportDataGroups
  4. - - -
  5. - Properties -
  6. -
  7. dg1
  8. -
  9. dg2
  10. -
  11. dg3
  12. -
  13. dg4
  14. -
  15. dg5
  16. -
  17. dg6
  18. -
  19. dg7
  20. -
  21. dg8
  22. -
  23. dg9
  24. -
  25. dg10
  26. -
  27. dg11
  28. -
  29. dg12
  30. -
  31. dg13
  32. -
  33. dg14
  34. -
  35. dg15
  36. -
  37. dg16
  38. -
  39. hashCode
  40. -
  41. runtimeType
  42. -
  43. testSetters
  44. - -
  45. Methods
  46. -
  47. noSuchMethod
  48. -
  49. toJson
  50. -
  51. toString
  52. - -
  53. Operators
  54. -
  55. operator ==
  56. - - - -
  57. Static methods
  58. -
  59. fromJson
  60. - -
diff --git a/docs/document_reader/EPassportDataGroups-class.html b/docs/document_reader/EPassportDataGroups-class.html deleted file mode 100644 index c48b90bdbc..0000000000 --- a/docs/document_reader/EPassportDataGroups-class.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - - - - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EPassportDataGroups
- -
- -
-
-
- -
-
-

EPassportDataGroups class - -

- - - - - - -
-

Constructors

- -
-
- EPassportDataGroups() -
-
- -
-
-
- -
-

Properties

- -
-
- dg1 - bool - -
-
- -
getter/setter pair
- -
- -
- dg2 - bool - -
-
- -
getter/setter pair
- -
- -
- dg3 - bool - -
-
- -
getter/setter pair
- -
- -
- dg4 - bool - -
-
- -
getter/setter pair
- -
- -
- dg5 - bool - -
-
- -
getter/setter pair
- -
- -
- dg6 - bool - -
-
- -
getter/setter pair
- -
- -
- dg7 - bool - -
-
- -
getter/setter pair
- -
- -
- dg8 - bool - -
-
- -
getter/setter pair
- -
- -
- dg9 - bool - -
-
- -
getter/setter pair
- -
- -
- dg10 - bool - -
-
- -
getter/setter pair
- -
- -
- dg11 - bool - -
-
- -
getter/setter pair
- -
- -
- dg12 - bool - -
-
- -
getter/setter pair
- -
- -
- dg13 - bool - -
-
- -
getter/setter pair
- -
- -
- dg14 - bool - -
-
- -
getter/setter pair
- -
- -
- dg15 - bool - -
-
- -
getter/setter pair
- -
- -
- dg16 - bool - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - EPassportDataGroups - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/EPassportDataGroups.html b/docs/document_reader/EPassportDataGroups/EPassportDataGroups.html deleted file mode 100644 index 4b6a2dfe48..0000000000 --- a/docs/document_reader/EPassportDataGroups/EPassportDataGroups.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - EPassportDataGroups constructor - EPassportDataGroups - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
EPassportDataGroups
- -
- -
-
-
- -
-
-

EPassportDataGroups constructor -

- -
- - EPassportDataGroups() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg1.html b/docs/document_reader/EPassportDataGroups/dg1.html deleted file mode 100644 index 8b79cf6e1c..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg1.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg1 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg1
- -
- -
-
-
- -
-
-

dg1 property -

- - - -
- -
- - bool - dg1 - - -
- - - - -
-

Implementation

-
bool get dg1 => _dg1;
-
- -
- - - -
- -
- - void - dg1=(bool val) - - -
- - - - -
-

Implementation

-
set dg1(bool val) {
-  _dg1 = val;
-  _set({"DG1": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg10.html b/docs/document_reader/EPassportDataGroups/dg10.html deleted file mode 100644 index 0b1ebcb88a..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg10.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg10 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg10
- -
- -
-
-
- -
-
-

dg10 property -

- - - -
- -
- - bool - dg10 - - -
- - - - -
-

Implementation

-
bool get dg10 => _dg10;
-
- -
- - - -
- -
- - void - dg10=(bool val) - - -
- - - - -
-

Implementation

-
set dg10(bool val) {
-  _dg10 = val;
-  _set({"DG10": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg11.html b/docs/document_reader/EPassportDataGroups/dg11.html deleted file mode 100644 index 57dfe0f8dc..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg11.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg11 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg11
- -
- -
-
-
- -
-
-

dg11 property -

- - - -
- -
- - bool - dg11 - - -
- - - - -
-

Implementation

-
bool get dg11 => _dg11;
-
- -
- - - -
- -
- - void - dg11=(bool val) - - -
- - - - -
-

Implementation

-
set dg11(bool val) {
-  _dg11 = val;
-  _set({"DG11": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg12.html b/docs/document_reader/EPassportDataGroups/dg12.html deleted file mode 100644 index 9a6a7ec1c8..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg12.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg12 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg12
- -
- -
-
-
- -
-
-

dg12 property -

- - - -
- -
- - bool - dg12 - - -
- - - - -
-

Implementation

-
bool get dg12 => _dg12;
-
- -
- - - -
- -
- - void - dg12=(bool val) - - -
- - - - -
-

Implementation

-
set dg12(bool val) {
-  _dg12 = val;
-  _set({"DG12": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg13.html b/docs/document_reader/EPassportDataGroups/dg13.html deleted file mode 100644 index 04231029f3..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg13.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg13 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg13
- -
- -
-
-
- -
-
-

dg13 property -

- - - -
- -
- - bool - dg13 - - -
- - - - -
-

Implementation

-
bool get dg13 => _dg13;
-
- -
- - - -
- -
- - void - dg13=(bool val) - - -
- - - - -
-

Implementation

-
set dg13(bool val) {
-  _dg13 = val;
-  _set({"DG13": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg14.html b/docs/document_reader/EPassportDataGroups/dg14.html deleted file mode 100644 index c85b2170c1..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg14.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg14 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg14
- -
- -
-
-
- -
-
-

dg14 property -

- - - -
- -
- - bool - dg14 - - -
- - - - -
-

Implementation

-
bool get dg14 => _dg14;
-
- -
- - - -
- -
- - void - dg14=(bool val) - - -
- - - - -
-

Implementation

-
set dg14(bool val) {
-  _dg14 = val;
-  _set({"DG14": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg15.html b/docs/document_reader/EPassportDataGroups/dg15.html deleted file mode 100644 index 9a476793f7..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg15.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg15 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg15
- -
- -
-
-
- -
-
-

dg15 property -

- - - -
- -
- - bool - dg15 - - -
- - - - -
-

Implementation

-
bool get dg15 => _dg15;
-
- -
- - - -
- -
- - void - dg15=(bool val) - - -
- - - - -
-

Implementation

-
set dg15(bool val) {
-  _dg15 = val;
-  _set({"DG15": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg16.html b/docs/document_reader/EPassportDataGroups/dg16.html deleted file mode 100644 index 31104ca7eb..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg16.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg16 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg16
- -
- -
-
-
- -
-
-

dg16 property -

- - - -
- -
- - bool - dg16 - - -
- - - - -
-

Implementation

-
bool get dg16 => _dg16;
-
- -
- - - -
- -
- - void - dg16=(bool val) - - -
- - - - -
-

Implementation

-
set dg16(bool val) {
-  _dg16 = val;
-  _set({"DG16": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg2.html b/docs/document_reader/EPassportDataGroups/dg2.html deleted file mode 100644 index 1f6a166da3..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg2.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg2 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg2
- -
- -
-
-
- -
-
-

dg2 property -

- - - -
- -
- - bool - dg2 - - -
- - - - -
-

Implementation

-
bool get dg2 => _dg2;
-
- -
- - - -
- -
- - void - dg2=(bool val) - - -
- - - - -
-

Implementation

-
set dg2(bool val) {
-  _dg2 = val;
-  _set({"DG2": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg3.html b/docs/document_reader/EPassportDataGroups/dg3.html deleted file mode 100644 index 4437ce9bbf..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg3.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg3 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg3
- -
- -
-
-
- -
-
-

dg3 property -

- - - -
- -
- - bool - dg3 - - -
- - - - -
-

Implementation

-
bool get dg3 => _dg3;
-
- -
- - - -
- -
- - void - dg3=(bool val) - - -
- - - - -
-

Implementation

-
set dg3(bool val) {
-  _dg3 = val;
-  _set({"DG3": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg4.html b/docs/document_reader/EPassportDataGroups/dg4.html deleted file mode 100644 index a70d74c160..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg4.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg4 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg4
- -
- -
-
-
- -
-
-

dg4 property -

- - - -
- -
- - bool - dg4 - - -
- - - - -
-

Implementation

-
bool get dg4 => _dg4;
-
- -
- - - -
- -
- - void - dg4=(bool val) - - -
- - - - -
-

Implementation

-
set dg4(bool val) {
-  _dg4 = val;
-  _set({"DG4": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg5.html b/docs/document_reader/EPassportDataGroups/dg5.html deleted file mode 100644 index 5a183f9279..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg5.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg5 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg5
- -
- -
-
-
- -
-
-

dg5 property -

- - - -
- -
- - bool - dg5 - - -
- - - - -
-

Implementation

-
bool get dg5 => _dg5;
-
- -
- - - -
- -
- - void - dg5=(bool val) - - -
- - - - -
-

Implementation

-
set dg5(bool val) {
-  _dg5 = val;
-  _set({"DG5": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg6.html b/docs/document_reader/EPassportDataGroups/dg6.html deleted file mode 100644 index 0cbe4394aa..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg6.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg6 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg6
- -
- -
-
-
- -
-
-

dg6 property -

- - - -
- -
- - bool - dg6 - - -
- - - - -
-

Implementation

-
bool get dg6 => _dg6;
-
- -
- - - -
- -
- - void - dg6=(bool val) - - -
- - - - -
-

Implementation

-
set dg6(bool val) {
-  _dg6 = val;
-  _set({"DG6": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg7.html b/docs/document_reader/EPassportDataGroups/dg7.html deleted file mode 100644 index bbe288af10..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg7.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg7 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg7
- -
- -
-
-
- -
-
-

dg7 property -

- - - -
- -
- - bool - dg7 - - -
- - - - -
-

Implementation

-
bool get dg7 => _dg7;
-
- -
- - - -
- -
- - void - dg7=(bool val) - - -
- - - - -
-

Implementation

-
set dg7(bool val) {
-  _dg7 = val;
-  _set({"DG7": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg8.html b/docs/document_reader/EPassportDataGroups/dg8.html deleted file mode 100644 index caeb908206..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg8.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg8 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg8
- -
- -
-
-
- -
-
-

dg8 property -

- - - -
- -
- - bool - dg8 - - -
- - - - -
-

Implementation

-
bool get dg8 => _dg8;
-
- -
- - - -
- -
- - void - dg8=(bool val) - - -
- - - - -
-

Implementation

-
set dg8(bool val) {
-  _dg8 = val;
-  _set({"DG8": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/dg9.html b/docs/document_reader/EPassportDataGroups/dg9.html deleted file mode 100644 index 1831e72b04..0000000000 --- a/docs/document_reader/EPassportDataGroups/dg9.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - dg9 property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg9
- -
- -
-
-
- -
-
-

dg9 property -

- - - -
- -
- - bool - dg9 - - -
- - - - -
-

Implementation

-
bool get dg9 => _dg9;
-
- -
- - - -
- -
- - void - dg9=(bool val) - - -
- - - - -
-

Implementation

-
set dg9(bool val) {
-  _dg9 = val;
-  _set({"DG9": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/fromJson.html b/docs/document_reader/EPassportDataGroups/fromJson.html deleted file mode 100644 index a95241d660..0000000000 --- a/docs/document_reader/EPassportDataGroups/fromJson.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - fromJson method - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -EPassportDataGroups -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static EPassportDataGroups fromJson(jsonObject) {
-  var result = EPassportDataGroups();
-  result.testSetters = {};
-
-  result.dg1 = jsonObject["DG1"];
-  result.dg2 = jsonObject["DG2"];
-  result.dg3 = jsonObject["DG3"];
-  result.dg4 = jsonObject["DG4"];
-  result.dg5 = jsonObject["DG5"];
-  result.dg6 = jsonObject["DG6"];
-  result.dg7 = jsonObject["DG7"];
-  result.dg8 = jsonObject["DG8"];
-  result.dg9 = jsonObject["DG9"];
-  result.dg10 = jsonObject["DG10"];
-  result.dg11 = jsonObject["DG11"];
-  result.dg12 = jsonObject["DG12"];
-  result.dg13 = jsonObject["DG13"];
-  result.dg14 = jsonObject["DG14"];
-  result.dg15 = jsonObject["DG15"];
-  result.dg16 = jsonObject["DG16"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/testSetters.html b/docs/document_reader/EPassportDataGroups/testSetters.html deleted file mode 100644 index 8ccb088b04..0000000000 --- a/docs/document_reader/EPassportDataGroups/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/EPassportDataGroups/toJson.html b/docs/document_reader/EPassportDataGroups/toJson.html deleted file mode 100644 index 5a917b3c0b..0000000000 --- a/docs/document_reader/EPassportDataGroups/toJson.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - toJson method - EPassportDataGroups class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "DG1": dg1,
-      "DG2": dg2,
-      "DG3": dg3,
-      "DG4": dg4,
-      "DG5": dg5,
-      "DG6": dg6,
-      "DG7": dg7,
-      "DG8": dg8,
-      "DG9": dg9,
-      "DG10": dg10,
-      "DG11": dg11,
-      "DG12": dg12,
-      "DG13": dg13,
-      "DG14": dg14,
-      "DG15": dg15,
-      "DG16": dg16,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ErrorCodes-enum-sidebar.html b/docs/document_reader/ErrorCodes-enum-sidebar.html deleted file mode 100644 index 491750638b..0000000000 --- a/docs/document_reader/ErrorCodes-enum-sidebar.html +++ /dev/null @@ -1,70 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ErrorCodes
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. INITIALIZATION_CORE_ABSENT
  10. -
  11. INITIALIZATION_FAILED
  12. -
  13. INCORRECT_SCENARIO
  14. -
  15. NO_RESULT
  16. -
  17. REMOVE_DATABASE
  18. -
  19. FETCHING_DATABASE
  20. -
  21. DB_ID_NOT_FOUND
  22. -
  23. DB_DESCRIPTION_NOT_FOUND
  24. -
  25. SAVE_DB
  26. -
  27. DOWNLOAD_DB_INCORRECT_CHECKSUM
  28. -
  29. DB_DOWNLOAD
  30. -
  31. DB_CREATION
  32. -
  33. RFID_ERROR
  34. -
  35. LICENSE_ABSENT_OR_CORRUPTED
  36. -
  37. LICENSE_INVALID_DATE
  38. -
  39. LICENSE_INVALID_VERSION
  40. -
  41. LICENSE_INVALID_DEVICE_ID
  42. -
  43. LICENSE_INVALID_SYSTEM_OR_APP_ID
  44. -
  45. LICENSE_NO_CAPABILITIES
  46. -
  47. LICENSE_NO_AUTHENTICITY
  48. -
  49. RECORD_PROCESS_INVALID_OUTPUT_URL
  50. -
  51. LICENSE_ONLINE_ERROR
  52. -
  53. LICENSE_NO_DATABASE
  54. -
  55. LICENSE_DATABASE_INCORRECT
  56. -
  57. INVALID_TCC_PARAMS
  58. -
  59. RFID_IN_PROGRESS
  60. -
  61. START_BACKEND_PROCESSING
  62. -
  63. ADD_DATA_TO_PACKAGE
  64. -
  65. FINALIZE_FAILED
  66. -
  67. CAMERA_NO_PERMISSION
  68. -
  69. CAMERA_NOT_AVAILABLE
  70. -
  71. BACKEND_ONLINE_PROCESSING
  72. -
  73. WRONG_INPUT
  74. -
  75. STATE_EXCEPTION
  76. -
  77. BLE_EXCEPTION
  78. -
  79. FEATURE_BLUETOOTH_LE_NOT_SUPPORTED
  80. -
  81. APP_BACKGROUND
  82. -
  83. ONLINE_PROCESSING_WRONG_INPUT
  84. -
  85. NATIVE_JAVA_EXCEPTION
  86. - -
  87. - Properties -
  88. -
  89. hashCode
  90. -
  91. index
  92. -
  93. runtimeType
  94. -
  95. value
  96. - -
  97. Methods
  98. -
  99. noSuchMethod
  100. -
  101. toString
  102. - -
  103. Operators
  104. -
  105. operator ==
  106. - - - -
  107. Static methods
  108. -
  109. getByValue
  110. - -
  111. Constants
  112. -
  113. values
  114. -
diff --git a/docs/document_reader/ErrorCodes.html b/docs/document_reader/ErrorCodes.html deleted file mode 100644 index 1d7f9fd630..0000000000 --- a/docs/document_reader/ErrorCodes.html +++ /dev/null @@ -1,915 +0,0 @@ - - - - - - - - ErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ErrorCodes
- -
- -
-
-
- -
-
- -

- ErrorCodes - enum - - -

-
- - -
-

Enum contains all possible error codes

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ErrorCodes(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const ErrorCodes - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- ErrorCodes(-1) -
-
- -
- INITIALIZATION_CORE_ABSENT - → const ErrorCodes - - -
-
-

A Core framework is absent.

- - -
- ErrorCodes(0) -
-
- -
- INITIALIZATION_FAILED - → const ErrorCodes - - -
-
-

The reader is not initialized or an unknown initialization error occured.

- - -
- ErrorCodes(1) -
-
- -
- INCORRECT_SCENARIO - → const ErrorCodes - - -
-
-

This scenario is not supported based on your license and Core framework -capabilities.

- - -
- ErrorCodes(2) -
-
- -
- NO_RESULT - → const ErrorCodes - - -
-
-

There are no results after recognition of camera frames.

- - -
- ErrorCodes(3) -
-
- -
- REMOVE_DATABASE - → const ErrorCodes - - -
-
-

An error is encountered during database removal.

- - -
- ErrorCodes(4) -
-
- -
- FETCHING_DATABASE - → const ErrorCodes - - -
-
-

An error is encountered during database download.

- - -
- ErrorCodes(5) -
-
- -
- DB_ID_NOT_FOUND - → const ErrorCodes - - -
-
-

An incorrect database ID.

- - -
- ErrorCodes(6) -
-
- -
- DB_DESCRIPTION_NOT_FOUND - → const ErrorCodes - - -
-
-

An incorrect database ID.

- - -
- ErrorCodes(7) -
-
- -
- SAVE_DB - → const ErrorCodes - - -
-
-

An error is encountered during database save on your device.

- - -
- ErrorCodes(8) -
-
- -
- DOWNLOAD_DB_INCORRECT_CHECKSUM - → const ErrorCodes - - -
-
-

A database is corrupted.

- - -
- ErrorCodes(9) -
-
- -
- DB_DOWNLOAD - → const ErrorCodes - - -
-
-

A database is corrupted.

- - -
- ErrorCodes(10) -
-
- -
- DB_CREATION - → const ErrorCodes - - -
-
-

Deprecated.

- - -
- ErrorCodes(11) -
-
- -
- RFID_ERROR - → const ErrorCodes - - -
-
-

An RFID error.

- - -
- ErrorCodes(12) -
-
- -
- LICENSE_ABSENT_OR_CORRUPTED - → const ErrorCodes - - -
-
-

A license is absent or corrupted.

- - -
- ErrorCodes(13) -
-
- -
- LICENSE_INVALID_DATE - → const ErrorCodes - - -
-
-

An invalid date, i.e. the license may be expired, or the date and time of -set on the device doesn't correspond to reality.

- - -
- ErrorCodes(14) -
-
- -
- LICENSE_INVALID_VERSION - → const ErrorCodes - - -
-
-

An invalid version.

- - -
- ErrorCodes(15) -
-
- -
- LICENSE_INVALID_DEVICE_ID - → const ErrorCodes - - -
-
-

An invalid device ID.

- - -
- ErrorCodes(16) -
-
- -
- LICENSE_INVALID_SYSTEM_OR_APP_ID - → const ErrorCodes - - -
-
-

An invalid OS or application ID.

- - -
- ErrorCodes(17) -
-
- -
- LICENSE_NO_CAPABILITIES - → const ErrorCodes - - -
-
-

There are no capabilities for this functionality in your license.

- - -
- ErrorCodes(18) -
-
- -
- LICENSE_NO_AUTHENTICITY - → const ErrorCodes - - -
-
-

There are no authenticity capabilities in your license.

- - -
- ErrorCodes(19) -
-
- -
- RECORD_PROCESS_INVALID_OUTPUT_URL - → const ErrorCodes - - -
-
-

An invalid URL of the video during its generating.

- - -
- ErrorCodes(20) -
-
- -
- LICENSE_ONLINE_ERROR - → const ErrorCodes - - -
-
-

Something went wrong with online license processing.

- - -
- ErrorCodes(21) -
-
- -
- LICENSE_NO_DATABASE - → const ErrorCodes - - -
-
-

db.dat is absent.

- - -
- ErrorCodes(22) -
-
- -
- LICENSE_DATABASE_INCORRECT - → const ErrorCodes - - -
-
-

db.dat is incorrect.

- - -
- ErrorCodes(23) -
-
- -
- INVALID_TCC_PARAMS - → const ErrorCodes - - -
-
-

Failed to set TCC params.

- - -
- ErrorCodes(24) -
-
- -
- RFID_IN_PROGRESS - → const ErrorCodes - - -
-
-

The operation failed due to RFID reading has already started.

- - -
- ErrorCodes(25) -
-
- -
- START_BACKEND_PROCESSING - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(26) -
-
- -
- ADD_DATA_TO_PACKAGE - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(27) -
-
- -
- FINALIZE_FAILED - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(28) -
-
- -
- CAMERA_NO_PERMISSION - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(29) -
-
- -
- CAMERA_NOT_AVAILABLE - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(30) -
-
- -
- BACKEND_ONLINE_PROCESSING - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(303) -
-
- -
- WRONG_INPUT - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(400) -
-
- -
- STATE_EXCEPTION - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(500) -
-
- -
- BLE_EXCEPTION - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(600) -
-
- -
- FEATURE_BLUETOOTH_LE_NOT_SUPPORTED - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(601) -
-
- -
- APP_BACKGROUND - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(700) -
-
- -
- ONLINE_PROCESSING_WRONG_INPUT - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(800) -
-
- -
- NATIVE_JAVA_EXCEPTION - → const ErrorCodes - - -
-
- - - -
- ErrorCodes(1000) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - ErrorCodes? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ErrorCodes> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, INITIALIZATION_CORE_ABSENT, INITIALIZATION_FAILED, INCORRECT_SCENARIO, NO_RESULT, REMOVE_DATABASE, FETCHING_DATABASE, DB_ID_NOT_FOUND, DB_DESCRIPTION_NOT_FOUND, SAVE_DB, DOWNLOAD_DB_INCORREC… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ErrorCodes/ErrorCodes.html b/docs/document_reader/ErrorCodes/ErrorCodes.html deleted file mode 100644 index dcdd702fc7..0000000000 --- a/docs/document_reader/ErrorCodes/ErrorCodes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ErrorCodes constructor - ErrorCodes - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ErrorCodes
- -
- -
-
-
- -
-
-

ErrorCodes constructor -

- -
- const - ErrorCodes(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ErrorCodes
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ErrorCodes/value.html b/docs/document_reader/ErrorCodes/value.html deleted file mode 100644 index fe1098c57d..0000000000 --- a/docs/document_reader/ErrorCodes/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ErrorCodes/values-constant.html b/docs/document_reader/ErrorCodes/values-constant.html deleted file mode 100644 index 08af8d64bd..0000000000 --- a/docs/document_reader/ErrorCodes/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ErrorCodes> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension-class-sidebar.html b/docs/document_reader/Extension-class-sidebar.html deleted file mode 100644 index 416a9b9e09..0000000000 --- a/docs/document_reader/Extension-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Extension
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. hashCode
  10. -
  11. runtimeType
  12. -
  13. type
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/Extension-class.html b/docs/document_reader/Extension-class.html deleted file mode 100644 index cbabfa8975..0000000000 --- a/docs/document_reader/Extension-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - Extension class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Extension
- -
- -
-
-
- -
-
-

Extension class - -

- - - - - - -
-

Constructors

- -
-
- Extension() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - String? - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Extension? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension/Extension.html b/docs/document_reader/Extension/Extension.html deleted file mode 100644 index 8f5c675743..0000000000 --- a/docs/document_reader/Extension/Extension.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Extension constructor - Extension - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Extension
- -
- -
-
-
- -
-
-

Extension constructor -

- -
- - Extension() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension/data.html b/docs/document_reader/Extension/data.html deleted file mode 100644 index f81bcb036b..0000000000 --- a/docs/document_reader/Extension/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - Extension class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String? - data - - -
- - - - -
-

Implementation

-
String? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension/fromJson.html b/docs/document_reader/Extension/fromJson.html deleted file mode 100644 index ee332b3197..0000000000 --- a/docs/document_reader/Extension/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - Extension class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Extension? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Extension? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Extension();
-
-  result._data = jsonObject["data"];
-  result._type = jsonObject["type"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension/toJson.html b/docs/document_reader/Extension/toJson.html deleted file mode 100644 index aad9ad4a32..0000000000 --- a/docs/document_reader/Extension/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - Extension class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "type": type,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Extension/type.html b/docs/document_reader/Extension/type.html deleted file mode 100644 index 09bbaae15e..0000000000 --- a/docs/document_reader/Extension/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - Extension class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - String? - type - - -
- - - - -
-

Implementation

-
String? get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams-class-sidebar.html b/docs/document_reader/FaceApiParams-class-sidebar.html deleted file mode 100644 index 02869b7ae3..0000000000 --- a/docs/document_reader/FaceApiParams-class-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FaceApiParams
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. mode
  10. -
  11. proxy
  12. -
  13. proxyPassword
  14. -
  15. proxyType
  16. -
  17. runtimeType
  18. -
  19. searchParams
  20. -
  21. serviceTimeout
  22. -
  23. threshold
  24. -
  25. url
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toJson
  32. -
  33. toString
  34. - -
  35. Operators
  36. -
  37. operator ==
  38. - - - -
  39. Static methods
  40. -
  41. fromJson
  42. - -
diff --git a/docs/document_reader/FaceApiParams-class.html b/docs/document_reader/FaceApiParams-class.html deleted file mode 100644 index 3c8b98b6e4..0000000000 --- a/docs/document_reader/FaceApiParams-class.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FaceApiParams
- -
- -
-
-
- -
-
-

FaceApiParams class - -

- - - - - - -
-

Constructors

- -
-
- FaceApiParams({String url = "https://faceapi.regulaforensics.com", String mode = "match", int threshold = 75, FaceApiSearchParams? searchParams, int serviceTimeout = 3000, String? proxy, String? proxyPassword, int? proxyType}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- mode - String - -
-
- The processing mode: "match" or "match+search". -
no setter
- -
- -
- proxy - String? - -
-
- Proxy to use, should be set according to the cURL standart. -
no setter
- -
- -
- proxyPassword - String? - -
-
- Username and password to use for proxy authentication, -should be set according to the cURL standart. -
no setter
- -
- -
- proxyType - int? - -
-
- Proxy protocol type, should be set according to the cURL standart. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- searchParams - FaceApiSearchParams? - -
-
- A search filter that can be applied if the "match+search" mode is enabled. -
no setter
- -
- -
- serviceTimeout - int - -
-
- The service request timeout, ms. -
no setter
- -
- -
- threshold - int - -
-
- The similarity threshold, 0-100. Above 75 means that the faces' similarity -is verified, below 75 is not. -
no setter
- -
- -
- url - String - -
-
- The URL of the Regula Face SDK service instance to be used. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - FaceApiParams? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/FaceApiParams.html b/docs/document_reader/FaceApiParams/FaceApiParams.html deleted file mode 100644 index 91c8a97be1..0000000000 --- a/docs/document_reader/FaceApiParams/FaceApiParams.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - FaceApiParams constructor - FaceApiParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FaceApiParams
- -
- -
-
-
- -
-
-

FaceApiParams constructor -

- -
- - FaceApiParams(
  1. {String url = "https://faceapi.regulaforensics.com",
  2. -
  3. String mode = "match",
  4. -
  5. int threshold = 75,
  6. -
  7. FaceApiSearchParams? searchParams,
  8. -
  9. int serviceTimeout = 3000,
  10. -
  11. String? proxy,
  12. -
  13. String? proxyPassword,
  14. -
  15. int? proxyType}
  16. -
) -
- - - - - -
-

Implementation

-
FaceApiParams
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/fromJson.html b/docs/document_reader/FaceApiParams/fromJson.html deleted file mode 100644 index e822ab1a21..0000000000 --- a/docs/document_reader/FaceApiParams/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -FaceApiParams? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static FaceApiParams? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return FaceApiParams(
-      url: jsonObject["url"],
-      mode: jsonObject["mode"],
-      searchParams: FaceApiSearchParams.fromJson(jsonObject["searchParams"]),
-      threshold: jsonObject["threshold"],
-      serviceTimeout: jsonObject["serviceTimeout"],
-      proxy: jsonObject["proxy"],
-      proxyPassword: jsonObject["proxyPassword"],
-      proxyType: jsonObject["proxyType"]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/mode.html b/docs/document_reader/FaceApiParams/mode.html deleted file mode 100644 index c30707941e..0000000000 --- a/docs/document_reader/FaceApiParams/mode.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - mode property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mode
- -
- -
-
-
- -
-
-

mode property -

- - - -
- -
- - String - mode - - -
- - -
-

The processing mode: "match" or "match+search".

-
- - -
-

Implementation

-
String get mode => _mode;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/proxy.html b/docs/document_reader/FaceApiParams/proxy.html deleted file mode 100644 index fa4c1ff000..0000000000 --- a/docs/document_reader/FaceApiParams/proxy.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - proxy property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
proxy
- -
- -
-
-
- -
-
-

proxy property -

- - - -
- -
- - String? - proxy - - -
- - -
-

Proxy to use, should be set according to the cURL standart.

-
- - -
-

Implementation

-
String? get proxy => _proxy;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/proxyPassword.html b/docs/document_reader/FaceApiParams/proxyPassword.html deleted file mode 100644 index 5871099896..0000000000 --- a/docs/document_reader/FaceApiParams/proxyPassword.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - proxyPassword property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
proxyPassword
- -
- -
-
-
- -
-
-

proxyPassword property -

- - - -
- -
- - String? - proxyPassword - - -
- - -
-

Username and password to use for proxy authentication, -should be set according to the cURL standart.

-
- - -
-

Implementation

-
String? get proxyPassword => _proxyPassword;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/proxyType.html b/docs/document_reader/FaceApiParams/proxyType.html deleted file mode 100644 index 47db04174d..0000000000 --- a/docs/document_reader/FaceApiParams/proxyType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - proxyType property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
proxyType
- -
- -
-
-
- -
-
-

proxyType property -

- - - -
- -
- - int? - proxyType - - -
- - -
-

Proxy protocol type, should be set according to the cURL standart.

-
- - -
-

Implementation

-
int? get proxyType => _proxyType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/searchParams.html b/docs/document_reader/FaceApiParams/searchParams.html deleted file mode 100644 index a9d3e651d7..0000000000 --- a/docs/document_reader/FaceApiParams/searchParams.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - searchParams property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
searchParams
- -
- -
-
-
- -
-
-

searchParams property -

- - - -
- -
- - FaceApiSearchParams? - searchParams - - -
- - -
-

A search filter that can be applied if the "match+search" mode is enabled.

-
- - -
-

Implementation

-
FaceApiSearchParams? get searchParams => _searchParams;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/serviceTimeout.html b/docs/document_reader/FaceApiParams/serviceTimeout.html deleted file mode 100644 index 9ed7ac4622..0000000000 --- a/docs/document_reader/FaceApiParams/serviceTimeout.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - serviceTimeout property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
serviceTimeout
- -
- -
-
-
- -
-
-

serviceTimeout property -

- - - -
- -
- - int - serviceTimeout - - -
- - -
-

The service request timeout, ms.

-
- - -
-

Implementation

-
int get serviceTimeout => _serviceTimeout;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/threshold.html b/docs/document_reader/FaceApiParams/threshold.html deleted file mode 100644 index 8eb32ace06..0000000000 --- a/docs/document_reader/FaceApiParams/threshold.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - threshold property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
threshold
- -
- -
-
-
- -
-
-

threshold property -

- - - -
- -
- - int - threshold - - -
- - -
-

The similarity threshold, 0-100. Above 75 means that the faces' similarity -is verified, below 75 is not.

-
- - -
-

Implementation

-
int get threshold => _threshold;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/toJson.html b/docs/document_reader/FaceApiParams/toJson.html deleted file mode 100644 index 89aca3f774..0000000000 --- a/docs/document_reader/FaceApiParams/toJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - toJson method - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "url": url,
-      "mode": mode,
-      "threshold": threshold,
-      "serviceTimeout": serviceTimeout,
-      "proxy": proxy,
-      "proxyPassword": proxyPassword,
-      "proxyType": proxyType,
-      "searchParams": searchParams?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiParams/url.html b/docs/document_reader/FaceApiParams/url.html deleted file mode 100644 index 9401bc9bed..0000000000 --- a/docs/document_reader/FaceApiParams/url.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - url property - FaceApiParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
url
- -
- -
-
-
- -
-
-

url property -

- - - -
- -
- - String - url - - -
- - -
-

The URL of the Regula Face SDK service instance to be used.

-
- - -
-

Implementation

-
String get url => _url;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams-class-sidebar.html b/docs/document_reader/FaceApiSearchParams-class-sidebar.html deleted file mode 100644 index 1aaec80bf3..0000000000 --- a/docs/document_reader/FaceApiSearchParams-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FaceApiSearchParams
  4. - - -
  5. - Properties -
  6. -
  7. groupIds
  8. -
  9. hashCode
  10. -
  11. limit
  12. -
  13. runtimeType
  14. -
  15. threshold
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/FaceApiSearchParams-class.html b/docs/document_reader/FaceApiSearchParams-class.html deleted file mode 100644 index b2ebb743c2..0000000000 --- a/docs/document_reader/FaceApiSearchParams-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FaceApiSearchParams
- -
- -
-
-
- -
-
-

FaceApiSearchParams class - -

- - - - - - -
-

Constructors

- -
-
- FaceApiSearchParams({int limit = 100, double threshold = 1, List<int>? groupIds}) -
-
- -
-
-
- -
-

Properties

- -
-
- groupIds - List<int>? - -
-
- The IDs of the groups in which the search is performed. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- limit - int - -
-
- The number of returned Persons limit. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- threshold - double - -
-
- The similarity distance threshold, should be between 0.0 and 2.0, -where 0.0 is for returning results for only the most similar persons -and 2.0 is for all the persons, even the dissimilar ones. -If not set, the default 1.0 value is used. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - FaceApiSearchParams? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/FaceApiSearchParams.html b/docs/document_reader/FaceApiSearchParams/FaceApiSearchParams.html deleted file mode 100644 index ddbb119e7c..0000000000 --- a/docs/document_reader/FaceApiSearchParams/FaceApiSearchParams.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - FaceApiSearchParams constructor - FaceApiSearchParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FaceApiSearchParams
- -
- -
-
-
- -
-
-

FaceApiSearchParams constructor -

- -
- - FaceApiSearchParams(
  1. {int limit = 100,
  2. -
  3. double threshold = 1,
  4. -
  5. List<int>? groupIds}
  6. -
) -
- - - - - -
-

Implementation

-
FaceApiSearchParams
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/fromJson.html b/docs/document_reader/FaceApiSearchParams/fromJson.html deleted file mode 100644 index 05fe6af99e..0000000000 --- a/docs/document_reader/FaceApiSearchParams/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -FaceApiSearchParams? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static FaceApiSearchParams? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return FaceApiSearchParams(
-    limit: jsonObject["limit"],
-    threshold: _toDouble(jsonObject["threshold"])!,
-    groupIds: jsonObject["groupIds"] == null
-        ? null
-        : List<int>.from(jsonObject["groupIds"]),
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/groupIds.html b/docs/document_reader/FaceApiSearchParams/groupIds.html deleted file mode 100644 index 83d86e6d9e..0000000000 --- a/docs/document_reader/FaceApiSearchParams/groupIds.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - groupIds property - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
groupIds
- -
- -
-
-
- -
-
-

groupIds property -

- - - -
- -
- - List<int>? - groupIds - - -
- - -
-

The IDs of the groups in which the search is performed.

-
- - -
-

Implementation

-
List<int>? get groupIds => _groupIds;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/limit.html b/docs/document_reader/FaceApiSearchParams/limit.html deleted file mode 100644 index 5543f67327..0000000000 --- a/docs/document_reader/FaceApiSearchParams/limit.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - limit property - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
limit
- -
- -
-
-
- -
-
-

limit property -

- - - -
- -
- - int - limit - - -
- - -
-

The number of returned Persons limit.

-
- - -
-

Implementation

-
int get limit => _limit;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/threshold.html b/docs/document_reader/FaceApiSearchParams/threshold.html deleted file mode 100644 index a8255d748c..0000000000 --- a/docs/document_reader/FaceApiSearchParams/threshold.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - threshold property - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
threshold
- -
- -
-
-
- -
-
-

threshold property -

- - - -
- -
- - double - threshold - - -
- - -
-

The similarity distance threshold, should be between 0.0 and 2.0, -where 0.0 is for returning results for only the most similar persons -and 2.0 is for all the persons, even the dissimilar ones. -If not set, the default 1.0 value is used.

-
- - -
-

Implementation

-
double get threshold => _threshold;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FaceApiSearchParams/toJson.html b/docs/document_reader/FaceApiSearchParams/toJson.html deleted file mode 100644 index e472295c83..0000000000 --- a/docs/document_reader/FaceApiSearchParams/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - FaceApiSearchParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "limit": limit,
-      "threshold": threshold,
-      "groupIds": groupIds,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FieldType-enum-sidebar.html b/docs/document_reader/FieldType-enum-sidebar.html deleted file mode 100644 index 6f56b83a62..0000000000 --- a/docs/document_reader/FieldType-enum-sidebar.html +++ /dev/null @@ -1,666 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FieldType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. DOCUMENT_CLASS_CODE
  10. -
  11. ISSUING_STATE_CODE
  12. -
  13. DOCUMENT_NUMBER
  14. -
  15. DATE_OF_EXPIRY
  16. -
  17. DATE_OF_ISSUE
  18. -
  19. DATE_OF_BIRTH
  20. -
  21. PLACE_OF_BIRTH
  22. -
  23. PERSONAL_NUMBER
  24. -
  25. SURNAME
  26. -
  27. GIVEN_NAMES
  28. -
  29. MOTHERS_NAME
  30. -
  31. NATIONALITY
  32. -
  33. SEX
  34. -
  35. HEIGHT
  36. -
  37. WEIGHT
  38. -
  39. EYES_COLOR
  40. -
  41. HAIR_COLOR
  42. -
  43. ADDRESS
  44. -
  45. DONOR
  46. -
  47. SOCIAL_SECURITY_NUMBER
  48. -
  49. DL_CLASS
  50. -
  51. DL_ENDORSED
  52. -
  53. DL_RESTRICTION_CODE
  54. -
  55. DL_UNDER_21_DATE
  56. -
  57. AUTHORITY
  58. -
  59. SURNAME_AND_GIVEN_NAMES
  60. -
  61. NATIONALITY_CODE
  62. -
  63. PASSPORT_NUMBER
  64. -
  65. INVITATION_NUMBER
  66. -
  67. VISA_ID
  68. -
  69. VISA_CLASS
  70. -
  71. VISA_SUB_CLASS
  72. -
  73. MRZ_STRING_1
  74. -
  75. MRZ_STRING_2
  76. -
  77. MRZ_STRING_3
  78. -
  79. MRZ_TYPE
  80. -
  81. OPTIONAL_DATA
  82. -
  83. DOCUMENT_CLASS_NAME
  84. -
  85. ISSUING_STATE_NAME
  86. -
  87. PLACE_OF_ISSUE
  88. -
  89. DOCUMENT_NUMBER_CHECKSUM
  90. -
  91. DATE_OF_BIRTH_CHECKSUM
  92. -
  93. DATE_OF_EXPIRY_CHECKSUM
  94. -
  95. PERSONAL_NUMBER_CHECKSUM
  96. -
  97. FINAL_CHECKSUM
  98. -
  99. PASSPORT_NUMBER_CHECKSUM
  100. -
  101. INVITATION_NUMBER_CHECKSUM
  102. -
  103. VISA_ID_CHECKSUM
  104. -
  105. SURNAME_AND_GIVEN_NAMES_CHECKSUM
  106. -
  107. VISA_VALID_UNTIL_CHECKSUM
  108. -
  109. OTHER
  110. -
  111. MRZ_STRINGS
  112. -
  113. NAME_SUFFIX
  114. -
  115. NAME_PREFIX
  116. -
  117. DATE_OF_ISSUE_CHECKSUM
  118. -
  119. DATE_OF_ISSUE_CHECK_DIGIT
  120. -
  121. DOCUMENT_SERIES
  122. -
  123. REG_CERT_REG_NUMBER
  124. -
  125. REG_CERT_CAR_MODEL
  126. -
  127. REG_CERT_CAR_COLOR
  128. -
  129. REG_CERT_BODY_NUMBER
  130. -
  131. REG_CERT_CAR_TYPE
  132. -
  133. REG_CERT_MAX_WEIGHT
  134. -
  135. REG_CERT_WEIGHT
  136. -
  137. ADDRESS_AREA
  138. -
  139. ADDRESS_STATE
  140. -
  141. ADDRESS_BUILDING
  142. -
  143. ADDRESS_HOUSE
  144. -
  145. ADDRESS_FLAT
  146. -
  147. PLACE_OF_REGISTRATION
  148. -
  149. DATE_OF_REGISTRATION
  150. -
  151. RESIDENT_FROM
  152. -
  153. RESIDENT_UNTIL
  154. -
  155. AUTHORITY_CODE
  156. -
  157. PLACE_OF_BIRTH_AREA
  158. -
  159. PLACE_OF_BIRTH_STATE_CODE
  160. -
  161. ADDRESS_STREET
  162. -
  163. ADDRESS_CITY
  164. -
  165. ADDRESS_JURISDICTION_CODE
  166. -
  167. ADDRESS_POSTAL_CODE
  168. -
  169. DOCUMENT_NUMBER_CHECK_DIGIT
  170. -
  171. DATE_OF_BIRTH_CHECK_DIGIT
  172. -
  173. DATE_OF_EXPIRY_CHECK_DIGIT
  174. -
  175. PERSONAL_NUMBER_CHECK_DIGIT
  176. -
  177. FINAL_CHECK_DIGIT
  178. -
  179. PASSPORT_NUMBER_CHECK_DIGIT
  180. -
  181. INVITATION_NUMBER_CHECK_DIGIT
  182. -
  183. VISA_ID_CHECK_DIGIT
  184. -
  185. SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT
  186. -
  187. VISA_VALID_UNTIL_CHECK_DIGIT
  188. -
  189. PERMIT_DL_CLASS
  190. -
  191. PERMIT_DATE_OF_EXPIRY
  192. -
  193. PERMIT_IDENTIFIER
  194. -
  195. PERMIT_DATE_OF_ISSUE
  196. -
  197. PERMIT_RESTRICTION_CODE
  198. -
  199. PERMIT_ENDORSED
  200. -
  201. ISSUE_TIMESTAMP
  202. -
  203. NUMBER_OF_DUPLICATES
  204. -
  205. MEDICAL_INDICATOR_CODES
  206. -
  207. NON_RESIDENT_INDICATOR
  208. -
  209. VISA_TYPE
  210. -
  211. VISA_VALID_FROM
  212. -
  213. VISA_VALID_UNTIL
  214. -
  215. DURATION_OF_STAY
  216. -
  217. NUMBER_OF_ENTRIES
  218. -
  219. DAY
  220. -
  221. MONTH
  222. -
  223. YEAR
  224. -
  225. UNIQUE_CUSTOMER_IDENTIFIER
  226. -
  227. COMMERCIAL_VEHICLE_CODES
  228. -
  229. AKA_DATE_OF_BIRTH
  230. -
  231. AKA_SOCIAL_SECURITY_NUMBER
  232. -
  233. AKA_SURNAME
  234. -
  235. AKA_GIVEN_NAMES
  236. -
  237. AKA_NAME_SUFFIX
  238. -
  239. AKA_NAME_PREFIX
  240. -
  241. MAILING_ADDRESS_STREET
  242. -
  243. MAILING_ADDRESS_CITY
  244. -
  245. MAILING_ADDRESS_JURISDICTION_CODE
  246. -
  247. MAILING_ADDRESS_POSTAL_CODE
  248. -
  249. AUDIT_INFORMATION
  250. -
  251. INVENTORY_NUMBER
  252. -
  253. RACE_ETHNICITY
  254. -
  255. JURISDICTION_VEHICLE_CLASS
  256. -
  257. JURISDICTION_ENDORSEMENT_CODE
  258. -
  259. JURISDICTION_RESTRICTION_CODE
  260. -
  261. FAMILY_NAME
  262. -
  263. GIVEN_NAMES_RUS
  264. -
  265. VISA_ID_RUS
  266. -
  267. FATHERS_NAME
  268. -
  269. FATHERS_NAME_RUS
  270. -
  271. SURNAME_AND_GIVEN_NAMES_RUS
  272. -
  273. PLACE_OF_BIRTH_RUS
  274. -
  275. AUTHORITY_RUS
  276. -
  277. ISSUING_STATE_CODE_NUMERIC
  278. -
  279. NATIONALITY_CODE_NUMERIC
  280. -
  281. ENGINE_POWER
  282. -
  283. ENGINE_VOLUME
  284. -
  285. CHASSIS_NUMBER
  286. -
  287. ENGINE_NUMBER
  288. -
  289. ENGINE_MODEL
  290. -
  291. VEHICLE_CATEGORY
  292. -
  293. IDENTITY_CARD_NUMBER
  294. -
  295. CONTROL_NO
  296. -
  297. PARRENTS_GIVEN_NAMES
  298. -
  299. SECOND_SURNAME
  300. -
  301. MIDDLE_NAME
  302. -
  303. REG_CERT_VIN
  304. -
  305. REG_CERT_VIN_CHECK_DIGIT
  306. -
  307. REG_CERT_VIN_CHECKSUM
  308. -
  309. LINE_1_CHECK_DIGIT
  310. -
  311. LINE_2_CHECK_DIGIT
  312. -
  313. LINE_3_CHECK_DIGIT
  314. -
  315. LINE_1_CHECKSUM
  316. -
  317. LINE_2_CHECKSUM
  318. -
  319. LINE_3_CHECKSUM
  320. -
  321. REG_CERT_REG_NUMBER_CHECK_DIGIT
  322. -
  323. REG_CERT_REG_NUMBER_CHECKSUM
  324. -
  325. REG_CERT_VEHICLE_ITS_CODE
  326. -
  327. CARD_ACCESS_NUMBER
  328. -
  329. MARITAL_STATUS
  330. -
  331. COMPANY_NAME
  332. -
  333. SPECIAL_NOTES
  334. -
  335. SURNAME_OF_SPOSE
  336. -
  337. TRACKING_NUMBER
  338. -
  339. BOOKLET_NUMBER
  340. -
  341. CHILDREN
  342. -
  343. COPY
  344. -
  345. SERIAL_NUMBER
  346. -
  347. DOSSIER_NUMBER
  348. -
  349. AKA_SURNAME_AND_GIVEN_NAMES
  350. -
  351. TERRITORIAL_VALIDITY
  352. -
  353. MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS
  354. -
  355. DL_CDL_RESTRICTION_CODE
  356. -
  357. DL_UNDER_18_DATE
  358. -
  359. DL_RECORD_CREATED
  360. -
  361. DL_DUPLICATE_DATE
  362. -
  363. DL_ISS_TYPE
  364. -
  365. MILITARY_BOOK_NUMBER
  366. -
  367. DESTINATION
  368. -
  369. BLOOD_GROUP
  370. -
  371. SEQUENCE_NUMBER
  372. -
  373. REG_CERT_BODY_TYPE
  374. -
  375. REG_CERT_CAR_MARK
  376. -
  377. TRANSACTION_NUMBER
  378. -
  379. AGE
  380. -
  381. FOLIO_NUMBER
  382. -
  383. VOTER_KEY
  384. -
  385. ADDRESS_MUNICIPALITY
  386. -
  387. ADDRESS_LOCATION
  388. -
  389. SECTION
  390. -
  391. OCR_NUMBER
  392. -
  393. FEDERAL_ELECTIONS
  394. -
  395. REFERENCE_NUMBER
  396. -
  397. OPTIONAL_DATA_CHECKSUM
  398. -
  399. OPTIONAL_DATA_CHECK_DIGIT
  400. -
  401. VISA_NUMBER
  402. -
  403. VISA_NUMBER_CHECKSUM
  404. -
  405. VISA_NUMBER_CHECK_DIGIT
  406. -
  407. VOTER
  408. -
  409. PREVIOUS_TYPE
  410. -
  411. FIELD_FROM_MRZ
  412. -
  413. CURRENT_DATE
  414. -
  415. STATUS_DATE_OF_EXPIRY
  416. -
  417. BANKNOTE_NUMBER
  418. -
  419. CSC_CODE
  420. -
  421. ARTISTIC_NAME
  422. -
  423. ACADEMIC_TITLE
  424. -
  425. ADDRESS_COUNTRY
  426. -
  427. ADDRESS_ZIPCODE
  428. -
  429. E_ID_RESIDENCE_PERMIT_1
  430. -
  431. E_ID_RESIDENCE_PERMIT_2
  432. -
  433. E_ID_PLACE_OF_BIRTH_STREET
  434. -
  435. E_ID_PLACE_OF_BIRTH_CITY
  436. -
  437. E_ID_PLACE_OF_BIRTH_STATE
  438. -
  439. E_ID_PLACE_OF_BIRTH_COUNTRY
  440. -
  441. E_ID_PLACE_OF_BIRTH_ZIPCODE
  442. -
  443. CDL_CLASS
  444. -
  445. DL_UNDER_19_DATE
  446. -
  447. WEIGHT_POUNDS
  448. -
  449. LIMITED_DURATION_DOCUMENT_INDICATOR
  450. -
  451. ENDORSEMENT_EXPIRATION_DATE
  452. -
  453. REVISION_DATE
  454. -
  455. COMPLIANCE_TYPE
  456. -
  457. FAMILY_NAME_TRUNCATION
  458. -
  459. FIRST_NAME_TRUNCATION
  460. -
  461. MIDDLE_NAME_TRUNCATION
  462. -
  463. EXAM_DATE
  464. -
  465. ORGANIZATION
  466. -
  467. DEPARTMENT
  468. -
  469. PAY_GRADE
  470. -
  471. RANK
  472. -
  473. BENEFITS_NUMBER
  474. -
  475. SPONSOR_SERVICE
  476. -
  477. SPONSOR_STATUS
  478. -
  479. SPONSOR
  480. -
  481. RELATIONSHIP
  482. -
  483. USCIS
  484. -
  485. CATEGORY
  486. -
  487. CONDITIONS
  488. -
  489. IDENTIFIER
  490. -
  491. CONFIGURATION
  492. -
  493. DISCRETIONARY_DATA
  494. -
  495. LINE_1_OPTIONAL_DATA
  496. -
  497. LINE_2_OPTIONAL_DATA
  498. -
  499. LINE_3_OPTIONAL_DATA
  500. -
  501. EQV_CODE
  502. -
  503. ALT_CODE
  504. -
  505. BINARY_CODE
  506. -
  507. PSEUDO_CODE
  508. -
  509. FEE
  510. -
  511. STAMP_NUMBER
  512. -
  513. SBH_SECURITYOPTIONS
  514. -
  515. SBH_INTEGRITYOPTIONS
  516. -
  517. DATE_OF_CREATION
  518. -
  519. VALIDITY_PERIOD
  520. -
  521. PATRON_HEADER_VERSION
  522. -
  523. BDB_TYPE
  524. -
  525. BIOMETRIC_TYPE
  526. -
  527. BIOMETRIC_SUBTYPE
  528. -
  529. BIOMETRIC_PRODUCTID
  530. -
  531. BIOMETRIC_FORMAT_OWNER
  532. -
  533. BIOMETRIC_FORMAT_TYPE
  534. -
  535. PHONE
  536. -
  537. PROFESSION
  538. -
  539. TITLE
  540. -
  541. PERSONAL_SUMMARY
  542. -
  543. OTHER_VALID_ID
  544. -
  545. CUSTODY_INFO
  546. -
  547. OTHER_NAME
  548. -
  549. OBSERVATIONS
  550. -
  551. TAX
  552. -
  553. DATE_OF_PERSONALIZATION
  554. -
  555. PERSONALIZATION_SN
  556. -
  557. OTHERPERSON_NAME
  558. -
  559. PERSONTONOTIFY_DATE_OF_RECORD
  560. -
  561. PERSONTONOTIFY_NAME
  562. -
  563. PERSONTONOTIFY_PHONE
  564. -
  565. PERSONTONOTIFY_ADDRESS
  566. -
  567. DS_CERTIFICATE_ISSUER
  568. -
  569. DS_CERTIFICATE_SUBJECT
  570. -
  571. DS_CERTIFICATE_VALIDFROM
  572. -
  573. DS_CERTIFICATE_VALIDTO
  574. -
  575. VRC_DATAOBJECT_ENTRY
  576. -
  577. TYPE_APPROVAL_NUMBER
  578. -
  579. ADMINISTRATIVE_NUMBER
  580. -
  581. DOCUMENT_DISCRIMINATOR
  582. -
  583. DATA_DISCRIMINATOR
  584. -
  585. ISO_ISSUER_ID_NUMBER
  586. -
  587. GNIB_NUMBER
  588. -
  589. DEPT_NUMBER
  590. -
  591. TELEX_CODE
  592. -
  593. ALLERGIES
  594. -
  595. SP_CODE
  596. -
  597. COURT_CODE
  598. -
  599. CTY
  600. -
  601. SPONSOR_SSN
  602. -
  603. DO_D_NUMBER
  604. -
  605. MC_NOVICE_DATE
  606. -
  607. DUF_NUMBER
  608. -
  609. AGY
  610. -
  611. PNR_CODE
  612. -
  613. FROM_AIRPORT_CODE
  614. -
  615. TO_AIRPORT_CODE
  616. -
  617. FLIGHT_NUMBER
  618. -
  619. DATE_OF_FLIGHT
  620. -
  621. SEAT_NUMBER
  622. -
  623. DATE_OF_ISSUE_BOARDING_PASS
  624. -
  625. CCW_UNTIL
  626. -
  627. REFERENCE_NUMBER_CHECKSUM
  628. -
  629. REFERENCE_NUMBER_CHECK_DIGIT
  630. -
  631. ROOM_NUMBER
  632. -
  633. RELIGION
  634. -
  635. REMAINDER_TERM
  636. -
  637. ELECTRONIC_TICKET_INDICATOR
  638. -
  639. COMPARTMENT_CODE
  640. -
  641. CHECK_IN_SEQUENCE_NUMBER
  642. -
  643. AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER
  644. -
  645. AIRLINE_NUMERIC_CODE
  646. -
  647. TICKET_NUMBER
  648. -
  649. FREQUENT_FLYER_AIRLINE_DESIGNATOR
  650. -
  651. FREQUENT_FLYER_NUMBER
  652. -
  653. FREE_BAGGAGE_ALLOWANCE
  654. -
  655. PDF_417_CODEC
  656. -
  657. IDENTITY_CARD_NUMBER_CHECKSUM
  658. -
  659. IDENTITY_CARD_NUMBER_CHECK_DIGIT
  660. -
  661. VETERAN
  662. -
  663. DL_CLASS_CODE_A_1_FROM
  664. -
  665. DL_CLASS_CODE_A_1_TO
  666. -
  667. DL_CLASS_CODE_A_1_NOTES
  668. -
  669. DL_CLASS_CODE_A_FROM
  670. -
  671. DL_CLASS_CODE_A_TO
  672. -
  673. DL_CLASS_CODE_A_NOTES
  674. -
  675. DL_CLASS_CODE_B_FROM
  676. -
  677. DL_CLASS_CODE_B_TO
  678. -
  679. DL_CLASS_CODE_B_NOTES
  680. -
  681. DL_CLASS_CODE_C_1_FROM
  682. -
  683. DL_CLASS_CODE_C_1_TO
  684. -
  685. DL_CLASS_CODE_C_1_NOTES
  686. -
  687. DL_CLASS_CODE_C_FROM
  688. -
  689. DL_CLASS_CODE_C_TO
  690. -
  691. DL_CLASS_CODE_C_NOTES
  692. -
  693. DL_CLASS_CODE_D_1_FROM
  694. -
  695. DL_CLASS_CODE_D_1_TO
  696. -
  697. DL_CLASS_CODE_D_1_NOTES
  698. -
  699. DL_CLASS_CODE_D_FROM
  700. -
  701. DL_CLASS_CODE_D_TO
  702. -
  703. DL_CLASS_CODE_D_NOTES
  704. -
  705. DL_CLASS_CODE_BE_FROM
  706. -
  707. DL_CLASS_CODE_BE_TO
  708. -
  709. DL_CLASS_CODE_BE_NOTES
  710. -
  711. DL_CLASS_CODE_C_1_E_FROM
  712. -
  713. DL_CLASS_CODE_C_1_E_TO
  714. -
  715. DL_CLASS_CODE_C_1_E_NOTES
  716. -
  717. DL_CLASS_CODE_CE_FROM
  718. -
  719. DL_CLASS_CODE_CE_TO
  720. -
  721. DL_CLASS_CODE_CE_NOTES
  722. -
  723. DL_CLASS_CODE_D_1_E_FROM
  724. -
  725. DL_CLASS_CODE_D_1_E_TO
  726. -
  727. DL_CLASS_CODE_D_1_E_NOTES
  728. -
  729. DL_CLASS_CODE_DE_FROM
  730. -
  731. DL_CLASS_CODE_DE_TO
  732. -
  733. DL_CLASS_CODE_DE_NOTES
  734. -
  735. DL_CLASS_CODE_M_FROM
  736. -
  737. DL_CLASS_CODE_M_TO
  738. -
  739. DL_CLASS_CODE_M_NOTES
  740. -
  741. DL_CLASS_CODE_L_FROM
  742. -
  743. DL_CLASS_CODE_L_TO
  744. -
  745. DL_CLASS_CODE_L_NOTES
  746. -
  747. DL_CLASS_CODE_T_FROM
  748. -
  749. DL_CLASS_CODE_T_TO
  750. -
  751. DL_CLASS_CODE_T_NOTES
  752. -
  753. DL_CLASS_CODE_AM_FROM
  754. -
  755. DL_CLASS_CODE_AM_TO
  756. -
  757. DL_CLASS_CODE_AM_NOTES
  758. -
  759. DL_CLASS_CODE_A_2_FROM
  760. -
  761. DL_CLASS_CODE_A_2_TO
  762. -
  763. DL_CLASS_CODE_A_2_NOTES
  764. -
  765. DL_CLASS_CODE_B_1_FROM
  766. -
  767. DL_CLASS_CODE_B_1_TO
  768. -
  769. DL_CLASS_CODE_B_1_NOTES
  770. -
  771. SURNAME_AT_BIRTH
  772. -
  773. CIVIL_STATUS
  774. -
  775. NUMBER_OF_SEATS
  776. -
  777. NUMBER_OF_STANDING_PLACES
  778. -
  779. MAX_SPEED
  780. -
  781. FUEL_TYPE
  782. -
  783. EC_ENVIRONMENTAL_TYPE
  784. -
  785. POWER_WEIGHT_RATIO
  786. -
  787. MAX_MASS_OF_TRAILER_BRAKED
  788. -
  789. MAX_MASS_OF_TRAILER_UNBRAKED
  790. -
  791. TRANSMISSION_TYPE
  792. -
  793. TRAILER_HITCH
  794. -
  795. ACCOMPANIED_BY
  796. -
  797. POLICE_DISTRICT
  798. -
  799. FIRST_ISSUE_DATE
  800. -
  801. PAYLOAD_CAPACITY
  802. -
  803. NUMBER_OF_AXELS
  804. -
  805. PERMISSIBLE_AXLE_LOAD
  806. -
  807. PRECINCT
  808. -
  809. INVITED_BY
  810. -
  811. PURPOSE_OF_ENTRY
  812. -
  813. SKIN_COLOR
  814. -
  815. COMPLEXION
  816. -
  817. AIRPORT_FROM
  818. -
  819. AIRPORT_TO
  820. -
  821. AIRLINE_NAME
  822. -
  823. AIRLINE_NAME_FREQUENT_FLYER
  824. -
  825. LICENSE_NUMBER
  826. -
  827. IN_TANKS
  828. -
  829. EXEPT_IN_TANKS
  830. -
  831. FAST_TRACK
  832. -
  833. OWNER
  834. -
  835. MRZ_STRINGS_ICAO_RFID
  836. -
  837. NUMBER_OF_CARD_ISSUANCE
  838. -
  839. NUMBER_OF_CARD_ISSUANCE_CHECKSUM
  840. -
  841. NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT
  842. -
  843. CENTURY_DATE_OF_BIRTH
  844. -
  845. DL_CLASSCODE_A3_FROM
  846. -
  847. DL_CLASSCODE_A3_TO
  848. -
  849. DL_CLASSCODE_A3_NOTES
  850. -
  851. DL_CLASSCODE_C2_FROM
  852. -
  853. DL_CLASSCODE_C2_TO
  854. -
  855. DL_CLASSCODE_C2_NOTES
  856. -
  857. DL_CLASSCODE_B2_FROM
  858. -
  859. DL_CLASSCODE_B2_TO
  860. -
  861. DL_CLASSCODE_B2_NOTES
  862. -
  863. DL_CLASSCODE_D2_FROM
  864. -
  865. DL_CLASSCODE_D2_TO
  866. -
  867. DL_CLASSCODE_D2_NOTES
  868. -
  869. DL_CLASSCODE_B2E_FROM
  870. -
  871. DL_CLASSCODE_B2E_TO
  872. -
  873. DL_CLASSCODE_B2E_NOTES
  874. -
  875. DL_CLASSCODE_G_FROM
  876. -
  877. DL_CLASSCODE_G_TO
  878. -
  879. DL_CLASSCODE_G_NOTES
  880. -
  881. DL_CLASSCODE_J_FROM
  882. -
  883. DL_CLASSCODE_J_TO
  884. -
  885. DL_CLASSCODE_J_NOTES
  886. -
  887. DL_CLASSCODE_LC_FROM
  888. -
  889. DL_CLASSCODE_LC_TO
  890. -
  891. DLC_LASSCODE_LC_NOTES
  892. -
  893. BANKCARDNUMBER
  894. -
  895. BANKCARDVALIDTHRU
  896. -
  897. TAX_NUMBER
  898. -
  899. HEALTH_NUMBER
  900. -
  901. GRANDFATHERNAME
  902. -
  903. SELECTEE_INDICATOR
  904. -
  905. MOTHER_SURNAME
  906. -
  907. MOTHER_GIVENNAME
  908. -
  909. FATHER_SURNAME
  910. -
  911. FATHER_GIVENNAME
  912. -
  913. MOTHER_DATEOFBIRTH
  914. -
  915. FATHER_DATEOFBIRTH
  916. -
  917. MOTHER_PERSONALNUMBER
  918. -
  919. FATHER_PERSONALNUMBER
  920. -
  921. MOTHER_PLACEOFBIRTH
  922. -
  923. FATHER_PLACEOFBIRTH
  924. -
  925. MOTHER_COUNTRYOFBIRTH
  926. -
  927. FATHER_COUNTRYOFBIRTH
  928. -
  929. DATE_FIRST_RENEWAL
  930. -
  931. DATE_SECOND_RENEWAL
  932. -
  933. PLACE_OF_EXAMINATION
  934. -
  935. APPLICATION_NUMBER
  936. -
  937. VOUCHER_NUMBER
  938. -
  939. AUTHORIZATION_NUMBER
  940. -
  941. FACULTY
  942. -
  943. FORM_OF_EDUCATION
  944. -
  945. DNI_NUMBER
  946. -
  947. RETIREMENT_NUMBER
  948. -
  949. PROFESSIONAL_ID_NUMBER
  950. -
  951. AGE_AT_ISSUE
  952. -
  953. YEARS_SINCE_ISSUE
  954. -
  955. DLCLASSCODE_BTP_FROM
  956. -
  957. DLCLASSCODE_BTP_NOTES
  958. -
  959. DLCLASSCODE_BTP_TO
  960. -
  961. DLCLASSCODE_C3_FROM
  962. -
  963. DLCLASSCODE_C3_NOTES
  964. -
  965. DLCLASSCODE_C3_TO
  966. -
  967. DLCLASSCODE_E_FROM
  968. -
  969. DLCLASSCODE_E_NOTES
  970. -
  971. DLCLASSCODE_E_TO
  972. -
  973. DLCLASSCODE_F_FROM
  974. -
  975. DLCLASSCODE_F_NOTES
  976. -
  977. DLCLASSCODE_F_TO
  978. -
  979. DLCLASSCODE_FA_FROM
  980. -
  981. DLCLASSCODE_FA_NOTES
  982. -
  983. DLCLASSCODE_FA_TO
  984. -
  985. DLCLASSCODE_FA1_FROM
  986. -
  987. DLCLASSCODE_FA1_NOTES
  988. -
  989. DLCLASSCODE_FA1_TO
  990. -
  991. DLCLASSCODE_FB_FROM
  992. -
  993. DLCLASSCODE_FB_NOTES
  994. -
  995. DLCLASSCODE_FB_TO
  996. -
  997. DLCLASSCODE_G1_FROM
  998. -
  999. DLCLASSCODE_G1_NOTES
  1000. -
  1001. DLCLASSCODE_G1_TO
  1002. -
  1003. DLCLASSCODE_H_FROM
  1004. -
  1005. DLCLASSCODE_H_NOTES
  1006. -
  1007. DLCLASSCODE_H_TO
  1008. -
  1009. DLCLASSCODE_I_FROM
  1010. -
  1011. DLCLASSCODE_I_NOTES
  1012. -
  1013. DLCLASSCODE_I_TO
  1014. -
  1015. DLCLASSCODE_K_FROM
  1016. -
  1017. DLCLASSCODE_K_NOTES
  1018. -
  1019. DLCLASSCODE_K_TO
  1020. -
  1021. DLCLASSCODE_LK_FROM
  1022. -
  1023. DLCLASSCODE_LK_NOTES
  1024. -
  1025. DLCLASSCODE_LK_TO
  1026. -
  1027. DLCLASSCODE_N_FROM
  1028. -
  1029. DLCLASSCODE_N_NOTES
  1030. -
  1031. DLCLASSCODE_N_TO
  1032. -
  1033. DLCLASSCODE_S_FROM
  1034. -
  1035. DLCLASSCODE_S_NOTES
  1036. -
  1037. DLCLASSCODE_S_TO
  1038. -
  1039. DLCLASSCODE_TB_FROM
  1040. -
  1041. DLCLASSCODE_TB_NOTES
  1042. -
  1043. DLCLASSCODE_TB_TO
  1044. -
  1045. DLCLASSCODE_TM_FROM
  1046. -
  1047. DLCLASSCODE_TM_NOTES
  1048. -
  1049. DLCLASSCODE_TM_TO
  1050. -
  1051. DLCLASSCODE_TR_FROM
  1052. -
  1053. DLCLASSCODE_TR_NOTES
  1054. -
  1055. DLCLASSCODE_TR_TO
  1056. -
  1057. DLCLASSCODE_TV_FROM
  1058. -
  1059. DLCLASSCODE_TV_NOTES
  1060. -
  1061. DLCLASSCODE_TV_TO
  1062. -
  1063. DLCLASSCODE_V_FROM
  1064. -
  1065. DLCLASSCODE_V_NOTES
  1066. -
  1067. DLCLASSCODE_V_TO
  1068. -
  1069. DLCLASSCODE_W_FROM
  1070. -
  1071. DLCLASSCODE_W_NOTES
  1072. -
  1073. DLCLASSCODE_W_TO
  1074. -
  1075. URL
  1076. -
  1077. CALIBER
  1078. -
  1079. MODEL
  1080. -
  1081. MAKE
  1082. -
  1083. NUMBER_OF_CYLINDERS
  1084. -
  1085. SURNAME_OF_HUSBAND_AFTER_REGISTRATION
  1086. -
  1087. SURNAME_OF_WIFE_AFTER_REGISTRATION
  1088. -
  1089. DATE_OF_BIRTH_OF_WIFE
  1090. -
  1091. DATE_OF_BIRTH_OF_HUSBAND
  1092. -
  1093. CITIZENSHIP_OF_FIRST_PERSON
  1094. -
  1095. CITIZENSHIP_OF_SECOND_PERSON
  1096. -
  1097. CVV
  1098. -
  1099. DATE_OF_INSURANCE_EXPIRY
  1100. -
  1101. MORTGAGE_BY
  1102. -
  1103. OLD_DOCUMENT_NUMBER
  1104. -
  1105. OLD_DATE_OF_ISSUE
  1106. -
  1107. OLD_PLACE_OF_ISSUE
  1108. -
  1109. DLCLASSCODE_LR_FROM
  1110. -
  1111. DLCLASSCODE_LR_TO
  1112. -
  1113. DLCLASSCODE_LR_NOTES
  1114. -
  1115. DLCLASSCODE_MR_FROM
  1116. -
  1117. DLCLASSCODE_MR_TO
  1118. -
  1119. DLCLASSCODE_MR_NOTES
  1120. -
  1121. DLCLASSCODE_HR_FROM
  1122. -
  1123. DLCLASSCODE_HR_TO
  1124. -
  1125. DLCLASSCODE_HR_NOTES
  1126. -
  1127. DLCLASSCODE_HC_FROM
  1128. -
  1129. DLCLASSCODE_HC_TO
  1130. -
  1131. DLCLASSCODE_HC_NOTES
  1132. -
  1133. DLCLASSCODE_MC_FROM
  1134. -
  1135. DLCLASSCODE_MC_TO
  1136. -
  1137. DLCLASSCODE_MC_NOTES
  1138. -
  1139. DLCLASSCODE_RE_FROM
  1140. -
  1141. DLCLASSCODE_RE_TO
  1142. -
  1143. DLCLASSCODE_RE_NOTES
  1144. -
  1145. DLCLASSCODE_R_FROM
  1146. -
  1147. DLCLASSCODE_R_TO
  1148. -
  1149. DLCLASSCODE_R_NOTES
  1150. -
  1151. DLCLASSCODE_CA_FROM
  1152. -
  1153. DLCLASSCODE_CA_TO
  1154. -
  1155. DLCLASSCODE_CA_NOTES
  1156. -
  1157. CITIZENSHIP_STATUS
  1158. -
  1159. MILITARY_SERVICE_FROM
  1160. -
  1161. MILITARY_SERVICE_TO
  1162. -
  1163. DLCLASSCODE_NT_FROM
  1164. -
  1165. DLCLASSCODE_NT_TO
  1166. -
  1167. DLCLASSCODE_NT_NOTES
  1168. -
  1169. DLCLASSCODE_TN_FROM
  1170. -
  1171. DLCLASSCODE_TN_TO
  1172. -
  1173. DLCLASSCODE_TN_NOTES
  1174. -
  1175. DLCLASSCODE_D3_FROM
  1176. -
  1177. DLCLASSCODE_D3_TO
  1178. -
  1179. DLCLASSCODE_D3_NOTES
  1180. -
  1181. ALT_DATE_OF_EXPIRY
  1182. -
  1183. DLCLASSCODE_CD_FROM
  1184. -
  1185. DLCLASSCODE_CD_TO
  1186. -
  1187. DLCLASSCODE_CD_NOTES
  1188. -
  1189. PAYMENT_PERIOD_TO
  1190. -
  1191. PAYMENT_PERIOD_FROM
  1192. -
  1193. ISSUER_IDENTIFICATION_NUMBER
  1194. -
  1195. VACCINATION_CERTIFICATE_IDENTIFIER
  1196. -
  1197. FIRST_NAME
  1198. -
  1199. DATE_OF_ARRIVAL
  1200. -
  1201. SECOND_NAME
  1202. -
  1203. THIRD_NAME
  1204. -
  1205. FOURTH_NAME
  1206. -
  1207. LAST_NAME
  1208. -
  1209. DLCLASSCODE_RM_FROM
  1210. -
  1211. DLCLASSCODE_RM_NOTES
  1212. -
  1213. DLCLASSCODE_RM_TO
  1214. -
  1215. DLCLASSCODE_PW_FROM
  1216. -
  1217. DLCLASSCODE_PW_NOTES
  1218. -
  1219. DLCLASSCODE_PW_TO
  1220. -
  1221. DLCLASSCODE_EB_FROM
  1222. -
  1223. DLCLASSCODE_EB_NOTES
  1224. -
  1225. DLCLASSCODE_EB_TO
  1226. -
  1227. DLCLASSCODE_EC_FROM
  1228. -
  1229. DLCLASSCODE_EC_NOTES
  1230. -
  1231. DLCLASSCODE_EC_TO
  1232. -
  1233. DLCLASSCODE_EC1_FROM
  1234. -
  1235. DLCLASSCODE_EC1_NOTES
  1236. -
  1237. DLCLASSCODE_EC1_TO
  1238. -
  1239. PLACE_OF_BIRTH_CITY
  1240. -
  1241. YEAR_OF_BIRTH
  1242. -
  1243. YEAR_OF_EXPIRY
  1244. -
  1245. GRANDFATHER_NAME_MATERNAL
  1246. -
  1247. FIRST_SURNAME
  1248. -
  1249. MONTH_OF_BIRTH
  1250. -
  1251. ADDRESS_FLOOR_NUMBER
  1252. -
  1253. ADDRESS_ENTRANCE
  1254. -
  1255. ADDRESS_BLOCK_NUMBER
  1256. -
  1257. ADDRESS_STREET_NUMBER
  1258. -
  1259. ADDRESS_STREET_TYPE
  1260. -
  1261. ADDRESS_CITY_SECTOR
  1262. -
  1263. ADDRESS_COUNTY_TYPE
  1264. -
  1265. ADDRESS_CITY_TYPE
  1266. -
  1267. ADDRESS_BUILDING_TYPE
  1268. -
  1269. DATE_OF_RETIREMENT
  1270. -
  1271. DOCUMENT_STATUS
  1272. -
  1273. SIGNATURE
  1274. - -
  1275. - Properties -
  1276. -
  1277. hashCode
  1278. -
  1279. index
  1280. -
  1281. runtimeType
  1282. -
  1283. value
  1284. - -
  1285. Methods
  1286. -
  1287. getTranslation
  1288. -
  1289. noSuchMethod
  1290. -
  1291. toString
  1292. - -
  1293. Operators
  1294. -
  1295. operator ==
  1296. - - - -
  1297. Static methods
  1298. -
  1299. fromIntList
  1300. -
  1301. getByValue
  1302. - -
  1303. Constants
  1304. -
  1305. values
  1306. -
diff --git a/docs/document_reader/FieldType.html b/docs/document_reader/FieldType.html deleted file mode 100644 index e063d5dbc2..0000000000 --- a/docs/document_reader/FieldType.html +++ /dev/null @@ -1,9853 +0,0 @@ - - - - - - - - FieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FieldType
- -
- -
-
-
- -
-
- -

- FieldType - enum - - -

-
- - -
-

Enum contains identifiers that determine the logical type of text data -obtained while reading MRZ, document filling fields, and barcodes.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- FieldType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const FieldType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- FieldType(-1) -
-
- -
- DOCUMENT_CLASS_CODE - → const FieldType - - -
-
-

Document class code.

- - -
- FieldType(0) -
-
- -
- ISSUING_STATE_CODE - → const FieldType - - -
-
-

Issuing state code in compliance with 3166-1 standard (ICAO doc 9303).

- - -
- FieldType(1) -
-
- -
- DOCUMENT_NUMBER - → const FieldType - - -
-
-

Document number.

- - -
- FieldType(2) -
-
- -
- DATE_OF_EXPIRY - → const FieldType - - -
-
-

Expiry date of the document.

- - -
- FieldType(3) -
-
- -
- DATE_OF_ISSUE - → const FieldType - - -
-
-

Issue date of the document.

- - -
- FieldType(4) -
-
- -
- DATE_OF_BIRTH - → const FieldType - - -
-
-

Date of birth.

- - -
- FieldType(5) -
-
- -
- PLACE_OF_BIRTH - → const FieldType - - -
-
-

Place of birth.

- - -
- FieldType(6) -
-
- -
- PERSONAL_NUMBER - → const FieldType - - -
-
-

Personal number.

- - -
- FieldType(7) -
-
- -
- SURNAME - → const FieldType - - -
-
-

Surname.

- - -
- FieldType(8) -
-
- -
- GIVEN_NAMES - → const FieldType - - -
-
-

Given name(s).

- - -
- FieldType(9) -
-
- -
- MOTHERS_NAME - → const FieldType - - -
-
-

Mother's name.

- - -
- FieldType(10) -
-
- -
- NATIONALITY - → const FieldType - - -
-
-

Nationality.

- - -
- FieldType(11) -
-
- -
- SEX - → const FieldType - - -
-
-

Sex.

- - -
- FieldType(12) -
-
- -
- HEIGHT - → const FieldType - - -
-
-

Height.

- - -
- FieldType(13) -
-
- -
- WEIGHT - → const FieldType - - -
-
-

Weight.

- - -
- FieldType(14) -
-
- -
- EYES_COLOR - → const FieldType - - -
-
-

Eye color.

- - -
- FieldType(15) -
-
- -
- HAIR_COLOR - → const FieldType - - -
-
-

Hair color.

- - -
- FieldType(16) -
-
- -
- ADDRESS - → const FieldType - - -
-
-

Address.

- - -
- FieldType(17) -
-
- -
- DONOR - → const FieldType - - -
-
-

Organ donor indicator.

- - -
- FieldType(18) -
-
- -
- SOCIAL_SECURITY_NUMBER - → const FieldType - - -
-
-

Social security number.

- - -
- FieldType(19) -
-
- -
- DL_CLASS - → const FieldType - - -
-
-

Driving licence classification code.

- - -
- FieldType(20) -
-
- -
- DL_ENDORSED - → const FieldType - - -
-
-

Driving licenсe endorsement code.

- - -
- FieldType(21) -
-
- -
- DL_RESTRICTION_CODE - → const FieldType - - -
-
-

Driving licence restriction code.

- - -
- FieldType(22) -
-
- -
- DL_UNDER_21_DATE - → const FieldType - - -
-
-

Date of 21st birthday.

- - -
- FieldType(23) -
-
- -
- AUTHORITY - → const FieldType - - -
-
-

Issuing authority.

- - -
- FieldType(24) -
-
- -
- SURNAME_AND_GIVEN_NAMES - → const FieldType - - -
-
-

Surname and given name(s).

- - -
- FieldType(25) -
-
- -
- NATIONALITY_CODE - → const FieldType - - -
-
-

Nationality code in compliance with ISO3166-1 standard (ICAO doc 9303).

- - -
- FieldType(26) -
-
- -
- PASSPORT_NUMBER - → const FieldType - - -
-
-

Passport number.

- - -
- FieldType(27) -
-
- -
- INVITATION_NUMBER - → const FieldType - - -
-
-

Invitation number.

- - -
- FieldType(28) -
-
- -
- VISA_ID - → const FieldType - - -
-
-

Visa identification number.

- - -
- FieldType(29) -
-
- -
- VISA_CLASS - → const FieldType - - -
-
-

Visa class.

- - -
- FieldType(30) -
-
- -
- VISA_SUB_CLASS - → const FieldType - - -
-
-

Visa subclass.

- - -
- FieldType(31) -
-
- -
- MRZ_STRING_1 - → const FieldType - - -
-
-

Not used.

- - -
- FieldType(32) -
-
- -
- MRZ_STRING_2 - → const FieldType - - -
-
-

Not used.

- - -
- FieldType(33) -
-
- -
- MRZ_STRING_3 - → const FieldType - - -
-
-

Not used.

- - -
- FieldType(34) -
-
- -
- MRZ_TYPE - → const FieldType - - -
-
-

MRZ type (ID-1 – 0, ID-2 – 1, ID-3 – 2).

- - -
- FieldType(35) -
-
- -
- OPTIONAL_DATA - → const FieldType - - -
-
-

Optional data.

- - -
- FieldType(36) -
-
- -
- DOCUMENT_CLASS_NAME - → const FieldType - - -
-
-

Document class name.

- - -
- FieldType(37) -
-
- -
- ISSUING_STATE_NAME - → const FieldType - - -
-
-

Issuing state name.

- - -
- FieldType(38) -
-
- -
- PLACE_OF_ISSUE - → const FieldType - - -
-
-

Place of issue.

- - -
- FieldType(39) -
-
- -
- DOCUMENT_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for document number.

- - -
- FieldType(40) -
-
- -
- DATE_OF_BIRTH_CHECKSUM - → const FieldType - - -
-
-

Checksum for date of birth.

- - -
- FieldType(41) -
-
- -
- DATE_OF_EXPIRY_CHECKSUM - → const FieldType - - -
-
-

Checksum for date of expiry.

- - -
- FieldType(42) -
-
- -
- PERSONAL_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for personal number.

- - -
- FieldType(43) -
-
- -
- FINAL_CHECKSUM - → const FieldType - - -
-
-

Final checksum (for the whole MRZ).

- - -
- FieldType(44) -
-
- -
- PASSPORT_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for passport number (for visas).

- - -
- FieldType(45) -
-
- -
- INVITATION_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for passport number (for visas).

- - -
- FieldType(46) -
-
- -
- VISA_ID_CHECKSUM - → const FieldType - - -
-
-

Checksum for visa identification number.

- - -
- FieldType(47) -
-
- -
- SURNAME_AND_GIVEN_NAMES_CHECKSUM - → const FieldType - - -
-
-

Checksum for surname + given name(s).

- - -
- FieldType(48) -
-
- -
- VISA_VALID_UNTIL_CHECKSUM - → const FieldType - - -
-
-

Checksum for visa expiry date.

- - -
- FieldType(49) -
-
- -
- OTHER - → const FieldType - - -
-
-

Other information.

- - -
- FieldType(50) -
-
- -
- MRZ_STRINGS - → const FieldType - - -
-
-

MRZ lines.

- - -
- FieldType(51) -
-
- -
- NAME_SUFFIX - → const FieldType - - -
-
-

Name suffix.

- - -
- FieldType(52) -
-
- -
- NAME_PREFIX - → const FieldType - - -
-
-

Name prefix.

- - -
- FieldType(53) -
-
- -
- DATE_OF_ISSUE_CHECKSUM - → const FieldType - - -
-
-

Checksum for date of issue.

- - -
- FieldType(54) -
-
- -
- DATE_OF_ISSUE_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for date of issue.

- - -
- FieldType(55) -
-
- -
- DOCUMENT_SERIES - → const FieldType - - -
-
-

Document series.

- - -
- FieldType(56) -
-
- -
- REG_CERT_REG_NUMBER - → const FieldType - - -
-
-

Serial number of registration certificate.

- - -
- FieldType(57) -
-
- -
- REG_CERT_CAR_MODEL - → const FieldType - - -
-
-

Vehicle model.

- - -
- FieldType(58) -
-
- -
- REG_CERT_CAR_COLOR - → const FieldType - - -
-
-

Vehicle color.

- - -
- FieldType(59) -
-
- -
- REG_CERT_BODY_NUMBER - → const FieldType - - -
-
-

Vehicle identification number (VIN).

- - -
- FieldType(60) -
-
- -
- REG_CERT_CAR_TYPE - → const FieldType - - -
-
-

Vehicle type.

- - -
- FieldType(61) -
-
- -
- REG_CERT_MAX_WEIGHT - → const FieldType - - -
-
-

Permissible maximum weight.

- - -
- FieldType(62) -
-
- -
- REG_CERT_WEIGHT - → const FieldType - - -
-
-

Vehicle weight.

- - -
- FieldType(63) -
-
- -
- ADDRESS_AREA - → const FieldType - - -
-
-

Address (area).

- - -
- FieldType(64) -
-
- -
- ADDRESS_STATE - → const FieldType - - -
-
-

Address (state).

- - -
- FieldType(65) -
-
- -
- ADDRESS_BUILDING - → const FieldType - - -
-
-

Address (building number).

- - -
- FieldType(66) -
-
- -
- ADDRESS_HOUSE - → const FieldType - - -
-
-

Address (house number).

- - -
- FieldType(67) -
-
- -
- ADDRESS_FLAT - → const FieldType - - -
-
-

Address (flat number).

- - -
- FieldType(68) -
-
- -
- PLACE_OF_REGISTRATION - → const FieldType - - -
-
-

Place of registration.

- - -
- FieldType(69) -
-
- -
- DATE_OF_REGISTRATION - → const FieldType - - -
-
-

Date of registration.

- - -
- FieldType(70) -
-
- -
- RESIDENT_FROM - → const FieldType - - -
-
-

Resident from (date).

- - -
- FieldType(71) -
-
- -
- RESIDENT_UNTIL - → const FieldType - - -
-
-

Resident until (date).

- - -
- FieldType(72) -
-
- -
- AUTHORITY_CODE - → const FieldType - - -
-
-

Issuing authority code (for the passport of the Russian Federation).

- - -
- FieldType(73) -
-
- -
- PLACE_OF_BIRTH_AREA - → const FieldType - - -
-
-

Place of birth (area).

- - -
- FieldType(74) -
-
- -
- PLACE_OF_BIRTH_STATE_CODE - → const FieldType - - -
-
-

Place of birth (state code).

- - -
- FieldType(75) -
-
- -
- ADDRESS_STREET - → const FieldType - - -
-
-

Address (street).

- - -
- FieldType(76) -
-
- -
- ADDRESS_CITY - → const FieldType - - -
-
-

Address (city).

- - -
- FieldType(77) -
-
- -
- ADDRESS_JURISDICTION_CODE - → const FieldType - - -
-
-

Address (jurisdiction code).

- - -
- FieldType(78) -
-
- -
- ADDRESS_POSTAL_CODE - → const FieldType - - -
-
-

Address (postal code).

- - -
- FieldType(79) -
-
- -
- DOCUMENT_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for document number.

- - -
- FieldType(80) -
-
- -
- DATE_OF_BIRTH_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for date of birth.

- - -
- FieldType(81) -
-
- -
- DATE_OF_EXPIRY_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for document expiry date.

- - -
- FieldType(82) -
-
- -
- PERSONAL_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for personal number.

- - -
- FieldType(83) -
-
- -
- FINAL_CHECK_DIGIT - → const FieldType - - -
-
-

Final check digit (for the whole MRZ).

- - -
- FieldType(84) -
-
- -
- PASSPORT_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for passport number (for visas).

- - -
- FieldType(85) -
-
- -
- INVITATION_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for invitation number (for visas).

- - -
- FieldType(86) -
-
- -
- VISA_ID_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for visa number.

- - -
- FieldType(87) -
-
- -
- SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for surname and given name(s).

- - -
- FieldType(88) -
-
- -
- VISA_VALID_UNTIL_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for visa expiry date.

- - -
- FieldType(89) -
-
- -
- PERMIT_DL_CLASS - → const FieldType - - -
-
-

Permit type.

- - -
- FieldType(90) -
-
- -
- PERMIT_DATE_OF_EXPIRY - → const FieldType - - -
-
-

Permit expiry date.

- - -
- FieldType(91) -
-
- -
- PERMIT_IDENTIFIER - → const FieldType - - -
-
-

Permit identifier.

- - -
- FieldType(92) -
-
- -
- PERMIT_DATE_OF_ISSUE - → const FieldType - - -
-
-

Permit issue date.

- - -
- FieldType(93) -
-
- -
- PERMIT_RESTRICTION_CODE - → const FieldType - - -
-
-

Driving permit restriction code.

- - -
- FieldType(94) -
-
- -
- PERMIT_ENDORSED - → const FieldType - - -
-
-

Driving permit endorsement code.

- - -
- FieldType(95) -
-
- -
- ISSUE_TIMESTAMP - → const FieldType - - -
-
-

A line used for document validation in accordance with the database.

- - -
- FieldType(96) -
-
- -
- NUMBER_OF_DUPLICATES - → const FieldType - - -
-
-

Number of duplicates.

- - -
- FieldType(97) -
-
- -
- MEDICAL_INDICATOR_CODES - → const FieldType - - -
-
-

Medical indicator/code.

- - -
- FieldType(98) -
-
- -
- NON_RESIDENT_INDICATOR - → const FieldType - - -
-
-

Indicator showing that the document holder is a non-resident.

- - -
- FieldType(99) -
-
- -
- VISA_TYPE - → const FieldType - - -
-
-

Visa type.

- - -
- FieldType(100) -
-
- -
- VISA_VALID_FROM - → const FieldType - - -
-
-

The earliest date from which the visa is valid.

- - -
- FieldType(101) -
-
- -
- VISA_VALID_UNTIL - → const FieldType - - -
-
-

The date until which the visa is valid.

- - -
- FieldType(102) -
-
- -
- DURATION_OF_STAY - → const FieldType - - -
-
-

Duration of stay (in days) granted by the visa.

- - -
- FieldType(103) -
-
- -
- NUMBER_OF_ENTRIES - → const FieldType - - -
-
-

Number of entries granted by the visa.

- - -
- FieldType(104) -
-
- -
- DAY - → const FieldType - - -
-
-

Day in the date.

- - -
- FieldType(105) -
-
- -
- MONTH - → const FieldType - - -
-
-

Month in the date.

- - -
- FieldType(106) -
-
- -
- YEAR - → const FieldType - - -
-
-

Year in the date.

- - -
- FieldType(107) -
-
- -
- UNIQUE_CUSTOMER_IDENTIFIER - → const FieldType - - -
-
-

Identification number.

- - -
- FieldType(108) -
-
- -
- COMMERCIAL_VEHICLE_CODES - → const FieldType - - -
-
-

Commercial vehicle code.

- - -
- FieldType(109) -
-
- -
- AKA_DATE_OF_BIRTH - → const FieldType - - -
-
-

Also known as (date of birth).

- - -
- FieldType(110) -
-
- -
- AKA_SOCIAL_SECURITY_NUMBER - → const FieldType - - -
-
-

Also known as (social security number).

- - -
- FieldType(111) -
-
- -
- AKA_SURNAME - → const FieldType - - -
-
-

Also known as (surname).

- - -
- FieldType(112) -
-
- -
- AKA_GIVEN_NAMES - → const FieldType - - -
-
-

Also known as (given names).

- - -
- FieldType(113) -
-
- -
- AKA_NAME_SUFFIX - → const FieldType - - -
-
-

Also known as (suffix name).

- - -
- FieldType(114) -
-
- -
- AKA_NAME_PREFIX - → const FieldType - - -
-
-

Also known as (prefix name).

- - -
- FieldType(115) -
-
- -
- MAILING_ADDRESS_STREET - → const FieldType - - -
-
-

Mailing address (street).

- - -
- FieldType(116) -
-
- -
- MAILING_ADDRESS_CITY - → const FieldType - - -
-
-

Mailing address (city).

- - -
- FieldType(117) -
-
- -
- MAILING_ADDRESS_JURISDICTION_CODE - → const FieldType - - -
-
-

Mailing address (jurisdiction code).

- - -
- FieldType(118) -
-
- -
- MAILING_ADDRESS_POSTAL_CODE - → const FieldType - - -
-
-

Mailing address (postal code).

- - -
- FieldType(119) -
-
- -
- AUDIT_INFORMATION - → const FieldType - - -
-
-

A number which is used for driving licence validation.

- - -
- FieldType(120) -
-
- -
- INVENTORY_NUMBER - → const FieldType - - -
-
-

Race/ethnicity.

- - -
- FieldType(121) -
-
- -
- RACE_ETHNICITY - → const FieldType - - -
-
-

Race/ethnicity.

- - -
- FieldType(122) -
-
- -
- JURISDICTION_VEHICLE_CLASS - → const FieldType - - -
-
-

Jurisdiction vehicle class.

- - -
- FieldType(123) -
-
- -
- JURISDICTION_ENDORSEMENT_CODE - → const FieldType - - -
-
-

Jurisdiction endorsement code.

- - -
- FieldType(124) -
-
- -
- JURISDICTION_RESTRICTION_CODE - → const FieldType - - -
-
-

Jurisdiction restriction code.

- - -
- FieldType(125) -
-
- -
- FAMILY_NAME - → const FieldType - - -
-
-

Surname and (or) given name(s) at birth.

- - -
- FieldType(126) -
-
- -
- GIVEN_NAMES_RUS - → const FieldType - - -
-
-

Given name(s) (Russian transcription).

- - -
- FieldType(127) -
-
- -
- VISA_ID_RUS - → const FieldType - - -
-
-

Visa ID (Russian transcription).

- - -
- FieldType(128) -
-
- -
- FATHERS_NAME - → const FieldType - - -
-
-

Father’s name/patronymic.

- - -
- FieldType(129) -
-
- -
- FATHERS_NAME_RUS - → const FieldType - - -
-
-

Father’s name/patronymic (Russian transcription).

- - -
- FieldType(130) -
-
- -
- SURNAME_AND_GIVEN_NAMES_RUS - → const FieldType - - -
-
-

Surname and given name(s) (Russian transcription).

- - -
- FieldType(131) -
-
- -
- PLACE_OF_BIRTH_RUS - → const FieldType - - -
-
-

Place of birth (Russian transcription).

- - -
- FieldType(132) -
-
- -
- AUTHORITY_RUS - → const FieldType - - -
-
-

Document issuing authority (Russian transcription).

- - -
- FieldType(133) -
-
- -
- ISSUING_STATE_CODE_NUMERIC - → const FieldType - - -
-
-

Numeric issuing state code in compliance with ISO 3166-1 standard.

- - -
- FieldType(134) -
-
- -
- NATIONALITY_CODE_NUMERIC - → const FieldType - - -
-
-

Numeric nationality code in compliance with ISO 3166-1 standard.

- - -
- FieldType(135) -
-
- -
- ENGINE_POWER - → const FieldType - - -
-
-

Engine power.

- - -
- FieldType(136) -
-
- -
- ENGINE_VOLUME - → const FieldType - - -
-
-

Engine capacity.

- - -
- FieldType(137) -
-
- -
- CHASSIS_NUMBER - → const FieldType - - -
-
-

Chassis number.

- - -
- FieldType(138) -
-
- -
- ENGINE_NUMBER - → const FieldType - - -
-
-

Engine number.

- - -
- FieldType(139) -
-
- -
- ENGINE_MODEL - → const FieldType - - -
-
-

Engine model.

- - -
- FieldType(140) -
-
- -
- VEHICLE_CATEGORY - → const FieldType - - -
-
-

Vehicle category.

- - -
- FieldType(141) -
-
- -
- IDENTITY_CARD_NUMBER - → const FieldType - - -
-
-

Identity card number.

- - -
- FieldType(142) -
-
- -
- CONTROL_NO - → const FieldType - - -
-
-

Control number.

- - -
- FieldType(143) -
-
- -
- PARRENTS_GIVEN_NAMES - → const FieldType - - -
-
-

Parents' given names.

- - -
- FieldType(144) -
-
- -
- SECOND_SURNAME - → const FieldType - - -
-
-

Second surname.

- - -
- FieldType(145) -
-
- -
- MIDDLE_NAME - → const FieldType - - -
-
-

Second name.

- - -
- FieldType(146) -
-
- -
- REG_CERT_VIN - → const FieldType - - -
-
-

Vehicle identification number.

- - -
- FieldType(147) -
-
- -
- REG_CERT_VIN_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for vehicle identification number.

- - -
- FieldType(148) -
-
- -
- REG_CERT_VIN_CHECKSUM - → const FieldType - - -
-
-

Checksum for vehicle identification number.

- - -
- FieldType(149) -
-
- -
- LINE_1_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for the first MRZ line.

- - -
- FieldType(150) -
-
- -
- LINE_2_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for the second MRZ line.

- - -
- FieldType(151) -
-
- -
- LINE_3_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for the third MRZ line.

- - -
- FieldType(152) -
-
- -
- LINE_1_CHECKSUM - → const FieldType - - -
-
-

Checksum for the first MRZ line.

- - -
- FieldType(153) -
-
- -
- LINE_2_CHECKSUM - → const FieldType - - -
-
-

Checksum for the second MRZ line.

- - -
- FieldType(154) -
-
- -
- LINE_3_CHECKSUM - → const FieldType - - -
-
-

Checksum for the third MRZ line.

- - -
- FieldType(155) -
-
- -
- REG_CERT_REG_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for vehicle registration number.

- - -
- FieldType(156) -
-
- -
- REG_CERT_REG_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Check sum for vehicle registration number.

- - -
- FieldType(157) -
-
- -
- REG_CERT_VEHICLE_ITS_CODE - → const FieldType - - -
-
-

Vehicle code according to ITS (IntelligentTransportation Systems).

- - -
- FieldType(158) -
-
- -
- CARD_ACCESS_NUMBER - → const FieldType - - -
-
-

Access number for RFID chip.

- - -
- FieldType(159) -
-
- -
- MARITAL_STATUS - → const FieldType - - -
-
-

Marital status.

- - -
- FieldType(160) -
-
- -
- COMPANY_NAME - → const FieldType - - -
-
-

Company name.

- - -
- FieldType(161) -
-
- -
- SPECIAL_NOTES - → const FieldType - - -
-
-

Special notes.

- - -
- FieldType(162) -
-
- -
- SURNAME_OF_SPOSE - → const FieldType - - -
-
-

Surname of spouse.

- - -
- FieldType(163) -
-
- -
- TRACKING_NUMBER - → const FieldType - - -
-
-

Number for checking document status.

- - -
- FieldType(164) -
-
- -
- BOOKLET_NUMBER - → const FieldType - - -
-
-

Booklet number.

- - -
- FieldType(165) -
-
- -
- CHILDREN - → const FieldType - - -
-
-

Children.

- - -
- FieldType(166) -
-
- -
- COPY - → const FieldType - - -
-
-

Copy number.

- - -
- FieldType(167) -
-
- -
- SERIAL_NUMBER - → const FieldType - - -
-
-

Serial number.

- - -
- FieldType(168) -
-
- -
- DOSSIER_NUMBER - → const FieldType - - -
-
-

Dossier number.

- - -
- FieldType(169) -
-
- -
- AKA_SURNAME_AND_GIVEN_NAMES - → const FieldType - - -
-
-

Also known as (surname and given names).

- - -
- FieldType(170) -
-
- -
- TERRITORIAL_VALIDITY - → const FieldType - - -
-
-

Territorial validity.

- - -
- FieldType(171) -
-
- -
- MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS - → const FieldType - - -
-
-

MRZ with correct checksums.

- - -
- FieldType(172) -
-
- -
- DL_CDL_RESTRICTION_CODE - → const FieldType - - -
-
-

Commercial driving license restriction code.

- - -
- FieldType(173) -
-
- -
- DL_UNDER_18_DATE - → const FieldType - - -
-
-

Date of 18th birthday.

- - -
- FieldType(174) -
-
- -
- DL_RECORD_CREATED - → const FieldType - - -
-
-

Date of record creation.

- - -
- FieldType(175) -
-
- -
- DL_DUPLICATE_DATE - → const FieldType - - -
-
-

Date of duplicate creation.

- - -
- FieldType(176) -
-
- -
- DL_ISS_TYPE - → const FieldType - - -
-
-

Type of issued driving license.

- - -
- FieldType(177) -
-
- -
- MILITARY_BOOK_NUMBER - → const FieldType - - -
-
-

Military card number.

- - -
- FieldType(178) -
-
- -
- DESTINATION - → const FieldType - - -
-
-

Destination.

- - -
- FieldType(179) -
-
- -
- BLOOD_GROUP - → const FieldType - - -
-
-

Blood group.

- - -
- FieldType(180) -
-
- -
- SEQUENCE_NUMBER - → const FieldType - - -
-
-

Sequence number.

- - -
- FieldType(181) -
-
- -
- REG_CERT_BODY_TYPE - → const FieldType - - -
-
-

Car body type.

- - -
- FieldType(182) -
-
- -
- REG_CERT_CAR_MARK - → const FieldType - - -
-
-

Car make.

- - -
- FieldType(183) -
-
- -
- TRANSACTION_NUMBER - → const FieldType - - -
-
-

Transaction number.

- - -
- FieldType(184) -
-
- -
- AGE - → const FieldType - - -
-
-

Age.

- - -
- FieldType(185) -
-
- -
- FOLIO_NUMBER - → const FieldType - - -
-
-

Folio number.

- - -
- FieldType(186) -
-
- -
- VOTER_KEY - → const FieldType - - -
-
-

Voter's identification number.

- - -
- FieldType(187) -
-
- -
- ADDRESS_MUNICIPALITY - → const FieldType - - -
-
-

Address (municipality).

- - -
- FieldType(188) -
-
- -
- ADDRESS_LOCATION - → const FieldType - - -
-
-

Address (location).

- - -
- FieldType(189) -
-
- -
- SECTION - → const FieldType - - -
-
-

Section/sector.

- - -
- FieldType(190) -
-
- -
- OCR_NUMBER - → const FieldType - - -
-
-

OCR number.

- - -
- FieldType(191) -
-
- -
- FEDERAL_ELECTIONS - → const FieldType - - -
-
-

Federal elections.

- - -
- FieldType(192) -
-
- -
- REFERENCE_NUMBER - → const FieldType - - -
-
-

Unique number.

- - -
- FieldType(193) -
-
- -
- OPTIONAL_DATA_CHECKSUM - → const FieldType - - -
-
-

Checksum for optional data.

- - -
- FieldType(194) -
-
- -
- OPTIONAL_DATA_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for optional data.

- - -
- FieldType(195) -
-
- -
- VISA_NUMBER - → const FieldType - - -
-
-

Visa number.

- - -
- FieldType(196) -
-
- -
- VISA_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for visa.

- - -
- FieldType(197) -
-
- -
- VISA_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Checkdigit for visa.

- - -
- FieldType(198) -
-
- -
- VOTER - → const FieldType - - -
-
-

Voter.

- - -
- FieldType(199) -
-
- -
- PREVIOUS_TYPE - → const FieldType - - -
-
-

Type/number of the previous document.

- - -
- FieldType(200) -
-
- -
- FIELD_FROM_MRZ - → const FieldType - - -
-
-

Reserved for internal use.

- - -
- FieldType(220) -
-
- -
- CURRENT_DATE - → const FieldType - - -
-
-

Reserved for internal use.

- - -
- FieldType(221) -
-
- -
- STATUS_DATE_OF_EXPIRY - → const FieldType - - -
-
-

Status expiry date.

- - -
- FieldType(251) -
-
- -
- BANKNOTE_NUMBER - → const FieldType - - -
-
-

Banknote number.

- - -
- FieldType(252) -
-
- -
- CSC_CODE - → const FieldType - - -
-
-

Customer Service Centre code.

- - -
- FieldType(253) -
-
- -
- ARTISTIC_NAME - → const FieldType - - -
-
-

Pseudonym.

- - -
- FieldType(254) -
-
- -
- ACADEMIC_TITLE - → const FieldType - - -
-
-

Academic title.

- - -
- FieldType(255) -
-
- -
- ADDRESS_COUNTRY - → const FieldType - - -
-
-

Address (country).

- - -
- FieldType(256) -
-
- -
- ADDRESS_ZIPCODE - → const FieldType - - -
-
-

Address (zip code).

- - -
- FieldType(257) -
-
- -
- E_ID_RESIDENCE_PERMIT_1 - → const FieldType - - -
-
-

Data on permanent residence permit 1(eID field).

- - -
- FieldType(258) -
-
- -
- E_ID_RESIDENCE_PERMIT_2 - → const FieldType - - -
-
-

Data on permanent residence permit 2(eID field).

- - -
- FieldType(259) -
-
- -
- E_ID_PLACE_OF_BIRTH_STREET - → const FieldType - - -
-
-

Place of birth: street (eID field).

- - -
- FieldType(260) -
-
- -
- E_ID_PLACE_OF_BIRTH_CITY - → const FieldType - - -
-
-

Place of birth: city (eID field).

- - -
- FieldType(261) -
-
- -
- E_ID_PLACE_OF_BIRTH_STATE - → const FieldType - - -
-
-

Place of birth: state (eID field).

- - -
- FieldType(262) -
-
- -
- E_ID_PLACE_OF_BIRTH_COUNTRY - → const FieldType - - -
-
-

Place of birth: country (eID field).

- - -
- FieldType(263) -
-
- -
- E_ID_PLACE_OF_BIRTH_ZIPCODE - → const FieldType - - -
-
-

Place of birth: zip code (eID field).

- - -
- FieldType(264) -
-
- -
- CDL_CLASS - → const FieldType - - -
-
-

Commercial driving license class.

- - -
- FieldType(265) -
-
- -
- DL_UNDER_19_DATE - → const FieldType - - -
-
-

Date of 19th birthday.

- - -
- FieldType(266) -
-
- -
- WEIGHT_POUNDS - → const FieldType - - -
-
-

Weight (pounds).

- - -
- FieldType(267) -
-
- -
- LIMITED_DURATION_DOCUMENT_INDICATOR - → const FieldType - - -
-
-

Indicator of document limited duration.

- - -
- FieldType(268) -
-
- -
- ENDORSEMENT_EXPIRATION_DATE - → const FieldType - - -
-
-

Endorsement expiry date.

- - -
- FieldType(269) -
-
- -
- REVISION_DATE - → const FieldType - - -
-
-

Date of revision.

- - -
- FieldType(270) -
-
- -
- COMPLIANCE_TYPE - → const FieldType - - -
-
-

Type of compliance.

- - -
- FieldType(271) -
-
- -
- FAMILY_NAME_TRUNCATION - → const FieldType - - -
-
-

Family name truncation.

- - -
- FieldType(272) -
-
- -
- FIRST_NAME_TRUNCATION - → const FieldType - - -
-
-

First name truncation.

- - -
- FieldType(273) -
-
- -
- MIDDLE_NAME_TRUNCATION - → const FieldType - - -
-
-

Middle name truncation.

- - -
- FieldType(274) -
-
- -
- EXAM_DATE - → const FieldType - - -
-
-

Examination date.

- - -
- FieldType(275) -
-
- -
- ORGANIZATION - → const FieldType - - -
-
-

Organization.

- - -
- FieldType(276) -
-
- -
- DEPARTMENT - → const FieldType - - -
-
-

Department.

- - -
- FieldType(277) -
-
- -
- PAY_GRADE - → const FieldType - - -
-
-

Pay grade.

- - -
- FieldType(278) -
-
- -
- RANK - → const FieldType - - -
-
-

Rank/status/title.

- - -
- FieldType(279) -
-
- -
- BENEFITS_NUMBER - → const FieldType - - -
-
-

Number that relates to benefit eligibility.

- - -
- FieldType(280) -
-
- - -
-

Sponsor's service.

- - -
- FieldType(281) -
-
- - -
-

Sponsor's status.

- - -
- FieldType(282) -
-
- - -
-

Sponsor.

- - -
- FieldType(283) -
-
- -
- RELATIONSHIP - → const FieldType - - -
-
-

Relationship.

- - -
- FieldType(284) -
-
- -
- USCIS - → const FieldType - - -
-
-

Alien registration number issued by the U.S. -Citizenship and Immigration Service.

- - -
- FieldType(285) -
-
- -
- CATEGORY - → const FieldType - - -
-
-

Category.

- - -
- FieldType(286) -
-
- -
- CONDITIONS - → const FieldType - - -
-
-

Conditions.

- - -
- FieldType(287) -
-
- -
- IDENTIFIER - → const FieldType - - -
-
-

Identifier.

- - -
- FieldType(288) -
-
- -
- CONFIGURATION - → const FieldType - - -
-
-

Configuration.

- - -
- FieldType(289) -
-
- -
- DISCRETIONARY_DATA - → const FieldType - - -
-
-

Discretionary data.

- - -
- FieldType(290) -
-
- -
- LINE_1_OPTIONAL_DATA - → const FieldType - - -
-
-

Optional data from MRZ Line 1.

- - -
- FieldType(291) -
-
- -
- LINE_2_OPTIONAL_DATA - → const FieldType - - -
-
-

Optional data from MRZ Line 2.

- - -
- FieldType(292) -
-
- -
- LINE_3_OPTIONAL_DATA - → const FieldType - - -
-
-

Optional data from MRZ Line 3.

- - -
- FieldType(293) -
-
- -
- EQV_CODE - → const FieldType - - -
-
-

Equivalence value (security code).

- - -
- FieldType(294) -
-
- -
- ALT_CODE - → const FieldType - - -
-
-

ALT сode.

- - -
- FieldType(295) -
-
- -
- BINARY_CODE - → const FieldType - - -
-
-

Binary сode.

- - -
- FieldType(296) -
-
- -
- PSEUDO_CODE - → const FieldType - - -
-
-

Pseudo-code.

- - -
- FieldType(297) -
-
- -
- FEE - → const FieldType - - -
-
-

Fee.

- - -
- FieldType(298) -
-
- -
- STAMP_NUMBER - → const FieldType - - -
-
-

Stamp number.

- - -
- FieldType(299) -
-
- -
- SBH_SECURITYOPTIONS - → const FieldType - - -
-
-

Parameters of biometric data protection.

- - -
- FieldType(300) -
-
- -
- SBH_INTEGRITYOPTIONS - → const FieldType - - -
-
-

Parameters of biometric data integrity.

- - -
- FieldType(301) -
-
- -
- DATE_OF_CREATION - → const FieldType - - -
-
-

Date of creation of biometric data record.

- - -
- FieldType(302) -
-
- -
- VALIDITY_PERIOD - → const FieldType - - -
-
-

Term of validity of biometric data record.

- - -
- FieldType(303) -
-
- -
- PATRON_HEADER_VERSION - → const FieldType - - -
-
-

Version of header of biometric data format owner.

- - -
- FieldType(304) -
-
- -
- BDB_TYPE - → const FieldType - - -
-
-

Type of biometric data record.

- - -
- FieldType(305) -
-
- -
- BIOMETRIC_TYPE - → const FieldType - - -
-
-

Type of biometric data.

- - -
- FieldType(306) -
-
- -
- BIOMETRIC_SUBTYPE - → const FieldType - - -
-
-

Subtype of biometric data.

- - -
- FieldType(307) -
-
- -
- BIOMETRIC_PRODUCTID - → const FieldType - - -
-
-

Identifier of biometric data.

- - -
- FieldType(308) -
-
- -
- BIOMETRIC_FORMAT_OWNER - → const FieldType - - -
-
-

Identifier of biometric data format owner.

- - -
- FieldType(309) -
-
- -
- BIOMETRIC_FORMAT_TYPE - → const FieldType - - -
-
-

Biometric data format.

- - -
- FieldType(310) -
-
- -
- PHONE - → const FieldType - - -
-
-

DO's phone number.

- - -
- FieldType(311) -
-
- -
- PROFESSION - → const FieldType - - -
-
-

DO's profession.

- - -
- FieldType(312) -
-
- -
- TITLE - → const FieldType - - -
-
-

DO's title.

- - -
- FieldType(313) -
-
- -
- PERSONAL_SUMMARY - → const FieldType - - -
-
-

DO's personal summary data.

- - -
- FieldType(314) -
-
- -
- OTHER_VALID_ID - → const FieldType - - -
-
-

Other valid identifier.

- - -
- FieldType(315) -
-
- -
- CUSTODY_INFO - → const FieldType - - -
-
-

Custody information.

- - -
- FieldType(316) -
-
- -
- OTHER_NAME - → const FieldType - - -
-
-

Other name.

- - -
- FieldType(317) -
-
- -
- OBSERVATIONS - → const FieldType - - -
-
-

Observations.

- - -
- FieldType(318) -
-
- -
- TAX - → const FieldType - - -
-
-

Tax information.

- - -
- FieldType(319) -
-
- -
- DATE_OF_PERSONALIZATION - → const FieldType - - -
-
-

Date of document personalization.

- - -
- FieldType(320) -
-
- -
- PERSONALIZATION_SN - → const FieldType - - -
-
-

Serial number of personalization.

- - -
- FieldType(321) -
-
- -
- OTHERPERSON_NAME - → const FieldType - - -
-
-

Other person's name.

- - -
- FieldType(322) -
-
- -
- PERSONTONOTIFY_DATE_OF_RECORD - → const FieldType - - -
-
-

Date of record entry on persons to notify in case of emergency.

- - -
- FieldType(323) -
-
- -
- PERSONTONOTIFY_NAME - → const FieldType - - -
-
-

Name of person to notify in case of emergency.

- - -
- FieldType(324) -
-
- -
- PERSONTONOTIFY_PHONE - → const FieldType - - -
-
-

Phone number of person to notify in case of emergency.

- - -
- FieldType(325) -
-
- -
- PERSONTONOTIFY_ADDRESS - → const FieldType - - -
-
-

Address of person to notify in case of emergency.

- - -
- FieldType(326) -
-
- -
- DS_CERTIFICATE_ISSUER - → const FieldType - - -
-
-

Textual information about the DS-certificate issuer.

- - -
- FieldType(327) -
-
- -
- DS_CERTIFICATE_SUBJECT - → const FieldType - - -
-
-

Textual information about the document issuer.

- - -
- FieldType(328) -
-
- -
- DS_CERTIFICATE_VALIDFROM - → const FieldType - - -
-
-

Start date of the DS-certificate validity.

- - -
- FieldType(329) -
-
- -
- DS_CERTIFICATE_VALIDTO - → const FieldType - - -
-
-

Expiration date of the DS-certificate.

- - -
- FieldType(330) -
-
- -
- VRC_DATAOBJECT_ENTRY - → const FieldType - - -
-
-

Vehicle category/restrictions/conditions from -DG1 data group of eDL application.

- - -
- FieldType(331) -
-
- -
- TYPE_APPROVAL_NUMBER - → const FieldType - - -
-
-

Type approval number.

- - -
- FieldType(332) -
-
- -
- ADMINISTRATIVE_NUMBER - → const FieldType - - -
-
-

Administrative number.

- - -
- FieldType(333) -
-
- -
- DOCUMENT_DISCRIMINATOR - → const FieldType - - -
-
-

Document discriminator.

- - -
- FieldType(334) -
-
- -
- DATA_DISCRIMINATOR - → const FieldType - - -
-
-

Data discriminator.

- - -
- FieldType(335) -
-
- -
- ISO_ISSUER_ID_NUMBER - → const FieldType - - -
-
-

ISO issuer ID number.

- - -
- FieldType(336) -
-
- -
- GNIB_NUMBER - → const FieldType - - -
-
-

Registration number issued by GardaNational Immigration Bureau.

- - -
- FieldType(340) -
-
- -
- DEPT_NUMBER - → const FieldType - - -
-
-

Department number.

- - -
- FieldType(341) -
-
- -
- TELEX_CODE - → const FieldType - - -
-
-

Telegraph code.

- - -
- FieldType(342) -
-
- -
- ALLERGIES - → const FieldType - - -
-
-

Allergies.

- - -
- FieldType(343) -
-
- -
- SP_CODE - → const FieldType - - -
-
-

Sp. code.

- - -
- FieldType(344) -
-
- -
- COURT_CODE - → const FieldType - - -
-
-

Code of restriction imposed by court.

- - -
- FieldType(345) -
-
- -
- CTY - → const FieldType - - -
-
-

County code.

- - -
- FieldType(346) -
-
- - -
-

Sponsor's social security number.

- - -
- FieldType(347) -
-
- -
- DO_D_NUMBER - → const FieldType - - -
-
-

Department of Defense identification number.

- - -
- FieldType(348) -
-
- -
- MC_NOVICE_DATE - → const FieldType - - -
-
-

Expiry date of Motorcycle status.

- - -
- FieldType(349) -
-
- -
- DUF_NUMBER - → const FieldType - - -
-
-

DUF Number (a number that is assigned to everyone who applies -for residence inNorway).

- - -
- FieldType(350) -
-
- -
- AGY - → const FieldType - - -
-
-

Code of Philippine Land TransportationOffice Agency.

- - -
- FieldType(351) -
-
- -
- PNR_CODE - → const FieldType - - -
-
-

Passenger name record (reservation code).

- - -
- FieldType(352) -
-
- -
- FROM_AIRPORT_CODE - → const FieldType - - -
-
-

Code of the airport of departure.

- - -
- FieldType(353) -
-
- -
- TO_AIRPORT_CODE - → const FieldType - - -
-
-

Code of the airport of arrival.

- - -
- FieldType(354) -
-
- -
- FLIGHT_NUMBER - → const FieldType - - -
-
-

Flight number.

- - -
- FieldType(355) -
-
- -
- DATE_OF_FLIGHT - → const FieldType - - -
-
-

Date of flight.

- - -
- FieldType(356) -
-
- -
- SEAT_NUMBER - → const FieldType - - -
-
-

Seat number.

- - -
- FieldType(357) -
-
- -
- DATE_OF_ISSUE_BOARDING_PASS - → const FieldType - - -
-
-

Date of boarding pass issue.

- - -
- FieldType(358) -
-
- -
- CCW_UNTIL - → const FieldType - - -
-
-

Expiration date of Concealed CarryWeapon Permit.

- - -
- FieldType(359) -
-
- -
- REFERENCE_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for reference number.

- - -
- FieldType(360) -
-
- -
- REFERENCE_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for reference number.

- - -
- FieldType(361) -
-
- -
- ROOM_NUMBER - → const FieldType - - -
-
-

Room number.

- - -
- FieldType(362) -
-
- -
- RELIGION - → const FieldType - - -
-
-

Religion.

- - -
- FieldType(363) -
-
- -
- REMAINDER_TERM - → const FieldType - - -
-
-

Months to expire.

- - -
- FieldType(364) -
-
- -
- ELECTRONIC_TICKET_INDICATOR - → const FieldType - - -
-
-

Electronic ticket indicator.

- - -
- FieldType(365) -
-
- -
- COMPARTMENT_CODE - → const FieldType - - -
-
-

Compartment сode.

- - -
- FieldType(366) -
-
- -
- CHECK_IN_SEQUENCE_NUMBER - → const FieldType - - -
-
-

Check-in sequence number on a boarding pass.

- - -
- FieldType(367) -
-
- -
- AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER - → const FieldType - - -
-
-

Code of the airline which issued the boarding pass.

- - -
- FieldType(368) -
-
- -
- AIRLINE_NUMERIC_CODE - → const FieldType - - -
-
-

Numeric airline code.

- - -
- FieldType(369) -
-
- -
- TICKET_NUMBER - → const FieldType - - -
-
-

Ticket number.

- - -
- FieldType(370) -
-
- -
- FREQUENT_FLYER_AIRLINE_DESIGNATOR - → const FieldType - - -
-
-

Frequent flyer indicator.

- - -
- FieldType(371) -
-
- -
- FREQUENT_FLYER_NUMBER - → const FieldType - - -
-
-

Frequent flyer number.

- - -
- FieldType(372) -
-
- -
- FREE_BAGGAGE_ALLOWANCE - → const FieldType - - -
-
-

Free baggage allowance.

- - -
- FieldType(373) -
-
- -
- PDF_417_CODEC - → const FieldType - - -
-
-

Codec for PDF417.

- - -
- FieldType(374) -
-
- -
- IDENTITY_CARD_NUMBER_CHECKSUM - → const FieldType - - -
-
-

Checksum for identity card number.

- - -
- FieldType(375) -
-
- -
- IDENTITY_CARD_NUMBER_CHECK_DIGIT - → const FieldType - - -
-
-

Check digit for identity card number.

- - -
- FieldType(376) -
-
- -
- VETERAN - → const FieldType - - -
-
-

Veteran.

- - -
- FieldType(377) -
-
- -
- DL_CLASS_CODE_A_1_FROM - → const FieldType - - -
-
-

DL class code A1 valid from.

- - -
- FieldType(378) -
-
- -
- DL_CLASS_CODE_A_1_TO - → const FieldType - - -
-
-

DL class code A1 valid to.

- - -
- FieldType(379) -
-
- -
- DL_CLASS_CODE_A_1_NOTES - → const FieldType - - -
-
-

DL class code A1 valid notes.

- - -
- FieldType(380) -
-
- -
- DL_CLASS_CODE_A_FROM - → const FieldType - - -
-
-

DL class code A1 valid from.

- - -
- FieldType(381) -
-
- -
- DL_CLASS_CODE_A_TO - → const FieldType - - -
-
-

DL class code A1 valid to.

- - -
- FieldType(382) -
-
- -
- DL_CLASS_CODE_A_NOTES - → const FieldType - - -
-
-

DL class code A1 valid notes.

- - -
- FieldType(383) -
-
- -
- DL_CLASS_CODE_B_FROM - → const FieldType - - -
-
-

DL class code B valid from.

- - -
- FieldType(384) -
-
- -
- DL_CLASS_CODE_B_TO - → const FieldType - - -
-
-

DL class code B valid to.

- - -
- FieldType(385) -
-
- -
- DL_CLASS_CODE_B_NOTES - → const FieldType - - -
-
-

DL class code B valid notes.

- - -
- FieldType(386) -
-
- -
- DL_CLASS_CODE_C_1_FROM - → const FieldType - - -
-
-

DL class code C1 valid from.

- - -
- FieldType(387) -
-
- -
- DL_CLASS_CODE_C_1_TO - → const FieldType - - -
-
-

DL class code C1 valid to.

- - -
- FieldType(388) -
-
- -
- DL_CLASS_CODE_C_1_NOTES - → const FieldType - - -
-
-

DL class code C1 valid notes.

- - -
- FieldType(389) -
-
- -
- DL_CLASS_CODE_C_FROM - → const FieldType - - -
-
-

DL class code C valid from.

- - -
- FieldType(390) -
-
- -
- DL_CLASS_CODE_C_TO - → const FieldType - - -
-
-

DL class code C valid to.

- - -
- FieldType(391) -
-
- -
- DL_CLASS_CODE_C_NOTES - → const FieldType - - -
-
-

DL class code C valid notes.

- - -
- FieldType(392) -
-
- -
- DL_CLASS_CODE_D_1_FROM - → const FieldType - - -
-
-

DL class code D1 valid from.

- - -
- FieldType(393) -
-
- -
- DL_CLASS_CODE_D_1_TO - → const FieldType - - -
-
-

DL class code D1 valid to.

- - -
- FieldType(394) -
-
- -
- DL_CLASS_CODE_D_1_NOTES - → const FieldType - - -
-
-

DL class code D1 valid notes.

- - -
- FieldType(395) -
-
- -
- DL_CLASS_CODE_D_FROM - → const FieldType - - -
-
-

DL class code D valid from.

- - -
- FieldType(396) -
-
- -
- DL_CLASS_CODE_D_TO - → const FieldType - - -
-
-

DL class code D valid to.

- - -
- FieldType(397) -
-
- -
- DL_CLASS_CODE_D_NOTES - → const FieldType - - -
-
-

DL class code D valid notes.

- - -
- FieldType(398) -
-
- -
- DL_CLASS_CODE_BE_FROM - → const FieldType - - -
-
-

DL class code BE valid from.

- - -
- FieldType(399) -
-
- -
- DL_CLASS_CODE_BE_TO - → const FieldType - - -
-
-

DL class code BE valid to.

- - -
- FieldType(400) -
-
- -
- DL_CLASS_CODE_BE_NOTES - → const FieldType - - -
-
-

DL class code BE valid notes.

- - -
- FieldType(401) -
-
- -
- DL_CLASS_CODE_C_1_E_FROM - → const FieldType - - -
-
-

DL class code C1E valid from.

- - -
- FieldType(402) -
-
- -
- DL_CLASS_CODE_C_1_E_TO - → const FieldType - - -
-
-

DL class code C1E valid to.

- - -
- FieldType(403) -
-
- -
- DL_CLASS_CODE_C_1_E_NOTES - → const FieldType - - -
-
-

DL class code C1E valid notes.

- - -
- FieldType(404) -
-
- -
- DL_CLASS_CODE_CE_FROM - → const FieldType - - -
-
-

DL class code CE valid from.

- - -
- FieldType(405) -
-
- -
- DL_CLASS_CODE_CE_TO - → const FieldType - - -
-
-

DL class code CE valid to.

- - -
- FieldType(406) -
-
- -
- DL_CLASS_CODE_CE_NOTES - → const FieldType - - -
-
-

DL class code CE valid notes.

- - -
- FieldType(407) -
-
- -
- DL_CLASS_CODE_D_1_E_FROM - → const FieldType - - -
-
-

DL class code D1E valid from.

- - -
- FieldType(408) -
-
- -
- DL_CLASS_CODE_D_1_E_TO - → const FieldType - - -
-
-

DL class code D1E valid to.

- - -
- FieldType(409) -
-
- -
- DL_CLASS_CODE_D_1_E_NOTES - → const FieldType - - -
-
-

DL class code D1E valid notes.

- - -
- FieldType(410) -
-
- -
- DL_CLASS_CODE_DE_FROM - → const FieldType - - -
-
-

DL class code DE valid from.

- - -
- FieldType(411) -
-
- -
- DL_CLASS_CODE_DE_TO - → const FieldType - - -
-
-

DL class code DE valid to.

- - -
- FieldType(412) -
-
- -
- DL_CLASS_CODE_DE_NOTES - → const FieldType - - -
-
-

DL class code DE valid notes.

- - -
- FieldType(413) -
-
- -
- DL_CLASS_CODE_M_FROM - → const FieldType - - -
-
-

DL class code M valid from.

- - -
- FieldType(414) -
-
- -
- DL_CLASS_CODE_M_TO - → const FieldType - - -
-
-

DL class code M valid to.

- - -
- FieldType(415) -
-
- -
- DL_CLASS_CODE_M_NOTES - → const FieldType - - -
-
-

DL class code M valid notes.

- - -
- FieldType(416) -
-
- -
- DL_CLASS_CODE_L_FROM - → const FieldType - - -
-
-

DL class code L valid from.

- - -
- FieldType(417) -
-
- -
- DL_CLASS_CODE_L_TO - → const FieldType - - -
-
-

DL class code L valid to.

- - -
- FieldType(418) -
-
- -
- DL_CLASS_CODE_L_NOTES - → const FieldType - - -
-
-

DL class code L valid notes.

- - -
- FieldType(419) -
-
- -
- DL_CLASS_CODE_T_FROM - → const FieldType - - -
-
-

DL class code T valid from.

- - -
- FieldType(420) -
-
- -
- DL_CLASS_CODE_T_TO - → const FieldType - - -
-
-

DL class code T valid to.

- - -
- FieldType(421) -
-
- -
- DL_CLASS_CODE_T_NOTES - → const FieldType - - -
-
-

DL class code T valid notes.

- - -
- FieldType(422) -
-
- -
- DL_CLASS_CODE_AM_FROM - → const FieldType - - -
-
-

DL class code AM valid from.

- - -
- FieldType(423) -
-
- -
- DL_CLASS_CODE_AM_TO - → const FieldType - - -
-
-

DL class code AM valid to.

- - -
- FieldType(424) -
-
- -
- DL_CLASS_CODE_AM_NOTES - → const FieldType - - -
-
-

DL class code AM valid notes.

- - -
- FieldType(425) -
-
- -
- DL_CLASS_CODE_A_2_FROM - → const FieldType - - -
-
-

DL class code A2 valid from.

- - -
- FieldType(426) -
-
- -
- DL_CLASS_CODE_A_2_TO - → const FieldType - - -
-
-

DL class code A2 valid to.

- - -
- FieldType(427) -
-
- -
- DL_CLASS_CODE_A_2_NOTES - → const FieldType - - -
-
-

DL class code A2 valid notes.

- - -
- FieldType(428) -
-
- -
- DL_CLASS_CODE_B_1_FROM - → const FieldType - - -
-
-

DL class code B1 valid from.

- - -
- FieldType(429) -
-
- -
- DL_CLASS_CODE_B_1_TO - → const FieldType - - -
-
-

DL class code B1 valid to.

- - -
- FieldType(430) -
-
- -
- DL_CLASS_CODE_B_1_NOTES - → const FieldType - - -
-
-

DL class code B1 valid notes.

- - -
- FieldType(431) -
-
- -
- SURNAME_AT_BIRTH - → const FieldType - - -
-
-

Surname at birth.

- - -
- FieldType(432) -
-
- -
- CIVIL_STATUS - → const FieldType - - -
-
-

Civil status.

- - -
- FieldType(433) -
-
- -
- NUMBER_OF_SEATS - → const FieldType - - -
-
-

Number of seats.

- - -
- FieldType(434) -
-
- -
- NUMBER_OF_STANDING_PLACES - → const FieldType - - -
-
-

Number of standing places.

- - -
- FieldType(435) -
-
- -
- MAX_SPEED - → const FieldType - - -
-
-

Maximum speed.

- - -
- FieldType(436) -
-
- -
- FUEL_TYPE - → const FieldType - - -
-
-

Fuel type.

- - -
- FieldType(437) -
-
- -
- EC_ENVIRONMENTAL_TYPE - → const FieldType - - -
-
-

Vehicle environmental type.

- - -
- FieldType(438) -
-
- -
- POWER_WEIGHT_RATIO - → const FieldType - - -
-
-

Power–to–weight ratio.

- - -
- FieldType(439) -
-
- -
- MAX_MASS_OF_TRAILER_BRAKED - → const FieldType - - -
-
-

Maximum weight of the trailer without brakes.

- - -
- FieldType(440) -
-
- -
- MAX_MASS_OF_TRAILER_UNBRAKED - → const FieldType - - -
-
-

Maximum weight of the trailer without brakes.

- - -
- FieldType(441) -
-
- -
- TRANSMISSION_TYPE - → const FieldType - - -
-
-

Transmission type.

- - -
- FieldType(442) -
-
- -
- TRAILER_HITCH - → const FieldType - - -
-
-

Trailer hitch.

- - -
- FieldType(443) -
-
- -
- ACCOMPANIED_BY - → const FieldType - - -
-
-

Accompanying person.

- - -
- FieldType(444) -
-
- -
- POLICE_DISTRICT - → const FieldType - - -
-
-

Police district.

- - -
- FieldType(445) -
-
- -
- FIRST_ISSUE_DATE - → const FieldType - - -
-
-

Date of first issue.

- - -
- FieldType(446) -
-
- -
- PAYLOAD_CAPACITY - → const FieldType - - -
-
-

Payload capacity.

- - -
- FieldType(447) -
-
- -
- NUMBER_OF_AXELS - → const FieldType - - -
-
-

Number of axels.

- - -
- FieldType(448) -
-
- -
- PERMISSIBLE_AXLE_LOAD - → const FieldType - - -
-
-

Permissible axle load.

- - -
- FieldType(449) -
-
- -
- PRECINCT - → const FieldType - - -
-
-

Precinct.

- - -
- FieldType(450) -
-
- -
- INVITED_BY - → const FieldType - - -
-
-

Invited by.

- - -
- FieldType(451) -
-
- -
- PURPOSE_OF_ENTRY - → const FieldType - - -
-
-

Purpose of entry.

- - -
- FieldType(452) -
-
- -
- SKIN_COLOR - → const FieldType - - -
-
-

Skin color.

- - -
- FieldType(453) -
-
- -
- COMPLEXION - → const FieldType - - -
-
-

Complexion.

- - -
- FieldType(454) -
-
- -
- AIRPORT_FROM - → const FieldType - - -
-
-

Airport of departure.

- - -
- FieldType(455) -
-
- -
- AIRPORT_TO - → const FieldType - - -
-
-

Airport of arrival.

- - -
- FieldType(456) -
-
- -
- AIRLINE_NAME - → const FieldType - - -
-
-

Airline name.

- - -
- FieldType(457) -
-
- -
- AIRLINE_NAME_FREQUENT_FLYER - → const FieldType - - -
-
-

A loyalty program offered by the airline to its customers who fly frequently.

- - -
- FieldType(458) -
-
- -
- LICENSE_NUMBER - → const FieldType - - -
-
-

Licenсe number.

- - -
- FieldType(459) -
-
- -
- IN_TANKS - → const FieldType - - -
-
-

In tanks.

- - -
- FieldType(460) -
-
- -
- EXEPT_IN_TANKS - → const FieldType - - -
-
-

Except in tanks.

- - -
- FieldType(461) -
-
- -
- FAST_TRACK - → const FieldType - - -
-
-

Passenger using the Fast Track service in the airport.

- - -
- FieldType(462) -
-
- -
- OWNER - → const FieldType - - -
-
-

Owner.

- - -
- FieldType(463) -
-
- -
- MRZ_STRINGS_ICAO_RFID - → const FieldType - - -
-
-

MRZ strings from ICAO RFID.

- - -
- FieldType(464) -
-
- -
- NUMBER_OF_CARD_ISSUANCE - → const FieldType - - -
-
-

The number of times a card with this number has been issued.

- - -
- FieldType(465) -
-
- -
- NUMBER_OF_CARD_ISSUANCE_CHECKSUM - → const FieldType - - -
-
-

Number of card issuance checksum.

- - -
- FieldType(466) -
-
- -
- NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT - → const FieldType - - -
-
-

Number of card issuance check digit.

- - -
- FieldType(467) -
-
- -
- CENTURY_DATE_OF_BIRTH - → const FieldType - - -
-
-

Century of birth.

- - -
- FieldType(468) -
-
- -
- DL_CLASSCODE_A3_FROM - → const FieldType - - -
-
-

DL class code A3 valid from.

- - -
- FieldType(469) -
-
- -
- DL_CLASSCODE_A3_TO - → const FieldType - - -
-
-

DL class code A3 valid to.

- - -
- FieldType(470) -
-
- -
- DL_CLASSCODE_A3_NOTES - → const FieldType - - -
-
-

DL class code A3 valid notes.

- - -
- FieldType(471) -
-
- -
- DL_CLASSCODE_C2_FROM - → const FieldType - - -
-
-

DL class code C2 valid from.

- - -
- FieldType(472) -
-
- -
- DL_CLASSCODE_C2_TO - → const FieldType - - -
-
-

DL class code C2 valid to.

- - -
- FieldType(473) -
-
- -
- DL_CLASSCODE_C2_NOTES - → const FieldType - - -
-
-

DL class code C2 valid notes.

- - -
- FieldType(474) -
-
- -
- DL_CLASSCODE_B2_FROM - → const FieldType - - -
-
-

DL class code B2 valid from.

- - -
- FieldType(475) -
-
- -
- DL_CLASSCODE_B2_TO - → const FieldType - - -
-
-

DL class code B2 valid to.

- - -
- FieldType(476) -
-
- -
- DL_CLASSCODE_B2_NOTES - → const FieldType - - -
-
-

DL class code B2 valid notes.

- - -
- FieldType(477) -
-
- -
- DL_CLASSCODE_D2_FROM - → const FieldType - - -
-
-

DL class code D2 valid from.

- - -
- FieldType(478) -
-
- -
- DL_CLASSCODE_D2_TO - → const FieldType - - -
-
-

DL class code B2 valid to.

- - -
- FieldType(479) -
-
- -
- DL_CLASSCODE_D2_NOTES - → const FieldType - - -
-
-

DL class code B2 valid notes.

- - -
- FieldType(480) -
-
- -
- DL_CLASSCODE_B2E_FROM - → const FieldType - - -
-
-

DL class code B2E valid from.

- - -
- FieldType(481) -
-
- -
- DL_CLASSCODE_B2E_TO - → const FieldType - - -
-
-

DL class code B2E valid to.

- - -
- FieldType(482) -
-
- -
- DL_CLASSCODE_B2E_NOTES - → const FieldType - - -
-
-

DL class code B2E valid notes.

- - -
- FieldType(483) -
-
- -
- DL_CLASSCODE_G_FROM - → const FieldType - - -
-
-

DL class code G valid from.

- - -
- FieldType(484) -
-
- -
- DL_CLASSCODE_G_TO - → const FieldType - - -
-
-

DL class code G valid to.

- - -
- FieldType(485) -
-
- -
- DL_CLASSCODE_G_NOTES - → const FieldType - - -
-
-

DL class code G valid notes.

- - -
- FieldType(486) -
-
- -
- DL_CLASSCODE_J_FROM - → const FieldType - - -
-
-

DL class code J valid from.

- - -
- FieldType(487) -
-
- -
- DL_CLASSCODE_J_TO - → const FieldType - - -
-
-

DL class code J valid to.

- - -
- FieldType(488) -
-
- -
- DL_CLASSCODE_J_NOTES - → const FieldType - - -
-
-

DL class code J valid notes.

- - -
- FieldType(489) -
-
- -
- DL_CLASSCODE_LC_FROM - → const FieldType - - -
-
-

DL class code LC valid from.

- - -
- FieldType(490) -
-
- -
- DL_CLASSCODE_LC_TO - → const FieldType - - -
-
-

DL class code LC valid to.

- - -
- FieldType(491) -
-
- -
- DLC_LASSCODE_LC_NOTES - → const FieldType - - -
-
-

DL class code LC valid notes.

- - -
- FieldType(492) -
-
- -
- BANKCARDNUMBER - → const FieldType - - -
-
-

Bank card number.

- - -
- FieldType(493) -
-
- -
- BANKCARDVALIDTHRU - → const FieldType - - -
-
-

Bank card validity.

- - -
- FieldType(494) -
-
- -
- TAX_NUMBER - → const FieldType - - -
-
-

Tax number.

- - -
- FieldType(495) -
-
- -
- HEALTH_NUMBER - → const FieldType - - -
-
-

Health insurance number.

- - -
- FieldType(496) -
-
- -
- GRANDFATHERNAME - → const FieldType - - -
-
-

Grandfather's name.

- - -
- FieldType(497) -
-
- -
- SELECTEE_INDICATOR - → const FieldType - - -
-
-

Selectee indicator.

- - -
- FieldType(498) -
-
- -
- MOTHER_SURNAME - → const FieldType - - -
-
-

Mother's surname.

- - -
- FieldType(499) -
-
- -
- MOTHER_GIVENNAME - → const FieldType - - -
-
-

Mother's given name.

- - -
- FieldType(500) -
-
- -
- FATHER_SURNAME - → const FieldType - - -
-
-

Father's surname.

- - -
- FieldType(501) -
-
- -
- FATHER_GIVENNAME - → const FieldType - - -
-
-

Father's given name.

- - -
- FieldType(502) -
-
- -
- MOTHER_DATEOFBIRTH - → const FieldType - - -
-
-

Mother's date of birth.

- - -
- FieldType(503) -
-
- -
- FATHER_DATEOFBIRTH - → const FieldType - - -
-
-

Father's date of birth.

- - -
- FieldType(504) -
-
- -
- MOTHER_PERSONALNUMBER - → const FieldType - - -
-
-

Mother's personal number.

- - -
- FieldType(505) -
-
- -
- FATHER_PERSONALNUMBER - → const FieldType - - -
-
-

Father's personal number.

- - -
- FieldType(506) -
-
- -
- MOTHER_PLACEOFBIRTH - → const FieldType - - -
-
-

Mother's place of birth.

- - -
- FieldType(507) -
-
- -
- FATHER_PLACEOFBIRTH - → const FieldType - - -
-
-

Father's place of birth.

- - -
- FieldType(508) -
-
- -
- MOTHER_COUNTRYOFBIRTH - → const FieldType - - -
-
-

Mother's country of birth.

- - -
- FieldType(509) -
-
- -
- FATHER_COUNTRYOFBIRTH - → const FieldType - - -
-
-

Father's country of birth.

- - -
- FieldType(510) -
-
- -
- DATE_FIRST_RENEWAL - → const FieldType - - -
-
-

Date of first renewal.

- - -
- FieldType(511) -
-
- -
- DATE_SECOND_RENEWAL - → const FieldType - - -
-
-

Date of second renewal.

- - -
- FieldType(512) -
-
- -
- PLACE_OF_EXAMINATION - → const FieldType - - -
-
-

Place of examination.

- - -
- FieldType(513) -
-
- -
- APPLICATION_NUMBER - → const FieldType - - -
-
-

Application number.

- - -
- FieldType(514) -
-
- -
- VOUCHER_NUMBER - → const FieldType - - -
-
-

Voucher number.

- - -
- FieldType(515) -
-
- -
- AUTHORIZATION_NUMBER - → const FieldType - - -
-
-

Authorization number.

- - -
- FieldType(516) -
-
- -
- FACULTY - → const FieldType - - -
-
-

Faculty.

- - -
- FieldType(517) -
-
- -
- FORM_OF_EDUCATION - → const FieldType - - -
-
-

Form of education.

- - -
- FieldType(518) -
-
- -
- DNI_NUMBER - → const FieldType - - -
-
-

DNI number.

- - -
- FieldType(519) -
-
- -
- RETIREMENT_NUMBER - → const FieldType - - -
-
-

Retirement number.

- - -
- FieldType(520) -
-
- -
- PROFESSIONAL_ID_NUMBER - → const FieldType - - -
-
-

Professional Id number.

- - -
- FieldType(521) -
-
- -
- AGE_AT_ISSUE - → const FieldType - - -
-
-

Age at issue.

- - -
- FieldType(522) -
-
- -
- YEARS_SINCE_ISSUE - → const FieldType - - -
-
-

Years since issue.

- - -
- FieldType(523) -
-
- -
- DLCLASSCODE_BTP_FROM - → const FieldType - - -
-
-

DL class code BTP valid from.

- - -
- FieldType(524) -
-
- -
- DLCLASSCODE_BTP_NOTES - → const FieldType - - -
-
-

DL class code BTP valid notes.

- - -
- FieldType(525) -
-
- -
- DLCLASSCODE_BTP_TO - → const FieldType - - -
-
-

DL class code BTP valid to.

- - -
- FieldType(526) -
-
- -
- DLCLASSCODE_C3_FROM - → const FieldType - - -
-
-

DL class code C3 valid from.

- - -
- FieldType(527) -
-
- -
- DLCLASSCODE_C3_NOTES - → const FieldType - - -
-
-

DL class code C3 valid notes.

- - -
- FieldType(528) -
-
- -
- DLCLASSCODE_C3_TO - → const FieldType - - -
-
-

DL class code C3 valid to.

- - -
- FieldType(529) -
-
- -
- DLCLASSCODE_E_FROM - → const FieldType - - -
-
-

DL class code E valid from.

- - -
- FieldType(530) -
-
- -
- DLCLASSCODE_E_NOTES - → const FieldType - - -
-
-

DL class code E valid notes.

- - -
- FieldType(531) -
-
- -
- DLCLASSCODE_E_TO - → const FieldType - - -
-
-

DL class code E valid to.

- - -
- FieldType(532) -
-
- -
- DLCLASSCODE_F_FROM - → const FieldType - - -
-
-

DL class code F valid from.

- - -
- FieldType(533) -
-
- -
- DLCLASSCODE_F_NOTES - → const FieldType - - -
-
-

DL class code F valid notes.

- - -
- FieldType(534) -
-
- -
- DLCLASSCODE_F_TO - → const FieldType - - -
-
-

DL class code F valid to.

- - -
- FieldType(535) -
-
- -
- DLCLASSCODE_FA_FROM - → const FieldType - - -
-
-

DL class code FA valid from.

- - -
- FieldType(536) -
-
- -
- DLCLASSCODE_FA_NOTES - → const FieldType - - -
-
-

DL class code FA valid notes.

- - -
- FieldType(537) -
-
- -
- DLCLASSCODE_FA_TO - → const FieldType - - -
-
-

DL class code FA valid to.

- - -
- FieldType(538) -
-
- -
- DLCLASSCODE_FA1_FROM - → const FieldType - - -
-
-

DL class code FA1 valid from.

- - -
- FieldType(539) -
-
- -
- DLCLASSCODE_FA1_NOTES - → const FieldType - - -
-
-

DL class code FA1 valid notes.

- - -
- FieldType(540) -
-
- -
- DLCLASSCODE_FA1_TO - → const FieldType - - -
-
-

DL class code FA1 valid to.

- - -
- FieldType(541) -
-
- -
- DLCLASSCODE_FB_FROM - → const FieldType - - -
-
-

DL class code FB valid from.

- - -
- FieldType(542) -
-
- -
- DLCLASSCODE_FB_NOTES - → const FieldType - - -
-
-

DL class code FB valid notes.

- - -
- FieldType(543) -
-
- -
- DLCLASSCODE_FB_TO - → const FieldType - - -
-
-

DL class code FB valid to.

- - -
- FieldType(544) -
-
- -
- DLCLASSCODE_G1_FROM - → const FieldType - - -
-
-

DL class code G1 valid from.

- - -
- FieldType(545) -
-
- -
- DLCLASSCODE_G1_NOTES - → const FieldType - - -
-
-

DL class code G1 valid notes.

- - -
- FieldType(546) -
-
- -
- DLCLASSCODE_G1_TO - → const FieldType - - -
-
-

DL class code G1 valid to.

- - -
- FieldType(547) -
-
- -
- DLCLASSCODE_H_FROM - → const FieldType - - -
-
-

DL class code H valid from.

- - -
- FieldType(548) -
-
- -
- DLCLASSCODE_H_NOTES - → const FieldType - - -
-
-

DL class code H valid notes.

- - -
- FieldType(549) -
-
- -
- DLCLASSCODE_H_TO - → const FieldType - - -
-
-

DL class code H valid to.

- - -
- FieldType(550) -
-
- -
- DLCLASSCODE_I_FROM - → const FieldType - - -
-
-

DL class code I valid from.

- - -
- FieldType(551) -
-
- -
- DLCLASSCODE_I_NOTES - → const FieldType - - -
-
-

DL class code I valid notes.

- - -
- FieldType(552) -
-
- -
- DLCLASSCODE_I_TO - → const FieldType - - -
-
-

DL class code I valid to.

- - -
- FieldType(553) -
-
- -
- DLCLASSCODE_K_FROM - → const FieldType - - -
-
-

DL class code K valid from.

- - -
- FieldType(554) -
-
- -
- DLCLASSCODE_K_NOTES - → const FieldType - - -
-
-

DL class code K valid notes.

- - -
- FieldType(555) -
-
- -
- DLCLASSCODE_K_TO - → const FieldType - - -
-
-

DL class code K valid to.

- - -
- FieldType(556) -
-
- -
- DLCLASSCODE_LK_FROM - → const FieldType - - -
-
-

DL class code LK valid from.

- - -
- FieldType(557) -
-
- -
- DLCLASSCODE_LK_NOTES - → const FieldType - - -
-
-

DL class code LK valid notes.

- - -
- FieldType(558) -
-
- -
- DLCLASSCODE_LK_TO - → const FieldType - - -
-
-

DL class code LK valid to.

- - -
- FieldType(559) -
-
- -
- DLCLASSCODE_N_FROM - → const FieldType - - -
-
-

DL class code N valid from.

- - -
- FieldType(560) -
-
- -
- DLCLASSCODE_N_NOTES - → const FieldType - - -
-
-

DL class code N valid notes.

- - -
- FieldType(561) -
-
- -
- DLCLASSCODE_N_TO - → const FieldType - - -
-
-

DL class code N valid to.

- - -
- FieldType(562) -
-
- -
- DLCLASSCODE_S_FROM - → const FieldType - - -
-
-

DL class code S valid from.

- - -
- FieldType(563) -
-
- -
- DLCLASSCODE_S_NOTES - → const FieldType - - -
-
-

DL class code S valid notes.

- - -
- FieldType(564) -
-
- -
- DLCLASSCODE_S_TO - → const FieldType - - -
-
-

DL class code S valid to.

- - -
- FieldType(565) -
-
- -
- DLCLASSCODE_TB_FROM - → const FieldType - - -
-
-

DL class code TB valid from.

- - -
- FieldType(566) -
-
- -
- DLCLASSCODE_TB_NOTES - → const FieldType - - -
-
-

DL class code TB valid notes.

- - -
- FieldType(567) -
-
- -
- DLCLASSCODE_TB_TO - → const FieldType - - -
-
-

DL class code TB valid to.

- - -
- FieldType(568) -
-
- -
- DLCLASSCODE_TM_FROM - → const FieldType - - -
-
-

DL class code TM valid from.

- - -
- FieldType(569) -
-
- -
- DLCLASSCODE_TM_NOTES - → const FieldType - - -
-
-

DL class code TM valid notes.

- - -
- FieldType(570) -
-
- -
- DLCLASSCODE_TM_TO - → const FieldType - - -
-
-

DL class code TM valid to.

- - -
- FieldType(571) -
-
- -
- DLCLASSCODE_TR_FROM - → const FieldType - - -
-
-

DL class code TR valid from.

- - -
- FieldType(572) -
-
- -
- DLCLASSCODE_TR_NOTES - → const FieldType - - -
-
-

DL class code TR valid notes.

- - -
- FieldType(573) -
-
- -
- DLCLASSCODE_TR_TO - → const FieldType - - -
-
-

DL class code TR valid to.

- - -
- FieldType(574) -
-
- -
- DLCLASSCODE_TV_FROM - → const FieldType - - -
-
-

DL class code TV valid from.

- - -
- FieldType(575) -
-
- -
- DLCLASSCODE_TV_NOTES - → const FieldType - - -
-
-

DL class code TV valid notes.

- - -
- FieldType(576) -
-
- -
- DLCLASSCODE_TV_TO - → const FieldType - - -
-
-

DL class code TV valid to.

- - -
- FieldType(577) -
-
- -
- DLCLASSCODE_V_FROM - → const FieldType - - -
-
-

DL class code V valid from.

- - -
- FieldType(578) -
-
- -
- DLCLASSCODE_V_NOTES - → const FieldType - - -
-
-

DL class code V valid notes.

- - -
- FieldType(579) -
-
- -
- DLCLASSCODE_V_TO - → const FieldType - - -
-
-

DL class code V valid to.

- - -
- FieldType(580) -
-
- -
- DLCLASSCODE_W_FROM - → const FieldType - - -
-
-

DL class code W valid from.

- - -
- FieldType(581) -
-
- -
- DLCLASSCODE_W_NOTES - → const FieldType - - -
-
-

DL class code W valid notes.

- - -
- FieldType(582) -
-
- -
- DLCLASSCODE_W_TO - → const FieldType - - -
-
-

DL class code W valid to.

- - -
- FieldType(583) -
-
- -
- URL - → const FieldType - - -
-
-

Uniform Resource Locator.

- - -
- FieldType(584) -
-
- -
- CALIBER - → const FieldType - - -
-
-

Caliber.

- - -
- FieldType(585) -
-
- -
- MODEL - → const FieldType - - -
-
-

Model.

- - -
- FieldType(586) -
-
- -
- MAKE - → const FieldType - - -
-
-

Make.

- - -
- FieldType(587) -
-
- -
- NUMBER_OF_CYLINDERS - → const FieldType - - -
-
-

Number of cylinders.

- - -
- FieldType(588) -
-
- -
- SURNAME_OF_HUSBAND_AFTER_REGISTRATION - → const FieldType - - -
-
-

Surname of husband after registration.

- - -
- FieldType(589) -
-
- -
- SURNAME_OF_WIFE_AFTER_REGISTRATION - → const FieldType - - -
-
-

Surname of wife after registration.

- - -
- FieldType(590) -
-
- -
- DATE_OF_BIRTH_OF_WIFE - → const FieldType - - -
-
-

Wife's date of birth.

- - -
- FieldType(591) -
-
- -
- DATE_OF_BIRTH_OF_HUSBAND - → const FieldType - - -
-
-

Husband's date of birth.

- - -
- FieldType(592) -
-
- -
- CITIZENSHIP_OF_FIRST_PERSON - → const FieldType - - -
-
-

Citizenship of the first person.

- - -
- FieldType(593) -
-
- -
- CITIZENSHIP_OF_SECOND_PERSON - → const FieldType - - -
-
-

Citizenship of the second person.

- - -
- FieldType(594) -
-
- -
- CVV - → const FieldType - - -
-
-

Card Security Code.

- - -
- FieldType(595) -
-
- -
- DATE_OF_INSURANCE_EXPIRY - → const FieldType - - -
-
-

Date of insurance expiry.

- - -
- FieldType(596) -
-
- -
- MORTGAGE_BY - → const FieldType - - -
-
-

Mortgage by.

- - -
- FieldType(597) -
-
- -
- OLD_DOCUMENT_NUMBER - → const FieldType - - -
-
-

Old document number.

- - -
- FieldType(598) -
-
- -
- OLD_DATE_OF_ISSUE - → const FieldType - - -
-
-

Old date of issue.

- - -
- FieldType(599) -
-
- -
- OLD_PLACE_OF_ISSUE - → const FieldType - - -
-
-

Old place of issue.

- - -
- FieldType(600) -
-
- -
- DLCLASSCODE_LR_FROM - → const FieldType - - -
-
-

DL category LR valid from.

- - -
- FieldType(601) -
-
- -
- DLCLASSCODE_LR_TO - → const FieldType - - -
-
-

DL category LR valid to.

- - -
- FieldType(602) -
-
- -
- DLCLASSCODE_LR_NOTES - → const FieldType - - -
-
-

DL category LR valid notes.

- - -
- FieldType(603) -
-
- -
- DLCLASSCODE_MR_FROM - → const FieldType - - -
-
-

DL category MR valid from.

- - -
- FieldType(604) -
-
- -
- DLCLASSCODE_MR_TO - → const FieldType - - -
-
-

DL category MR valid to.

- - -
- FieldType(605) -
-
- -
- DLCLASSCODE_MR_NOTES - → const FieldType - - -
-
-

DL category MR valid notes.

- - -
- FieldType(606) -
-
- -
- DLCLASSCODE_HR_FROM - → const FieldType - - -
-
-

DL category HR valid from.

- - -
- FieldType(607) -
-
- -
- DLCLASSCODE_HR_TO - → const FieldType - - -
-
-

DL category HR valid to.

- - -
- FieldType(608) -
-
- -
- DLCLASSCODE_HR_NOTES - → const FieldType - - -
-
-

DL category HR valid notes.

- - -
- FieldType(609) -
-
- -
- DLCLASSCODE_HC_FROM - → const FieldType - - -
-
-

DL category HC valid from.

- - -
- FieldType(610) -
-
- -
- DLCLASSCODE_HC_TO - → const FieldType - - -
-
-

DL category HC valid to.

- - -
- FieldType(611) -
-
- -
- DLCLASSCODE_HC_NOTES - → const FieldType - - -
-
-

DL category HC valid notes.

- - -
- FieldType(612) -
-
- -
- DLCLASSCODE_MC_FROM - → const FieldType - - -
-
-

DL category MC valid from.

- - -
- FieldType(613) -
-
- -
- DLCLASSCODE_MC_TO - → const FieldType - - -
-
-

DL category MC valid to.

- - -
- FieldType(614) -
-
- -
- DLCLASSCODE_MC_NOTES - → const FieldType - - -
-
-

DL category MC valid notes.

- - -
- FieldType(615) -
-
- -
- DLCLASSCODE_RE_FROM - → const FieldType - - -
-
-

DL category RE valid from.

- - -
- FieldType(616) -
-
- -
- DLCLASSCODE_RE_TO - → const FieldType - - -
-
-

DL category RE valid to.

- - -
- FieldType(617) -
-
- -
- DLCLASSCODE_RE_NOTES - → const FieldType - - -
-
-

DL category RE valid notes.

- - -
- FieldType(618) -
-
- -
- DLCLASSCODE_R_FROM - → const FieldType - - -
-
-

DL category R valid from.

- - -
- FieldType(619) -
-
- -
- DLCLASSCODE_R_TO - → const FieldType - - -
-
-

DL category R valid to.

- - -
- FieldType(620) -
-
- -
- DLCLASSCODE_R_NOTES - → const FieldType - - -
-
-

DL category R valid notes.

- - -
- FieldType(621) -
-
- -
- DLCLASSCODE_CA_FROM - → const FieldType - - -
-
-

DL category CA valid from.

- - -
- FieldType(622) -
-
- -
- DLCLASSCODE_CA_TO - → const FieldType - - -
-
-

DL category CA valid to.

- - -
- FieldType(623) -
-
- -
- DLCLASSCODE_CA_NOTES - → const FieldType - - -
-
-

DL category CA valid notes.

- - -
- FieldType(624) -
-
- -
- CITIZENSHIP_STATUS - → const FieldType - - -
-
-

Citizenship status.

- - -
- FieldType(625) -
-
- -
- MILITARY_SERVICE_FROM - → const FieldType - - -
-
-

Start date of military service.

- - -
- FieldType(626) -
-
- -
- MILITARY_SERVICE_TO - → const FieldType - - -
-
-

End date of military service.

- - -
- FieldType(627) -
-
- -
- DLCLASSCODE_NT_FROM - → const FieldType - - -
-
-

DL category NT valid notes.

- - -
- FieldType(628) -
-
- -
- DLCLASSCODE_NT_TO - → const FieldType - - -
-
-

DL category NT valid to.

- - -
- FieldType(629) -
-
- -
- DLCLASSCODE_NT_NOTES - → const FieldType - - -
-
-

DL category NT valid notes.

- - -
- FieldType(630) -
-
- -
- DLCLASSCODE_TN_FROM - → const FieldType - - -
-
-

DL category TN valid from.

- - -
- FieldType(631) -
-
- -
- DLCLASSCODE_TN_TO - → const FieldType - - -
-
-

DL category TN valid to.

- - -
- FieldType(632) -
-
- -
- DLCLASSCODE_TN_NOTES - → const FieldType - - -
-
-

DL category TN valid notes.

- - -
- FieldType(633) -
-
- -
- DLCLASSCODE_D3_FROM - → const FieldType - - -
-
-

DL category D3 valid from.

- - -
- FieldType(634) -
-
- -
- DLCLASSCODE_D3_TO - → const FieldType - - -
-
-

DL category D3 valid to.

- - -
- FieldType(635) -
-
- -
- DLCLASSCODE_D3_NOTES - → const FieldType - - -
-
-

DL category D3 valid notes.

- - -
- FieldType(636) -
-
- -
- ALT_DATE_OF_EXPIRY - → const FieldType - - -
-
-

Alternative date of expiry.

- - -
- FieldType(637) -
-
- -
- DLCLASSCODE_CD_FROM - → const FieldType - - -
-
-

DL category CD valid from.

- - -
- FieldType(638) -
-
- -
- DLCLASSCODE_CD_TO - → const FieldType - - -
-
-

DL category CD valid to.

- - -
- FieldType(639) -
-
- -
- DLCLASSCODE_CD_NOTES - → const FieldType - - -
-
-

DL category CD valid notes.

- - -
- FieldType(640) -
-
- -
- PAYMENT_PERIOD_TO - → const FieldType - - -
-
-

End date of payment period.

- - -
- FieldType(643) -
-
- -
- PAYMENT_PERIOD_FROM - → const FieldType - - -
-
-

Start date of payment period.

- - -
- FieldType(642) -
-
- -
- ISSUER_IDENTIFICATION_NUMBER - → const FieldType - - -
-
-

Issuer identification number (IIN).

- - -
- FieldType(641) -
-
- -
- VACCINATION_CERTIFICATE_IDENTIFIER - → const FieldType - - -
-
-

Vaccination certificate identifier.

- - -
- FieldType(644) -
-
- -
- FIRST_NAME - → const FieldType - - -
-
-

First name.

- - -
- FieldType(645) -
-
- -
- DATE_OF_ARRIVAL - → const FieldType - - -
-
-

Date of arrival.

- - -
- FieldType(646) -
-
- -
- SECOND_NAME - → const FieldType - - -
-
-

Second name.

- - -
- FieldType(647) -
-
- -
- THIRD_NAME - → const FieldType - - -
-
-

Third name.

- - -
- FieldType(648) -
-
- -
- FOURTH_NAME - → const FieldType - - -
-
-

Fourth name.

- - -
- FieldType(649) -
-
- -
- LAST_NAME - → const FieldType - - -
-
-

Last name.

- - -
- FieldType(650) -
-
- -
- DLCLASSCODE_RM_FROM - → const FieldType - - -
-
-

DL class code RM valid from.

- - -
- FieldType(651) -
-
- -
- DLCLASSCODE_RM_NOTES - → const FieldType - - -
-
-

DL class code RM notes.

- - -
- FieldType(652) -
-
- -
- DLCLASSCODE_RM_TO - → const FieldType - - -
-
-

DL class code RM valid to.

- - -
- FieldType(653) -
-
- -
- DLCLASSCODE_PW_FROM - → const FieldType - - -
-
-

DL class code PW valid from.

- - -
- FieldType(654) -
-
- -
- DLCLASSCODE_PW_NOTES - → const FieldType - - -
-
-

DL class code PW notes.

- - -
- FieldType(655) -
-
- -
- DLCLASSCODE_PW_TO - → const FieldType - - -
-
-

DL class code PW valid to.

- - -
- FieldType(656) -
-
- -
- DLCLASSCODE_EB_FROM - → const FieldType - - -
-
- - - -
- FieldType(657) -
-
- -
- DLCLASSCODE_EB_NOTES - → const FieldType - - -
-
- - - -
- FieldType(658) -
-
- -
- DLCLASSCODE_EB_TO - → const FieldType - - -
-
- - - -
- FieldType(659) -
-
- -
- DLCLASSCODE_EC_FROM - → const FieldType - - -
-
- - - -
- FieldType(660) -
-
- -
- DLCLASSCODE_EC_NOTES - → const FieldType - - -
-
- - - -
- FieldType(661) -
-
- -
- DLCLASSCODE_EC_TO - → const FieldType - - -
-
- - - -
- FieldType(662) -
-
- -
- DLCLASSCODE_EC1_FROM - → const FieldType - - -
-
- - - -
- FieldType(663) -
-
- -
- DLCLASSCODE_EC1_NOTES - → const FieldType - - -
-
- - - -
- FieldType(664) -
-
- -
- DLCLASSCODE_EC1_TO - → const FieldType - - -
-
- - - -
- FieldType(665) -
-
- -
- PLACE_OF_BIRTH_CITY - → const FieldType - - -
-
- - - -
- FieldType(666) -
-
- -
- YEAR_OF_BIRTH - → const FieldType - - -
-
- - - -
- FieldType(667) -
-
- -
- YEAR_OF_EXPIRY - → const FieldType - - -
-
- - - -
- FieldType(668) -
-
- -
- GRANDFATHER_NAME_MATERNAL - → const FieldType - - -
-
- - - -
- FieldType(669) -
-
- -
- FIRST_SURNAME - → const FieldType - - -
-
- - - -
- FieldType(670) -
-
- -
- MONTH_OF_BIRTH - → const FieldType - - -
-
- - - -
- FieldType(671) -
-
- -
- ADDRESS_FLOOR_NUMBER - → const FieldType - - -
-
- - - -
- FieldType(672) -
-
- -
- ADDRESS_ENTRANCE - → const FieldType - - -
-
- - - -
- FieldType(673) -
-
- -
- ADDRESS_BLOCK_NUMBER - → const FieldType - - -
-
- - - -
- FieldType(674) -
-
- -
- ADDRESS_STREET_NUMBER - → const FieldType - - -
-
- - - -
- FieldType(675) -
-
- -
- ADDRESS_STREET_TYPE - → const FieldType - - -
-
- - - -
- FieldType(676) -
-
- -
- ADDRESS_CITY_SECTOR - → const FieldType - - -
-
- - - -
- FieldType(677) -
-
- -
- ADDRESS_COUNTY_TYPE - → const FieldType - - -
-
- - - -
- FieldType(678) -
-
- -
- ADDRESS_CITY_TYPE - → const FieldType - - -
-
- - - -
- FieldType(679) -
-
- -
- ADDRESS_BUILDING_TYPE - → const FieldType - - -
-
- - - -
- FieldType(680) -
-
- -
- DATE_OF_RETIREMENT - → const FieldType - - -
-
-

Date of retirement.

- - -
- FieldType(681) -
-
- -
- DOCUMENT_STATUS - → const FieldType - - -
-
-

Document status.

- - -
- FieldType(682) -
-
- -
- SIGNATURE - → const FieldType - - -
-
-

Signature.

- - -
- FieldType(683) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<FieldType>? - - - -
-
- - - -
- -
- getByValue(int? i) - FieldType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<FieldType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, DOCUMENT_CLASS_CODE, ISSUING_STATE_CODE, DOCUMENT_NUMBER, DATE_OF_EXPIRY, DATE_OF_ISSUE, DATE_OF_BIRTH, PLACE_OF_BIRTH, PERSONAL_NUMBER, SURNAME, GIVEN_NAMES, MOTHERS_NAME, NATIONALITY, SEX,… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FieldType/FieldType.html b/docs/document_reader/FieldType/FieldType.html deleted file mode 100644 index d1bdad3560..0000000000 --- a/docs/document_reader/FieldType/FieldType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - FieldType constructor - FieldType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FieldType
- -
- -
-
-
- -
-
-

FieldType constructor -

- -
- const - FieldType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const FieldType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FieldType/getTranslation.html b/docs/document_reader/FieldType/getTranslation.html deleted file mode 100644 index 53f0bc1310..0000000000 --- a/docs/document_reader/FieldType/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - FieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FieldType/value.html b/docs/document_reader/FieldType/value.html deleted file mode 100644 index b44f3287c0..0000000000 --- a/docs/document_reader/FieldType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - FieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FieldType/values-constant.html b/docs/document_reader/FieldType/values-constant.html deleted file mode 100644 index b3617528fd..0000000000 --- a/docs/document_reader/FieldType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - FieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<FieldType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File-class-sidebar.html b/docs/document_reader/File-class-sidebar.html deleted file mode 100644 index 8cd8cd5e47..0000000000 --- a/docs/document_reader/File-class-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. File
  4. - - -
  5. - Properties -
  6. -
  7. certificates
  8. -
  9. docFieldsGraphics
  10. -
  11. docFieldsOriginals
  12. -
  13. docFieldsText
  14. -
  15. fileData
  16. -
  17. fileID
  18. -
  19. hashCode
  20. -
  21. notifications
  22. -
  23. pAStatus
  24. -
  25. readingStatus
  26. -
  27. readingTime
  28. -
  29. runtimeType
  30. -
  31. type
  32. -
  33. typeName
  34. - -
  35. Methods
  36. -
  37. noSuchMethod
  38. -
  39. toJson
  40. -
  41. toString
  42. - -
  43. Operators
  44. -
  45. operator ==
  46. - - - -
  47. Static methods
  48. -
  49. fromJson
  50. - -
diff --git a/docs/document_reader/File-class.html b/docs/document_reader/File-class.html deleted file mode 100644 index eb72d1f4da..0000000000 --- a/docs/document_reader/File-class.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - - - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
File
- -
- -
-
-
- -
-
-

File class - -

- - - - - - -
-

Constructors

- -
-
- File() -
-
- -
-
-
- -
-

Properties

- -
-
- certificates - SecurityObjectCertificates? - -
-
- -
no setter
- -
- -
- docFieldsGraphics - List<int> - -
-
- -
no setter
- -
- -
- docFieldsOriginals - List<int> - -
-
- -
no setter
- -
- -
- docFieldsText - List<int> - -
-
- -
no setter
- -
- -
- fileData - FileData? - -
-
- -
no setter
- -
- -
- fileID - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- notifications - List<int> - -
-
- -
no setter
- -
- -
- pAStatus - RFIDErrorCodes - -
-
- -
no setter
- -
- -
- readingStatus - RFIDErrorCodes - -
-
- -
no setter
- -
- -
- readingTime - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - RFIDDataFileType - -
-
- -
no setter
- -
- -
- typeName - String - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - File? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/File.html b/docs/document_reader/File/File.html deleted file mode 100644 index 5838694fe5..0000000000 --- a/docs/document_reader/File/File.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - File constructor - File - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
File
- -
- -
-
-
- -
-
-

File constructor -

- -
- - File() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/certificates.html b/docs/document_reader/File/certificates.html deleted file mode 100644 index 8e1e0503c1..0000000000 --- a/docs/document_reader/File/certificates.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - certificates property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
certificates
- -
- -
-
-
- -
-
-

certificates property -

- - - -
- -
- - SecurityObjectCertificates? - certificates - - -
- - - - -
-

Implementation

-
SecurityObjectCertificates? get certificates => _certificates;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/docFieldsGraphics.html b/docs/document_reader/File/docFieldsGraphics.html deleted file mode 100644 index 71a54c1efe..0000000000 --- a/docs/document_reader/File/docFieldsGraphics.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - docFieldsGraphics property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
docFieldsGraphics
- -
- -
-
-
- -
-
-

docFieldsGraphics property -

- - - -
- -
- - List<int> - docFieldsGraphics - - -
- - - - -
-

Implementation

-
List<int> get docFieldsGraphics => _docFieldsGraphics;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/docFieldsOriginals.html b/docs/document_reader/File/docFieldsOriginals.html deleted file mode 100644 index 8b6d1486b7..0000000000 --- a/docs/document_reader/File/docFieldsOriginals.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - docFieldsOriginals property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
docFieldsOriginals
- -
- -
-
-
- -
-
-

docFieldsOriginals property -

- - - -
- -
- - List<int> - docFieldsOriginals - - -
- - - - -
-

Implementation

-
List<int> get docFieldsOriginals => _docFieldsOriginals;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/docFieldsText.html b/docs/document_reader/File/docFieldsText.html deleted file mode 100644 index c634dbc65c..0000000000 --- a/docs/document_reader/File/docFieldsText.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - docFieldsText property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
docFieldsText
- -
- -
-
-
- -
-
-

docFieldsText property -

- - - -
- -
- - List<int> - docFieldsText - - -
- - - - -
-

Implementation

-
List<int> get docFieldsText => _docFieldsText;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/fileData.html b/docs/document_reader/File/fileData.html deleted file mode 100644 index 10f1b140e7..0000000000 --- a/docs/document_reader/File/fileData.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - fileData property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fileData
- -
- -
-
-
- -
-
-

fileData property -

- - - -
- -
- - FileData? - fileData - - -
- - - - -
-

Implementation

-
FileData? get fileData => _fileData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/fileID.html b/docs/document_reader/File/fileID.html deleted file mode 100644 index c982c7dd17..0000000000 --- a/docs/document_reader/File/fileID.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - fileID property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fileID
- -
- -
-
-
- -
-
-

fileID property -

- - - -
- -
- - String? - fileID - - -
- - - - -
-

Implementation

-
String? get fileID => _fileID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/fromJson.html b/docs/document_reader/File/fromJson.html deleted file mode 100644 index 6022118745..0000000000 --- a/docs/document_reader/File/fromJson.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - fromJson method - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -File? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static File? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = File();
-
-  result._readingTime = jsonObject["readingTime"];
-  result._type = RFIDDataFileType.getByValue(jsonObject["type"])!;
-  result._typeName = jsonObject["typeName"];
-  result._pAStatus = RFIDErrorCodes.getByValue(jsonObject["pAStatus"])!;
-  result._readingStatus =
-      RFIDErrorCodes.getByValue(jsonObject["readingStatus"])!;
-  result._fileID = jsonObject["fileID"];
-  result._fileData = FileData.fromJson(jsonObject["fileData"]);
-  result._certificates =
-      SecurityObjectCertificates.fromJson(jsonObject["certificates"]);
-  result._docFieldsText = jsonObject["docFieldsText"].cast<int>();
-  result._docFieldsGraphics = jsonObject["docFieldsGraphics"].cast<int>();
-  result._docFieldsOriginals = jsonObject["docFieldsOriginals"].cast<int>();
-  result._notifications = jsonObject["notifications"].cast<int>();
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/notifications.html b/docs/document_reader/File/notifications.html deleted file mode 100644 index be8f26e2da..0000000000 --- a/docs/document_reader/File/notifications.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - notifications property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int> - notifications - - -
- - - - -
-

Implementation

-
List<int> get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/pAStatus.html b/docs/document_reader/File/pAStatus.html deleted file mode 100644 index 9d276f58f8..0000000000 --- a/docs/document_reader/File/pAStatus.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - pAStatus property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pAStatus
- -
- -
-
-
- -
-
-

pAStatus property -

- - - -
- -
- - RFIDErrorCodes - pAStatus - - -
- - - - -
-

Implementation

-
RFIDErrorCodes get pAStatus => _pAStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/readingStatus.html b/docs/document_reader/File/readingStatus.html deleted file mode 100644 index 06c2c53021..0000000000 --- a/docs/document_reader/File/readingStatus.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - readingStatus property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readingStatus
- -
- -
-
-
- -
-
-

readingStatus property -

- - - -
- -
- - RFIDErrorCodes - readingStatus - - -
- - - - -
-

Implementation

-
RFIDErrorCodes get readingStatus => _readingStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/readingTime.html b/docs/document_reader/File/readingTime.html deleted file mode 100644 index aaa30b441f..0000000000 --- a/docs/document_reader/File/readingTime.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - readingTime property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readingTime
- -
- -
-
-
- -
-
-

readingTime property -

- - - -
- -
- - int - readingTime - - -
- - - - -
-

Implementation

-
int get readingTime => _readingTime;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/toJson.html b/docs/document_reader/File/toJson.html deleted file mode 100644 index c6fa1cc029..0000000000 --- a/docs/document_reader/File/toJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - toJson method - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "fileData": fileData?.toJson(),
-      "fileID": fileID,
-      "notifications": notifications,
-      "pAStatus": pAStatus.value,
-      "readingStatus": readingStatus.value,
-      "readingTime": readingTime,
-      "type": type.value,
-      "typeName": typeName,
-      "docFieldsText": docFieldsText,
-      "docFieldsGraphics": docFieldsGraphics,
-      "docFieldsOriginals": docFieldsOriginals,
-      "certificates": certificates?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/type.html b/docs/document_reader/File/type.html deleted file mode 100644 index fa92b9699e..0000000000 --- a/docs/document_reader/File/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - RFIDDataFileType - type - - -
- - - - -
-

Implementation

-
RFIDDataFileType get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/File/typeName.html b/docs/document_reader/File/typeName.html deleted file mode 100644 index c28334a9b0..0000000000 --- a/docs/document_reader/File/typeName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - typeName property - File class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
typeName
- -
- -
-
-
- -
-
-

typeName property -

- - - -
- -
- - String - typeName - - -
- - - - -
-

Implementation

-
String get typeName => _typeName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData-class-sidebar.html b/docs/document_reader/FileData-class-sidebar.html deleted file mode 100644 index 62bc1ad71d..0000000000 --- a/docs/document_reader/FileData-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FileData
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. hashCode
  10. -
  11. length
  12. -
  13. runtimeType
  14. -
  15. status
  16. -
  17. type
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/FileData-class.html b/docs/document_reader/FileData-class.html deleted file mode 100644 index 59b6025a03..0000000000 --- a/docs/document_reader/FileData-class.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FileData
- -
- -
-
-
- -
-
-

FileData class - -

- - - - - - -
-

Constructors

- -
-
- FileData() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- length - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - int - -
-
- -
no setter
- -
- -
- type - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - FileData? - - - -
-
- Allows you to serialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/FileData.html b/docs/document_reader/FileData/FileData.html deleted file mode 100644 index dab739f7e1..0000000000 --- a/docs/document_reader/FileData/FileData.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - FileData constructor - FileData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FileData
- -
- -
-
-
- -
-
-

FileData constructor -

- -
- - FileData() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/data.html b/docs/document_reader/FileData/data.html deleted file mode 100644 index ac5ca208c4..0000000000 --- a/docs/document_reader/FileData/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String? - data - - -
- - - - -
-

Implementation

-
String? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/fromJson.html b/docs/document_reader/FileData/fromJson.html deleted file mode 100644 index 56fab36330..0000000000 --- a/docs/document_reader/FileData/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -FileData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
static FileData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = FileData();
-
-  result._length = jsonObject["length"];
-  result._type = jsonObject["type"];
-  result._status = jsonObject["status"];
-  result._data = jsonObject["data"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/length.html b/docs/document_reader/FileData/length.html deleted file mode 100644 index ce6ee15e13..0000000000 --- a/docs/document_reader/FileData/length.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - length property - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
length
- -
- -
-
-
- -
-
-

length property -

- - - -
- -
- - int - length - - -
- - - - -
-

Implementation

-
int get length => _length;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/status.html b/docs/document_reader/FileData/status.html deleted file mode 100644 index 7629d082df..0000000000 --- a/docs/document_reader/FileData/status.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - status property - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - int - status - - -
- - - - -
-

Implementation

-
int get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/toJson.html b/docs/document_reader/FileData/toJson.html deleted file mode 100644 index 9cecc5c352..0000000000 --- a/docs/document_reader/FileData/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "length": length,
-      "type": type,
-      "status": status,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FileData/type.html b/docs/document_reader/FileData/type.html deleted file mode 100644 index b45bee8acf..0000000000 --- a/docs/document_reader/FileData/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - FileData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - int - type - - -
- - - - -
-

Implementation

-
int get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FinalizePackageCompletion.html b/docs/document_reader/FinalizePackageCompletion.html deleted file mode 100644 index 92f1879f82..0000000000 --- a/docs/document_reader/FinalizePackageCompletion.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - FinalizePackageCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FinalizePackageCompletion
- -
- -
-
-
- -
-
-

FinalizePackageCompletion typedef - -

- -
- - -FinalizePackageCompletion = (DocReaderAction, TransactionInfo?, DocReaderException?) - - -
- - -
-

Type for receiving answer after backend processing has finished.

-

DocReaderAction defines processing status.

-

TransactionInfo contains transactionId and tag.

-

DocReaderException in case of anything is wrong - brief message for developer, null otherwise.

-
- - -
-

Implementation

-
typedef FinalizePackageCompletion = (
-  DocReaderAction action,
-  TransactionInfo? info,
-  DocReaderException? error,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font-class-sidebar.html b/docs/document_reader/Font-class-sidebar.html deleted file mode 100644 index 05b7873a53..0000000000 --- a/docs/document_reader/Font-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Font
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. name
  10. -
  11. runtimeType
  12. -
  13. size
  14. -
  15. style
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/Font-class.html b/docs/document_reader/Font-class.html deleted file mode 100644 index 31420246ea..0000000000 --- a/docs/document_reader/Font-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Font
- -
- -
-
-
- -
-
-

Font class - -

- - - - - - -
-

Constructors

- -
-
- Font(String name, {int? size, FontStyle? style}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- name - String - -
-
- Font family. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- size - int? - -
-
- Font size. -
no setter
- -
- -
- style - FontStyle? - -
-
- Font style. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Font? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/Font.html b/docs/document_reader/Font/Font.html deleted file mode 100644 index ed4a125739..0000000000 --- a/docs/document_reader/Font/Font.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - Font constructor - Font - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Font
- -
- -
-
-
- -
-
-

Font constructor -

- -
- - Font(
  1. String name,
  2. -
  3. {int? size,
  4. -
  5. FontStyle? style}
  6. -
) -
- - - - - -
-

Implementation

-
Font
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/fromJson.html b/docs/document_reader/Font/fromJson.html deleted file mode 100644 index be3db53c5f..0000000000 --- a/docs/document_reader/Font/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Font? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Font? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-
-  var result = Font(jsonObject["name"]);
-  result._size = jsonObject["size"];
-  result._style = FontStyle.getByValue(jsonObject["style"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/name.html b/docs/document_reader/Font/name.html deleted file mode 100644 index 89485269b1..0000000000 --- a/docs/document_reader/Font/name.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - name property - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
name
- -
- -
-
-
- -
-
-

name property -

- - - -
- -
- - String - name - - -
- - -
-

Font family.

-

Beware that Android and iOS have diffrent font names, -so you will have to use if condition.

-
- - -
-

Implementation

-
String get name => _name;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/size.html b/docs/document_reader/Font/size.html deleted file mode 100644 index 257040bfef..0000000000 --- a/docs/document_reader/Font/size.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - size property - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
size
- -
- -
-
-
- -
-
-

size property -

- - - -
- -
- - int? - size - - -
- - -
-

Font size.

-
- - -
-

Implementation

-
int? get size => _size;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/style.html b/docs/document_reader/Font/style.html deleted file mode 100644 index c89f870725..0000000000 --- a/docs/document_reader/Font/style.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - style property - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
style
- -
- -
-
-
- -
-
-

style property -

- - - -
- -
- - FontStyle? - style - - -
- - -
-

Font style.

-

Android only.

-
- - -
-

Implementation

-
FontStyle? get style => _style;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Font/toJson.html b/docs/document_reader/Font/toJson.html deleted file mode 100644 index 82e62ad4cb..0000000000 --- a/docs/document_reader/Font/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - Font class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "name": name,
-      "size": size,
-      "style": style?.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FontStyle-enum-sidebar.html b/docs/document_reader/FontStyle-enum-sidebar.html deleted file mode 100644 index 9ef79d15cd..0000000000 --- a/docs/document_reader/FontStyle-enum-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FontStyle
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NORMAL
  10. -
  11. BOLD
  12. -
  13. ITALIC
  14. -
  15. BOLD_ITALIC
  16. - -
  17. - Properties -
  18. -
  19. hashCode
  20. -
  21. index
  22. -
  23. runtimeType
  24. -
  25. value
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. getByValue
  40. - -
  41. Constants
  42. -
  43. values
  44. -
diff --git a/docs/document_reader/FontStyle.html b/docs/document_reader/FontStyle.html deleted file mode 100644 index f1bcc6f39d..0000000000 --- a/docs/document_reader/FontStyle.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - - - FontStyle enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FontStyle
- -
- -
-
-
- -
-
- -

- FontStyle - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- FontStyle(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const FontStyle - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- FontStyle(-1) -
-
- -
- NORMAL - → const FontStyle - - -
-
- - - -
- FontStyle(0) -
-
- -
- BOLD - → const FontStyle - - -
-
- - - -
- FontStyle(1) -
-
- -
- ITALIC - → const FontStyle - - -
-
- - - -
- FontStyle(2) -
-
- -
- BOLD_ITALIC - → const FontStyle - - -
-
- - - -
- FontStyle(3) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - FontStyle? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<FontStyle> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NORMAL, BOLD, ITALIC, BOLD_ITALIC] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FontStyle/FontStyle.html b/docs/document_reader/FontStyle/FontStyle.html deleted file mode 100644 index a483e57d41..0000000000 --- a/docs/document_reader/FontStyle/FontStyle.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - FontStyle constructor - FontStyle - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FontStyle
- -
- -
-
-
- -
-
-

FontStyle constructor -

- -
- const - FontStyle(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const FontStyle
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FontStyle/value.html b/docs/document_reader/FontStyle/value.html deleted file mode 100644 index 05d4816130..0000000000 --- a/docs/document_reader/FontStyle/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - FontStyle enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FontStyle/values-constant.html b/docs/document_reader/FontStyle/values-constant.html deleted file mode 100644 index bdd144999a..0000000000 --- a/docs/document_reader/FontStyle/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - FontStyle enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<FontStyle> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FrameShapeType-enum-sidebar.html b/docs/document_reader/FrameShapeType-enum-sidebar.html deleted file mode 100644 index 5ac6fb812b..0000000000 --- a/docs/document_reader/FrameShapeType-enum-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. FrameShapeType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. LINE
  10. -
  11. CORNER
  12. - -
  13. - Properties -
  14. -
  15. hashCode
  16. -
  17. index
  18. -
  19. runtimeType
  20. -
  21. value
  22. - -
  23. Methods
  24. -
  25. noSuchMethod
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. getByValue
  36. - -
  37. Constants
  38. -
  39. values
  40. -
diff --git a/docs/document_reader/FrameShapeType.html b/docs/document_reader/FrameShapeType.html deleted file mode 100644 index 00c92e5d75..0000000000 --- a/docs/document_reader/FrameShapeType.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - - - FrameShapeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FrameShapeType
- -
- -
-
-
- -
-
- -

- FrameShapeType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- FrameShapeType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const FrameShapeType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- FrameShapeType(-1) -
-
- -
- LINE - → const FrameShapeType - - -
-
-

Camera frame is rectangle.

- - -
- FrameShapeType(0) -
-
- -
- CORNER - → const FrameShapeType - - -
-
-

Camera frame only consists of corners of the rectangle.

- - -
- FrameShapeType(1) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - FrameShapeType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<FrameShapeType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, LINE, CORNER] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FrameShapeType/FrameShapeType.html b/docs/document_reader/FrameShapeType/FrameShapeType.html deleted file mode 100644 index c0e1ce50e7..0000000000 --- a/docs/document_reader/FrameShapeType/FrameShapeType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - FrameShapeType constructor - FrameShapeType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
FrameShapeType
- -
- -
-
-
- -
-
-

FrameShapeType constructor -

- -
- const - FrameShapeType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const FrameShapeType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FrameShapeType/value.html b/docs/document_reader/FrameShapeType/value.html deleted file mode 100644 index a01c310848..0000000000 --- a/docs/document_reader/FrameShapeType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - FrameShapeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/FrameShapeType/values-constant.html b/docs/document_reader/FrameShapeType/values-constant.html deleted file mode 100644 index 589362ffde..0000000000 --- a/docs/document_reader/FrameShapeType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - FrameShapeType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<FrameShapeType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality-class-sidebar.html b/docs/document_reader/Functionality-class-sidebar.html deleted file mode 100644 index c1a7f4dd5a..0000000000 --- a/docs/document_reader/Functionality-class-sidebar.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Functionality
  4. - - -
  5. - Properties -
  6. -
  7. btDeviceName
  8. -
  9. cameraFrame
  10. -
  11. cameraMode
  12. -
  13. cameraPositionIOS
  14. -
  15. cameraResolutionAndroid
  16. -
  17. cameraResolutionIOS
  18. -
  19. captureMode
  20. -
  21. displayMetadata
  22. -
  23. excludedCamera2Models
  24. -
  25. exposure
  26. -
  27. forcePagesCount
  28. -
  29. hashCode
  30. -
  31. isCameraTorchCheckDisabled
  32. -
  33. isZoomEnabled
  34. -
  35. manualMultipageMode
  36. -
  37. orientation
  38. -
  39. pictureOnBoundsReady
  40. -
  41. recordScanningProcess
  42. -
  43. rfidTimeout
  44. -
  45. runtimeType
  46. -
  47. showCameraSwitchButton
  48. -
  49. showCaptureButton
  50. -
  51. showCaptureButtonDelayFromDetect
  52. -
  53. showCaptureButtonDelayFromStart
  54. -
  55. showChangeFrameButton
  56. -
  57. showCloseButton
  58. -
  59. showSkipNextPageButton
  60. -
  61. showTorchButton
  62. -
  63. singleResult
  64. -
  65. skipFocusingFrames
  66. -
  67. testSetters
  68. -
  69. useAuthenticator
  70. -
  71. videoCaptureMotionControl
  72. -
  73. zoomFactor
  74. - -
  75. Methods
  76. -
  77. noSuchMethod
  78. -
  79. toJson
  80. -
  81. toString
  82. - -
  83. Operators
  84. -
  85. operator ==
  86. - - - -
  87. Static methods
  88. -
  89. fromJson
  90. - -
diff --git a/docs/document_reader/Functionality-class.html b/docs/document_reader/Functionality-class.html deleted file mode 100644 index 9ffc46e259..0000000000 --- a/docs/document_reader/Functionality-class.html +++ /dev/null @@ -1,627 +0,0 @@ - - - - - - - - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Functionality
- -
- -
-
-
- -
-
-

Functionality class - -

- - -
-

Params that influence the scanning process, camera view controller -customization and etc.

-
- - - - -
-

Constructors

- -
-
- Functionality() -
-
- -
-
-
- -
-

Properties

- -
-
- btDeviceName - String? - -
-
- Allows you to specify a name of a Regula device that will be used -with Document Reader SDK. -
getter/setter pair
- -
- -
- cameraFrame - DocReaderFrame? - -
-
- Set this setting to override the default cropping frame provided by scenarios. -
getter/setter pair
- -
- -
- cameraMode - CameraMode? - -
-
- Allows you to specify the camera API. -
getter/setter pair
- -
- -
- cameraPositionIOS - CameraPosition? - -
-
- Allows you to specify a position of a capture device for the video session. -
getter/setter pair
- -
- -
- cameraResolutionAndroid - CameraSize? - -
-
- Allows you to specify the frame resolution. -
getter/setter pair
- -
- -
- cameraResolutionIOS - CaptureSessionPreset? - -
-
- Allows you to specify the frame resolution. -
getter/setter pair
- -
- -
- captureMode - CaptureMode? - -
-
- Allows you to specify the video processing mode. -
getter/setter pair
- -
- -
- displayMetadata - bool? - -
-
- If it's set to true, the metadata will be displayed over the camera -preview during document processing, namely the perspective angle value. -
getter/setter pair
- -
- -
- excludedCamera2Models - List<String>? - -
-
- A list of devices that must not use the camera2 API. -
getter/setter pair
- -
- -
- exposure - double? - -
-
- Allows you to control exposure. -
getter/setter pair
- -
- -
- forcePagesCount - int? - -
-
- Sets a limit on the number of pages to be processed. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- isCameraTorchCheckDisabled - bool? - -
-
- Allows you to disable all validations of having a torch in case Android -returns that it's not available, but it can be used when checks are skipped. -
getter/setter pair
- -
- -
- isZoomEnabled - bool? - -
-
- If it's set to true, allows you to adjust a zoom level using the pinch -gesture (its range is from 1x to 10x). -
getter/setter pair
- -
- -
- manualMultipageMode - bool? - -
-
- If it's set to true, scanner operate in manual multipage scanning mode. -Set this flag to true, if you wanna create for example, custom logic -(or UI) between scanning document pages. -
getter/setter pair
- -
- -
- orientation - DocReaderOrientation? - -
-
- Allows you to specify an orientation of the camera view controller. -
getter/setter pair
- -
- -
- pictureOnBoundsReady - bool? - -
-
- If set to true, as soon as document is located during video mode, -picture wil be taken and processed as single frame. -
getter/setter pair
- -
- -
- recordScanningProcess - bool? - -
-
- If set to true, video during processing of the document will be recorded. -This can be used later for debugging and troubleshooting. -
getter/setter pair
- -
- -
- rfidTimeout - int? - -
-
- Use the parameter to set the time limit (in seconds) for the RFID chip reading, -beyond which it does not continue regardless of its result. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- showCameraSwitchButton - bool? - -
-
- If it's set to true, the button that allows you to change a position -of a capture device for the video session will be displayed. -
getter/setter pair
- -
- -
- showCaptureButton - bool? - -
-
- If it's set to true, the button that allows you to take a picture -and process it as a single frame will be displayed. -
getter/setter pair
- -
- -
- showCaptureButtonDelayFromDetect - int? - -
-
- Allows you to specify a time interval when the Capture button -has to be displayed after the document is detected. -Don't forget to set the showCaptureButton to true, -otherwise, it won't be displayed. -
getter/setter pair
- -
- -
- showCaptureButtonDelayFromStart - int? - -
-
- Allows you to specify a time interval when the Capture button -has to be displayed after the scanning process is started. -Don't forget to set the showCaptureButton to true, -otherwise, it won't be displayed. -
getter/setter pair
- -
- -
- showChangeFrameButton - bool? - -
-
- If it's set to true, the button that allows you to change the camera -frame type will be displayed. -
getter/setter pair
- -
- -
- showCloseButton - bool? - -
-
- If it's set to true, the button that allows you to close the scanner -will be displayed. -
getter/setter pair
- -
- -
- showSkipNextPageButton - bool? - -
-
- If it's set to true, the button that allows you to skip processing -of the next page of a document will be displayed. -
getter/setter pair
- -
- -
- showTorchButton - bool? - -
-
- If it's set to true, the button that allows you to turn on/off -the torch will be displayed. -
getter/setter pair
- -
- -
- singleResult - bool? - -
-
- If it's set to true, once the scanning process is finished, -the scanner will be dismissed. -
getter/setter pair
- -
- -
- skipFocusingFrames - bool? - -
-
- If it's set to true, camera frames won't be taken for recognition -while a camera is focusing. -
getter/setter pair
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
- useAuthenticator - bool? - -
-
- If it's set to true, allows you to connect to the external -Regula Bluetooth devices like Regula 1120 and others. -
getter/setter pair
- -
- -
- videoCaptureMotionControl - bool? - -
-
- If it's set to true, camera frames won't be taken for recognition -while a device is moving based on motion sensors. -
getter/setter pair
- -
- -
- zoomFactor - double? - -
-
- Allows you to set the desired zoom level (its range from 1x to 10x). -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Functionality - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/Functionality.html b/docs/document_reader/Functionality/Functionality.html deleted file mode 100644 index 2a5b44c8fd..0000000000 --- a/docs/document_reader/Functionality/Functionality.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Functionality constructor - Functionality - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Functionality
- -
- -
-
-
- -
-
-

Functionality constructor -

- -
- - Functionality() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/btDeviceName.html b/docs/document_reader/Functionality/btDeviceName.html deleted file mode 100644 index 7289749f37..0000000000 --- a/docs/document_reader/Functionality/btDeviceName.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - btDeviceName property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
btDeviceName
- -
- -
-
-
- -
-
-

btDeviceName property -

- - - -
- -
- - String? - btDeviceName - - -
- - -
-

Allows you to specify a name of a Regula device that will be used -with Document Reader SDK.

-
- - -
-

Implementation

-
String? get btDeviceName => _btDeviceName;
-
- -
- - - -
- -
- - void - btDeviceName=(String? val) - - -
- - - - -
-

Implementation

-
set btDeviceName(String? val) {
-  _btDeviceName = val;
-  _set({"btDeviceName": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/cameraFrame.html b/docs/document_reader/Functionality/cameraFrame.html deleted file mode 100644 index 950ec3748b..0000000000 --- a/docs/document_reader/Functionality/cameraFrame.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraFrame property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraFrame
- -
- -
-
-
- -
-
-

cameraFrame property -

- - - -
- -
- - DocReaderFrame? - cameraFrame - - -
- - -
-

Set this setting to override the default cropping frame provided by scenarios.

-

Default: DocReaderFrame.SCENARIO_DEFAULT.

-
- - -
-

Implementation

-
DocReaderFrame? get cameraFrame => _cameraFrame;
-
- -
- - - -
- -
- - void - cameraFrame=(DocReaderFrame? val) - - -
- - - - -
-

Implementation

-
set cameraFrame(DocReaderFrame? val) {
-  _cameraFrame = val;
-  _set({"cameraFrame": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/cameraMode.html b/docs/document_reader/Functionality/cameraMode.html deleted file mode 100644 index bf090d023f..0000000000 --- a/docs/document_reader/Functionality/cameraMode.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraMode property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraMode
- -
- -
-
-
- -
-
-

cameraMode property -

- - - -
- -
- - CameraMode? - cameraMode - - -
- - -
-

Allows you to specify the camera API.

-

Default: CameraMode.AUTO.

-

Android only.

-
- - -
-

Implementation

-
CameraMode? get cameraMode => _cameraMode;
-
- -
- - - -
- -
- - void - cameraMode=(CameraMode? val) - - -
- - - - -
-

Implementation

-
set cameraMode(CameraMode? val) {
-  _cameraMode = val;
-  _set({"cameraMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/cameraPositionIOS.html b/docs/document_reader/Functionality/cameraPositionIOS.html deleted file mode 100644 index 9b813f64c3..0000000000 --- a/docs/document_reader/Functionality/cameraPositionIOS.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - cameraPositionIOS property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraPositionIOS
- -
- -
-
-
- -
-
-

cameraPositionIOS property -

- - - -
- -
- - CameraPosition? - cameraPositionIOS - - -
- - -
-

Allows you to specify a position of a capture device for the video session.

-

Default: CameraPosition.UNSPECIFIED.

-

IOS only.

-
- - -
-

Implementation

-
CameraPosition? get cameraPositionIOS => _cameraPositionIOS;
-
- -
- - - -
- -
- - void - cameraPositionIOS=(CameraPosition? val) - - -
- - - - -
-

Implementation

-
set cameraPositionIOS(CameraPosition? val) {
-  _cameraPositionIOS = val;
-  _set({"cameraPositionIOS": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/cameraResolutionAndroid.html b/docs/document_reader/Functionality/cameraResolutionAndroid.html deleted file mode 100644 index 79dacb099f..0000000000 --- a/docs/document_reader/Functionality/cameraResolutionAndroid.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraResolutionAndroid property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraResolutionAndroid
- -
- -
-
-
- -
-
-

cameraResolutionAndroid property -

- - - -
- -
- - CameraSize? - cameraResolutionAndroid - - -
- - -
-

Allows you to specify the frame resolution.

-

Android only. For iOS use cameraResolutionIOS

-
- - -
-

Implementation

-
CameraSize? get cameraResolutionAndroid => _cameraResolutionAndroid;
-
- -
- - - -
- -
- - void - cameraResolutionAndroid=(CameraSize? val) - - -
- - - - -
-

Implementation

-
set cameraResolutionAndroid(CameraSize? val) {
-  _cameraResolutionAndroid = val;
-  _set({"cameraSize": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/cameraResolutionIOS.html b/docs/document_reader/Functionality/cameraResolutionIOS.html deleted file mode 100644 index 8fb68a8bfe..0000000000 --- a/docs/document_reader/Functionality/cameraResolutionIOS.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - cameraResolutionIOS property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraResolutionIOS
- -
- -
-
-
- -
-
-

cameraResolutionIOS property -

- - - -
- -
- - CaptureSessionPreset? - cameraResolutionIOS - - -
- - -
-

Allows you to specify the frame resolution.

-

iOS only. For Android use cameraResolutionAndroid

-
- - -
-

Implementation

-
CaptureSessionPreset? get cameraResolutionIOS => _cameraResolutionIOS;
-
- -
- - - -
- -
- - void - cameraResolutionIOS=(CaptureSessionPreset? val) - - -
- - - - -
-

Implementation

-
set cameraResolutionIOS(CaptureSessionPreset? val) {
-  _cameraResolutionIOS = val;
-  _set({"videoSessionPreset": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/captureMode.html b/docs/document_reader/Functionality/captureMode.html deleted file mode 100644 index 3fe0104e2c..0000000000 --- a/docs/document_reader/Functionality/captureMode.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - captureMode property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
captureMode
- -
- -
-
-
- -
-
-

captureMode property -

- - - -
- -
- - CaptureMode? - captureMode - - -
- - -
-

Allows you to specify the video processing mode.

-

Default: CaptureMode.AUTO.

-
- - -
-

Implementation

-
CaptureMode? get captureMode => _captureMode;
-
- -
- - - -
- -
- - void - captureMode=(CaptureMode? val) - - -
- - - - -
-

Implementation

-
set captureMode(CaptureMode? val) {
-  _captureMode = val;
-  _set({"captureMode": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/displayMetadata.html b/docs/document_reader/Functionality/displayMetadata.html deleted file mode 100644 index b68ea4b523..0000000000 --- a/docs/document_reader/Functionality/displayMetadata.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - displayMetadata property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
displayMetadata
- -
- -
-
-
- -
-
-

displayMetadata property -

- - - -
- -
- - bool? - displayMetadata - - -
- - -
-

If it's set to true, the metadata will be displayed over the camera -preview during document processing, namely the perspective angle value.

-

Default: false.

-
- - -
-

Implementation

-
bool? get displayMetadata => _displayMetadata;
-
- -
- - - -
- -
- - void - displayMetadata=(bool? val) - - -
- - - - -
-

Implementation

-
set displayMetadata(bool? val) {
-  _displayMetadata = val;
-  _set({"displayMetadata": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/excludedCamera2Models.html b/docs/document_reader/Functionality/excludedCamera2Models.html deleted file mode 100644 index 7911674668..0000000000 --- a/docs/document_reader/Functionality/excludedCamera2Models.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - excludedCamera2Models property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
excludedCamera2Models
- -
- -
-
-
- -
-
-

excludedCamera2Models property -

- - - -
- -
- - List<String>? - excludedCamera2Models - - -
- - -
-

A list of devices that must not use the camera2 API.

-

Android only.

-
- - -
-

Implementation

-
List<String>? get excludedCamera2Models => _excludedCamera2Models;
-
- -
- - - -
- -
- - void - excludedCamera2Models=(List<String>? val) - - -
- - - - -
-

Implementation

-
set excludedCamera2Models(List<String>? val) {
-  _excludedCamera2Models = val;
-  _set({"excludedCamera2Models": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/exposure.html b/docs/document_reader/Functionality/exposure.html deleted file mode 100644 index ad3bed5079..0000000000 --- a/docs/document_reader/Functionality/exposure.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - exposure property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
exposure
- -
- -
-
-
- -
-
-

exposure property -

- - - -
- -
- - double? - exposure - - -
- - -
-

Allows you to control exposure.

-

Android only.

-
- - -
-

Implementation

-
double? get exposure => _exposure;
-
- -
- - - -
- -
- - void - exposure=(double? val) - - -
- - - - -
-

Implementation

-
set exposure(double? val) {
-  _exposure = val;
-  _set({"exposure": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/forcePagesCount.html b/docs/document_reader/Functionality/forcePagesCount.html deleted file mode 100644 index ee6cb456b8..0000000000 --- a/docs/document_reader/Functionality/forcePagesCount.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - forcePagesCount property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
forcePagesCount
- -
- -
-
-
- -
-
-

forcePagesCount property -

- - - -
- -
- - int? - forcePagesCount - - -
- - -
-

Sets a limit on the number of pages to be processed.

-
- - -
-

Implementation

-
int? get forcePagesCount => _forcePagesCount;
-
- -
- - - -
- -
- - void - forcePagesCount=(int? val) - - -
- - - - -
-

Implementation

-
set forcePagesCount(int? val) {
-  _forcePagesCount = val;
-  _set({"forcePagesCount": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/fromJson.html b/docs/document_reader/Functionality/fromJson.html deleted file mode 100644 index be7d6d914a..0000000000 --- a/docs/document_reader/Functionality/fromJson.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - fromJson method - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Functionality -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Functionality fromJson(jsonObject) {
-  var result = Functionality();
-  result.testSetters = {};
-
-  result.pictureOnBoundsReady = jsonObject["pictureOnBoundsReady"];
-  result.showTorchButton = jsonObject["showTorchButton"];
-  result.showCloseButton = jsonObject["showCloseButton"];
-  result.videoCaptureMotionControl = jsonObject["videoCaptureMotionControl"];
-  result.showCaptureButton = jsonObject["showCaptureButton"];
-  result.showChangeFrameButton = jsonObject["showChangeFrameButton"];
-  result.showSkipNextPageButton = jsonObject["showSkipNextPageButton"];
-  result.useAuthenticator = jsonObject["useAuthenticator"];
-  result.skipFocusingFrames = jsonObject["skipFocusingFrames"];
-  result.showCameraSwitchButton = jsonObject["showCameraSwitchButton"];
-  result.displayMetadata = jsonObject["displayMetadata"];
-  result.isZoomEnabled = jsonObject["isZoomEnabled"];
-  result.isCameraTorchCheckDisabled =
-      jsonObject["isCameraTorchCheckDisabled"];
-  result.recordScanningProcess = jsonObject["recordScanningProcess"];
-  result.manualMultipageMode = jsonObject["manualMultipageMode"];
-  result.singleResult = jsonObject["singleResult"];
-
-  result.showCaptureButtonDelayFromDetect =
-      jsonObject["showCaptureButtonDelayFromDetect"];
-  result.showCaptureButtonDelayFromStart =
-      jsonObject["showCaptureButtonDelayFromStart"];
-  result.rfidTimeout = jsonObject["rfidTimeout"];
-  result.forcePagesCount = jsonObject["forcePagesCount"];
-  result.orientation =
-      DocReaderOrientation.getByValue(jsonObject["orientation"]);
-  result.captureMode = CaptureMode.getByValue(jsonObject["captureMode"]);
-  result.cameraMode = CameraMode.getByValue(jsonObject["cameraMode"]);
-  result.cameraPositionIOS =
-      CameraPosition.getByValue(jsonObject["cameraPositionIOS"]);
-
-  result.cameraFrame = DocReaderFrame.getByValue(jsonObject["cameraFrame"]);
-  result.btDeviceName = jsonObject["btDeviceName"];
-
-  result.zoomFactor = _toDouble(jsonObject["zoomFactor"]);
-  result.exposure = _toDouble(jsonObject["exposure"]);
-
-  result.excludedCamera2Models = jsonObject["excludedCamera2Models"] == null
-      ? null
-      : List<String>.from(jsonObject["excludedCamera2Models"]);
-
-  result.cameraResolutionAndroid =
-      CameraSize.fromJson(jsonObject["cameraSize"]);
-  result.cameraResolutionIOS =
-      CaptureSessionPreset.getByValue(jsonObject["videoSessionPreset"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/isCameraTorchCheckDisabled.html b/docs/document_reader/Functionality/isCameraTorchCheckDisabled.html deleted file mode 100644 index a5cea4cdd7..0000000000 --- a/docs/document_reader/Functionality/isCameraTorchCheckDisabled.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - isCameraTorchCheckDisabled property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isCameraTorchCheckDisabled
- -
- -
-
-
- -
-
-

isCameraTorchCheckDisabled property -

- - - -
- -
- - bool? - isCameraTorchCheckDisabled - - -
- - -
-

Allows you to disable all validations of having a torch in case Android -returns that it's not available, but it can be used when checks are skipped.

-

Default: false.

-

Android only.

-
- - -
-

Implementation

-
bool? get isCameraTorchCheckDisabled => _isCameraTorchCheckDisabled;
-
- -
- - - -
- -
- - void - isCameraTorchCheckDisabled=(bool? val) - - -
- - - - -
-

Implementation

-
set isCameraTorchCheckDisabled(bool? val) {
-  _isCameraTorchCheckDisabled = val;
-  _set({"isCameraTorchCheckDisabled": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/isZoomEnabled.html b/docs/document_reader/Functionality/isZoomEnabled.html deleted file mode 100644 index 9b48e40465..0000000000 --- a/docs/document_reader/Functionality/isZoomEnabled.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - isZoomEnabled property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isZoomEnabled
- -
- -
-
-
- -
-
-

isZoomEnabled property -

- - - -
- -
- - bool? - isZoomEnabled - - -
- - -
-

If it's set to true, allows you to adjust a zoom level using the pinch -gesture (its range is from 1x to 10x).

-

Default: false.

-
- - -
-

Implementation

-
bool? get isZoomEnabled => _isZoomEnabled;
-
- -
- - - -
- -
- - void - isZoomEnabled=(bool? val) - - -
- - - - -
-

Implementation

-
set isZoomEnabled(bool? val) {
-  _isZoomEnabled = val;
-  _set({"isZoomEnabled": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/manualMultipageMode.html b/docs/document_reader/Functionality/manualMultipageMode.html deleted file mode 100644 index 8a0164492a..0000000000 --- a/docs/document_reader/Functionality/manualMultipageMode.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - manualMultipageMode property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
manualMultipageMode
- -
- -
-
-
- -
-
-

manualMultipageMode property -

- - - -
- -
- - bool? - manualMultipageMode - - -
- - -
-

If it's set to true, scanner operate in manual multipage scanning mode. -Set this flag to true, if you wanna create for example, custom logic -(or UI) between scanning document pages.

-

Default: false.

-
- - -
-

Implementation

-
bool? get manualMultipageMode => _manualMultipageMode;
-
- -
- - - -
- -
- - void - manualMultipageMode=(bool? val) - - -
- - - - -
-

Implementation

-
set manualMultipageMode(bool? val) {
-  _manualMultipageMode = val;
-  _set({"manualMultipageMode": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/orientation.html b/docs/document_reader/Functionality/orientation.html deleted file mode 100644 index cba233e672..0000000000 --- a/docs/document_reader/Functionality/orientation.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - orientation property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
orientation
- -
- -
-
-
- -
-
-

orientation property -

- - - -
- -
- - DocReaderOrientation? - orientation - - -
- - -
-

Allows you to specify an orientation of the camera view controller.

-

Default: DocReaderOrientation.ALL.

-
- - -
-

Implementation

-
DocReaderOrientation? get orientation => _orientation;
-
- -
- - - -
- -
- - void - orientation=(DocReaderOrientation? val) - - -
- - - - -
-

Implementation

-
set orientation(DocReaderOrientation? val) {
-  _orientation = val;
-  _set({"orientation": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/pictureOnBoundsReady.html b/docs/document_reader/Functionality/pictureOnBoundsReady.html deleted file mode 100644 index 21cb6c7055..0000000000 --- a/docs/document_reader/Functionality/pictureOnBoundsReady.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - pictureOnBoundsReady property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pictureOnBoundsReady
- -
- -
-
-
- -
-
-

pictureOnBoundsReady property -

- - - -
- -
- - bool? - pictureOnBoundsReady - - -
- - -
-

If set to true, as soon as document is located during video mode, -picture wil be taken and processed as single frame.

-

Used for devices with poor-quality video preview.

-

Android only.

-
- - -
-

Implementation

-
bool? get pictureOnBoundsReady => _pictureOnBoundsReady;
-
- -
- - - -
- -
- - void - pictureOnBoundsReady=(bool? val) - - -
- - - - -
-

Implementation

-
set pictureOnBoundsReady(bool? val) {
-  _pictureOnBoundsReady = val;
-  _set({"pictureOnBoundsReady": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/recordScanningProcess.html b/docs/document_reader/Functionality/recordScanningProcess.html deleted file mode 100644 index ac2f1836e4..0000000000 --- a/docs/document_reader/Functionality/recordScanningProcess.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - recordScanningProcess property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
recordScanningProcess
- -
- -
-
-
- -
-
-

recordScanningProcess property -

- - - -
- -
- - bool? - recordScanningProcess - - -
- - -
-

If set to true, video during processing of the document will be recorded. -This can be used later for debugging and troubleshooting.

-

Default: false.

-
- - -
-

Implementation

-
bool? get recordScanningProcess => _recordScanningProcess;
-
- -
- - - -
- -
- - void - recordScanningProcess=(bool? val) - - -
- - - - -
-

Implementation

-
set recordScanningProcess(bool? val) {
-  _recordScanningProcess = val;
-  _set({"recordScanningProcess": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/rfidTimeout.html b/docs/document_reader/Functionality/rfidTimeout.html deleted file mode 100644 index 72d02eed56..0000000000 --- a/docs/document_reader/Functionality/rfidTimeout.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - rfidTimeout property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidTimeout
- -
- -
-
-
- -
-
-

rfidTimeout property -

- - - -
- -
- - int? - rfidTimeout - - -
- - -
-

Use the parameter to set the time limit (in seconds) for the RFID chip reading, -beyond which it does not continue regardless of its result.

-

Android only.

-
- - -
-

Implementation

-
int? get rfidTimeout => _rfidTimeout;
-
- -
- - - -
- -
- - void - rfidTimeout=(int? val) - - -
- - - - -
-

Implementation

-
set rfidTimeout(int? val) {
-  _rfidTimeout = val;
-  _set({"rfidTimeout": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showCameraSwitchButton.html b/docs/document_reader/Functionality/showCameraSwitchButton.html deleted file mode 100644 index de93289759..0000000000 --- a/docs/document_reader/Functionality/showCameraSwitchButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showCameraSwitchButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showCameraSwitchButton
- -
- -
-
-
- -
-
-

showCameraSwitchButton property -

- - - -
- -
- - bool? - showCameraSwitchButton - - -
- - -
-

If it's set to true, the button that allows you to change a position -of a capture device for the video session will be displayed.

-

Default: false.

-
- - -
-

Implementation

-
bool? get showCameraSwitchButton => _showCameraSwitchButton;
-
- -
- - - -
- -
- - void - showCameraSwitchButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showCameraSwitchButton(bool? val) {
-  _showCameraSwitchButton = val;
-  _set({"showCameraSwitchButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showCaptureButton.html b/docs/document_reader/Functionality/showCaptureButton.html deleted file mode 100644 index 5dca1253f6..0000000000 --- a/docs/document_reader/Functionality/showCaptureButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showCaptureButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showCaptureButton
- -
- -
-
-
- -
-
-

showCaptureButton property -

- - - -
- -
- - bool? - showCaptureButton - - -
- - -
-

If it's set to true, the button that allows you to take a picture -and process it as a single frame will be displayed.

-

Default: false.

-
- - -
-

Implementation

-
bool? get showCaptureButton => _showCaptureButton;
-
- -
- - - -
- -
- - void - showCaptureButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showCaptureButton(bool? val) {
-  _showCaptureButton = val;
-  _set({"showCaptureButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showCaptureButtonDelayFromDetect.html b/docs/document_reader/Functionality/showCaptureButtonDelayFromDetect.html deleted file mode 100644 index d30c33d693..0000000000 --- a/docs/document_reader/Functionality/showCaptureButtonDelayFromDetect.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - showCaptureButtonDelayFromDetect property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showCaptureButtonDelayFromDetect
- -
- -
-
-
- -
-
-

showCaptureButtonDelayFromDetect property -

- - - -
- -
- - int? - showCaptureButtonDelayFromDetect - - -
- - -
-

Allows you to specify a time interval when the Capture button -has to be displayed after the document is detected. -Don't forget to set the showCaptureButton to true, -otherwise, it won't be displayed.

-

Default: 5.

-
- - -
-

Implementation

-
int? get showCaptureButtonDelayFromDetect =>
-    _showCaptureButtonDelayFromDetect;
-
- -
- - - -
- -
- - void - showCaptureButtonDelayFromDetect=(int? val) - - -
- - - - -
-

Implementation

-
set showCaptureButtonDelayFromDetect(int? val) {
-  _showCaptureButtonDelayFromDetect = val;
-  _set({"showCaptureButtonDelayFromDetect": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showCaptureButtonDelayFromStart.html b/docs/document_reader/Functionality/showCaptureButtonDelayFromStart.html deleted file mode 100644 index cad3292d5d..0000000000 --- a/docs/document_reader/Functionality/showCaptureButtonDelayFromStart.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - showCaptureButtonDelayFromStart property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showCaptureButtonDelayFromStart
- -
- -
-
-
- -
-
-

showCaptureButtonDelayFromStart property -

- - - -
- -
- - int? - showCaptureButtonDelayFromStart - - -
- - -
-

Allows you to specify a time interval when the Capture button -has to be displayed after the scanning process is started. -Don't forget to set the showCaptureButton to true, -otherwise, it won't be displayed.

-

Default: 10.

-
- - -
-

Implementation

-
int? get showCaptureButtonDelayFromStart => _showCaptureButtonDelayFromStart;
-
- -
- - - -
- -
- - void - showCaptureButtonDelayFromStart=(int? val) - - -
- - - - -
-

Implementation

-
set showCaptureButtonDelayFromStart(int? val) {
-  _showCaptureButtonDelayFromStart = val;
-  _set({"showCaptureButtonDelayFromStart": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showChangeFrameButton.html b/docs/document_reader/Functionality/showChangeFrameButton.html deleted file mode 100644 index a7e8516a1d..0000000000 --- a/docs/document_reader/Functionality/showChangeFrameButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showChangeFrameButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showChangeFrameButton
- -
- -
-
-
- -
-
-

showChangeFrameButton property -

- - - -
- -
- - bool? - showChangeFrameButton - - -
- - -
-

If it's set to true, the button that allows you to change the camera -frame type will be displayed.

-

Default: false.

-
- - -
-

Implementation

-
bool? get showChangeFrameButton => _showChangeFrameButton;
-
- -
- - - -
- -
- - void - showChangeFrameButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showChangeFrameButton(bool? val) {
-  _showChangeFrameButton = val;
-  _set({"showChangeFrameButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showCloseButton.html b/docs/document_reader/Functionality/showCloseButton.html deleted file mode 100644 index 03ed38921f..0000000000 --- a/docs/document_reader/Functionality/showCloseButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showCloseButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showCloseButton
- -
- -
-
-
- -
-
-

showCloseButton property -

- - - -
- -
- - bool? - showCloseButton - - -
- - -
-

If it's set to true, the button that allows you to close the scanner -will be displayed.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showCloseButton => _showCloseButton;
-
- -
- - - -
- -
- - void - showCloseButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showCloseButton(bool? val) {
-  _showCloseButton = val;
-  _set({"showCloseButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showSkipNextPageButton.html b/docs/document_reader/Functionality/showSkipNextPageButton.html deleted file mode 100644 index 0d32bbadf0..0000000000 --- a/docs/document_reader/Functionality/showSkipNextPageButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showSkipNextPageButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showSkipNextPageButton
- -
- -
-
-
- -
-
-

showSkipNextPageButton property -

- - - -
- -
- - bool? - showSkipNextPageButton - - -
- - -
-

If it's set to true, the button that allows you to skip processing -of the next page of a document will be displayed.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showSkipNextPageButton => _showSkipNextPageButton;
-
- -
- - - -
- -
- - void - showSkipNextPageButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showSkipNextPageButton(bool? val) {
-  _showSkipNextPageButton = val;
-  _set({"showSkipNextPageButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/showTorchButton.html b/docs/document_reader/Functionality/showTorchButton.html deleted file mode 100644 index cc4b03cad6..0000000000 --- a/docs/document_reader/Functionality/showTorchButton.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - showTorchButton property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
showTorchButton
- -
- -
-
-
- -
-
-

showTorchButton property -

- - - -
- -
- - bool? - showTorchButton - - -
- - -
-

If it's set to true, the button that allows you to turn on/off -the torch will be displayed.

-

Default: true.

-
- - -
-

Implementation

-
bool? get showTorchButton => _showTorchButton;
-
- -
- - - -
- -
- - void - showTorchButton=(bool? val) - - -
- - - - -
-

Implementation

-
set showTorchButton(bool? val) {
-  _showTorchButton = val;
-  _set({"showTorchButton": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/singleResult.html b/docs/document_reader/Functionality/singleResult.html deleted file mode 100644 index bcf3b99917..0000000000 --- a/docs/document_reader/Functionality/singleResult.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - singleResult property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
singleResult
- -
- -
-
-
- -
-
-

singleResult property -

- - - -
- -
- - bool? - singleResult - - -
- - -
-

If it's set to true, once the scanning process is finished, -the scanner will be dismissed.

-

Default: true.

-

iOS only.

-
- - -
-

Implementation

-
bool? get singleResult => _singleResult;
-
- -
- - - -
- -
- - void - singleResult=(bool? val) - - -
- - - - -
-

Implementation

-
set singleResult(bool? val) {
-  _singleResult = val;
-  _set({"singleResult": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/skipFocusingFrames.html b/docs/document_reader/Functionality/skipFocusingFrames.html deleted file mode 100644 index 48e605c47f..0000000000 --- a/docs/document_reader/Functionality/skipFocusingFrames.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - skipFocusingFrames property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
skipFocusingFrames
- -
- -
-
-
- -
-
-

skipFocusingFrames property -

- - - -
- -
- - bool? - skipFocusingFrames - - -
- - -
-

If it's set to true, camera frames won't be taken for recognition -while a camera is focusing.

-

Default: true.

-
- - -
-

Implementation

-
bool? get skipFocusingFrames => _skipFocusingFrames;
-
- -
- - - -
- -
- - void - skipFocusingFrames=(bool? val) - - -
- - - - -
-

Implementation

-
set skipFocusingFrames(bool? val) {
-  _skipFocusingFrames = val;
-  _set({"skipFocusingFrames": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/testSetters.html b/docs/document_reader/Functionality/testSetters.html deleted file mode 100644 index bddaf766b2..0000000000 --- a/docs/document_reader/Functionality/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/toJson.html b/docs/document_reader/Functionality/toJson.html deleted file mode 100644 index 7a74fa966d..0000000000 --- a/docs/document_reader/Functionality/toJson.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - toJson method - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "pictureOnBoundsReady": pictureOnBoundsReady,
-      "showTorchButton": showTorchButton,
-      "showCloseButton": showCloseButton,
-      "videoCaptureMotionControl": videoCaptureMotionControl,
-      "showCaptureButton": showCaptureButton,
-      "showChangeFrameButton": showChangeFrameButton,
-      "showSkipNextPageButton": showSkipNextPageButton,
-      "useAuthenticator": useAuthenticator,
-      "skipFocusingFrames": skipFocusingFrames,
-      "showCameraSwitchButton": showCameraSwitchButton,
-      "displayMetadata": displayMetadata,
-      "isZoomEnabled": isZoomEnabled,
-      "isCameraTorchCheckDisabled": isCameraTorchCheckDisabled,
-      "recordScanningProcess": recordScanningProcess,
-      "manualMultipageMode": manualMultipageMode,
-      "singleResult": singleResult,
-      "showCaptureButtonDelayFromDetect": showCaptureButtonDelayFromDetect,
-      "showCaptureButtonDelayFromStart": showCaptureButtonDelayFromStart,
-      "rfidTimeout": rfidTimeout,
-      "forcePagesCount": forcePagesCount,
-      "orientation": orientation?.value,
-      "captureMode": captureMode?.value,
-      "cameraMode": cameraMode?.value,
-      "cameraPositionIOS": cameraPositionIOS?.value,
-      "cameraFrame": cameraFrame?.value,
-      "btDeviceName": btDeviceName,
-      "zoomFactor": zoomFactor,
-      "exposure": exposure,
-      "excludedCamera2Models": excludedCamera2Models,
-      "cameraSize": cameraResolutionAndroid?.toJson(),
-      "videoSessionPreset": cameraResolutionIOS?.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/useAuthenticator.html b/docs/document_reader/Functionality/useAuthenticator.html deleted file mode 100644 index 3169083fad..0000000000 --- a/docs/document_reader/Functionality/useAuthenticator.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - useAuthenticator property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
useAuthenticator
- -
- -
-
-
- -
-
-

useAuthenticator property -

- - - -
- -
- - bool? - useAuthenticator - - -
- - -
-

If it's set to true, allows you to connect to the external -Regula Bluetooth devices like Regula 1120 and others.

-
- - -
-

Implementation

-
bool? get useAuthenticator => _useAuthenticator;
-
- -
- - - -
- -
- - void - useAuthenticator=(bool? val) - - -
- - - - -
-

Implementation

-
set useAuthenticator(bool? val) {
-  _useAuthenticator = val;
-  _set({"useAuthenticator": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/videoCaptureMotionControl.html b/docs/document_reader/Functionality/videoCaptureMotionControl.html deleted file mode 100644 index 5322f458be..0000000000 --- a/docs/document_reader/Functionality/videoCaptureMotionControl.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - videoCaptureMotionControl property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
videoCaptureMotionControl
- -
- -
-
-
- -
-
-

videoCaptureMotionControl property -

- - - -
- -
- - bool? - videoCaptureMotionControl - - -
- - -
-

If it's set to true, camera frames won't be taken for recognition -while a device is moving based on motion sensors.

-

Default: true.

-
- - -
-

Implementation

-
bool? get videoCaptureMotionControl => _videoCaptureMotionControl;
-
- -
- - - -
- -
- - void - videoCaptureMotionControl=(bool? val) - - -
- - - - -
-

Implementation

-
set videoCaptureMotionControl(bool? val) {
-  _videoCaptureMotionControl = val;
-  _set({"videoCaptureMotionControl": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Functionality/zoomFactor.html b/docs/document_reader/Functionality/zoomFactor.html deleted file mode 100644 index 08fc3564d0..0000000000 --- a/docs/document_reader/Functionality/zoomFactor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - zoomFactor property - Functionality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
zoomFactor
- -
- -
-
-
- -
-
-

zoomFactor property -

- - - -
- -
- - double? - zoomFactor - - -
- - -
-

Allows you to set the desired zoom level (its range from 1x to 10x).

-

Default: 1.0.

-
- - -
-

Implementation

-
double? get zoomFactor => _zoomFactor;
-
- -
- - - -
- -
- - void - zoomFactor=(double? val) - - -
- - - - -
-

Implementation

-
set zoomFactor(double? val) {
-  _zoomFactor = val;
-  _set({"zoomFactor": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams-class-sidebar.html b/docs/document_reader/GlaresCheckParams-class-sidebar.html deleted file mode 100644 index deabc725a3..0000000000 --- a/docs/document_reader/GlaresCheckParams-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. GlaresCheckParams
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. imgMarginPart
  10. -
  11. maxGlaringPart
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/GlaresCheckParams-class.html b/docs/document_reader/GlaresCheckParams-class.html deleted file mode 100644 index f1965fcea4..0000000000 --- a/docs/document_reader/GlaresCheckParams-class.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - - GlaresCheckParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GlaresCheckParams
- -
- -
-
-
- -
-
-

GlaresCheckParams class - -

- - - - - - -
-

Constructors

- -
-
- GlaresCheckParams({double? imgMarginPart, double? maxGlaringPart}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imgMarginPart - double? - -
-
- Part of margin from the edges of the image that is ignored by glares check. -Example: value 0.07 is 7% of image area is ignored. -
no setter
- -
- -
- maxGlaringPart - double? - -
-
- The maximum allowable part of glared area. -Example: value 0.1 is 10% allowed. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - GlaresCheckParams? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams/GlaresCheckParams.html b/docs/document_reader/GlaresCheckParams/GlaresCheckParams.html deleted file mode 100644 index 23dae6b000..0000000000 --- a/docs/document_reader/GlaresCheckParams/GlaresCheckParams.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - GlaresCheckParams constructor - GlaresCheckParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GlaresCheckParams
- -
- -
-
-
- -
-
-

GlaresCheckParams constructor -

- -
- - GlaresCheckParams(
  1. {double? imgMarginPart,
  2. -
  3. double? maxGlaringPart}
  4. -
) -
- - - - - -
-

Implementation

-
GlaresCheckParams
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams/fromJson.html b/docs/document_reader/GlaresCheckParams/fromJson.html deleted file mode 100644 index 5fb7504f3c..0000000000 --- a/docs/document_reader/GlaresCheckParams/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - GlaresCheckParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -GlaresCheckParams? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static GlaresCheckParams? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return GlaresCheckParams(
-    imgMarginPart: _toDouble(jsonObject["imgMarginPart"]),
-    maxGlaringPart: _toDouble(jsonObject["maxGlaringPart"]),
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams/imgMarginPart.html b/docs/document_reader/GlaresCheckParams/imgMarginPart.html deleted file mode 100644 index 33bd2bc505..0000000000 --- a/docs/document_reader/GlaresCheckParams/imgMarginPart.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - imgMarginPart property - GlaresCheckParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imgMarginPart
- -
- -
-
-
- -
-
-

imgMarginPart property -

- - - -
- -
- - double? - imgMarginPart - - -
- - -
-

Part of margin from the edges of the image that is ignored by glares check. -Example: value 0.07 is 7% of image area is ignored.

-
- - -
-

Implementation

-
double? get imgMarginPart => _imgMarginPart;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams/maxGlaringPart.html b/docs/document_reader/GlaresCheckParams/maxGlaringPart.html deleted file mode 100644 index 65c8d43ded..0000000000 --- a/docs/document_reader/GlaresCheckParams/maxGlaringPart.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - maxGlaringPart property - GlaresCheckParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
maxGlaringPart
- -
- -
-
-
- -
-
-

maxGlaringPart property -

- - - -
- -
- - double? - maxGlaringPart - - -
- - -
-

The maximum allowable part of glared area. -Example: value 0.1 is 10% allowed.

-
- - -
-

Implementation

-
double? get maxGlaringPart => _maxGlaringPart;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GlaresCheckParams/toJson.html b/docs/document_reader/GlaresCheckParams/toJson.html deleted file mode 100644 index fd428097de..0000000000 --- a/docs/document_reader/GlaresCheckParams/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - GlaresCheckParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "imgMarginPart": imgMarginPart,
-      "maxGlaringPart": maxGlaringPart,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField-class-sidebar.html b/docs/document_reader/GraphicField-class-sidebar.html deleted file mode 100644 index 958e0ca247..0000000000 --- a/docs/document_reader/GraphicField-class-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. GraphicField
  4. - - -
  5. - Properties -
  6. -
  7. fieldName
  8. -
  9. fieldRect
  10. -
  11. fieldType
  12. -
  13. hashCode
  14. -
  15. light
  16. -
  17. lightName
  18. -
  19. originalPageIndex
  20. -
  21. pageIndex
  22. -
  23. runtimeType
  24. -
  25. sourceType
  26. -
  27. value
  28. - -
  29. Methods
  30. -
  31. noSuchMethod
  32. -
  33. toJson
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. fromJson
  44. - -
diff --git a/docs/document_reader/GraphicField-class.html b/docs/document_reader/GraphicField-class.html deleted file mode 100644 index d5a003ba50..0000000000 --- a/docs/document_reader/GraphicField-class.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - - - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicField
- -
- -
-
-
- -
-
-

GraphicField class - -

- - -
-

Structure, describing single graphic field extracted.

-
- - - - -
-

Constructors

- -
-
- GraphicField() -
-
- -
-
-
- -
-

Properties

- -
-
- fieldName - String - -
-
- Graphic field symbolic name. -
no setter
- -
- -
- fieldRect - Rect? - -
-
- Field area coordinates on the general image. -
no setter
- -
- -
- fieldType - GraphicFieldType - -
-
- Graphic field logical type. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- light - Lights - -
-
- Light type. -
no setter
- -
- -
- lightName - String - -
-
- Light symbolic name. -
no setter
- -
- -
- originalPageIndex - int - -
-
- Original page index. -
no setter
- -
- -
- pageIndex - int - -
-
- An index of the document page whence the graphic field is extracted. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- sourceType - ResultType - -
-
- Identifies zone whence data is extracted. -
no setter
- -
- -
- value - → dynamic - -
-
- An image. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - GraphicField? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/GraphicField.html b/docs/document_reader/GraphicField/GraphicField.html deleted file mode 100644 index 22745b809a..0000000000 --- a/docs/document_reader/GraphicField/GraphicField.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - GraphicField constructor - GraphicField - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicField
- -
- -
-
-
- -
-
-

GraphicField constructor -

- -
- - GraphicField() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/fieldName.html b/docs/document_reader/GraphicField/fieldName.html deleted file mode 100644 index 8e478b27a1..0000000000 --- a/docs/document_reader/GraphicField/fieldName.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fieldName property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldName
- -
- -
-
-
- -
-
-

fieldName property -

- - - -
- -
- - String - fieldName - - -
- - -
-

Graphic field symbolic name.

-
- - -
-

Implementation

-
String get fieldName => _fieldName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/fieldRect.html b/docs/document_reader/GraphicField/fieldRect.html deleted file mode 100644 index fc0cfa80b1..0000000000 --- a/docs/document_reader/GraphicField/fieldRect.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fieldRect property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldRect
- -
- -
-
-
- -
-
-

fieldRect property -

- - - -
- -
- - Rect? - fieldRect - - -
- - -
-

Field area coordinates on the general image.

-
- - -
-

Implementation

-
Rect? get fieldRect => _fieldRect;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/fieldType.html b/docs/document_reader/GraphicField/fieldType.html deleted file mode 100644 index 8f758284ea..0000000000 --- a/docs/document_reader/GraphicField/fieldType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fieldType property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldType
- -
- -
-
-
- -
-
-

fieldType property -

- - - -
- -
- - GraphicFieldType - fieldType - - -
- - -
-

Graphic field logical type.

-
- - -
-

Implementation

-
GraphicFieldType get fieldType => _fieldType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/fromJson.html b/docs/document_reader/GraphicField/fromJson.html deleted file mode 100644 index b5ec63be41..0000000000 --- a/docs/document_reader/GraphicField/fromJson.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - fromJson method - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -GraphicField? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static GraphicField? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = GraphicField();
-
-  result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!;
-  result._fieldType = GraphicFieldType.getByValue(jsonObject["fieldType"])!;
-  result._light = Lights.getByValue(jsonObject["light"])!;
-  result._pageIndex = jsonObject["pageIndex"];
-  result._originalPageIndex = jsonObject["originalPageIndex"];
-  result._fieldName = jsonObject["fieldName"];
-  result._lightName = jsonObject["lightName"];
-  result._value = _bytesFromBase64(jsonObject["value"]);
-  result._fieldRect = Rect.fromJson(jsonObject["fieldRect"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/light.html b/docs/document_reader/GraphicField/light.html deleted file mode 100644 index e01fff7e1c..0000000000 --- a/docs/document_reader/GraphicField/light.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - light property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
light
- -
- -
-
-
- -
-
-

light property -

- - - -
- -
- - Lights - light - - -
- - -
-

Light type.

-
- - -
-

Implementation

-
Lights get light => _light;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/lightName.html b/docs/document_reader/GraphicField/lightName.html deleted file mode 100644 index f6c054306b..0000000000 --- a/docs/document_reader/GraphicField/lightName.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - lightName property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
lightName
- -
- -
-
-
- -
-
-

lightName property -

- - - -
- -
- - String - lightName - - -
- - -
-

Light symbolic name.

-
- - -
-

Implementation

-
String get lightName => _lightName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/originalPageIndex.html b/docs/document_reader/GraphicField/originalPageIndex.html deleted file mode 100644 index b69c2a187e..0000000000 --- a/docs/document_reader/GraphicField/originalPageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - originalPageIndex property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
originalPageIndex
- -
- -
-
-
- -
-
-

originalPageIndex property -

- - - -
- -
- - int - originalPageIndex - - -
- - -
-

Original page index.

-
- - -
-

Implementation

-
int get originalPageIndex => _originalPageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/pageIndex.html b/docs/document_reader/GraphicField/pageIndex.html deleted file mode 100644 index 69a7728578..0000000000 --- a/docs/document_reader/GraphicField/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

An index of the document page whence the graphic field is extracted.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/sourceType.html b/docs/document_reader/GraphicField/sourceType.html deleted file mode 100644 index 745a06540b..0000000000 --- a/docs/document_reader/GraphicField/sourceType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceType property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceType
- -
- -
-
-
- -
-
-

sourceType property -

- - - -
- -
- - ResultType - sourceType - - -
- - -
-

Identifies zone whence data is extracted.

-
- - -
-

Implementation

-
ResultType get sourceType => _sourceType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/toJson.html b/docs/document_reader/GraphicField/toJson.html deleted file mode 100644 index 22a7cc487e..0000000000 --- a/docs/document_reader/GraphicField/toJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - toJson method - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "sourceType": sourceType.value,
-      "fieldType": fieldType.value,
-      "fieldName": fieldName,
-      "light": light.value,
-      "lightName": lightName,
-      "pageIndex": pageIndex,
-      "originalPageIndex": originalPageIndex,
-      "value": _bytesToBase64(value),
-      "fieldRect": fieldRect?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicField/value.html b/docs/document_reader/GraphicField/value.html deleted file mode 100644 index 2203c8b89d..0000000000 --- a/docs/document_reader/GraphicField/value.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - value property - GraphicField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- - - -
- -
- - dynamic - value - - -
- - -
-

An image.

-
- - -
-

Implementation

-
Uint8List? get value => _value;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicFieldType-enum-sidebar.html b/docs/document_reader/GraphicFieldType-enum-sidebar.html deleted file mode 100644 index 0d453879a9..0000000000 --- a/docs/document_reader/GraphicFieldType-enum-sidebar.html +++ /dev/null @@ -1,54 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. GraphicFieldType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. PORTRAIT
  10. -
  11. FINGERPR
  12. -
  13. EYE
  14. -
  15. SIGNATURE
  16. -
  17. BAR_CODE
  18. -
  19. PROOF_OF_CITIZENSHIP
  20. -
  21. DOCUMENT_IMAGE
  22. -
  23. COLOR_DYNAMIC
  24. -
  25. GHOST_PORTRAIT
  26. -
  27. STAMP
  28. -
  29. PORTRAIT_OF_CHILD
  30. -
  31. CONTACT_CHIP
  32. -
  33. OTHER
  34. -
  35. FINGER_LEFT_THUMB
  36. -
  37. FINGER_LEFT_INDEX
  38. -
  39. FINGER_LEFT_MIDDLE
  40. -
  41. FINGER_LEFT_RING
  42. -
  43. FINGER_LEFT_LITTLE
  44. -
  45. FINGER_RIGHT_THUMB
  46. -
  47. FINGER_RIGHT_INDEX
  48. -
  49. FINGER_RIGHT_MIDDLE
  50. -
  51. FINGER_RIGHT_RING
  52. -
  53. FINGER_RIGHT_LITTLE
  54. - -
  55. - Properties -
  56. -
  57. hashCode
  58. -
  59. index
  60. -
  61. runtimeType
  62. -
  63. value
  64. - -
  65. Methods
  66. -
  67. noSuchMethod
  68. -
  69. toString
  70. - -
  71. Operators
  72. -
  73. operator ==
  74. - - - -
  75. Static methods
  76. -
  77. getByValue
  78. - -
  79. Constants
  80. -
  81. values
  82. -
diff --git a/docs/document_reader/GraphicFieldType.html b/docs/document_reader/GraphicFieldType.html deleted file mode 100644 index bc9b2ccfd3..0000000000 --- a/docs/document_reader/GraphicFieldType.html +++ /dev/null @@ -1,674 +0,0 @@ - - - - - - - - GraphicFieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicFieldType
- -
- -
-
-
- -
-
- -

- GraphicFieldType - enum - - -

-
- - -
-

Enumeration contains identifiers that determine the logical type -of the graphic data obtained while reading the document filling fields or barcodes.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- GraphicFieldType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const GraphicFieldType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- GraphicFieldType(-1) -
-
- -
- PORTRAIT - → const GraphicFieldType - - -
-
-

Photo of the document owner.

- - -
- GraphicFieldType(201) -
-
- -
- FINGERPR - → const GraphicFieldType - - -
-
-

Fingerprint of the document owner.

- - -
- GraphicFieldType(202) -
-
- -
- EYE - → const GraphicFieldType - - -
-
-

Iris of the document owner.

- - -
- GraphicFieldType(203) -
-
- -
- SIGNATURE - → const GraphicFieldType - - -
-
-

Signature of the document owner.

- - -
- GraphicFieldType(204) -
-
- -
- BAR_CODE - → const GraphicFieldType - - -
-
-

Barcode image.

- - -
- GraphicFieldType(205) -
-
- -
- PROOF_OF_CITIZENSHIP - → const GraphicFieldType - - -
-
-

Image of the citizenship proving document.

- - -
- GraphicFieldType(206) -
-
- -
- DOCUMENT_IMAGE - → const GraphicFieldType - - -
-
-

Document image.

- - -
- GraphicFieldType(207) -
-
- -
- COLOR_DYNAMIC - → const GraphicFieldType - - -
-
-

Color dynamic area in the document.

- - -
- GraphicFieldType(209) -
-
- -
- GHOST_PORTRAIT - → const GraphicFieldType - - -
-
-

Ghost portrait.

- - -
- GraphicFieldType(210) -
-
- -
- STAMP - → const GraphicFieldType - - -
-
-

Stamp.

- - -
- GraphicFieldType(211) -
-
- -
- PORTRAIT_OF_CHILD - → const GraphicFieldType - - -
-
-

Portrait of child.

- - -
- GraphicFieldType(212) -
-
- -
- CONTACT_CHIP - → const GraphicFieldType - - -
-
-

Contact chip.

- - -
- GraphicFieldType(213) -
-
- -
- OTHER - → const GraphicFieldType - - -
-
-

Other image type.

- - -
- GraphicFieldType(250) -
-
- -
- FINGER_LEFT_THUMB - → const GraphicFieldType - - -
-
-

Fingerprint, left thumb.

- - -
- GraphicFieldType(300) -
-
- -
- FINGER_LEFT_INDEX - → const GraphicFieldType - - -
-
-

Fingerprint, left index.

- - -
- GraphicFieldType(301) -
-
- -
- FINGER_LEFT_MIDDLE - → const GraphicFieldType - - -
-
-

Fingerprint, left middle.

- - -
- GraphicFieldType(302) -
-
- -
- FINGER_LEFT_RING - → const GraphicFieldType - - -
-
-

Fingerprint, left ring.

- - -
- GraphicFieldType(303) -
-
- -
- FINGER_LEFT_LITTLE - → const GraphicFieldType - - -
-
-

Fingerprint, left little.

- - -
- GraphicFieldType(304) -
-
- -
- FINGER_RIGHT_THUMB - → const GraphicFieldType - - -
-
-

Fingerprint, right thumb.

- - -
- GraphicFieldType(305) -
-
- -
- FINGER_RIGHT_INDEX - → const GraphicFieldType - - -
-
-

Fingerprint, right index.

- - -
- GraphicFieldType(306) -
-
- -
- FINGER_RIGHT_MIDDLE - → const GraphicFieldType - - -
-
-

Fingerprint, right middle.

- - -
- GraphicFieldType(307) -
-
- -
- FINGER_RIGHT_RING - → const GraphicFieldType - - -
-
-

Fingerprint, right ring.

- - -
- GraphicFieldType(308) -
-
- -
- FINGER_RIGHT_LITTLE - → const GraphicFieldType - - -
-
-

Fingerprint, right little.

- - -
- GraphicFieldType(309) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - GraphicFieldType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<GraphicFieldType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, PORTRAIT, FINGERPR, EYE, SIGNATURE, BAR_CODE, PROOF_OF_CITIZENSHIP, DOCUMENT_IMAGE, COLOR_DYNAMIC, GHOST_PORTRAIT, STAMP, PORTRAIT_OF_CHILD, CONTACT_CHIP, OTHER, FINGER_LEFT_THUMB, FINGER_LE… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicFieldType/GraphicFieldType.html b/docs/document_reader/GraphicFieldType/GraphicFieldType.html deleted file mode 100644 index 3968c0a6c0..0000000000 --- a/docs/document_reader/GraphicFieldType/GraphicFieldType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - GraphicFieldType constructor - GraphicFieldType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicFieldType
- -
- -
-
-
- -
-
-

GraphicFieldType constructor -

- -
- const - GraphicFieldType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const GraphicFieldType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicFieldType/value.html b/docs/document_reader/GraphicFieldType/value.html deleted file mode 100644 index bf73a67110..0000000000 --- a/docs/document_reader/GraphicFieldType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - GraphicFieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicFieldType/values-constant.html b/docs/document_reader/GraphicFieldType/values-constant.html deleted file mode 100644 index d33fbc9a5d..0000000000 --- a/docs/document_reader/GraphicFieldType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - GraphicFieldType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<GraphicFieldType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicResult-class-sidebar.html b/docs/document_reader/GraphicResult-class-sidebar.html deleted file mode 100644 index 09d089efc8..0000000000 --- a/docs/document_reader/GraphicResult-class-sidebar.html +++ /dev/null @@ -1,27 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. GraphicResult
  4. - - -
  5. - Properties -
  6. -
  7. fields
  8. -
  9. hashCode
  10. -
  11. runtimeType
  12. - -
  13. Methods
  14. -
  15. noSuchMethod
  16. -
  17. toJson
  18. -
  19. toString
  20. - -
  21. Operators
  22. -
  23. operator ==
  24. - - - -
  25. Static methods
  26. -
  27. fromJson
  28. - -
diff --git a/docs/document_reader/GraphicResult-class.html b/docs/document_reader/GraphicResult-class.html deleted file mode 100644 index 087baca9cc..0000000000 --- a/docs/document_reader/GraphicResult-class.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - - GraphicResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicResult
- -
- -
-
-
- -
-
-

GraphicResult class - -

- - -
-

Structure, containing all graphic fields extracted.

-
- - - - -
-

Constructors

- -
-
- GraphicResult() -
-
- -
-
-
- -
-

Properties

- -
-
- fields - List<GraphicField> - -
-
- An array of graphic results. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - GraphicResult? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicResult/GraphicResult.html b/docs/document_reader/GraphicResult/GraphicResult.html deleted file mode 100644 index 6c452b9c17..0000000000 --- a/docs/document_reader/GraphicResult/GraphicResult.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - GraphicResult constructor - GraphicResult - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
GraphicResult
- -
- -
-
-
- -
-
-

GraphicResult constructor -

- -
- - GraphicResult() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicResult/fields.html b/docs/document_reader/GraphicResult/fields.html deleted file mode 100644 index 348ee8b0e4..0000000000 --- a/docs/document_reader/GraphicResult/fields.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fields property - GraphicResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fields
- -
- -
-
-
- -
-
-

fields property -

- - - -
- -
- - List<GraphicField> - fields - - -
- - -
-

An array of graphic results.

-
- - -
-

Implementation

-
List<GraphicField> get fields => _fields;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicResult/fromJson.html b/docs/document_reader/GraphicResult/fromJson.html deleted file mode 100644 index 9a96efc1d2..0000000000 --- a/docs/document_reader/GraphicResult/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - GraphicResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -GraphicResult? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static GraphicResult? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = GraphicResult();
-
-  for (var item in jsonObject["fields"])
-    result._fields.addSafe(GraphicField.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/GraphicResult/toJson.html b/docs/document_reader/GraphicResult/toJson.html deleted file mode 100644 index 3117be1bb8..0000000000 --- a/docs/document_reader/GraphicResult/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - GraphicResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "fields": fields.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageFormat-enum-sidebar.html b/docs/document_reader/ImageFormat-enum-sidebar.html deleted file mode 100644 index ad503169b2..0000000000 --- a/docs/document_reader/ImageFormat-enum-sidebar.html +++ /dev/null @@ -1,32 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageFormat
  4. - -
  5. Values
  6. -
  7. PNG
  8. -
  9. JPG
  10. - -
  11. - Properties -
  12. -
  13. hashCode
  14. -
  15. index
  16. -
  17. runtimeType
  18. -
  19. value
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. getByValue
  34. - -
  35. Constants
  36. -
  37. values
  38. -
diff --git a/docs/document_reader/ImageFormat.html b/docs/document_reader/ImageFormat.html deleted file mode 100644 index ececab429d..0000000000 --- a/docs/document_reader/ImageFormat.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - ImageFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageFormat
- -
- -
-
-
- -
-
- -

- ImageFormat - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ImageFormat(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- PNG - → const ImageFormat - - -
-
- - - -
- ImageFormat(0) -
-
- -
- JPG - → const ImageFormat - - -
-
- - - -
- ImageFormat(1) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - ImageFormat? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ImageFormat> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [PNG, JPG] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageFormat/ImageFormat.html b/docs/document_reader/ImageFormat/ImageFormat.html deleted file mode 100644 index f5758f3029..0000000000 --- a/docs/document_reader/ImageFormat/ImageFormat.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ImageFormat constructor - ImageFormat - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageFormat
- -
- -
-
-
- -
-
-

ImageFormat constructor -

- -
- const - ImageFormat(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ImageFormat
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageFormat/value.html b/docs/document_reader/ImageFormat/value.html deleted file mode 100644 index 0951c9fc87..0000000000 --- a/docs/document_reader/ImageFormat/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ImageFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageFormat/values-constant.html b/docs/document_reader/ImageFormat/values-constant.html deleted file mode 100644 index 76a465f38b..0000000000 --- a/docs/document_reader/ImageFormat/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ImageFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ImageFormat> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData-class-sidebar.html b/docs/document_reader/ImageInputData-class-sidebar.html deleted file mode 100644 index 48f7fcd147..0000000000 --- a/docs/document_reader/ImageInputData-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageInputData
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. image
  10. -
  11. light
  12. -
  13. pageIndex
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/ImageInputData-class.html b/docs/document_reader/ImageInputData-class.html deleted file mode 100644 index 90b897ab29..0000000000 --- a/docs/document_reader/ImageInputData-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageInputData
- -
- -
-
-
- -
-
-

ImageInputData class - -

- - - - - - -
-

Constructors

- -
-
- ImageInputData(dynamic image, {Lights light = Lights.WHITE_FULL, int pageIndex = 0}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- image - → dynamic - -
-
- An image. -
no setter
- -
- -
- light - Lights - -
-
- Light type, one of RGLGraphicFieldLight values. -
no setter
- -
- -
- pageIndex - int - -
-
- An index of the document page whence the graphic field is extracted. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ImageInputData? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/ImageInputData.html b/docs/document_reader/ImageInputData/ImageInputData.html deleted file mode 100644 index cbe066c4c2..0000000000 --- a/docs/document_reader/ImageInputData/ImageInputData.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - ImageInputData constructor - ImageInputData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageInputData
- -
- -
-
-
- -
-
-

ImageInputData constructor -

- -
- - ImageInputData(
  1. dynamic image,
  2. -
  3. {Lights light = Lights.WHITE_FULL,
  4. -
  5. int pageIndex = 0}
  6. -
) -
- - - - - -
-

Implementation

-
ImageInputData
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/fromJson.html b/docs/document_reader/ImageInputData/fromJson.html deleted file mode 100644 index 5c37c2667b..0000000000 --- a/docs/document_reader/ImageInputData/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ImageInputData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static ImageInputData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = ImageInputData(_bytesFromBase64(jsonObject["image"])!);
-
-  result._pageIndex = jsonObject["pageIndex"];
-  result._light = Lights.getByValue(jsonObject["light"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/image.html b/docs/document_reader/ImageInputData/image.html deleted file mode 100644 index 9d62f30550..0000000000 --- a/docs/document_reader/ImageInputData/image.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - image property - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
image
- -
- -
-
-
- -
-
-

image property -

- - - -
- -
- - dynamic - image - - -
- - -
-

An image.

-
- - -
-

Implementation

-
Uint8List get image => _image;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/light.html b/docs/document_reader/ImageInputData/light.html deleted file mode 100644 index 734e6bd49f..0000000000 --- a/docs/document_reader/ImageInputData/light.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - light property - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
light
- -
- -
-
-
- -
-
-

light property -

- - - -
- -
- - Lights - light - - -
- - -
-

Light type, one of RGLGraphicFieldLight values.

-
- - -
-

Implementation

-
Lights get light => _light;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/pageIndex.html b/docs/document_reader/ImageInputData/pageIndex.html deleted file mode 100644 index b875fd373e..0000000000 --- a/docs/document_reader/ImageInputData/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

An index of the document page whence the graphic field is extracted.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageInputData/toJson.html b/docs/document_reader/ImageInputData/toJson.html deleted file mode 100644 index a4c6d3ad19..0000000000 --- a/docs/document_reader/ImageInputData/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - ImageInputData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "image": _bytesToBase64(image),
-      "light": light.value,
-      "pageIndex": pageIndex,
-    };
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA-class-sidebar.html b/docs/document_reader/ImageQA-class-sidebar.html deleted file mode 100644 index 572b95d2bf..0000000000 --- a/docs/document_reader/ImageQA-class-sidebar.html +++ /dev/null @@ -1,37 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageQA
  4. - - -
  5. - Properties -
  6. -
  7. angleThreshold
  8. -
  9. brightnessThreshold
  10. -
  11. colornessCheck
  12. -
  13. documentPositionIndent
  14. -
  15. dpiThreshold
  16. -
  17. expectedPass
  18. -
  19. focusCheck
  20. -
  21. glaresCheck
  22. -
  23. glaresCheckParams
  24. -
  25. hashCode
  26. -
  27. runtimeType
  28. -
  29. screenCapture
  30. -
  31. testSetters
  32. - -
  33. Methods
  34. -
  35. noSuchMethod
  36. -
  37. toJson
  38. -
  39. toString
  40. - -
  41. Operators
  42. -
  43. operator ==
  44. - - - -
  45. Static methods
  46. -
  47. fromJson
  48. - -
diff --git a/docs/document_reader/ImageQA-class.html b/docs/document_reader/ImageQA-class.html deleted file mode 100644 index 8069d8f17d..0000000000 --- a/docs/document_reader/ImageQA-class.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - - - - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQA
- -
- -
-
-
- -
-
-

ImageQA class - -

- - -
-

Class contains properties to configure image quality.

-
- - - - -
-

Constructors

- -
-
- ImageQA() -
-
- -
-
-
- -
-

Properties

- -
-
- angleThreshold - int? - -
-
- This parameter sets threshold for Image QA check of the presented -document perspective angle in degrees. If actual document perspective -angle is above this threshold, check will fail. -
getter/setter pair
- -
- -
- brightnessThreshold - double? - -
-
- Set the threshold for an actual document brightness below which the check fails. -
getter/setter pair
- -
- -
- colornessCheck - bool? - -
-
- This option disabled colorness check during performing image quality validation. -
getter/setter pair
- -
- -
- documentPositionIndent - int? - -
-
- Specify the minimum indent from the corners of the document to the borders -of the image. The value reflects the allowed percentage for the indent -relative to the width of the document. If it is detected that the corners -of the document are closer than the specified value, the status will contain -an error in the DocumentReaderResults.imageQuality.imageQualityList.result field. -
getter/setter pair
- -
- -
- dpiThreshold - int? - -
-
- This parameter sets threshold for Image QA check of the presented -document physical dpi. If actual document dpi is below this threshold, -check will fail. -
getter/setter pair
- -
- -
- expectedPass - List<ImageQualityCheckType>? - -
-
- This option controls the quality checks that the image should pass -in order to be considered a valid input during the scanning process. -
getter/setter pair
- -
- -
- focusCheck - bool? - -
-
- This option disabled focus check during performing image quality validation. -
getter/setter pair
- -
- -
- glaresCheck - bool? - -
-
- This option disabled glares check during performing image quality validation. -
getter/setter pair
- -
- -
- glaresCheckParams - GlaresCheckParams? - -
-
- Parameters for glares image quality validation. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- screenCapture - bool? - -
-
- This option disabled moire patterns check during performing image quality validation. -
getter/setter pair
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ImageQA - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/ImageQA.html b/docs/document_reader/ImageQA/ImageQA.html deleted file mode 100644 index 2ef0da4b8e..0000000000 --- a/docs/document_reader/ImageQA/ImageQA.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - ImageQA constructor - ImageQA - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQA
- -
- -
-
-
- -
-
-

ImageQA constructor -

- -
- - ImageQA() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/angleThreshold.html b/docs/document_reader/ImageQA/angleThreshold.html deleted file mode 100644 index d0253e3081..0000000000 --- a/docs/document_reader/ImageQA/angleThreshold.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - angleThreshold property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
angleThreshold
- -
- -
-
-
- -
-
-

angleThreshold property -

- - - -
- -
- - int? - angleThreshold - - -
- - -
-

This parameter sets threshold for Image QA check of the presented -document perspective angle in degrees. If actual document perspective -angle is above this threshold, check will fail.

-
- - -
-

Implementation

-
int? get angleThreshold => _angleThreshold;
-
- -
- - - -
- -
- - void - angleThreshold=(int? val) - - -
- - - - -
-

Implementation

-
set angleThreshold(int? val) {
-  _angleThreshold = val;
-  _set({"angleThreshold": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/brightnessThreshold.html b/docs/document_reader/ImageQA/brightnessThreshold.html deleted file mode 100644 index e8db746a0c..0000000000 --- a/docs/document_reader/ImageQA/brightnessThreshold.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - brightnessThreshold property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
brightnessThreshold
- -
- -
-
-
- -
-
-

brightnessThreshold property -

- - - -
- -
- - double? - brightnessThreshold - - -
- - -
-

Set the threshold for an actual document brightness below which the check fails.

-
- - -
-

Implementation

-
double? get brightnessThreshold => _brightnessThreshold;
-
- -
- - - -
- -
- - void - brightnessThreshold=(double? val) - - -
- - - - -
-

Implementation

-
set brightnessThreshold(double? val) {
-  _brightnessThreshold = val;
-  _set({"brightnessThreshold": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/colornessCheck.html b/docs/document_reader/ImageQA/colornessCheck.html deleted file mode 100644 index e489750947..0000000000 --- a/docs/document_reader/ImageQA/colornessCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - colornessCheck property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
colornessCheck
- -
- -
-
-
- -
-
-

colornessCheck property -

- - - -
- -
- - bool? - colornessCheck - - -
- - -
-

This option disabled colorness check during performing image quality validation.

-
- - -
-

Implementation

-
bool? get colornessCheck => _colornessCheck;
-
- -
- - - -
- -
- - void - colornessCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set colornessCheck(bool? val) {
-  _colornessCheck = val;
-  _set({"colornessCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/documentPositionIndent.html b/docs/document_reader/ImageQA/documentPositionIndent.html deleted file mode 100644 index 17b9e430af..0000000000 --- a/docs/document_reader/ImageQA/documentPositionIndent.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - documentPositionIndent property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentPositionIndent
- -
- -
-
-
- -
-
-

documentPositionIndent property -

- - - -
- -
- - int? - documentPositionIndent - - -
- - -
-

Specify the minimum indent from the corners of the document to the borders -of the image. The value reflects the allowed percentage for the indent -relative to the width of the document. If it is detected that the corners -of the document are closer than the specified value, the status will contain -an error in the DocumentReaderResults.imageQuality.imageQualityList.result field.

-
- - -
-

Implementation

-
int? get documentPositionIndent => _documentPositionIndent;
-
- -
- - - -
- -
- - void - documentPositionIndent=(int? val) - - -
- - - - -
-

Implementation

-
set documentPositionIndent(int? val) {
-  _documentPositionIndent = val;
-  _set({"documentPositionIndent": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/dpiThreshold.html b/docs/document_reader/ImageQA/dpiThreshold.html deleted file mode 100644 index 0e852a97ce..0000000000 --- a/docs/document_reader/ImageQA/dpiThreshold.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - dpiThreshold property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dpiThreshold
- -
- -
-
-
- -
-
-

dpiThreshold property -

- - - -
- -
- - int? - dpiThreshold - - -
- - -
-

This parameter sets threshold for Image QA check of the presented -document physical dpi. If actual document dpi is below this threshold, -check will fail.

-
- - -
-

Implementation

-
int? get dpiThreshold => _dpiThreshold;
-
- -
- - - -
- -
- - void - dpiThreshold=(int? val) - - -
- - - - -
-

Implementation

-
set dpiThreshold(int? val) {
-  _dpiThreshold = val;
-  _set({"dpiThreshold": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/expectedPass.html b/docs/document_reader/ImageQA/expectedPass.html deleted file mode 100644 index c2ea19f4f8..0000000000 --- a/docs/document_reader/ImageQA/expectedPass.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - expectedPass property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
expectedPass
- -
- -
-
-
- -
-
-

expectedPass property -

- - - -
- -
- - List<ImageQualityCheckType>? - expectedPass - - -
- - -
-

This option controls the quality checks that the image should pass -in order to be considered a valid input during the scanning process.

-
- - -
-

Implementation

-
List<ImageQualityCheckType>? get expectedPass => _expectedPass;
-
- -
- - - -
- -
- - void - expectedPass=(List<ImageQualityCheckType>? val) - - -
- - - - -
-

Implementation

-
set expectedPass(List<ImageQualityCheckType>? val) {
-  _expectedPass = val;
-  _set({"expectedPass": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/focusCheck.html b/docs/document_reader/ImageQA/focusCheck.html deleted file mode 100644 index a3dcfdc049..0000000000 --- a/docs/document_reader/ImageQA/focusCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - focusCheck property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
focusCheck
- -
- -
-
-
- -
-
-

focusCheck property -

- - - -
- -
- - bool? - focusCheck - - -
- - -
-

This option disabled focus check during performing image quality validation.

-
- - -
-

Implementation

-
bool? get focusCheck => _focusCheck;
-
- -
- - - -
- -
- - void - focusCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set focusCheck(bool? val) {
-  _focusCheck = val;
-  _set({"focusCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/fromJson.html b/docs/document_reader/ImageQA/fromJson.html deleted file mode 100644 index cf63158f9c..0000000000 --- a/docs/document_reader/ImageQA/fromJson.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - fromJson method - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ImageQA -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static ImageQA fromJson(jsonObject) {
-  var result = ImageQA();
-  result.testSetters = {};
-
-  result.dpiThreshold = jsonObject["dpiThreshold"];
-  result.angleThreshold = jsonObject["angleThreshold"];
-  result.focusCheck = jsonObject["focusCheck"];
-  result.glaresCheck = jsonObject["glaresCheck"];
-  result.colornessCheck = jsonObject["colornessCheck"];
-  result.screenCapture = jsonObject["screenCapture"];
-  result.expectedPass =
-      ImageQualityCheckType.fromIntList(jsonObject["expectedPass"]);
-  result.glaresCheckParams =
-      GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"]);
-  result.documentPositionIndent = jsonObject["documentPositionIndent"];
-  result.brightnessThreshold = _toDouble(jsonObject["brightnessThreshold"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/glaresCheck.html b/docs/document_reader/ImageQA/glaresCheck.html deleted file mode 100644 index 4a2327be80..0000000000 --- a/docs/document_reader/ImageQA/glaresCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - glaresCheck property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
glaresCheck
- -
- -
-
-
- -
-
-

glaresCheck property -

- - - -
- -
- - bool? - glaresCheck - - -
- - -
-

This option disabled glares check during performing image quality validation.

-
- - -
-

Implementation

-
bool? get glaresCheck => _glaresCheck;
-
- -
- - - -
- -
- - void - glaresCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set glaresCheck(bool? val) {
-  _glaresCheck = val;
-  _set({"glaresCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/glaresCheckParams.html b/docs/document_reader/ImageQA/glaresCheckParams.html deleted file mode 100644 index 4601322503..0000000000 --- a/docs/document_reader/ImageQA/glaresCheckParams.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - glaresCheckParams property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
glaresCheckParams
- -
- -
-
-
- -
-
-

glaresCheckParams property -

- - - -
- -
- - GlaresCheckParams? - glaresCheckParams - - -
- - -
-

Parameters for glares image quality validation.

-
- - -
-

Implementation

-
GlaresCheckParams? get glaresCheckParams => _glaresCheckParams;
-
- -
- - - -
- -
- - void - glaresCheckParams=(GlaresCheckParams? val) - - -
- - - - -
-

Implementation

-
set glaresCheckParams(GlaresCheckParams? val) {
-  _glaresCheckParams = val;
-  _set({"glaresCheckParams": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/screenCapture.html b/docs/document_reader/ImageQA/screenCapture.html deleted file mode 100644 index c5b33cec4b..0000000000 --- a/docs/document_reader/ImageQA/screenCapture.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - screenCapture property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
screenCapture
- -
- -
-
-
- -
-
-

screenCapture property -

- - - -
- -
- - bool? - screenCapture - - -
- - -
-

This option disabled moire patterns check during performing image quality validation.

-
- - -
-

Implementation

-
bool? get screenCapture => _screenCapture;
-
- -
- - - -
- -
- - void - screenCapture=(bool? val) - - -
- - - - -
-

Implementation

-
set screenCapture(bool? val) {
-  _screenCapture = val;
-  _set({"screenCapture": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/testSetters.html b/docs/document_reader/ImageQA/testSetters.html deleted file mode 100644 index 034442489e..0000000000 --- a/docs/document_reader/ImageQA/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQA/toJson.html b/docs/document_reader/ImageQA/toJson.html deleted file mode 100644 index 4444a093a4..0000000000 --- a/docs/document_reader/ImageQA/toJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - toJson method - ImageQA class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "dpiThreshold": dpiThreshold,
-      "angleThreshold": angleThreshold,
-      "documentPositionIndent": documentPositionIndent,
-      "focusCheck": focusCheck,
-      "glaresCheck": glaresCheck,
-      "colornessCheck": colornessCheck,
-      "screenCapture": screenCapture,
-      "expectedPass": expectedPass?.map((e) => e.value).toList(),
-      "glaresCheckParams": glaresCheckParams?.toJson(),
-      "brightnessThreshold": brightnessThreshold,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality-class-sidebar.html b/docs/document_reader/ImageQuality-class-sidebar.html deleted file mode 100644 index 2afed5e4ba..0000000000 --- a/docs/document_reader/ImageQuality-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageQuality
  4. - - -
  5. - Properties -
  6. -
  7. boundRects
  8. -
  9. featureType
  10. -
  11. hashCode
  12. -
  13. result
  14. -
  15. runtimeType
  16. -
  17. type
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/ImageQuality-class.html b/docs/document_reader/ImageQuality-class.html deleted file mode 100644 index 2a506a8646..0000000000 --- a/docs/document_reader/ImageQuality-class.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQuality
- -
- -
-
-
- -
-
-

ImageQuality class - -

- - -
-

Structure, containing information about single image quality check.

-
- - - - -
-

Constructors

- -
-
- ImageQuality() -
-
- -
-
-
- -
-

Properties

- -
-
- boundRects - List<Rect> - -
-
- Coordinates of glares. -
no setter
- -
- -
- featureType - int - -
-
- Check result. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- result - CheckResult - -
-
- Check result. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - ImageQualityCheckType - -
-
- Check result type. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ImageQuality? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/ImageQuality.html b/docs/document_reader/ImageQuality/ImageQuality.html deleted file mode 100644 index 85dbb95268..0000000000 --- a/docs/document_reader/ImageQuality/ImageQuality.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - ImageQuality constructor - ImageQuality - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQuality
- -
- -
-
-
- -
-
-

ImageQuality constructor -

- -
- - ImageQuality() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/boundRects.html b/docs/document_reader/ImageQuality/boundRects.html deleted file mode 100644 index 376c609df6..0000000000 --- a/docs/document_reader/ImageQuality/boundRects.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - boundRects property - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
boundRects
- -
- -
-
-
- -
-
-

boundRects property -

- - - -
- -
- - List<Rect> - boundRects - - -
- - -
-

Coordinates of glares.

-
- - -
-

Implementation

-
List<Rect> get boundRects => _boundRects;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/featureType.html b/docs/document_reader/ImageQuality/featureType.html deleted file mode 100644 index eefd02c4b2..0000000000 --- a/docs/document_reader/ImageQuality/featureType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - featureType property - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
featureType
- -
- -
-
-
- -
-
-

featureType property -

- - - -
- -
- - int - featureType - - -
- - -
-

Check result.

-
- - -
-

Implementation

-
int get featureType => _featureType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/fromJson.html b/docs/document_reader/ImageQuality/fromJson.html deleted file mode 100644 index 2778a7b9e8..0000000000 --- a/docs/document_reader/ImageQuality/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ImageQuality? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static ImageQuality? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = ImageQuality();
-
-  result._featureType = jsonObject["featureType"];
-  result._result = CheckResult.getByValue(jsonObject["result"])!;
-  result._type = ImageQualityCheckType.getByValue(jsonObject["type"])!;
-  for (var item in jsonObject["boundRects"])
-    result._boundRects.addSafe(Rect.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/result.html b/docs/document_reader/ImageQuality/result.html deleted file mode 100644 index f3a0619618..0000000000 --- a/docs/document_reader/ImageQuality/result.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - result property - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
result
- -
- -
-
-
- -
-
-

result property -

- - - -
- -
- - CheckResult - result - - -
- - -
-

Check result.

-
- - -
-

Implementation

-
CheckResult get result => _result;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/toJson.html b/docs/document_reader/ImageQuality/toJson.html deleted file mode 100644 index 56b12c477d..0000000000 --- a/docs/document_reader/ImageQuality/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "featureType": featureType,
-      "result": result.value,
-      "type": type.value,
-      "boundRects": boundRects.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQuality/type.html b/docs/document_reader/ImageQuality/type.html deleted file mode 100644 index ceae77f881..0000000000 --- a/docs/document_reader/ImageQuality/type.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - type property - ImageQuality class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - ImageQualityCheckType - type - - -
- - -
-

Check result type.

-
- - -
-

Implementation

-
ImageQualityCheckType get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityCheckType-enum-sidebar.html b/docs/document_reader/ImageQualityCheckType-enum-sidebar.html deleted file mode 100644 index bd1e448c68..0000000000 --- a/docs/document_reader/ImageQualityCheckType-enum-sidebar.html +++ /dev/null @@ -1,43 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageQualityCheckType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. IMAGE_GLARES
  10. -
  11. IMAGE_FOCUS
  12. -
  13. IMAGE_RESOLUTION
  14. -
  15. IMAGE_COLORNESS
  16. -
  17. PERSPECTIVE
  18. -
  19. BOUNDS
  20. -
  21. SCREEN_CAPTURE
  22. -
  23. PORTRAIT
  24. -
  25. HANDWRITTEN
  26. -
  27. BRIGHTNESS
  28. - -
  29. - Properties -
  30. -
  31. hashCode
  32. -
  33. index
  34. -
  35. runtimeType
  36. -
  37. value
  38. - -
  39. Methods
  40. -
  41. getTranslation
  42. -
  43. noSuchMethod
  44. -
  45. toString
  46. - -
  47. Operators
  48. -
  49. operator ==
  50. - - - -
  51. Static methods
  52. -
  53. fromIntList
  54. -
  55. getByValue
  56. - -
  57. Constants
  58. -
  59. values
  60. -
diff --git a/docs/document_reader/ImageQualityCheckType.html b/docs/document_reader/ImageQualityCheckType.html deleted file mode 100644 index 6bd11fae3d..0000000000 --- a/docs/document_reader/ImageQualityCheckType.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - - - ImageQualityCheckType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQualityCheckType
- -
- -
-
-
- -
-
- -

- ImageQualityCheckType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ImageQualityCheckType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const ImageQualityCheckType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- ImageQualityCheckType(-1) -
-
- -
- IMAGE_GLARES - → const ImageQualityCheckType - - -
-
-

Glares presence check.

- - -
- ImageQualityCheckType(0) -
-
- -
- IMAGE_FOCUS - → const ImageQualityCheckType - - -
-
-

Focus quality check.

- - -
- ImageQualityCheckType(1) -
-
- -
- IMAGE_RESOLUTION - → const ImageQualityCheckType - - -
-
-

Image resolution check.

- - -
- ImageQualityCheckType(2) -
-
- -
- IMAGE_COLORNESS - → const ImageQualityCheckType - - -
-
-

Image colorness check.

- - -
- ImageQualityCheckType(3) -
-
- -
- PERSPECTIVE - → const ImageQualityCheckType - - -
-
-

Image perspective check, i.e. the deviation of the corners of the document -from the value of 90 degrees is checked.

- - -
- ImageQualityCheckType(4) -
-
- -
- BOUNDS - → const ImageQualityCheckType - - -
-
-

Image quality check if the whole document page is completely within the image.

- - -
- ImageQualityCheckType(5) -
-
- -
- SCREEN_CAPTURE - → const ImageQualityCheckType - - -
-
-

Image moire check.

- - -
- ImageQualityCheckType(6) -
-
- -
- PORTRAIT - → const ImageQualityCheckType - - -
-
-

Portrait image check.

- - -
- ImageQualityCheckType(7) -
-
- -
- HANDWRITTEN - → const ImageQualityCheckType - - -
-
-

Handwritten image check.

- - -
- ImageQualityCheckType(8) -
-
- -
- BRIGHTNESS - → const ImageQualityCheckType - - -
-
-

Signals whether the document image is bright enough.

- - -
- ImageQualityCheckType(9) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<ImageQualityCheckType>? - - - -
-
- - - -
- -
- getByValue(int? i) - ImageQualityCheckType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ImageQualityCheckType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, IMAGE_GLARES, IMAGE_FOCUS, IMAGE_RESOLUTION, IMAGE_COLORNESS, PERSPECTIVE, BOUNDS, SCREEN_CAPTURE, PORTRAIT, HANDWRITTEN, BRIGHTNESS] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityCheckType/ImageQualityCheckType.html b/docs/document_reader/ImageQualityCheckType/ImageQualityCheckType.html deleted file mode 100644 index 450d66d624..0000000000 --- a/docs/document_reader/ImageQualityCheckType/ImageQualityCheckType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ImageQualityCheckType constructor - ImageQualityCheckType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQualityCheckType
- -
- -
-
-
- -
-
-

ImageQualityCheckType constructor -

- -
- const - ImageQualityCheckType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ImageQualityCheckType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityCheckType/getTranslation.html b/docs/document_reader/ImageQualityCheckType/getTranslation.html deleted file mode 100644 index 6accdfe32b..0000000000 --- a/docs/document_reader/ImageQualityCheckType/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - ImageQualityCheckType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityCheckType/value.html b/docs/document_reader/ImageQualityCheckType/value.html deleted file mode 100644 index 9e013a3e8c..0000000000 --- a/docs/document_reader/ImageQualityCheckType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ImageQualityCheckType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityCheckType/values-constant.html b/docs/document_reader/ImageQualityCheckType/values-constant.html deleted file mode 100644 index 41a89cd618..0000000000 --- a/docs/document_reader/ImageQualityCheckType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ImageQualityCheckType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ImageQualityCheckType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup-class-sidebar.html b/docs/document_reader/ImageQualityGroup-class-sidebar.html deleted file mode 100644 index f1efab7bd7..0000000000 --- a/docs/document_reader/ImageQualityGroup-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ImageQualityGroup
  4. - - -
  5. - Properties -
  6. -
  7. count
  8. -
  9. hashCode
  10. -
  11. imageQualityList
  12. -
  13. pageIndex
  14. -
  15. result
  16. -
  17. runtimeType
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/ImageQualityGroup-class.html b/docs/document_reader/ImageQualityGroup-class.html deleted file mode 100644 index 19ab0ee27b..0000000000 --- a/docs/document_reader/ImageQualityGroup-class.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQualityGroup
- -
- -
-
-
- -
-
-

ImageQualityGroup class - -

- - -
-

Structure, containing overall data about quality checks performed.

-
- - - - -
-

Constructors

- -
-
- ImageQualityGroup() -
-
- -
-
-
- -
-

Properties

- -
-
- count - int - -
-
- Number of results. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imageQualityList - List<ImageQuality> - -
-
- An array of single check result pointers. -
no setter
- -
- -
- pageIndex - int - -
-
- Index of the document page, whence the result is received. -
no setter
- -
- -
- result - CheckResult - -
-
- Overall check result for document page. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ImageQualityGroup? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/ImageQualityGroup.html b/docs/document_reader/ImageQualityGroup/ImageQualityGroup.html deleted file mode 100644 index 52da5351d6..0000000000 --- a/docs/document_reader/ImageQualityGroup/ImageQualityGroup.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - ImageQualityGroup constructor - ImageQualityGroup - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ImageQualityGroup
- -
- -
-
-
- -
-
-

ImageQualityGroup constructor -

- -
- - ImageQualityGroup() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/count.html b/docs/document_reader/ImageQualityGroup/count.html deleted file mode 100644 index 527896cee2..0000000000 --- a/docs/document_reader/ImageQualityGroup/count.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - count property - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
count
- -
- -
-
-
- -
-
-

count property -

- - - -
- -
- - int - count - - -
- - -
-

Number of results.

-
- - -
-

Implementation

-
int get count => _count;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/fromJson.html b/docs/document_reader/ImageQualityGroup/fromJson.html deleted file mode 100644 index 6e747d57ca..0000000000 --- a/docs/document_reader/ImageQualityGroup/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ImageQualityGroup? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static ImageQualityGroup? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = ImageQualityGroup();
-
-  result._count = jsonObject["count"];
-  result._result = CheckResult.getByValue(jsonObject["result"])!;
-  result._pageIndex = jsonObject["pageIndex"];
-  for (var item in jsonObject["imageQualityList"])
-    result._imageQualityList.addSafe(ImageQuality.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/imageQualityList.html b/docs/document_reader/ImageQualityGroup/imageQualityList.html deleted file mode 100644 index ed7e4dfdf3..0000000000 --- a/docs/document_reader/ImageQualityGroup/imageQualityList.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - imageQualityList property - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageQualityList
- -
- -
-
-
- -
-
-

imageQualityList property -

- - - -
- -
- - List<ImageQuality> - imageQualityList - - -
- - -
-

An array of single check result pointers.

-
- - -
-

Implementation

-
List<ImageQuality> get imageQualityList => _imageQualityList;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/pageIndex.html b/docs/document_reader/ImageQualityGroup/pageIndex.html deleted file mode 100644 index 7528009219..0000000000 --- a/docs/document_reader/ImageQualityGroup/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

Index of the document page, whence the result is received.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/result.html b/docs/document_reader/ImageQualityGroup/result.html deleted file mode 100644 index d7af3fbf68..0000000000 --- a/docs/document_reader/ImageQualityGroup/result.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - result property - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
result
- -
- -
-
-
- -
-
-

result property -

- - - -
- -
- - CheckResult - result - - -
- - -
-

Overall check result for document page.

-
- - -
-

Implementation

-
CheckResult get result => _result;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ImageQualityGroup/toJson.html b/docs/document_reader/ImageQualityGroup/toJson.html deleted file mode 100644 index a348c6d0b8..0000000000 --- a/docs/document_reader/ImageQualityGroup/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - ImageQualityGroup class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "count": count,
-      "result": result.value,
-      "pageIndex": pageIndex,
-      "imageQualityList": imageQualityList.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig-class-sidebar.html b/docs/document_reader/InitConfig-class-sidebar.html deleted file mode 100644 index b76c0eada9..0000000000 --- a/docs/document_reader/InitConfig-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. InitConfig
  4. -
  5. withBleDevice
  6. - - -
  7. - Properties -
  8. -
  9. blackList
  10. -
  11. customDb
  12. -
  13. databasePath
  14. -
  15. delayedNNLoad
  16. -
  17. hashCode
  18. -
  19. license
  20. -
  21. licenseUpdate
  22. -
  23. runtimeType
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/InitConfig-class.html b/docs/document_reader/InitConfig-class.html deleted file mode 100644 index f280c2102e..0000000000 --- a/docs/document_reader/InitConfig-class.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - - - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
InitConfig
- -
- -
-
-
- -
-
-

InitConfig class - -

- - -
-

A configuration file for DocumentReader initialization. -Controls initialization time properties such as licenseUpdate and delayedNNLoad.

-
- - - - -
-

Constructors

- -
-
- InitConfig(dynamic license) -
-
- Constructor for initialization using a license binary. -
-
- InitConfig.withBleDevice() -
-
- Constructor for initialization using a ble device. -Doesn't need a license file, it will be fetched automatically from your ble device. -
-
-
- -
-

Properties

- -
-
- blackList - Map<String, dynamic>? - -
-
- Android only. -
getter/setter pair
- -
- -
- customDb - ↔ dynamic - -
-
- Custom database binary. -
getter/setter pair
- -
- -
- databasePath - String? - -
-
- The path to the database file. -
getter/setter pair
- -
- -
- delayedNNLoad - bool - -
-
- Defines whether the DocumentReader delays loading of neural networks. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- license - → dynamic - -
-
- The license binary file. -
no setter
- -
- -
- licenseUpdate - bool - -
-
- Enables automatic license update check during DocumentReader initialization. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - InitConfig? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/InitConfig.html b/docs/document_reader/InitConfig/InitConfig.html deleted file mode 100644 index 0e7a6fddb4..0000000000 --- a/docs/document_reader/InitConfig/InitConfig.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - InitConfig constructor - InitConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
InitConfig
- -
- -
-
-
- -
-
-

InitConfig constructor -

- -
- - InitConfig(
  1. dynamic license
  2. -
) -
- - -
-

Constructor for initialization using a license binary.

-
- - - -
-

Implementation

-
InitConfig
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/InitConfig.withBleDevice.html b/docs/document_reader/InitConfig/InitConfig.withBleDevice.html deleted file mode 100644 index a36399fc2e..0000000000 --- a/docs/document_reader/InitConfig/InitConfig.withBleDevice.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - InitConfig.withBleDevice constructor - InitConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
InitConfig.withBleDevice
- -
- -
-
-
- -
-
-

InitConfig.withBleDevice constructor -

- -
- - InitConfig.withBleDevice() -
- - -
-

Constructor for initialization using a ble device. -Doesn't need a license file, it will be fetched automatically from your ble device.

-

Android only.

-
- - - -
-

Implementation

-
InitConfig.withBleDevice() : _license = ByteData(0) {
-  if (!Platform.isAndroid)
-    throw PlatformException(
-      code: "android-only",
-      message: "withBleDevice constructor is accessible only on Android",
-    );
-  _useBleDevice = true;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/blackList.html b/docs/document_reader/InitConfig/blackList.html deleted file mode 100644 index 5256988355..0000000000 --- a/docs/document_reader/InitConfig/blackList.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - blackList property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
blackList
- -
- -
-
-
- -
-
-

blackList property -

- -
- - Map<String, dynamic>? - blackList -
getter/setter pair
- -
- -
-

Android only.

-
- - -
-

Implementation

-
Map<String, dynamic>? blackList;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/customDb.html b/docs/document_reader/InitConfig/customDb.html deleted file mode 100644 index 48f68cfd8e..0000000000 --- a/docs/document_reader/InitConfig/customDb.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - customDb property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
customDb
- -
- -
-
-
- -
-
-

customDb property -

- -
- - dynamic - customDb -
getter/setter pair
- -
- -
-

Custom database binary.

-

Android only. For iOS use databasePath.

-
- - -
-

Implementation

-
ByteData? customDb;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/databasePath.html b/docs/document_reader/InitConfig/databasePath.html deleted file mode 100644 index 125ea8621f..0000000000 --- a/docs/document_reader/InitConfig/databasePath.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - databasePath property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
databasePath
- -
- -
-
-
- -
-
-

databasePath property -

- -
- - String? - databasePath -
getter/setter pair
- -
- -
-

The path to the database file.

-

IOS only. For Android use customDb.

-
- - -
-

Implementation

-
String? databasePath;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/delayedNNLoad.html b/docs/document_reader/InitConfig/delayedNNLoad.html deleted file mode 100644 index 48413155fa..0000000000 --- a/docs/document_reader/InitConfig/delayedNNLoad.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - delayedNNLoad property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
delayedNNLoad
- -
- -
-
-
- -
-
-

delayedNNLoad property -

- -
- - bool - delayedNNLoad -
getter/setter pair
- -
- -
-

Defines whether the DocumentReader delays loading of neural networks.

-

When set to true the initialization starts in the background thread after -the method DocumentReader.initializeReader is called. If the document -processing is initiated before all the networks are loaded, -the DocumentReader will wait for it before starting the handling.

-

When set to false the initialization is performed during -DocumentReader.initializeReader method.

-
- - -
-

Implementation

-
bool delayedNNLoad = false;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/fromJson.html b/docs/document_reader/InitConfig/fromJson.html deleted file mode 100644 index 68a169702a..0000000000 --- a/docs/document_reader/InitConfig/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -InitConfig? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static InitConfig? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = InitConfig(_dataFromBase64(jsonObject["license"])!);
-
-  result.customDb = _dataFromBase64(jsonObject["customDb"]);
-  result.delayedNNLoad = jsonObject["delayedNNLoad"];
-  result.licenseUpdate = jsonObject["licenseUpdate"];
-  result.blackList = jsonObject["blackList"];
-  result.databasePath = jsonObject["databasePath"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/license.html b/docs/document_reader/InitConfig/license.html deleted file mode 100644 index d558b94ae4..0000000000 --- a/docs/document_reader/InitConfig/license.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - license property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
license
- -
- -
-
-
- -
-
-

license property -

- - - -
- -
- - dynamic - license - - -
- - -
-

The license binary file.

-
- - -
-

Implementation

-
ByteData get license => _license;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/licenseUpdate.html b/docs/document_reader/InitConfig/licenseUpdate.html deleted file mode 100644 index 1aeb857894..0000000000 --- a/docs/document_reader/InitConfig/licenseUpdate.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - licenseUpdate property - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
licenseUpdate
- -
- -
-
-
- -
-
-

licenseUpdate property -

- -
- - bool - licenseUpdate -
getter/setter pair
- -
- -
-

Enables automatic license update check during DocumentReader initialization.

-
- - -
-

Implementation

-
bool licenseUpdate = true;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/InitConfig/toJson.html b/docs/document_reader/InitConfig/toJson.html deleted file mode 100644 index e67dd0c169..0000000000 --- a/docs/document_reader/InitConfig/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - InitConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "license": _dataToBase64(license),
-      "delayedNNLoad": delayedNNLoad,
-      "licenseUpdate": licenseUpdate,
-      "blackList": blackList,
-      "customDb": _dataToBase64(customDb),
-      "databasePath": databasePath
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LCID-enum-sidebar.html b/docs/document_reader/LCID-enum-sidebar.html deleted file mode 100644 index f720938369..0000000000 --- a/docs/document_reader/LCID-enum-sidebar.html +++ /dev/null @@ -1,199 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. LCID
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. LATIN
  10. -
  11. ABKHAZIAN_CYRILLIC
  12. -
  13. AFRIKAANS
  14. -
  15. ALBANIAN
  16. -
  17. AMHARIC
  18. -
  19. ARABIC_ALGERIA
  20. -
  21. ARABIC_BAHRAIN
  22. -
  23. ARABIC_EGYPT
  24. -
  25. ARABIC_IRAQ
  26. -
  27. ARABIC_JORDAN
  28. -
  29. ARABIC_KUWAIT
  30. -
  31. ARABIC_LEBANON
  32. -
  33. ARABIC_LIBYA
  34. -
  35. ARABIC_MOROCCO
  36. -
  37. ARABIC_OMAN
  38. -
  39. ARABIC_QATAR
  40. -
  41. ARABIC_SAUDI_ARABIA
  42. -
  43. ARABIC_SYRIA
  44. -
  45. ARABIC_TUNISIA
  46. -
  47. ARABIC_UAE
  48. -
  49. ARABIC_YEMEN
  50. -
  51. ARABIC_ARMENIAN
  52. -
  53. ARABIC_WORLD
  54. -
  55. AZERI_CYRILIC
  56. -
  57. AZERI_LATIN
  58. -
  59. ASSAMESE
  60. -
  61. BASQUE
  62. -
  63. BANK_CARD
  64. -
  65. BANK_CARD_CVV2
  66. -
  67. BANK_CARD_NAME
  68. -
  69. BANK_CARD_NUMBER
  70. -
  71. BANK_CARD_VALID_THRU
  72. -
  73. BELARUSIAN
  74. -
  75. BENGALI_BANGLADESH
  76. -
  77. BENGALI_INDIA
  78. -
  79. BULGARIAN
  80. -
  81. CATALAN
  82. -
  83. CHINESE_HONGKONG_SAR
  84. -
  85. CHINESE_MACAO_SAR
  86. -
  87. CHINESE
  88. -
  89. CHINESE_SINGAPORE
  90. -
  91. CHINESE_TAIWAN
  92. -
  93. CROATIAN
  94. -
  95. CZECH
  96. -
  97. DANISH
  98. -
  99. DIVEHI
  100. -
  101. DUTCH_BELGIUM
  102. -
  103. DUTCH_NETHERLANDS
  104. -
  105. ENGLISH_AUSTRALIA
  106. -
  107. ENGLISH_BELIZE
  108. -
  109. ENGLISH_CANADA
  110. -
  111. ENGLISH_CARRIBEAN
  112. -
  113. ENGLISH_IRELAND
  114. -
  115. ENGLISH_JAMAICA
  116. -
  117. ENGLISH_NEW_ZEALAND
  118. -
  119. ENGLISH_PHILIPPINES
  120. -
  121. ENGLISH_SOUTH_AFRICA
  122. -
  123. ENGLISH_TRINIDAD
  124. -
  125. ENGLISH_UK
  126. -
  127. ENGLISH_US
  128. -
  129. ENGLISH_ZIMBABWE
  130. -
  131. ESTONIAN
  132. -
  133. FAEROESE
  134. -
  135. FARSI
  136. -
  137. FINNISH
  138. -
  139. FRENCH_BELGIUM
  140. -
  141. FRENCH_CANADA
  142. -
  143. FRENCH_FRANCE
  144. -
  145. FRENCH_LUXEMBOURG
  146. -
  147. FRENCH_MONACO
  148. -
  149. FRENCH_SWITZERLAND
  150. -
  151. FYRO_MACEDONIAN
  152. -
  153. GALICIAN
  154. -
  155. GEORGIAN
  156. -
  157. GERMAN_AUSTRIA
  158. -
  159. GERMAN_GERMANY
  160. -
  161. GERMAN_LIECHTENSTEIN
  162. -
  163. GERMAN_LUXEMBOURG
  164. -
  165. GERMAN_SWITZERLAND
  166. -
  167. GREEK
  168. -
  169. GUJARATI
  170. -
  171. HEBREW
  172. -
  173. HINDI_INDIA
  174. -
  175. HUNGARIAN
  176. -
  177. ICELANDIC
  178. -
  179. INDONESIAN
  180. -
  181. ITALIAN_ITALY
  182. -
  183. ITALIAN_SWITZERLAND
  184. -
  185. JAPANESE
  186. -
  187. KANNADA
  188. -
  189. KASHMIRI
  190. -
  191. KAZAKH
  192. -
  193. KONKANI
  194. -
  195. KOREAN
  196. -
  197. KYRGYZ_CYRILICK
  198. -
  199. LAO
  200. -
  201. LATVIAN
  202. -
  203. LITHUANIAN
  204. -
  205. MALAY_MALAYSIA
  206. -
  207. MALAY_BRUNEI_DARUSSALAM
  208. -
  209. MARATHI
  210. -
  211. MONGOLIAN_CYRILIC
  212. -
  213. NORWEGIAN_BOKMAL
  214. -
  215. NORWEGIAN_NYORSK
  216. -
  217. PASHTO
  218. -
  219. POLISH
  220. -
  221. PORTUGUESE_BRAZIL
  222. -
  223. PORTUGUESE_PORTUGAL
  224. -
  225. PUNJABI
  226. -
  227. RHAETO_ROMANIC
  228. -
  229. ROMANIAN
  230. -
  231. RUSSIAN
  232. -
  233. SANSKRIT
  234. -
  235. SERBIAN_CYRILIC
  236. -
  237. SERBIAN_LATIN
  238. -
  239. SINDHI
  240. -
  241. SINDHI_INDIA
  242. -
  243. SINHALA
  244. -
  245. SLOVAK
  246. -
  247. SLOVENIAN
  248. -
  249. SPANISH_ARGENTINA
  250. -
  251. SPANISH_BOLIVIA
  252. -
  253. SPANISH_CHILE
  254. -
  255. SPANICH_COLOMBIA
  256. -
  257. SPANISH_COSTA_RICA
  258. -
  259. SPANISH_DOMINICAN_REPUBLIC
  260. -
  261. SPANISH_ECUADOR
  262. -
  263. SPANISH_EL_SALVADOR
  264. -
  265. SPANISH_GUATEMALA
  266. -
  267. SPANISH_HONDURAS
  268. -
  269. SPANISH_MEXICO
  270. -
  271. SPANISH_NICARAGUA
  272. -
  273. SPANISH_PANAMA
  274. -
  275. SPANISH_PARAGUAY
  276. -
  277. SPANISH_PERU
  278. -
  279. SPANISH_PUERTO_RICO
  280. -
  281. SPANISH_TRADITIONAL_SORT
  282. -
  283. SPANISH_INTERNATIONAL_SORT
  284. -
  285. SPANISH_URUGUAY
  286. -
  287. SPANISH_VENEZUELA
  288. -
  289. SWAHILI
  290. -
  291. SWEDISH
  292. -
  293. SWEDISH_FINLAND
  294. -
  295. SYRIAC
  296. -
  297. TAMIL
  298. -
  299. TATAR
  300. -
  301. TELUGU
  302. -
  303. THAI_THAILAND
  304. -
  305. TURKISH
  306. -
  307. TAJIK_CYRILLIC
  308. -
  309. TURKMEN
  310. -
  311. UKRAINIAN
  312. -
  313. URDU
  314. -
  315. UZBEK_CYRILIC
  316. -
  317. UZBEK_LATIN
  318. -
  319. VIETNAMESE
  320. -
  321. CTC_SIMPLIFIED
  322. -
  323. CTC_TRADITIONAL
  324. -
  325. MALTESE
  326. -
  327. BURMESE
  328. -
  329. KHMER
  330. -
  331. KARAKALPAK_LATIN
  332. -
  333. MALAYALAM
  334. -
  335. NEPALI
  336. -
  337. ORIYA
  338. -
  339. URDU_DETECTION
  340. - -
  341. - Properties -
  342. -
  343. hashCode
  344. -
  345. index
  346. -
  347. runtimeType
  348. -
  349. value
  350. - -
  351. Methods
  352. -
  353. getTranslation
  354. -
  355. noSuchMethod
  356. -
  357. toString
  358. - -
  359. Operators
  360. -
  361. operator ==
  362. - - - -
  363. Static methods
  364. -
  365. fromIntList
  366. -
  367. getByValue
  368. - -
  369. Constants
  370. -
  371. values
  372. -
diff --git a/docs/document_reader/LCID.html b/docs/document_reader/LCID.html deleted file mode 100644 index d506dade0c..0000000000 --- a/docs/document_reader/LCID.html +++ /dev/null @@ -1,2844 +0,0 @@ - - - - - - - - LCID enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LCID
- -
- -
-
-
- -
-
- -

- LCID - enum - - -

-
- - -
-

Enumeration contains a language ID that identifies a particular language.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- LCID(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const LCID - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- LCID(-1) -
-
- -
- LATIN - → const LCID - - -
-
- - - -
- LCID(0) -
-
- -
- ABKHAZIAN_CYRILLIC - → const LCID - - -
-
- - - -
- LCID(10011) -
-
- -
- AFRIKAANS - → const LCID - - -
-
- - - -
- LCID(1078) -
-
- -
- ALBANIAN - → const LCID - - -
-
- - - -
- LCID(1052) -
-
- -
- AMHARIC - → const LCID - - -
-
- - - -
- LCID(1118) -
-
- -
- ARABIC_ALGERIA - → const LCID - - -
-
- - - -
- LCID(5121) -
-
- -
- ARABIC_BAHRAIN - → const LCID - - -
-
- - - -
- LCID(15361) -
-
- -
- ARABIC_EGYPT - → const LCID - - -
-
- - - -
- LCID(3073) -
-
- -
- ARABIC_IRAQ - → const LCID - - -
-
- - - -
- LCID(2049) -
-
- -
- ARABIC_JORDAN - → const LCID - - -
-
- - - -
- LCID(11265) -
-
- -
- ARABIC_KUWAIT - → const LCID - - -
-
- - - -
- LCID(13313) -
-
- -
- ARABIC_LEBANON - → const LCID - - -
-
- - - -
- LCID(12289) -
-
- -
- ARABIC_LIBYA - → const LCID - - -
-
- - - -
- LCID(4097) -
-
- -
- ARABIC_MOROCCO - → const LCID - - -
-
- - - -
- LCID(6145) -
-
- -
- ARABIC_OMAN - → const LCID - - -
-
- - - -
- LCID(8193) -
-
- -
- ARABIC_QATAR - → const LCID - - -
-
- - - -
- LCID(16385) -
-
- -
- ARABIC_SAUDI_ARABIA - → const LCID - - -
-
- - - -
- LCID(1025) -
-
- -
- ARABIC_SYRIA - → const LCID - - -
-
- - - -
- LCID(10241) -
-
- -
- ARABIC_TUNISIA - → const LCID - - -
-
- - - -
- LCID(7169) -
-
- -
- ARABIC_UAE - → const LCID - - -
-
- - - -
- LCID(14337) -
-
- -
- ARABIC_YEMEN - → const LCID - - -
-
- - - -
- LCID(9217) -
-
- -
- ARABIC_ARMENIAN - → const LCID - - -
-
- - - -
- LCID(1067) -
-
- -
- ARABIC_WORLD - → const LCID - - -
-
- - - -
- LCID(4096) -
-
- -
- AZERI_CYRILIC - → const LCID - - -
-
- - - -
- LCID(2092) -
-
- -
- AZERI_LATIN - → const LCID - - -
-
- - - -
- LCID(1068) -
-
- -
- ASSAMESE - → const LCID - - -
-
- - - -
- LCID(1101) -
-
- -
- BASQUE - → const LCID - - -
-
- - - -
- LCID(1069) -
-
- -
- BANK_CARD - → const LCID - - -
-
- - - -
- LCID(10003) -
-
- -
- BANK_CARD_CVV2 - → const LCID - - -
-
- - - -
- LCID(10004) -
-
- -
- BANK_CARD_NAME - → const LCID - - -
-
- - - -
- LCID(10002) -
-
- -
- BANK_CARD_NUMBER - → const LCID - - -
-
- - - -
- LCID(10000) -
-
- -
- BANK_CARD_VALID_THRU - → const LCID - - -
-
- - - -
- LCID(10001) -
-
- -
- BELARUSIAN - → const LCID - - -
-
- - - -
- LCID(1059) -
-
- -
- BENGALI_BANGLADESH - → const LCID - - -
-
- - - -
- LCID(2117) -
-
- -
- BENGALI_INDIA - → const LCID - - -
-
- - - -
- LCID(1093) -
-
- -
- BULGARIAN - → const LCID - - -
-
- - - -
- LCID(1026) -
-
- -
- CATALAN - → const LCID - - -
-
- - - -
- LCID(1027) -
-
- -
- CHINESE_HONGKONG_SAR - → const LCID - - -
-
- - - -
- LCID(3076) -
-
- -
- CHINESE_MACAO_SAR - → const LCID - - -
-
- - - -
- LCID(5124) -
-
- -
- CHINESE - → const LCID - - -
-
- - - -
- LCID(2052) -
-
- -
- CHINESE_SINGAPORE - → const LCID - - -
-
- - - -
- LCID(4100) -
-
- -
- CHINESE_TAIWAN - → const LCID - - -
-
- - - -
- LCID(1028) -
-
- -
- CROATIAN - → const LCID - - -
-
- - - -
- LCID(1050) -
-
- -
- CZECH - → const LCID - - -
-
- - - -
- LCID(1029) -
-
- -
- DANISH - → const LCID - - -
-
- - - -
- LCID(1030) -
-
- -
- DIVEHI - → const LCID - - -
-
- - - -
- LCID(1125) -
-
- -
- DUTCH_BELGIUM - → const LCID - - -
-
- - - -
- LCID(2067) -
-
- -
- DUTCH_NETHERLANDS - → const LCID - - -
-
- - - -
- LCID(1043) -
-
- -
- ENGLISH_AUSTRALIA - → const LCID - - -
-
- - - -
- LCID(3081) -
-
- -
- ENGLISH_BELIZE - → const LCID - - -
-
- - - -
- LCID(10249) -
-
- -
- ENGLISH_CANADA - → const LCID - - -
-
- - - -
- LCID(4105) -
-
- -
- ENGLISH_CARRIBEAN - → const LCID - - -
-
- - - -
- LCID(9225) -
-
- -
- ENGLISH_IRELAND - → const LCID - - -
-
- - - -
- LCID(6153) -
-
- -
- ENGLISH_JAMAICA - → const LCID - - -
-
- - - -
- LCID(8201) -
-
- -
- ENGLISH_NEW_ZEALAND - → const LCID - - -
-
- - - -
- LCID(5129) -
-
- -
- ENGLISH_PHILIPPINES - → const LCID - - -
-
- - - -
- LCID(13321) -
-
- -
- ENGLISH_SOUTH_AFRICA - → const LCID - - -
-
- - - -
- LCID(7177) -
-
- -
- ENGLISH_TRINIDAD - → const LCID - - -
-
- - - -
- LCID(11273) -
-
- -
- ENGLISH_UK - → const LCID - - -
-
- - - -
- LCID(2057) -
-
- -
- ENGLISH_US - → const LCID - - -
-
- - - -
- LCID(1033) -
-
- -
- ENGLISH_ZIMBABWE - → const LCID - - -
-
- - - -
- LCID(12297) -
-
- -
- ESTONIAN - → const LCID - - -
-
- - - -
- LCID(1061) -
-
- -
- FAEROESE - → const LCID - - -
-
- - - -
- LCID(1080) -
-
- -
- FARSI - → const LCID - - -
-
- - - -
- LCID(1065) -
-
- -
- FINNISH - → const LCID - - -
-
- - - -
- LCID(1035) -
-
- -
- FRENCH_BELGIUM - → const LCID - - -
-
- - - -
- LCID(2060) -
-
- -
- FRENCH_CANADA - → const LCID - - -
-
- - - -
- LCID(3084) -
-
- -
- FRENCH_FRANCE - → const LCID - - -
-
- - - -
- LCID(1036) -
-
- -
- FRENCH_LUXEMBOURG - → const LCID - - -
-
- - - -
- LCID(5132) -
-
- -
- FRENCH_MONACO - → const LCID - - -
-
- - - -
- LCID(6156) -
-
- -
- FRENCH_SWITZERLAND - → const LCID - - -
-
- - - -
- LCID(4108) -
-
- -
- FYRO_MACEDONIAN - → const LCID - - -
-
- - - -
- LCID(1071) -
-
- -
- GALICIAN - → const LCID - - -
-
- - - -
- LCID(1110) -
-
- -
- GEORGIAN - → const LCID - - -
-
- - - -
- LCID(1079) -
-
- -
- GERMAN_AUSTRIA - → const LCID - - -
-
- - - -
- LCID(3079) -
-
- -
- GERMAN_GERMANY - → const LCID - - -
-
- - - -
- LCID(1031) -
-
- -
- GERMAN_LIECHTENSTEIN - → const LCID - - -
-
- - - -
- LCID(5127) -
-
- -
- GERMAN_LUXEMBOURG - → const LCID - - -
-
- - - -
- LCID(4103) -
-
- -
- GERMAN_SWITZERLAND - → const LCID - - -
-
- - - -
- LCID(2055) -
-
- -
- GREEK - → const LCID - - -
-
- - - -
- LCID(1032) -
-
- -
- GUJARATI - → const LCID - - -
-
- - - -
- LCID(1095) -
-
- -
- HEBREW - → const LCID - - -
-
- - - -
- LCID(1037) -
-
- -
- HINDI_INDIA - → const LCID - - -
-
- - - -
- LCID(1081) -
-
- -
- HUNGARIAN - → const LCID - - -
-
- - - -
- LCID(1038) -
-
- -
- ICELANDIC - → const LCID - - -
-
- - - -
- LCID(1039) -
-
- -
- INDONESIAN - → const LCID - - -
-
- - - -
- LCID(1057) -
-
- -
- ITALIAN_ITALY - → const LCID - - -
-
- - - -
- LCID(1040) -
-
- -
- ITALIAN_SWITZERLAND - → const LCID - - -
-
- - - -
- LCID(2064) -
-
- -
- JAPANESE - → const LCID - - -
-
- - - -
- LCID(1041) -
-
- -
- KANNADA - → const LCID - - -
-
- - - -
- LCID(1099) -
-
- -
- KASHMIRI - → const LCID - - -
-
- - - -
- LCID(1120) -
-
- -
- KAZAKH - → const LCID - - -
-
- - - -
- LCID(1087) -
-
- -
- KONKANI - → const LCID - - -
-
- - - -
- LCID(1111) -
-
- -
- KOREAN - → const LCID - - -
-
- - - -
- LCID(1042) -
-
- -
- KYRGYZ_CYRILICK - → const LCID - - -
-
- - - -
- LCID(1088) -
-
- -
- LAO - → const LCID - - -
-
- - - -
- LCID(1108) -
-
- -
- LATVIAN - → const LCID - - -
-
- - - -
- LCID(1062) -
-
- -
- LITHUANIAN - → const LCID - - -
-
- - - -
- LCID(1063) -
-
- -
- MALAY_MALAYSIA - → const LCID - - -
-
- - - -
- LCID(1086) -
-
- -
- MALAY_BRUNEI_DARUSSALAM - → const LCID - - -
-
- - - -
- LCID(2110) -
-
- -
- MARATHI - → const LCID - - -
-
- - - -
- LCID(1102) -
-
- -
- MONGOLIAN_CYRILIC - → const LCID - - -
-
- - - -
- LCID(1104) -
-
- -
- NORWEGIAN_BOKMAL - → const LCID - - -
-
- - - -
- LCID(1044) -
-
- -
- NORWEGIAN_NYORSK - → const LCID - - -
-
- - - -
- LCID(2068) -
-
- -
- PASHTO - → const LCID - - -
-
- - - -
- LCID(1123) -
-
- -
- POLISH - → const LCID - - -
-
- - - -
- LCID(1045) -
-
- -
- PORTUGUESE_BRAZIL - → const LCID - - -
-
- - - -
- LCID(1046) -
-
- -
- PORTUGUESE_PORTUGAL - → const LCID - - -
-
- - - -
- LCID(2070) -
-
- -
- PUNJABI - → const LCID - - -
-
- - - -
- LCID(1094) -
-
- -
- RHAETO_ROMANIC - → const LCID - - -
-
- - - -
- LCID(1047) -
-
- -
- ROMANIAN - → const LCID - - -
-
- - - -
- LCID(1048) -
-
- -
- RUSSIAN - → const LCID - - -
-
- - - -
- LCID(1049) -
-
- -
- SANSKRIT - → const LCID - - -
-
- - - -
- LCID(1103) -
-
- -
- SERBIAN_CYRILIC - → const LCID - - -
-
- - - -
- LCID(3098) -
-
- -
- SERBIAN_LATIN - → const LCID - - -
-
- - - -
- LCID(2074) -
-
- -
- SINDHI - → const LCID - - -
-
- - - -
- LCID(2137) -
-
- -
- SINDHI_INDIA - → const LCID - - -
-
- - - -
- LCID(1113) -
-
- -
- SINHALA - → const LCID - - -
-
- - - -
- LCID(1115) -
-
- -
- SLOVAK - → const LCID - - -
-
- - - -
- LCID(1051) -
-
- -
- SLOVENIAN - → const LCID - - -
-
- - - -
- LCID(1060) -
-
- -
- SPANISH_ARGENTINA - → const LCID - - -
-
- - - -
- LCID(11274) -
-
- -
- SPANISH_BOLIVIA - → const LCID - - -
-
- - - -
- LCID(16394) -
-
- -
- SPANISH_CHILE - → const LCID - - -
-
- - - -
- LCID(13322) -
-
- -
- SPANICH_COLOMBIA - → const LCID - - -
-
- - - -
- LCID(9226) -
-
- -
- SPANISH_COSTA_RICA - → const LCID - - -
-
- - - -
- LCID(5130) -
-
- -
- SPANISH_DOMINICAN_REPUBLIC - → const LCID - - -
-
- - - -
- LCID(7178) -
-
- -
- SPANISH_ECUADOR - → const LCID - - -
-
- - - -
- LCID(12298) -
-
- -
- SPANISH_EL_SALVADOR - → const LCID - - -
-
- - - -
- LCID(17418) -
-
- -
- SPANISH_GUATEMALA - → const LCID - - -
-
- - - -
- LCID(4106) -
-
- -
- SPANISH_HONDURAS - → const LCID - - -
-
- - - -
- LCID(18442) -
-
- -
- SPANISH_MEXICO - → const LCID - - -
-
- - - -
- LCID(2058) -
-
- -
- SPANISH_NICARAGUA - → const LCID - - -
-
- - - -
- LCID(19466) -
-
- -
- SPANISH_PANAMA - → const LCID - - -
-
- - - -
- LCID(6154) -
-
- -
- SPANISH_PARAGUAY - → const LCID - - -
-
- - - -
- LCID(15370) -
-
- -
- SPANISH_PERU - → const LCID - - -
-
- - - -
- LCID(10250) -
-
- -
- SPANISH_PUERTO_RICO - → const LCID - - -
-
- - - -
- LCID(20490) -
-
- -
- SPANISH_TRADITIONAL_SORT - → const LCID - - -
-
- - - -
- LCID(1034) -
-
- -
- SPANISH_INTERNATIONAL_SORT - → const LCID - - -
-
- - - -
- LCID(3082) -
-
- -
- SPANISH_URUGUAY - → const LCID - - -
-
- - - -
- LCID(14346) -
-
- -
- SPANISH_VENEZUELA - → const LCID - - -
-
- - - -
- LCID(8202) -
-
- -
- SWAHILI - → const LCID - - -
-
- - - -
- LCID(1089) -
-
- -
- SWEDISH - → const LCID - - -
-
- - - -
- LCID(1053) -
-
- -
- SWEDISH_FINLAND - → const LCID - - -
-
- - - -
- LCID(2077) -
-
- -
- SYRIAC - → const LCID - - -
-
- - - -
- LCID(1114) -
-
- -
- TAMIL - → const LCID - - -
-
- - - -
- LCID(1097) -
-
- -
- TATAR - → const LCID - - -
-
- - - -
- LCID(1092) -
-
- -
- TELUGU - → const LCID - - -
-
- - - -
- LCID(1098) -
-
- -
- THAI_THAILAND - → const LCID - - -
-
- - - -
- LCID(1054) -
-
- -
- TURKISH - → const LCID - - -
-
- - - -
- LCID(1055) -
-
- -
- TAJIK_CYRILLIC - → const LCID - - -
-
- - - -
- LCID(1064) -
-
- -
- TURKMEN - → const LCID - - -
-
- - - -
- LCID(1090) -
-
- -
- UKRAINIAN - → const LCID - - -
-
- - - -
- LCID(1058) -
-
- -
- URDU - → const LCID - - -
-
- - - -
- LCID(1056) -
-
- -
- UZBEK_CYRILIC - → const LCID - - -
-
- - - -
- LCID(2115) -
-
- -
- UZBEK_LATIN - → const LCID - - -
-
- - - -
- LCID(1091) -
-
- -
- VIETNAMESE - → const LCID - - -
-
- - - -
- LCID(1066) -
-
- -
- CTC_SIMPLIFIED - → const LCID - - -
-
- - - -
- LCID(50001) -
-
- -
- CTC_TRADITIONAL - → const LCID - - -
-
- - - -
- LCID(50002) -
-
- -
- MALTESE - → const LCID - - -
-
- - - -
- LCID(1082) -
-
- -
- BURMESE - → const LCID - - -
-
- - - -
- LCID(1109) -
-
- -
- KHMER - → const LCID - - -
-
- - - -
- LCID(1107) -
-
- -
- KARAKALPAK_LATIN - → const LCID - - -
-
- - - -
- LCID(10012) -
-
- -
- MALAYALAM - → const LCID - - -
-
- - - -
- LCID(1100) -
-
- -
- NEPALI - → const LCID - - -
-
- - - -
- LCID(1121) -
-
- -
- ORIYA - → const LCID - - -
-
- - - -
- LCID(1096) -
-
- -
- URDU_DETECTION - → const LCID - - -
-
- - - -
- LCID(10560) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<LCID>? - - - -
-
- - - -
- -
- getByValue(int? i) - LCID? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<LCID> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, LATIN, ABKHAZIAN_CYRILLIC, AFRIKAANS, ALBANIAN, AMHARIC, ARABIC_ALGERIA, ARABIC_BAHRAIN, ARABIC_EGYPT, ARABIC_IRAQ, ARABIC_JORDAN, ARABIC_KUWAIT, ARABIC_LEBANON, ARABIC_LIBYA, ARABIC_MOROCCO… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LCID/LCID.html b/docs/document_reader/LCID/LCID.html deleted file mode 100644 index 85a0a236a6..0000000000 --- a/docs/document_reader/LCID/LCID.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - LCID constructor - LCID - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LCID
- -
- -
-
-
- -
-
-

LCID constructor -

- -
- const - LCID(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const LCID
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LCID/getTranslation.html b/docs/document_reader/LCID/getTranslation.html deleted file mode 100644 index e999c1472f..0000000000 --- a/docs/document_reader/LCID/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - LCID enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LCID/value.html b/docs/document_reader/LCID/value.html deleted file mode 100644 index af3daec441..0000000000 --- a/docs/document_reader/LCID/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - LCID enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LCID/values-constant.html b/docs/document_reader/LCID/values-constant.html deleted file mode 100644 index e3bf7853bb..0000000000 --- a/docs/document_reader/LCID/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - LCID enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<LCID> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingErrorCodes-enum-sidebar.html b/docs/document_reader/LDSParsingErrorCodes-enum-sidebar.html deleted file mode 100644 index 73183e7d9c..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes-enum-sidebar.html +++ /dev/null @@ -1,158 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. LDSParsingErrorCodes
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. OK
  10. -
  11. ASN_INCORRECT_DATA
  12. -
  13. ASN_NOT_ENOUGH_DATA
  14. -
  15. ASN_CONTENTS_UNEXPECTED_DATA
  16. -
  17. ASN_SIGNED_DATA_INCORRECT_DATA
  18. -
  19. ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA
  20. -
  21. ASN_SIGNED_DATA_VERSION_INCORRECT_DATA
  22. -
  23. ASN_SIGNED_DATA_DIGEST_ALGORITHMS_INCORRECT_DATA
  24. -
  25. ASN_LDS_OBJECT_INCORRECT_DATA
  26. -
  27. ASN_LDS_OBJECT_VERSION_INCORRECT_DATA
  28. -
  29. ASN_LDS_OBJECT_DIGEST_ALGORITHM_INCORRECT_DATA
  30. -
  31. ASN_LDS_OBJECT_DG_HASHES_INCORRECT_DATA
  32. -
  33. ASN_LDS_OBJECT_VERSION_INFO_INCORRECT_DATA
  34. -
  35. ASN_CERTIFICATE_INCORRECT_DATA
  36. -
  37. ASN_CERTIFICATE_VERSION_INCORRECT_DATA
  38. -
  39. ASN_CERTIFICATE_SN_INCORRECT_DATA
  40. -
  41. ASN_CERTIFICATE_SIGNATURE_INCORRECT_DATA
  42. -
  43. ASN_CERTIFICATE_ISSUER_INCORRECT_DATA
  44. -
  45. ASN_CERTIFICATE_VALIDITY_INCORRECT_DATA
  46. -
  47. ASN_CERTIFICATE_SUBJECT_INCORRECT_DATA
  48. -
  49. ASN_CERTIFICATE_SUBJECT_PK_INCORRECT_DATA
  50. -
  51. ASN_CERTIFICATE_EXTENSIONS_INCORRECT_DATA
  52. -
  53. ASN_SIGNER_INFO_INCORRECT_DATA
  54. -
  55. ASN_SIGNER_INFO_VERSION_INCORRECT_DATA
  56. -
  57. ASN_SIGNER_INFO_SID_INCORRECT_DATA
  58. -
  59. ASN_SIGNER_INFO_DIGEST_ALG_INCORRECT_DATA
  60. -
  61. ASN_SIGNER_INFO_SIGNED_ATTRS_INCORRECT_DATA
  62. -
  63. ASN_SIGNER_INFO_SIGN_ALG_INCORRECT_DATA
  64. -
  65. ASN_SIGNER_INFO_SIGNATURE_INCORRECT_DATA
  66. -
  67. ASN_SIGNER_INFO_UNSIGNED_ATTRS_INCORRECT_DATA
  68. -
  69. ICAO_LDS_OBJECT_UNSUPPORTED_DIGEST_ALGORITHM
  70. -
  71. ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY
  72. -
  73. ICAO_SIGNER_INFO_UNSUPPORTED_DIGEST_ALGORITHM
  74. -
  75. ICAO_SIGNER_INFO_UNSUPPORTED_SIGNATURE_ALGORITHM
  76. -
  77. ICAO_SIGNER_INFO_MESSAGE_DIGEST_ERROR
  78. -
  79. ICAO_SIGNER_INFO_SIGNED_ATTRS_MISSED
  80. -
  81. AUTH_SIGNER_INFO_CANT_FIND_CERTIFICATE
  82. -
  83. AUTH_ERROR
  84. -
  85. AUTH_UNSUPPORTED_SIGNATURE_ALGORITHM
  86. -
  87. AUTH_UNSUPPORTED_PUBLIC_KEY_ALGORITHM
  88. -
  89. AUTH_MESSED_ALGORITHMS
  90. -
  91. AUTH_PUBLIC_KEY_DATA_INVALID
  92. -
  93. AUTH_ALGORITHM_PARAMETERS_DATA_INVALID
  94. -
  95. AUTH_SIGNATURE_DATA_INVALID
  96. -
  97. AUTH_UNSUPPORTED_DIGEST_ALGORITHM
  98. -
  99. AUTH_SIGNATURE_DATA_INCORRECT
  100. -
  101. AUTH_ALGORITHM_PARAMETERS_NOT_DEFINED
  102. -
  103. AUTH_SIGNATURE_CHECK_FAILED
  104. -
  105. DG_WRONG_TAH
  106. -
  107. DG_CONTENTS_UNEXPECTED_DATA
  108. -
  109. BAP_SYMMETRIC_CYPHER_CANT_INITIALIZE
  110. -
  111. PACE_INFO_NOT_AVAILABLE
  112. -
  113. PACE_SYMMETRIC_CYPHER_CANT_INITIALIZE
  114. -
  115. PACE_KEY_AGREEMENT_CANT_INITIALIZE
  116. -
  117. PACE_EPHEMERAL_KEYS_CANT_CREATE
  118. -
  119. PACE_MAPPING_CANT_DECODE_NONCE
  120. -
  121. PACE_SHARED_SECRET_CANT_CREATE
  122. -
  123. PACE_DOMAIN_PARAMS_UNSUPPORTED_FORMAT
  124. -
  125. PACE_EPHEMERAL_KEYS_INCORRECT
  126. -
  127. PACE_MAPPING_EPHEMERAL_KEYS_INCORRECT
  128. -
  129. PACE_MAPPING_CANT_PERFORM
  130. -
  131. PACE_NON_MATCHING_AUTH_TOKENS
  132. -
  133. PACE_CAM_DATA_INCORRECT
  134. -
  135. PACE_CAM_DATA_CANT_VERIFY
  136. -
  137. PACE_CAM_DATA_NON_MATCHING
  138. -
  139. PACE_IM_SCHEME_INCORRECT
  140. -
  141. PACE_IM_RANDOM_MAPPING_FAILED
  142. -
  143. CA_CANT_FIND_PUBLIC_KEY
  144. -
  145. CA_CANT_FIND_INFO
  146. -
  147. CA_INCORRECT_VERSION
  148. -
  149. CA_CANT_FIND_DOMAIN_PARAMETERS
  150. -
  151. CA_KEY_AGREEMENT_CANT_INITIALIZE
  152. -
  153. CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM
  154. -
  155. CA_EPHEMERAL_KEYS_CANT_CREATE
  156. -
  157. CA_SHARED_SECRET_CANT_CREATE
  158. -
  159. CA_NON_MATCHING_AUTH_TOKENS
  160. -
  161. TA_INCORRECT_VERSION
  162. -
  163. TA_CANT_BUILD_CERTIFICATE_CHAIN
  164. -
  165. TA_CANT_FIND_IS_PRIVATE_KEY
  166. -
  167. TA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM
  168. -
  169. TA_SIGNATURE_BUILDING_ERROR
  170. -
  171. TA_INVALID_KEY_ALGORITHM_PARAMETERS
  172. -
  173. AA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM
  174. -
  175. AA_PUBLIC_KEY_INCORRECT_DATA
  176. -
  177. AA_PUBLIC_KEY_INCORRECT_PARAMETERS
  178. -
  179. AA_PUBLIC_KEY_UNDEFINED_PARAMETERS
  180. -
  181. AA_SIGNATURE_INCORRECT_DATA
  182. -
  183. AA_UNSUPPORTED_RECOVERY_SCHEME
  184. -
  185. AA_INCORRECT_TRAILER
  186. -
  187. AA_UNSUPPORTED_DIGEST_ALGORITHM
  188. -
  189. RI_SECTOR_KEY_CANT_FIND
  190. -
  191. RI_SECTOR_KEY_INCORRECT_DATA
  192. -
  193. RI_SECTOR_KEY_INCOMPLETE_DATA
  194. -
  195. CV_CERTIFICATE_MISSING_MANDATORY_DATA_PK
  196. -
  197. CV_CERTIFICATE_PUBLIC_KEY_UNSUPPORTED
  198. -
  199. CV_CERTIFICATE_CHAT_UNSUPPORTED_TERMINAL_TYPE
  200. -
  201. CV_CERTIFICATE_PRIVATE_KEY_UNSUPPORTED
  202. -
  203. CV_CERTIFICATE_PRIVATE_KEY_INVALID_PARAMS
  204. -
  205. CV_CERTIFICATE_INCORRECT_DATA
  206. -
  207. CV_CERTIFICATE_CPI_INCORRECT_DATA
  208. -
  209. CV_CERTIFICATE_CAR_INCORRECT_DATA
  210. -
  211. CV_CERTIFICATE_PUBLIC_KEY_INCORRECT_DATA
  212. -
  213. CV_CERTIFICATE_CHR_INCORRECT_DATA
  214. -
  215. CV_CERTIFICATE_CHAT_INCORRECT_DATA
  216. -
  217. CV_CERTIFICATE_VALID_FROM_INCORRECT_DATA
  218. -
  219. CV_CERTIFICATE_VALID_TO_INCORRECT_DATA
  220. -
  221. CV_CERTIFICATE_EXTENSIONS_INCORRECT_DATA
  222. -
  223. CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_DATA
  224. -
  225. CV_CERTIFICATE_PRIVATE_KEY_MISSING
  226. -
  227. VDS_UNSUPPORTED_VERSION
  228. -
  229. VDS_ISSUING_COUNTRY_SIZE
  230. -
  231. VDS_ISSUING_COUNTRY_INCORRECT_DATA
  232. -
  233. VDS_SIGNER_CERTIFICATE_SIZE
  234. -
  235. VDS_SIGNER_CERTIFICATE_DATA
  236. -
  237. VDS_SIGNATURE_INCORRECT_DATA
  238. -
  239. VDS_NC_INCORRECT_DATA
  240. -
  241. VDS_NC_MISSING_OR_INCORRECT_DATA
  242. -
  243. VDS_NC_MISSING_OR_INCORRECT_HEADER
  244. -
  245. VDS_NC_MISSING_OR_INCORRECT_TYPE
  246. -
  247. VDS_NC_MISSING_OR_INCORRECT_VERSION
  248. -
  249. VDS_NC_MISSING_OR_INCORRECT_ISSUING_COUNTRY
  250. -
  251. VDS_NC_MISSING_OR_INCORRECT_MESSAGE
  252. -
  253. VDS_NC_MISSING_OR_INCORRECT_SIGNATURE
  254. -
  255. VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM
  256. -
  257. VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE
  258. -
  259. VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE
  260. - -
  261. - Properties -
  262. -
  263. hashCode
  264. -
  265. index
  266. -
  267. runtimeType
  268. -
  269. value
  270. - -
  271. Methods
  272. -
  273. getTranslation
  274. -
  275. noSuchMethod
  276. -
  277. toString
  278. - -
  279. Operators
  280. -
  281. operator ==
  282. - - - -
  283. Static methods
  284. -
  285. getByValue
  286. - -
  287. Constants
  288. -
  289. values
  290. -
diff --git a/docs/document_reader/LDSParsingErrorCodes.html b/docs/document_reader/LDSParsingErrorCodes.html deleted file mode 100644 index 40ed6fdf7f..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes.html +++ /dev/null @@ -1,2228 +0,0 @@ - - - - - - - - LDSParsingErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LDSParsingErrorCodes
- -
- -
-
-
- -
-
- -

- LDSParsingErrorCodes - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- LDSParsingErrorCodes(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const LDSParsingErrorCodes - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- LDSParsingErrorCodes(-1) -
-
- -
- OK - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x00000001) -
-
- -
- ASN_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000001) -
-
- -
- ASN_NOT_ENOUGH_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000002) -
-
- -
- ASN_CONTENTS_UNEXPECTED_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000003) -
-
- -
- ASN_SIGNED_DATA_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000008) -
-
- -
- ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000009) -
-
- -
- ASN_SIGNED_DATA_VERSION_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000000A) -
-
- -
- ASN_SIGNED_DATA_DIGEST_ALGORITHMS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000011) -
-
- -
- ASN_LDS_OBJECT_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000013) -
-
- -
- ASN_LDS_OBJECT_VERSION_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000014) -
-
- -
- ASN_LDS_OBJECT_DIGEST_ALGORITHM_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000015) -
-
- -
- ASN_LDS_OBJECT_DG_HASHES_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000016) -
-
- -
- ASN_LDS_OBJECT_VERSION_INFO_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000012) -
-
- -
- ASN_CERTIFICATE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000017) -
-
- -
- ASN_CERTIFICATE_VERSION_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000018) -
-
- -
- ASN_CERTIFICATE_SN_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000019) -
-
- -
- ASN_CERTIFICATE_SIGNATURE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001A) -
-
- -
- ASN_CERTIFICATE_ISSUER_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001B) -
-
- -
- ASN_CERTIFICATE_VALIDITY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001C) -
-
- -
- ASN_CERTIFICATE_SUBJECT_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001D) -
-
- -
- ASN_CERTIFICATE_SUBJECT_PK_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001E) -
-
- -
- ASN_CERTIFICATE_EXTENSIONS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000001F) -
-
- -
- ASN_SIGNER_INFO_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000020) -
-
- -
- ASN_SIGNER_INFO_VERSION_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000021) -
-
- -
- ASN_SIGNER_INFO_SID_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000022) -
-
- -
- ASN_SIGNER_INFO_DIGEST_ALG_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000023) -
-
- -
- ASN_SIGNER_INFO_SIGNED_ATTRS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000024) -
-
- -
- ASN_SIGNER_INFO_SIGN_ALG_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000025) -
-
- -
- ASN_SIGNER_INFO_SIGNATURE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000026) -
-
- -
- ASN_SIGNER_INFO_UNSIGNED_ATTRS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000027) -
-
- -
- ICAO_LDS_OBJECT_UNSUPPORTED_DIGEST_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000030) -
-
- -
- ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000031) -
-
- -
- ICAO_SIGNER_INFO_UNSUPPORTED_DIGEST_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000032) -
-
- -
- ICAO_SIGNER_INFO_UNSUPPORTED_SIGNATURE_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000033) -
-
- -
- ICAO_SIGNER_INFO_MESSAGE_DIGEST_ERROR - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000034) -
-
- -
- ICAO_SIGNER_INFO_SIGNED_ATTRS_MISSED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000036) -
-
- -
- AUTH_SIGNER_INFO_CANT_FIND_CERTIFICATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000035) -
-
- -
- AUTH_ERROR - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000050) -
-
- -
- AUTH_UNSUPPORTED_SIGNATURE_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000051) -
-
- -
- AUTH_UNSUPPORTED_PUBLIC_KEY_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000052) -
-
- -
- AUTH_MESSED_ALGORITHMS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000053) -
-
- -
- AUTH_PUBLIC_KEY_DATA_INVALID - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000054) -
-
- -
- AUTH_ALGORITHM_PARAMETERS_DATA_INVALID - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000055) -
-
- -
- AUTH_SIGNATURE_DATA_INVALID - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000056) -
-
- -
- AUTH_UNSUPPORTED_DIGEST_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000057) -
-
- -
- AUTH_SIGNATURE_DATA_INCORRECT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000058) -
-
- -
- AUTH_ALGORITHM_PARAMETERS_NOT_DEFINED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000059) -
-
- -
- AUTH_SIGNATURE_CHECK_FAILED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8000005A) -
-
- -
- DG_WRONG_TAH - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000070) -
-
- -
- DG_CONTENTS_UNEXPECTED_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x80000071) -
-
- -
- BAP_SYMMETRIC_CYPHER_CANT_INITIALIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000011) -
-
- -
- PACE_INFO_NOT_AVAILABLE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000020) -
-
- -
- PACE_SYMMETRIC_CYPHER_CANT_INITIALIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000021) -
-
- -
- PACE_KEY_AGREEMENT_CANT_INITIALIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000022) -
-
- -
- PACE_EPHEMERAL_KEYS_CANT_CREATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000023) -
-
- -
- PACE_MAPPING_CANT_DECODE_NONCE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000024) -
-
- -
- PACE_SHARED_SECRET_CANT_CREATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000025) -
-
- -
- PACE_DOMAIN_PARAMS_UNSUPPORTED_FORMAT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000026) -
-
- -
- PACE_EPHEMERAL_KEYS_INCORRECT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000027) -
-
- -
- PACE_MAPPING_EPHEMERAL_KEYS_INCORRECT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000028) -
-
- -
- PACE_MAPPING_CANT_PERFORM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000029) -
-
- -
- PACE_NON_MATCHING_AUTH_TOKENS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002A) -
-
- -
- PACE_CAM_DATA_INCORRECT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002B) -
-
- -
- PACE_CAM_DATA_CANT_VERIFY - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002C) -
-
- -
- PACE_CAM_DATA_NON_MATCHING - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002D) -
-
- -
- PACE_IM_SCHEME_INCORRECT - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002E) -
-
- -
- PACE_IM_RANDOM_MAPPING_FAILED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100002F) -
-
- -
- CA_CANT_FIND_PUBLIC_KEY - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000030) -
-
- -
- CA_CANT_FIND_INFO - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000031) -
-
- -
- CA_INCORRECT_VERSION - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000032) -
-
- -
- CA_CANT_FIND_DOMAIN_PARAMETERS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000033) -
-
- -
- CA_KEY_AGREEMENT_CANT_INITIALIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000034) -
-
- -
- CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000035) -
-
- -
- CA_EPHEMERAL_KEYS_CANT_CREATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000036) -
-
- -
- CA_SHARED_SECRET_CANT_CREATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000037) -
-
- -
- CA_NON_MATCHING_AUTH_TOKENS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000038) -
-
- -
- TA_INCORRECT_VERSION - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000040) -
-
- -
- TA_CANT_BUILD_CERTIFICATE_CHAIN - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000041) -
-
- -
- TA_CANT_FIND_IS_PRIVATE_KEY - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000042) -
-
- -
- TA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000043) -
-
- -
- TA_SIGNATURE_BUILDING_ERROR - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000044) -
-
- -
- TA_INVALID_KEY_ALGORITHM_PARAMETERS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000045) -
-
- -
- AA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000050) -
-
- -
- AA_PUBLIC_KEY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000051) -
-
- -
- AA_PUBLIC_KEY_INCORRECT_PARAMETERS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000052) -
-
- -
- AA_PUBLIC_KEY_UNDEFINED_PARAMETERS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000053) -
-
- -
- AA_SIGNATURE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000054) -
-
- -
- AA_UNSUPPORTED_RECOVERY_SCHEME - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000055) -
-
- -
- AA_INCORRECT_TRAILER - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000056) -
-
- -
- AA_UNSUPPORTED_DIGEST_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000057) -
-
- -
- RI_SECTOR_KEY_CANT_FIND - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000070) -
-
- -
- RI_SECTOR_KEY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000071) -
-
- -
- RI_SECTOR_KEY_INCOMPLETE_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000072) -
-
- -
- CV_CERTIFICATE_MISSING_MANDATORY_DATA_PK - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000060) -
-
- -
- CV_CERTIFICATE_PUBLIC_KEY_UNSUPPORTED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000062) -
-
- -
- CV_CERTIFICATE_CHAT_UNSUPPORTED_TERMINAL_TYPE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000063) -
-
- -
- CV_CERTIFICATE_PRIVATE_KEY_UNSUPPORTED - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100006) -
-
- -
- CV_CERTIFICATE_PRIVATE_KEY_INVALID_PARAMS - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000065) -
-
- -
- CV_CERTIFICATE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000160) -
-
- -
- CV_CERTIFICATE_CPI_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000161) -
-
- -
- CV_CERTIFICATE_CAR_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000162) -
-
- -
- CV_CERTIFICATE_PUBLIC_KEY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000163) -
-
- -
- CV_CERTIFICATE_CHR_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000164) -
-
- -
- CV_CERTIFICATE_CHAT_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000165) -
-
- -
- CV_CERTIFICATE_VALID_FROM_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000166) -
-
- -
- CV_CERTIFICATE_VALID_TO_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000167) -
-
- -
- CV_CERTIFICATE_EXTENSIONS_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000168) -
-
- -
- CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000169) -
-
- -
- CV_CERTIFICATE_PRIVATE_KEY_MISSING - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100016A) -
-
- -
- VDS_UNSUPPORTED_VERSION - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000200) -
-
- -
- VDS_ISSUING_COUNTRY_SIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000201) -
-
- -
- VDS_ISSUING_COUNTRY_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000202) -
-
- -
- VDS_SIGNER_CERTIFICATE_SIZE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000203) -
-
- -
- VDS_SIGNER_CERTIFICATE_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000204) -
-
- -
- VDS_SIGNATURE_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000205) -
-
- -
- VDS_NC_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000300) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_DATA - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000301) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_HEADER - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000302) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_TYPE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000303) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_VERSION - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000304) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_ISSUING_COUNTRY - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000305) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_MESSAGE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000306) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_SIGNATURE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000307) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000308) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x81000309) -
-
- -
- VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE - → const LDSParsingErrorCodes - - -
-
- - - -
- LDSParsingErrorCodes(0x8100030A) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - LDSParsingErrorCodes? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<LDSParsingErrorCodes> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, OK, ASN_INCORRECT_DATA, ASN_NOT_ENOUGH_DATA, ASN_CONTENTS_UNEXPECTED_DATA, ASN_SIGNED_DATA_INCORRECT_DATA, ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA, ASN_SIGNED_DATA_VERSION_INCORRECT_DA… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingErrorCodes/LDSParsingErrorCodes.html b/docs/document_reader/LDSParsingErrorCodes/LDSParsingErrorCodes.html deleted file mode 100644 index 846c3ddaae..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes/LDSParsingErrorCodes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - LDSParsingErrorCodes constructor - LDSParsingErrorCodes - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LDSParsingErrorCodes
- -
- -
-
-
- -
-
-

LDSParsingErrorCodes constructor -

- -
- const - LDSParsingErrorCodes(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const LDSParsingErrorCodes
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingErrorCodes/getTranslation.html b/docs/document_reader/LDSParsingErrorCodes/getTranslation.html deleted file mode 100644 index 81da147e60..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - LDSParsingErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingErrorCodes/value.html b/docs/document_reader/LDSParsingErrorCodes/value.html deleted file mode 100644 index 873cdfa18a..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - LDSParsingErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingErrorCodes/values-constant.html b/docs/document_reader/LDSParsingErrorCodes/values-constant.html deleted file mode 100644 index 509e960e73..0000000000 --- a/docs/document_reader/LDSParsingErrorCodes/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - LDSParsingErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<LDSParsingErrorCodes> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingNotificationCodes-enum-sidebar.html b/docs/document_reader/LDSParsingNotificationCodes-enum-sidebar.html deleted file mode 100644 index 0063424bab..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes-enum-sidebar.html +++ /dev/null @@ -1,254 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. LDSParsingNotificationCodes
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. ASN_CERTIFICATE_INCORRECT_VERSION
  10. -
  11. ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM
  12. -
  13. ASN_CERTIFICATE_INCORRECT_TIME_CODING
  14. -
  15. ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME
  16. -
  17. ASN_CERTIFICATE_EMPTY_ISSUER
  18. -
  19. ASN_CERTIFICATE_EMPTY_SUBJECT
  20. -
  21. ASN_CERTIFICATE_UNSUPPORTED_CRITICAL_EXTENSION
  22. -
  23. ASN_CERTIFICATE_FORCED_DEFAULT_CSCA_ROLE
  24. -
  25. ASN_CERTIFICATE_FORCED_DEFAULT_DS_ROLE
  26. -
  27. ASN_CERTIFICATE_INCORRECT_ISSUER_SUBJECT_DS
  28. -
  29. ASN_CERTIFICATE_DUPLICATING_EXTENSIONS
  30. -
  31. ICAO_CERTIFICATE_VERSION_MISSED
  32. -
  33. ICAO_CERTIFICATE_VERSION_INCORRECT
  34. -
  35. ICAO_CERTIFICATE_ISSUER_COUNTRY_MISSED
  36. -
  37. ICAO_CERTIFICATE_ISSUER_COMMON_NAME_MISSED
  38. -
  39. ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_COMPLIANT
  40. -
  41. ICAO_CERTIFICATE_SUBJECT_COUNTRY_MISSED
  42. -
  43. ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_MISSED
  44. -
  45. ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_COMPLIANT
  46. -
  47. ICAO_CERTIFICATE_USING_NON_COMPLIANT_DATA
  48. -
  49. ICAO_CERTIFICATE_UNSUPPORTED_SIGNATURE_ALGORITHM
  50. -
  51. ICAO_CERTIFICATE_UNSUPPORTED_PUBLIC_KEY_ALGORITHM
  52. -
  53. ICAO_CERTIFICATE_MISSED_EXTENSIONS
  54. -
  55. ICAO_CERTIFICATE_VALIDITY
  56. -
  57. ICAO_CERTIFICATE_EXT_USING_NON_COMPLIANT_DATA
  58. -
  59. ICAO_CERTIFICATE_EXT_KEY_USAGE_MISSED
  60. -
  61. ICAO_CERTIFICATE_EXT_KEY_USAGE_NOT_CRITICAL
  62. -
  63. ICAO_CERTIFICATE_EXT_KEY_USAGE_INCORRECT_DATA
  64. -
  65. ICAO_CERTIFICATE_EXT_BASIC_C_MISSED
  66. -
  67. ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE1
  68. -
  69. ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE2
  70. -
  71. ICAO_CERTIFICATE_EXT_BASIC_C_NOT_CRITICAL
  72. -
  73. ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_DATA
  74. -
  75. ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_MISSED
  76. -
  77. ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_INCORRECT
  78. -
  79. ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_NOT_CRITICAL
  80. -
  81. ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_USAGE
  82. -
  83. ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_DATA
  84. -
  85. ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_MISSED
  86. -
  87. ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_INCORRECT_DATA
  88. -
  89. ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_KEY_ID_MISSED
  90. -
  91. ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_MISSED
  92. -
  93. ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_INCORRECT_DATA
  94. -
  95. ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_MISSED
  96. -
  97. ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_INCORRECT_DATA
  98. -
  99. ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_EMPTY
  100. -
  101. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_MISSED
  102. -
  103. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_INCORRECT_DATA
  104. -
  105. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_EMPTY
  106. -
  107. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_NON_COMPLIANT
  108. -
  109. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_CRITICAL
  110. -
  111. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_EMPTY
  112. -
  113. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_INCORRECT
  114. -
  115. ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_NON_COMPLIANT
  116. -
  117. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_MISSED
  118. -
  119. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_INCORRECT_DATA
  120. -
  121. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_EMPTY
  122. -
  123. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_NON_COMPLIANT
  124. -
  125. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_CRITICAL
  126. -
  127. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_EMPTY
  128. -
  129. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_INCORRECT
  130. -
  131. ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_NON_COMPLIANT
  132. -
  133. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_MISSED
  134. -
  135. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_INCORRECT_DATA
  136. -
  137. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_VERSION
  138. -
  139. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES
  140. -
  141. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES_EMPTY
  142. -
  143. ICAO_CERTIFICATE_EXT_CERT_POLICIES_INCORRECT_DATA
  144. -
  145. ICAO_CERTIFICATE_EXT_CERT_POLICIES_EMPTY
  146. -
  147. ICAO_CERTIFICATE_EXT_CERT_POLICIES_POLICY_ID_MISSED
  148. -
  149. ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_MISSED
  150. -
  151. ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_INCORRECT_DATA
  152. -
  153. ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_EMPTY
  154. -
  155. ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_POINT_MISSED
  156. -
  157. ICAO_CERTIFICATE_SN_NON_COMPLIANT
  158. -
  159. ICAO_CERTIFICATE_ISSUER_SN_NON_COMPLIANT
  160. -
  161. ICAO_CERTIFICATE_SUBJECT_SN_NON_COMPLIANT
  162. -
  163. ICAO_CERTIFICATE_ISSUER_ATTRIBUTE_NON_COMPLIANT
  164. -
  165. ICAO_CERTIFICATE_SUBJECT_ATTRIBUTE_NON_COMPLIANT
  166. -
  167. ICAO_CERTIFICATE_ISSUER_SUBJECT_COUNTRY_NON_MATCHING
  168. -
  169. ICAO_CERTIFICATE_EXT_CSCA_ALT_NAMES_NON_MATCHING
  170. -
  171. ICAO_CERTIFICATE_EXT_NAME_CHANGE_INCORRECT_DATA
  172. -
  173. ICAO_CERTIFICATE_EXT_NAME_CHANGE_NON_COMPLIANT
  174. -
  175. ICAO_CERTIFICATE_EXT_NAME_CHANGE_CRITICAL
  176. -
  177. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_NON_COMPLIANT
  178. -
  179. ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_CRITICAL
  180. -
  181. ICAO_CERTIFICATE_EXT_OPTIONAL_CRITICAL
  182. -
  183. ICAO_CERTIFICATE_SUBJECT_NON_COMPLIANT
  184. -
  185. ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_NON_COMPLIANT
  186. -
  187. ICAO_COM_LDS_VERSION_INCORRECT
  188. -
  189. ICAO_COM_LDS_VERSION_MISSING
  190. -
  191. ICAO_COM_UNICODE_VERSION_INCORRECT
  192. -
  193. ICAO_COM_UNICODE_VERSION_MISSING
  194. -
  195. ICAO_COM_DGPM_INCORRECT
  196. -
  197. ICAO_COM_DGPM_MISSING
  198. -
  199. ICAO_COM_DGPM_UNEXPECTED
  200. -
  201. ICAO_APPLICATION_LDS_VERSION_UNSUPPORTED
  202. -
  203. ICAO_APPLICATION_UNICODE_VERSION_UNSUPPORTED
  204. -
  205. ICAO_APPLICATION_LDS_VERSION_INCONSISTENT
  206. -
  207. ICAO_APPLICATION_UNICODE_VERSION_INCONSISTENT
  208. -
  209. ASN_SIGNED_DATA_OID_INCORRECT
  210. -
  211. ASN_SIGNED_DATA_VERSION_INCORRECT
  212. -
  213. ASN_SIGNED_DATA_CONTENT_OID_INCORRECT
  214. -
  215. ICAO_SIGNED_DATA_VERSION_INCORRECT
  216. -
  217. ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_EMPTY
  218. -
  219. ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_UNSUPPORTED
  220. -
  221. ICAO_SIGNED_DATA_SIGNER_INFOS_MULTIPLE_ENTRIES
  222. -
  223. ICAO_SIGNED_DATA_CERTIFICATES_MISSED
  224. -
  225. ICAO_SIGNED_DATA_CERTIFICATES_EMPTY
  226. -
  227. ICAO_SIGNED_DATA_CRLS_INCORRECT_USAGE
  228. -
  229. ICAO_LDS_OBJECT_INCORRECT_CONTENT_OID
  230. -
  231. ICAO_LDS_OBJECT_DG_NUMBER_INCORRECT
  232. -
  233. ICAO_LDS_OBJECT_DG_HASH_MISSING
  234. -
  235. ICAO_LDS_OBJECT_DG_HASH_EXTRA
  236. -
  237. ICAO_LDS_OBJECT_VERSION_INCORRECT
  238. -
  239. ICAO_MASTER_LIST_VERSION_INCORRECT
  240. -
  241. ICAO_DEVIATION_LIST_VERSION_INCORRECT
  242. -
  243. BSI_DEFECT_LIST_VERSION_INCORRECT
  244. -
  245. BSI_BLACK_LIST_VERSION_INCORRECT
  246. -
  247. ASN_SIGNER_INFO_VERSION_INCORRECT
  248. -
  249. ASN_SIGNER_INFO_SID_INCORRECT_CHOICE
  250. -
  251. ASN_SIGNER_INFO_SID_DIGEST_ALGORITHM_NOT_LISTED
  252. -
  253. ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_MISSING
  254. -
  255. ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_DATA
  256. -
  257. ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_Value
  258. -
  259. ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_MISSING
  260. -
  261. ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_DATA
  262. -
  263. ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_VALUE
  264. -
  265. ASN_SIGNER_INFO_SIGNING_TIME_ATTR_MISSING
  266. -
  267. ASN_SIGNER_INFO_SIGNING_TIME_ATTR_DATA
  268. -
  269. ASN_SIGNER_INFO_SIGNING_TIME_ATTR_VALUE
  270. -
  271. ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_MISSING
  272. -
  273. ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_DATA
  274. -
  275. AUTH_SIGNER_INFO_CERTIFICATE_VALIDITY
  276. -
  277. AUTH_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED
  278. -
  279. AUTH_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA
  280. -
  281. AUTH_SIGNER_INFO_CERTIFICATE_REVOKED
  282. -
  283. AUTH_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID
  284. -
  285. UNSUPPORTED_IMAGE_FORMAT
  286. -
  287. MRZ_DOCUMENT_TYPE_UNKNOWN
  288. -
  289. MRZ_ISSUING_STATE_SYNTAX_ERROR
  290. -
  291. MRZ_NAME_IS_VOID
  292. -
  293. MRZ_NUMBER_INCORRECT_CHECKSUM
  294. -
  295. MRZ_NATIONALITY_SYNTAX_ERROR
  296. -
  297. MRZ_DOB_SYNTAX_ERROR
  298. -
  299. MRZ_DOB_ERROR
  300. -
  301. MRZ_DOB_INCORRECT_CHECKSUM
  302. -
  303. MRZ_SEX_INCORRECT
  304. -
  305. MRZ_DOE_SYNTAX_ERROR
  306. -
  307. MRZ_DOE_ERROR
  308. -
  309. MRZ_DOE_INCORRECT_CHECKSUM
  310. -
  311. MRZ_OPTIONAL_DATA_INCORRECT_CHECKSUM
  312. -
  313. MRZ_INCORRECT_CHECKSUM
  314. -
  315. MRZ_INCORRECT
  316. -
  317. BIOMETRICS_FORMAT_OWNER_MISSING
  318. -
  319. BIOMETRICS_FORMAT_OWNER_INCORRECT
  320. -
  321. BIOMETRICS_FORMAT_TYPE_MISSING
  322. -
  323. BIOMETRICS_FORMAT_TYPE_INCORRECT
  324. -
  325. BIOMETRICS_TYPE_INCORRECT
  326. -
  327. BIOMETRICS_SUB_TYPE_MISSING
  328. -
  329. BIOMETRICS_SUB_TYPE_INCORRECT
  330. -
  331. BIOMETRICS_BDB_IMAGE_MISSING
  332. -
  333. BIOMETRICS_BDB_FORMAT_ID_INCORRECT
  334. -
  335. BIOMETRICS_BDB_VERSION_INCORRECT
  336. -
  337. BIOMETRICS_BDB_DATA_LENGTH_INCORRECT
  338. -
  339. BIOMETRICS_BDB_DATA_GENDER
  340. -
  341. BIOMETRICS_BDB_DATA_EYE_COLOR
  342. -
  343. BIOMETRICS_BDB_DATA_HAIR_COLOR
  344. -
  345. BIOMETRICS_BDB_DATA_POSE_ANGLE_YAW
  346. -
  347. BIOMETRICS_BDB_DATA_POSE_ANGLE_PITCH
  348. -
  349. BIOMETRICS_BDB_DATA_POSE_ANGLE_ROLL
  350. -
  351. BIOMETRICS_BDB_DATA_POSE_ANGLE_U_YAW
  352. -
  353. BIOMETRICS_BDB_DATA_POSE_ANGLE_U_PITCH
  354. -
  355. BIOMETRICS_BDB_DATA_POSE_ANGLE_U_ROLL
  356. -
  357. BIOMETRICS_BDB_DATA_FACE_IMAGE_TYPE
  358. -
  359. BIOMETRICS_BDB_DATA_IMAGE_DATA_TYPE
  360. -
  361. SI_PACE_INFO_UNSUPPORTED_STD_PARAMETERS
  362. -
  363. SI_PACE_INFO_DEPRECATED_VERSION
  364. -
  365. SI_PACE_DOMAIN_PARAMS_USING_STD_REF
  366. -
  367. SI_PACE_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM
  368. -
  369. SI_CA_INFO_INCORRECT_VERSION
  370. -
  371. SI_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM
  372. -
  373. SI_CA_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM
  374. -
  375. SI_TA_INFO_INCORRECT_VERSION
  376. -
  377. SI_TA_INFO_FILE_ID_FOR_VERSION2
  378. -
  379. SI_EID_SECURITY_UNSUPPORTED_DIGEST_ALGORITHM
  380. -
  381. SI_RI_INFO_INCORRECT_VERSION
  382. -
  383. SI_RI_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM
  384. -
  385. SI_AA_INFO_INCORRECT_VERSION
  386. -
  387. SI_AA_INFO_UNSUPPORTED_ALGORITHM
  388. -
  389. SI_AA_INFO_INCONSISTENT_ALGORITHM_REFERENCE
  390. -
  391. SI_STORAGE_PACE_INFO_NOT_AVAILABLE
  392. -
  393. SI_STORAGE_PACE_INFO_NO_STD_PARAMETERS
  394. -
  395. SI_STORAGE_PACE_INFO_NO_MATCHING_DOMAIN_PARAMS
  396. -
  397. SI_STORAGE_CA_INFO_NOT_AVAILABLE
  398. -
  399. SI_STORAGE_CA_DOMAIN_PARAMS_NO_REQUIRED_OPTION
  400. -
  401. SI_STORAGE_CA_DOMAIN_PARAMS_NOT_AVAILABLE
  402. -
  403. SI_STORAGE_CA_ANONYMOUS_INFOS
  404. -
  405. SI_STORAGE_CA_INFO_NO_MATCHING_DOMAIN_PARAMS
  406. -
  407. SI_STORAGE_CA_INFO_NO_MATCHING_PUBLIC_KEY
  408. -
  409. SI_STORAGE_CA_INCORRECT_INFOS_QUANTITY
  410. -
  411. SI_STORAGE_TA_INFO_NOT_AVAILABLE
  412. -
  413. SI_STORAGE_CARD_INFO_LOCATOR_MULTIPLE_ENTRIES
  414. -
  415. SI_STORAGE_EID_SECURITY_INFO_MULTIPLE_ENTRIES
  416. -
  417. SI_STORAGE_PRIVILEGED_TI_MULTIPLE_ENTRIES
  418. -
  419. SI_STORAGE_PRIVILEGED_TI_INCORRECT_USAGE
  420. -
  421. SI_STORAGE_RI_DOMAIN_PARAMS_MULTIPLE_ENTRIES
  422. -
  423. SI_STORAGE_PACE_INFOS_NON_CONSISTANT
  424. -
  425. CV_CERTIFICATE_PROFILE_INCORRECT_VERSION
  426. -
  427. CV_CERTIFICATE_VALIDITY
  428. -
  429. CV_CERTIFICATE_NON_CV_CA_DOMAIN_PARAMETERS
  430. -
  431. CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_VERSION
  432. -
  433. TA_PACE_STATIC_BINDING_USED
  434. -
  435. AUTH_ML_SIGNER_INFO_CERTIFICATE_VALIDITY
  436. -
  437. AUTH_ML_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED
  438. -
  439. AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA
  440. -
  441. AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED
  442. -
  443. AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID
  444. -
  445. NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING
  446. -
  447. NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING
  448. -
  449. NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING
  450. -
  451. NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING
  452. - -
  453. - Properties -
  454. -
  455. hashCode
  456. -
  457. index
  458. -
  459. runtimeType
  460. -
  461. value
  462. - -
  463. Methods
  464. -
  465. getTranslation
  466. -
  467. noSuchMethod
  468. -
  469. toString
  470. - -
  471. Operators
  472. -
  473. operator ==
  474. - - - -
  475. Static methods
  476. -
  477. getByValue
  478. - -
  479. Constants
  480. -
  481. values
  482. -
diff --git a/docs/document_reader/LDSParsingNotificationCodes.html b/docs/document_reader/LDSParsingNotificationCodes.html deleted file mode 100644 index 133a98855f..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes.html +++ /dev/null @@ -1,3668 +0,0 @@ - - - - - - - - LDSParsingNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LDSParsingNotificationCodes
- -
- -
-
-
- -
-
- -

- LDSParsingNotificationCodes - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- LDSParsingNotificationCodes(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const LDSParsingNotificationCodes - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- LDSParsingNotificationCodes(-1) -
-
- -
- ASN_CERTIFICATE_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000001) -
-
- -
- ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000002) -
-
- -
- ASN_CERTIFICATE_INCORRECT_TIME_CODING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000003) -
-
- -
- ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000004) -
-
- -
- ASN_CERTIFICATE_EMPTY_ISSUER - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000005) -
-
- -
- ASN_CERTIFICATE_EMPTY_SUBJECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000006) -
-
- -
- ASN_CERTIFICATE_UNSUPPORTED_CRITICAL_EXTENSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000008) -
-
- -
- ASN_CERTIFICATE_FORCED_DEFAULT_CSCA_ROLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000000E) -
-
- -
- ASN_CERTIFICATE_FORCED_DEFAULT_DS_ROLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000000F) -
-
- -
- ASN_CERTIFICATE_INCORRECT_ISSUER_SUBJECT_DS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000010) -
-
- -
- ASN_CERTIFICATE_DUPLICATING_EXTENSIONS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000017) -
-
- -
- ICAO_CERTIFICATE_VERSION_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000200) -
-
- -
- ICAO_CERTIFICATE_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000201) -
-
- -
- ICAO_CERTIFICATE_ISSUER_COUNTRY_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000202) -
-
- -
- ICAO_CERTIFICATE_ISSUER_COMMON_NAME_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000203) -
-
- -
- ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000204) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_COUNTRY_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000205) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000206) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000207) -
-
- -
- ICAO_CERTIFICATE_USING_NON_COMPLIANT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000208) -
-
- -
- ICAO_CERTIFICATE_UNSUPPORTED_SIGNATURE_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000209) -
-
- -
- ICAO_CERTIFICATE_UNSUPPORTED_PUBLIC_KEY_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020A) -
-
- -
- ICAO_CERTIFICATE_MISSED_EXTENSIONS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020B) -
-
- -
- ICAO_CERTIFICATE_VALIDITY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020C) -
-
- -
- ICAO_CERTIFICATE_EXT_USING_NON_COMPLIANT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020D) -
-
- -
- ICAO_CERTIFICATE_EXT_KEY_USAGE_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020E) -
-
- -
- ICAO_CERTIFICATE_EXT_KEY_USAGE_NOT_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000020F) -
-
- -
- ICAO_CERTIFICATE_EXT_KEY_USAGE_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000210) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000211) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE1 - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000212) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE2 - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000213) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_NOT_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000214) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000215) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000216) -
-
- -
- ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000217) -
-
- -
- ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_NOT_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000218) -
-
- -
- ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_USAGE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000219) -
-
- -
- ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021A) -
-
- -
- ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021B) -
-
- -
- ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021C) -
-
- -
- ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_KEY_ID_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021D) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021E) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000021F) -
-
- -
- ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000220) -
-
- -
- ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000221) -
-
- -
- ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000222) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000223) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000224) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000225) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000226) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000228) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000229) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022A) -
-
- -
- ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022B) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022C) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022D) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022E) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000022F) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000231) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000232) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000233) -
-
- -
- ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000234) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000235) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000236) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000237) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000238) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000239) -
-
- -
- ICAO_CERTIFICATE_EXT_CERT_POLICIES_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023A) -
-
- -
- ICAO_CERTIFICATE_EXT_CERT_POLICIES_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023B) -
-
- -
- ICAO_CERTIFICATE_EXT_CERT_POLICIES_POLICY_ID_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023C) -
-
- -
- ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023D) -
-
- -
- ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023E) -
-
- -
- ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000023F) -
-
- -
- ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_POINT_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000240) -
-
- -
- ICAO_CERTIFICATE_SN_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000241) -
-
- -
- ICAO_CERTIFICATE_ISSUER_SN_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000242) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_SN_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000243) -
-
- -
- ICAO_CERTIFICATE_ISSUER_ATTRIBUTE_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000244) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_ATTRIBUTE_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000245) -
-
- -
- ICAO_CERTIFICATE_ISSUER_SUBJECT_COUNTRY_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000246) -
-
- -
- ICAO_CERTIFICATE_EXT_CSCA_ALT_NAMES_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000247) -
-
- -
- ICAO_CERTIFICATE_EXT_NAME_CHANGE_INCORRECT_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000248) -
-
- -
- ICAO_CERTIFICATE_EXT_NAME_CHANGE_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000249) -
-
- -
- ICAO_CERTIFICATE_EXT_NAME_CHANGE_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024A) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024B) -
-
- -
- ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024C) -
-
- -
- ICAO_CERTIFICATE_EXT_OPTIONAL_CRITICAL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024D) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024E) -
-
- -
- ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_NON_COMPLIANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000024F) -
-
- -
- ICAO_COM_LDS_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000020) -
-
- -
- ICAO_COM_LDS_VERSION_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000021) -
-
- -
- ICAO_COM_UNICODE_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000022) -
-
- -
- ICAO_COM_UNICODE_VERSION_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000023) -
-
- -
- ICAO_COM_DGPM_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000024) -
-
- -
- ICAO_COM_DGPM_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000025) -
-
- -
- ICAO_COM_DGPM_UNEXPECTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000026) -
-
- -
- ICAO_APPLICATION_LDS_VERSION_UNSUPPORTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000030) -
-
- -
- ICAO_APPLICATION_UNICODE_VERSION_UNSUPPORTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000031) -
-
- -
- ICAO_APPLICATION_LDS_VERSION_INCONSISTENT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000032) -
-
- -
- ICAO_APPLICATION_UNICODE_VERSION_INCONSISTENT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000033) -
-
- -
- ASN_SIGNED_DATA_OID_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000100) -
-
- -
- ASN_SIGNED_DATA_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001A0) -
-
- -
- ASN_SIGNED_DATA_CONTENT_OID_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001A1) -
-
- -
- ICAO_SIGNED_DATA_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000101) -
-
- -
- ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000102) -
-
- -
- ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_UNSUPPORTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000103) -
-
- -
- ICAO_SIGNED_DATA_SIGNER_INFOS_MULTIPLE_ENTRIES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000109) -
-
- -
- ICAO_SIGNED_DATA_CERTIFICATES_MISSED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001B0) -
-
- -
- ICAO_SIGNED_DATA_CERTIFICATES_EMPTY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001B1) -
-
- -
- ICAO_SIGNED_DATA_CRLS_INCORRECT_USAGE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001B2) -
-
- -
- ICAO_LDS_OBJECT_INCORRECT_CONTENT_OID - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000104) -
-
- -
- ICAO_LDS_OBJECT_DG_NUMBER_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000105) -
-
- -
- ICAO_LDS_OBJECT_DG_HASH_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000106) -
-
- -
- ICAO_LDS_OBJECT_DG_HASH_EXTRA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000107) -
-
- -
- ICAO_LDS_OBJECT_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000108) -
-
- -
- ICAO_MASTER_LIST_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001C0) -
-
- -
- ICAO_DEVIATION_LIST_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001C8) -
-
- -
- BSI_DEFECT_LIST_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001D0) -
-
- -
- BSI_BLACK_LIST_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900001D8) -
-
- -
- ASN_SIGNER_INFO_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010A) -
-
- -
- ASN_SIGNER_INFO_SID_INCORRECT_CHOICE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010B) -
-
- -
- ASN_SIGNER_INFO_SID_DIGEST_ALGORITHM_NOT_LISTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010C) -
-
- -
- ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010D) -
-
- -
- ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010E) -
-
- -
- ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_Value - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000010F) -
-
- -
- ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000110) -
-
- -
- ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000111) -
-
- -
- ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_VALUE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000112) -
-
- -
- ASN_SIGNER_INFO_SIGNING_TIME_ATTR_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011B) -
-
- -
- ASN_SIGNER_INFO_SIGNING_TIME_ATTR_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011C) -
-
- -
- ASN_SIGNER_INFO_SIGNING_TIME_ATTR_VALUE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011D) -
-
- -
- ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011E) -
-
- -
- ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_DATA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011F) -
-
- -
- AUTH_SIGNER_INFO_CERTIFICATE_VALIDITY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000115) -
-
- -
- AUTH_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000116) -
-
- -
- AUTH_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000117) -
-
- -
- AUTH_SIGNER_INFO_CERTIFICATE_REVOKED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000118) -
-
- -
- AUTH_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000119) -
-
- -
- UNSUPPORTED_IMAGE_FORMAT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9000011A) -
-
- -
- MRZ_DOCUMENT_TYPE_UNKNOWN - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022008) -
-
- -
- MRZ_ISSUING_STATE_SYNTAX_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022009) -
-
- -
- MRZ_NAME_IS_VOID - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x0002200A) -
-
- -
- MRZ_NUMBER_INCORRECT_CHECKSUM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x0002200D) -
-
- -
- MRZ_NATIONALITY_SYNTAX_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x0002200E) -
-
- -
- MRZ_DOB_SYNTAX_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x0002200F) -
-
- -
- MRZ_DOB_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022010) -
-
- -
- MRZ_DOB_INCORRECT_CHECKSUM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022011) -
-
- -
- MRZ_SEX_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022012) -
-
- -
- MRZ_DOE_SYNTAX_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022013) -
-
- -
- MRZ_DOE_ERROR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022014) -
-
- -
- MRZ_DOE_INCORRECT_CHECKSUM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022015) -
-
- -
- MRZ_OPTIONAL_DATA_INCORRECT_CHECKSUM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022016) -
-
- -
- MRZ_INCORRECT_CHECKSUM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022017) -
-
- -
- MRZ_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022018) -
-
- -
- BIOMETRICS_FORMAT_OWNER_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90010000) -
-
- -
- BIOMETRICS_FORMAT_OWNER_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90020000) -
-
- -
- BIOMETRICS_FORMAT_TYPE_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90030000) -
-
- -
- BIOMETRICS_FORMAT_TYPE_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90040000) -
-
- -
- BIOMETRICS_TYPE_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90050000) -
-
- -
- BIOMETRICS_SUB_TYPE_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90060000) -
-
- -
- BIOMETRICS_SUB_TYPE_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90070000) -
-
- -
- BIOMETRICS_BDB_IMAGE_MISSING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90080000) -
-
- -
- BIOMETRICS_BDB_FORMAT_ID_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90090000) -
-
- -
- BIOMETRICS_BDB_VERSION_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900A0000) -
-
- -
- BIOMETRICS_BDB_DATA_LENGTH_INCORRECT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x900B0000) -
-
- -
- BIOMETRICS_BDB_DATA_GENDER - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90100000) -
-
- -
- BIOMETRICS_BDB_DATA_EYE_COLOR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90110000) -
-
- -
- BIOMETRICS_BDB_DATA_HAIR_COLOR - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90120000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_YAW - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90130000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_PITCH - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90140000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_ROLL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90150000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_U_YAW - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90160000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_U_PITCH - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90170000) -
-
- -
- BIOMETRICS_BDB_DATA_POSE_ANGLE_U_ROLL - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90180000) -
-
- -
- BIOMETRICS_BDB_DATA_FACE_IMAGE_TYPE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90190000) -
-
- -
- BIOMETRICS_BDB_DATA_IMAGE_DATA_TYPE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x901A0000) -
-
- -
- SI_PACE_INFO_UNSUPPORTED_STD_PARAMETERS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000000) -
-
- -
- SI_PACE_INFO_DEPRECATED_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000001) -
-
- -
- SI_PACE_DOMAIN_PARAMS_USING_STD_REF - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000002) -
-
- -
- SI_PACE_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000003) -
-
- -
- SI_CA_INFO_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000004) -
-
- -
- SI_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000005) -
-
- -
- SI_CA_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000006) -
-
- -
- SI_TA_INFO_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000007) -
-
- -
- SI_TA_INFO_FILE_ID_FOR_VERSION2 - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000008) -
-
- -
- SI_EID_SECURITY_UNSUPPORTED_DIGEST_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000009) -
-
- -
- SI_RI_INFO_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100000A) -
-
- -
- SI_RI_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100000B) -
-
- -
- SI_AA_INFO_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100000C) -
-
- -
- SI_AA_INFO_UNSUPPORTED_ALGORITHM - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100000D) -
-
- -
- SI_AA_INFO_INCONSISTENT_ALGORITHM_REFERENCE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100000E) -
-
- -
- SI_STORAGE_PACE_INFO_NOT_AVAILABLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000100) -
-
- -
- SI_STORAGE_PACE_INFO_NO_STD_PARAMETERS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000101) -
-
- -
- SI_STORAGE_PACE_INFO_NO_MATCHING_DOMAIN_PARAMS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000102) -
-
- -
- SI_STORAGE_CA_INFO_NOT_AVAILABLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000103) -
-
- -
- SI_STORAGE_CA_DOMAIN_PARAMS_NO_REQUIRED_OPTION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000104) -
-
- -
- SI_STORAGE_CA_DOMAIN_PARAMS_NOT_AVAILABLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000105) -
-
- -
- SI_STORAGE_CA_ANONYMOUS_INFOS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000106) -
-
- -
- SI_STORAGE_CA_INFO_NO_MATCHING_DOMAIN_PARAMS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000107) -
-
- -
- SI_STORAGE_CA_INFO_NO_MATCHING_PUBLIC_KEY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000108) -
-
- -
- SI_STORAGE_CA_INCORRECT_INFOS_QUANTITY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000109) -
-
- -
- SI_STORAGE_TA_INFO_NOT_AVAILABLE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010A) -
-
- -
- SI_STORAGE_CARD_INFO_LOCATOR_MULTIPLE_ENTRIES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010B) -
-
- -
- SI_STORAGE_EID_SECURITY_INFO_MULTIPLE_ENTRIES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010C) -
-
- -
- SI_STORAGE_PRIVILEGED_TI_MULTIPLE_ENTRIES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010D) -
-
- -
- SI_STORAGE_PRIVILEGED_TI_INCORRECT_USAGE - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010E) -
-
- -
- SI_STORAGE_RI_DOMAIN_PARAMS_MULTIPLE_ENTRIES - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x9100010F) -
-
- -
- SI_STORAGE_PACE_INFOS_NON_CONSISTANT - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000110) -
-
- -
- CV_CERTIFICATE_PROFILE_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000201) -
-
- -
- CV_CERTIFICATE_VALIDITY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000202) -
-
- -
- CV_CERTIFICATE_NON_CV_CA_DOMAIN_PARAMETERS - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000203) -
-
- -
- CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_VERSION - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000204) -
-
- -
- TA_PACE_STATIC_BINDING_USED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x91000300) -
-
- -
- AUTH_ML_SIGNER_INFO_CERTIFICATE_VALIDITY - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x92000115) -
-
- -
- AUTH_ML_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x92000116) -
-
- -
- AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x92000117) -
-
- -
- AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x92000118) -
-
- -
- AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x92000119) -
-
- -
- NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000250) -
-
- -
- NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000251) -
-
- -
- NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x00022019) -
-
- -
- NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING - → const LDSParsingNotificationCodes - - -
-
- - - -
- LDSParsingNotificationCodes(0x90000252) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - LDSParsingNotificationCodes? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<LDSParsingNotificationCodes> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, ASN_CERTIFICATE_INCORRECT_VERSION, ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM, ASN_CERTIFICATE_INCORRECT_TIME_CODING, ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME, ASN_CERTIFICATE… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingNotificationCodes/LDSParsingNotificationCodes.html b/docs/document_reader/LDSParsingNotificationCodes/LDSParsingNotificationCodes.html deleted file mode 100644 index 7598265c0d..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes/LDSParsingNotificationCodes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - LDSParsingNotificationCodes constructor - LDSParsingNotificationCodes - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LDSParsingNotificationCodes
- -
- -
-
-
- -
-
-

LDSParsingNotificationCodes constructor -

- -
- const - LDSParsingNotificationCodes(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const LDSParsingNotificationCodes
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingNotificationCodes/getTranslation.html b/docs/document_reader/LDSParsingNotificationCodes/getTranslation.html deleted file mode 100644 index 64f5db0c2b..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - LDSParsingNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingNotificationCodes/value.html b/docs/document_reader/LDSParsingNotificationCodes/value.html deleted file mode 100644 index 3dafc573cf..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - LDSParsingNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LDSParsingNotificationCodes/values-constant.html b/docs/document_reader/LDSParsingNotificationCodes/values-constant.html deleted file mode 100644 index 92c2e0c95a..0000000000 --- a/docs/document_reader/LDSParsingNotificationCodes/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - LDSParsingNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<LDSParsingNotificationCodes> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License-class-sidebar.html b/docs/document_reader/License-class-sidebar.html deleted file mode 100644 index 9267f2a423..0000000000 --- a/docs/document_reader/License-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. License
  4. - - -
  5. - Properties -
  6. -
  7. countryFilter
  8. -
  9. expiryDate
  10. -
  11. hashCode
  12. -
  13. isRfidAvailable
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/License-class.html b/docs/document_reader/License-class.html deleted file mode 100644 index 8a3fc59554..0000000000 --- a/docs/document_reader/License-class.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
License
- -
- -
-
-
- -
-
-

License class - -

- - -
-

Class contains properties to get the information about the license.

-
- - - - -
-

Constructors

- -
-
- License() -
-
- -
-
-
- -
-

Properties

- -
-
- countryFilter - List<String>? - -
-
- Allows you 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. -
no setter
- -
- -
- expiryDate - String? - -
-
- Allows you to get an expiration date of your license. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- isRfidAvailable - bool - -
-
- Allows you to verify that RFID chip reading capabilities are added to your license. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - License? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/License.html b/docs/document_reader/License/License.html deleted file mode 100644 index ebcc995997..0000000000 --- a/docs/document_reader/License/License.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - License constructor - License - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
License
- -
- -
-
-
- -
-
-

License constructor -

- -
- - License() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/countryFilter.html b/docs/document_reader/License/countryFilter.html deleted file mode 100644 index 2f473ae5ba..0000000000 --- a/docs/document_reader/License/countryFilter.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - countryFilter property - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
countryFilter
- -
- -
-
-
- -
-
-

countryFilter property -

- - - -
- -
- - List<String>? - countryFilter - - -
- - -
-

Allows you 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.

-
- - -
-

Implementation

-
List<String>? get countryFilter => _countryFilter;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/expiryDate.html b/docs/document_reader/License/expiryDate.html deleted file mode 100644 index 2922d2a06a..0000000000 --- a/docs/document_reader/License/expiryDate.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - expiryDate property - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
expiryDate
- -
- -
-
-
- -
-
-

expiryDate property -

- - - -
- -
- - String? - expiryDate - - -
- - -
-

Allows you to get an expiration date of your license.

-
- - -
-

Implementation

-
String? get expiryDate => _expiryDate;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/fromJson.html b/docs/document_reader/License/fromJson.html deleted file mode 100644 index 551fe093b4..0000000000 --- a/docs/document_reader/License/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -License? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static License? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = License();
-
-  result._expiryDate = jsonObject["expiryDate"];
-  result._countryFilter = jsonObject["countryFilter"] == null
-      ? null
-      : List<String>.from(jsonObject["countryFilter"]);
-  result._isRfidAvailable = jsonObject["isRfidAvailable"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/isRfidAvailable.html b/docs/document_reader/License/isRfidAvailable.html deleted file mode 100644 index bf9ac503f4..0000000000 --- a/docs/document_reader/License/isRfidAvailable.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - isRfidAvailable property - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
isRfidAvailable
- -
- -
-
-
- -
-
-

isRfidAvailable property -

- - - -
- -
- - bool - isRfidAvailable - - -
- - -
-

Allows you to verify that RFID chip reading capabilities are added to your license.

-
- - -
-

Implementation

-
bool get isRfidAvailable => _isRfidAvailable;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/License/toJson.html b/docs/document_reader/License/toJson.html deleted file mode 100644 index 3ad09e7fe5..0000000000 --- a/docs/document_reader/License/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - License class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "expiryDate": expiryDate,
-      "countryFilter": countryFilter,
-      "isRfidAvailable": isRfidAvailable
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Lights-enum-sidebar.html b/docs/document_reader/Lights-enum-sidebar.html deleted file mode 100644 index db1e572a36..0000000000 --- a/docs/document_reader/Lights-enum-sidebar.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Lights
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NONE
  10. -
  11. UV
  12. -
  13. WHITE_FULL
  14. -
  15. IR
  16. -
  17. IR_TOP
  18. -
  19. IR_SIDE
  20. -
  21. IR_FULL
  22. -
  23. OVD
  24. -
  25. WHITE_FULL_OVD
  26. - -
  27. - Properties -
  28. -
  29. hashCode
  30. -
  31. index
  32. -
  33. runtimeType
  34. -
  35. value
  36. - -
  37. Methods
  38. -
  39. noSuchMethod
  40. -
  41. toString
  42. - -
  43. Operators
  44. -
  45. operator ==
  46. - - - -
  47. Static methods
  48. -
  49. getByValue
  50. - -
  51. Constants
  52. -
  53. values
  54. -
diff --git a/docs/document_reader/Lights.html b/docs/document_reader/Lights.html deleted file mode 100644 index a670330417..0000000000 --- a/docs/document_reader/Lights.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - - - Lights enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Lights
- -
- -
-
-
- -
-
- -

- Lights - enum - - -

-
- - -
-

Enumeration contains a set of identifiers used for identifying the -document reader possibilities, specifying lighting schemes for scanning, etc.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- Lights(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const Lights - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- Lights(-1) -
-
- -
- NONE - → const Lights - - -
-
-

Light off.

- - -
- Lights(0) -
-
- -
- UV - → const Lights - - -
-
-

General UV light scheme.

- - -
- Lights(128) -
-
- -
- WHITE_FULL - → const Lights - - -
-
-

General white light scheme.

- - -
- Lights(6) -
-
- -
- IR - → const Lights - - -
-
- - - -
- Lights(16777216) -
-
- -
- IR_TOP - → const Lights - - -
-
-

Upper/lower lighters of IR light scheme.

- - -
- Lights(8) -
-
- -
- IR_SIDE - → const Lights - - -
-
-

Side lighters of IR light scheme.

- - -
- Lights(16) -
-
- -
- IR_FULL - → const Lights - - -
-
-

Upper/lower and side lighters of IR light scheme.

- - -
- Lights((8 | 16)) -
-
- -
- OVD - → const Lights - - -
-
-

OVD light for hologram visualization.

- - -
- Lights(67108864) -
-
- -
- WHITE_FULL_OVD - → const Lights - - -
-
-

Combined light for WHITE_FULL and OVD.

- - -
- Lights(6 | 67108864) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - Lights? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<Lights> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NONE, UV, WHITE_FULL, IR, IR_TOP, IR_SIDE, IR_FULL, OVD, WHITE_FULL_OVD] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Lights/Lights.html b/docs/document_reader/Lights/Lights.html deleted file mode 100644 index 493d752f1b..0000000000 --- a/docs/document_reader/Lights/Lights.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - Lights constructor - Lights - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Lights
- -
- -
-
-
- -
-
-

Lights constructor -

- -
- const - Lights(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const Lights
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Lights/value.html b/docs/document_reader/Lights/value.html deleted file mode 100644 index 9d417e5296..0000000000 --- a/docs/document_reader/Lights/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - Lights enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Lights/values-constant.html b/docs/document_reader/Lights/values-constant.html deleted file mode 100644 index 4700cd66d2..0000000000 --- a/docs/document_reader/Lights/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - Lights enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<Lights> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams-class-sidebar.html b/docs/document_reader/LivenessParams-class-sidebar.html deleted file mode 100644 index 6d92aa0942..0000000000 --- a/docs/document_reader/LivenessParams-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. LivenessParams
  4. - - -
  5. - Properties -
  6. -
  7. checkED
  8. -
  9. checkHolo
  10. -
  11. checkMLI
  12. -
  13. checkOVI
  14. -
  15. hashCode
  16. -
  17. runtimeType
  18. -
  19. testSetters
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/LivenessParams-class.html b/docs/document_reader/LivenessParams-class.html deleted file mode 100644 index 946023000c..0000000000 --- a/docs/document_reader/LivenessParams-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LivenessParams
- -
- -
-
-
- -
-
-

LivenessParams class - -

- - - - - - -
-

Constructors

- -
-
- LivenessParams() -
-
- -
-
-
- -
-

Properties

- -
-
- checkED - bool? - -
-
- -
getter/setter pair
- -
- -
- checkHolo - bool? - -
-
- -
getter/setter pair
- -
- -
- checkMLI - bool? - -
-
- -
getter/setter pair
- -
- -
- checkOVI - bool? - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - LivenessParams - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/LivenessParams.html b/docs/document_reader/LivenessParams/LivenessParams.html deleted file mode 100644 index 85206e31f0..0000000000 --- a/docs/document_reader/LivenessParams/LivenessParams.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - LivenessParams constructor - LivenessParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
LivenessParams
- -
- -
-
-
- -
-
-

LivenessParams constructor -

- -
- - LivenessParams() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/checkED.html b/docs/document_reader/LivenessParams/checkED.html deleted file mode 100644 index 9c8ab88961..0000000000 --- a/docs/document_reader/LivenessParams/checkED.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkED property - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkED
- -
- -
-
-
- -
-
-

checkED property -

- - - -
- -
- - bool? - checkED - - -
- - - - -
-

Implementation

-
bool? get checkED => _checkED;
-
- -
- - - -
- -
- - void - checkED=(bool? val) - - -
- - - - -
-

Implementation

-
set checkED(bool? val) {
-  _checkED = val;
-  _set({"checkED": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/checkHolo.html b/docs/document_reader/LivenessParams/checkHolo.html deleted file mode 100644 index 6c07f3f377..0000000000 --- a/docs/document_reader/LivenessParams/checkHolo.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkHolo property - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkHolo
- -
- -
-
-
- -
-
-

checkHolo property -

- - - -
- -
- - bool? - checkHolo - - -
- - - - -
-

Implementation

-
bool? get checkHolo => _checkHolo;
-
- -
- - - -
- -
- - void - checkHolo=(bool? val) - - -
- - - - -
-

Implementation

-
set checkHolo(bool? val) {
-  _checkHolo = val;
-  _set({"checkHolo": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/checkMLI.html b/docs/document_reader/LivenessParams/checkMLI.html deleted file mode 100644 index 16f114fbed..0000000000 --- a/docs/document_reader/LivenessParams/checkMLI.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkMLI property - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkMLI
- -
- -
-
-
- -
-
-

checkMLI property -

- - - -
- -
- - bool? - checkMLI - - -
- - - - -
-

Implementation

-
bool? get checkMLI => _checkMLI;
-
- -
- - - -
- -
- - void - checkMLI=(bool? val) - - -
- - - - -
-

Implementation

-
set checkMLI(bool? val) {
-  _checkMLI = val;
-  _set({"checkMLI": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/checkOVI.html b/docs/document_reader/LivenessParams/checkOVI.html deleted file mode 100644 index ef56532315..0000000000 --- a/docs/document_reader/LivenessParams/checkOVI.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - checkOVI property - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkOVI
- -
- -
-
-
- -
-
-

checkOVI property -

- - - -
- -
- - bool? - checkOVI - - -
- - - - -
-

Implementation

-
bool? get checkOVI => _checkOVI;
-
- -
- - - -
- -
- - void - checkOVI=(bool? val) - - -
- - - - -
-

Implementation

-
set checkOVI(bool? val) {
-  _checkOVI = val;
-  _set({"checkOVI": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/fromJson.html b/docs/document_reader/LivenessParams/fromJson.html deleted file mode 100644 index 6bddf1989e..0000000000 --- a/docs/document_reader/LivenessParams/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -LivenessParams -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static LivenessParams fromJson(jsonObject) {
-  if (jsonObject == null) return LivenessParams();
-  var result = LivenessParams();
-  result.testSetters = {};
-
-  result.checkOVI = jsonObject["checkOVI"];
-  result.checkMLI = jsonObject["checkMLI"];
-  result.checkHolo = jsonObject["checkHolo"];
-  result.checkED = jsonObject["checkED"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/testSetters.html b/docs/document_reader/LivenessParams/testSetters.html deleted file mode 100644 index 3635ab997b..0000000000 --- a/docs/document_reader/LivenessParams/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/LivenessParams/toJson.html b/docs/document_reader/LivenessParams/toJson.html deleted file mode 100644 index 8dd9a0ddd6..0000000000 --- a/docs/document_reader/LivenessParams/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - LivenessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "checkOVI": checkOVI,
-      "checkMLI": checkMLI,
-      "checkHolo": checkHolo,
-      "checkED": checkED,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MRZFormat-enum-sidebar.html b/docs/document_reader/MRZFormat-enum-sidebar.html deleted file mode 100644 index cfa2eb4445..0000000000 --- a/docs/document_reader/MRZFormat-enum-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. MRZFormat
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. FORMAT_1X30
  10. -
  11. FORMAT_3X30
  12. -
  13. FORMAT_2X36
  14. -
  15. FORMAT_2X44
  16. -
  17. FORMAT_1X6
  18. -
  19. FORMAT_2X30
  20. - -
  21. - Properties -
  22. -
  23. hashCode
  24. -
  25. index
  26. -
  27. runtimeType
  28. -
  29. value
  30. - -
  31. Methods
  32. -
  33. noSuchMethod
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. fromStringList
  44. -
  45. getByValue
  46. - -
  47. Constants
  48. -
  49. values
  50. -
diff --git a/docs/document_reader/MRZFormat.html b/docs/document_reader/MRZFormat.html deleted file mode 100644 index 522bce1dce..0000000000 --- a/docs/document_reader/MRZFormat.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - - - - - MRZFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
MRZFormat
- -
- -
-
-
- -
-
- -

- MRZFormat - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- MRZFormat(String value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const MRZFormat - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- MRZFormat("") -
-
- -
- FORMAT_1X30 - → const MRZFormat - - -
-
- - - -
- MRZFormat("1x30") -
-
- -
- FORMAT_3X30 - → const MRZFormat - - -
-
- - - -
- MRZFormat("3x30") -
-
- -
- FORMAT_2X36 - → const MRZFormat - - -
-
- - - -
- MRZFormat("2x36") -
-
- -
- FORMAT_2X44 - → const MRZFormat - - -
-
- - - -
- MRZFormat("2x44") -
-
- -
- FORMAT_1X6 - → const MRZFormat - - -
-
- - - -
- MRZFormat("1x6") -
-
- -
- FORMAT_2X30 - → const MRZFormat - - -
-
- - - -
- MRZFormat("2x30") -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - String - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromStringList(List? input) - List<MRZFormat>? - - - -
-
- - - -
- -
- getByValue(String? i) - MRZFormat? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<MRZFormat> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, FORMAT_1X30, FORMAT_3X30, FORMAT_2X36, FORMAT_2X44, FORMAT_1X6, FORMAT_2X30] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MRZFormat/MRZFormat.html b/docs/document_reader/MRZFormat/MRZFormat.html deleted file mode 100644 index 19bcbd77e6..0000000000 --- a/docs/document_reader/MRZFormat/MRZFormat.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - MRZFormat constructor - MRZFormat - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
MRZFormat
- -
- -
-
-
- -
-
-

MRZFormat constructor -

- -
- const - MRZFormat(
  1. String value
  2. -
) -
- - - - - -
-

Implementation

-
const MRZFormat
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MRZFormat/value.html b/docs/document_reader/MRZFormat/value.html deleted file mode 100644 index 3600a1633f..0000000000 --- a/docs/document_reader/MRZFormat/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - MRZFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - String - value -
final
- -
- - - -
-

Implementation

-
final String value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MRZFormat/values-constant.html b/docs/document_reader/MRZFormat/values-constant.html deleted file mode 100644 index 82193744f5..0000000000 --- a/docs/document_reader/MRZFormat/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - MRZFormat enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<MRZFormat> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MeasureSystem-enum-sidebar.html b/docs/document_reader/MeasureSystem-enum-sidebar.html deleted file mode 100644 index 96a014c3c2..0000000000 --- a/docs/document_reader/MeasureSystem-enum-sidebar.html +++ /dev/null @@ -1,32 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. MeasureSystem
  4. - -
  5. Values
  6. -
  7. METRIC
  8. -
  9. IMPERIAL
  10. - -
  11. - Properties -
  12. -
  13. hashCode
  14. -
  15. index
  16. -
  17. runtimeType
  18. -
  19. value
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. getByValue
  34. - -
  35. Constants
  36. -
  37. values
  38. -
diff --git a/docs/document_reader/MeasureSystem.html b/docs/document_reader/MeasureSystem.html deleted file mode 100644 index 2af711b717..0000000000 --- a/docs/document_reader/MeasureSystem.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - - MeasureSystem enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
MeasureSystem
- -
- -
-
-
- -
-
- -

- MeasureSystem - enum - - -

-
- - -
-

The constants of the enumeration identify the system -for measuring distances and weight.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- MeasureSystem(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- METRIC - → const MeasureSystem - - -
-
-

The Metric System of Measurement, which uses the measuring units -such as meters and grams and adds prefixes like kilo, milli -and centi to count orders of magnitude.

- - -
- MeasureSystem(0) -
-
- -
- IMPERIAL - → const MeasureSystem - - -
-
-

The Imperial System of Measurement, where things are measured in feet, -inches and pounds.

- - -
- MeasureSystem(1) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - MeasureSystem? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<MeasureSystem> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [METRIC, IMPERIAL] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MeasureSystem/MeasureSystem.html b/docs/document_reader/MeasureSystem/MeasureSystem.html deleted file mode 100644 index 935c47a3ad..0000000000 --- a/docs/document_reader/MeasureSystem/MeasureSystem.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - MeasureSystem constructor - MeasureSystem - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
MeasureSystem
- -
- -
-
-
- -
-
-

MeasureSystem constructor -

- -
- const - MeasureSystem(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const MeasureSystem
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MeasureSystem/value.html b/docs/document_reader/MeasureSystem/value.html deleted file mode 100644 index 8db5802667..0000000000 --- a/docs/document_reader/MeasureSystem/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - MeasureSystem enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/MeasureSystem/values-constant.html b/docs/document_reader/MeasureSystem/values-constant.html deleted file mode 100644 index bb3a62a2e7..0000000000 --- a/docs/document_reader/MeasureSystem/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - MeasureSystem enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<MeasureSystem> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineMode-enum-sidebar.html b/docs/document_reader/OnlineMode-enum-sidebar.html deleted file mode 100644 index 778984eb72..0000000000 --- a/docs/document_reader/OnlineMode-enum-sidebar.html +++ /dev/null @@ -1,32 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. OnlineMode
  4. - -
  5. Values
  6. -
  7. MANUAL
  8. -
  9. AUTO
  10. - -
  11. - Properties -
  12. -
  13. hashCode
  14. -
  15. index
  16. -
  17. runtimeType
  18. -
  19. value
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. getByValue
  34. - -
  35. Constants
  36. -
  37. values
  38. -
diff --git a/docs/document_reader/OnlineMode.html b/docs/document_reader/OnlineMode.html deleted file mode 100644 index d545893122..0000000000 --- a/docs/document_reader/OnlineMode.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - OnlineMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OnlineMode
- -
- -
-
-
- -
-
- -

- OnlineMode - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- OnlineMode(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- MANUAL - → const OnlineMode - - -
-
- - - -
- OnlineMode(0) -
-
- -
- AUTO - → const OnlineMode - - -
-
- - - -
- OnlineMode(1) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - OnlineMode? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<OnlineMode> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [MANUAL, AUTO] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineMode/OnlineMode.html b/docs/document_reader/OnlineMode/OnlineMode.html deleted file mode 100644 index eb26ae8c4c..0000000000 --- a/docs/document_reader/OnlineMode/OnlineMode.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - OnlineMode constructor - OnlineMode - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OnlineMode
- -
- -
-
-
- -
-
-

OnlineMode constructor -

- -
- const - OnlineMode(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const OnlineMode
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineMode/value.html b/docs/document_reader/OnlineMode/value.html deleted file mode 100644 index 74502dec55..0000000000 --- a/docs/document_reader/OnlineMode/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - OnlineMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineMode/values-constant.html b/docs/document_reader/OnlineMode/values-constant.html deleted file mode 100644 index 20e1f9ccb6..0000000000 --- a/docs/document_reader/OnlineMode/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - OnlineMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<OnlineMode> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig-class-sidebar.html b/docs/document_reader/OnlineProcessingConfig-class-sidebar.html deleted file mode 100644 index c597abcb29..0000000000 --- a/docs/document_reader/OnlineProcessingConfig-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. OnlineProcessingConfig
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. imageCompressionQuality
  10. -
  11. imageFormat
  12. -
  13. mode
  14. -
  15. processParams
  16. -
  17. runtimeType
  18. -
  19. url
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/OnlineProcessingConfig-class.html b/docs/document_reader/OnlineProcessingConfig-class.html deleted file mode 100644 index 3f38dd0b5f..0000000000 --- a/docs/document_reader/OnlineProcessingConfig-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OnlineProcessingConfig
- -
- -
-
-
- -
-
-

OnlineProcessingConfig class - -

- - - - - - -
-

Constructors

- -
-
- OnlineProcessingConfig(OnlineMode mode) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imageCompressionQuality - double - -
-
- -
getter/setter pair
- -
- -
- imageFormat - ImageFormat - -
-
- -
getter/setter pair
- -
- -
- mode - OnlineMode - -
-
- -
getter/setter pair
- -
- -
- processParams - ProcessParams - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- url - String - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - OnlineProcessingConfig? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/OnlineProcessingConfig.html b/docs/document_reader/OnlineProcessingConfig/OnlineProcessingConfig.html deleted file mode 100644 index b05a30a708..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/OnlineProcessingConfig.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - OnlineProcessingConfig constructor - OnlineProcessingConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OnlineProcessingConfig
- -
- -
-
-
- -
-
-

OnlineProcessingConfig constructor -

- -
- - OnlineProcessingConfig(
  1. OnlineMode mode
  2. -
) -
- - - - - -
-

Implementation

-
OnlineProcessingConfig
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/fromJson.html b/docs/document_reader/OnlineProcessingConfig/fromJson.html deleted file mode 100644 index 2604ddfcea..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -OnlineProcessingConfig? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static OnlineProcessingConfig? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  OnlineMode mode = OnlineMode.getByValue(jsonObject["mode"])!;
-  var result = OnlineProcessingConfig(mode);
-
-  result.url = jsonObject["url"];
-  result.imageFormat = ImageFormat.getByValue(jsonObject["imageFormat"])!;
-  result.imageCompressionQuality =
-      jsonObject["imageCompressionQuality"].toDouble();
-  result.processParams = ProcessParams.fromJson(jsonObject["processParams"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/imageCompressionQuality.html b/docs/document_reader/OnlineProcessingConfig/imageCompressionQuality.html deleted file mode 100644 index 11f755173b..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/imageCompressionQuality.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - imageCompressionQuality property - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageCompressionQuality
- -
- -
-
-
- -
-
-

imageCompressionQuality property -

- -
- - double - imageCompressionQuality -
getter/setter pair
- -
- - - -
-

Implementation

-
double imageCompressionQuality = 0.8;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/imageFormat.html b/docs/document_reader/OnlineProcessingConfig/imageFormat.html deleted file mode 100644 index 76dc726c9c..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/imageFormat.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - imageFormat property - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageFormat
- -
- -
-
-
- -
-
-

imageFormat property -

- -
- - ImageFormat - imageFormat -
getter/setter pair
- -
- - - -
-

Implementation

-
ImageFormat imageFormat = ImageFormat.JPG;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/mode.html b/docs/document_reader/OnlineProcessingConfig/mode.html deleted file mode 100644 index 33a4873c80..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/mode.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - mode property - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mode
- -
- -
-
-
- -
-
-

mode property -

- -
- - OnlineMode - mode -
getter/setter pair
- -
- - - -
-

Implementation

-
OnlineMode mode;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/processParams.html b/docs/document_reader/OnlineProcessingConfig/processParams.html deleted file mode 100644 index c58e739ea9..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/processParams.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - processParams property - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
processParams
- -
- -
-
-
- -
-
-

processParams property -

- -
- - ProcessParams - processParams -
getter/setter pair
- -
- - - -
-

Implementation

-
ProcessParams processParams = ProcessParams();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/toJson.html b/docs/document_reader/OnlineProcessingConfig/toJson.html deleted file mode 100644 index 05a22dd3ae..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "mode": mode.value,
-      "url": url,
-      "imageFormat": imageFormat.value,
-      "imageCompressionQuality": imageCompressionQuality,
-      "processParams": processParams.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OnlineProcessingConfig/url.html b/docs/document_reader/OnlineProcessingConfig/url.html deleted file mode 100644 index 9d8d3ddccd..0000000000 --- a/docs/document_reader/OnlineProcessingConfig/url.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - url property - OnlineProcessingConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
url
- -
- -
-
-
- -
-
-

url property -

- -
- - String - url -
getter/setter pair
- -
- - - -
-

Implementation

-
String url = "https://api.regulaforensics.com";
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus-class-sidebar.html b/docs/document_reader/OpticalStatus-class-sidebar.html deleted file mode 100644 index 66565e143c..0000000000 --- a/docs/document_reader/OpticalStatus-class-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. OpticalStatus
  4. - - -
  5. - Properties -
  6. -
  7. docType
  8. -
  9. expiry
  10. -
  11. hashCode
  12. -
  13. imageQA
  14. -
  15. mrz
  16. -
  17. overallStatus
  18. -
  19. pagesCount
  20. -
  21. runtimeType
  22. -
  23. security
  24. -
  25. text
  26. -
  27. vds
  28. - -
  29. Methods
  30. -
  31. noSuchMethod
  32. -
  33. toJson
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. fromJson
  44. - -
diff --git a/docs/document_reader/OpticalStatus-class.html b/docs/document_reader/OpticalStatus-class.html deleted file mode 100644 index 3f18018dd9..0000000000 --- a/docs/document_reader/OpticalStatus-class.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - - - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OpticalStatus
- -
- -
-
-
- -
-
-

OpticalStatus class - -

- - -
-

Container for an optical related scanning statuses.

-
- - - - -
-

Constructors

- -
-
- OpticalStatus() -
-
- -
-
-
- -
-

Properties

- -
-
- docType - CheckResult - -
-
- Check status if document type was recognized or not. -
no setter
- -
- -
- expiry - CheckResult - -
-
- Document validity period verification status. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imageQA - CheckResult - -
-
- Input images quality verification status. -
no setter
- -
- -
- mrz - CheckResult - -
-
- MRZ verification: values validity, dates, checkdigits verification. -
no setter
- -
- -
- overallStatus - CheckResult - -
-
- Summary of all optical results. -
no setter
- -
- -
- pagesCount - int - -
-
- Number of scanned document pages. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- security - CheckResult - -
-
- Authenticity verification status. -
no setter
- -
- -
- text - CheckResult - -
-
- Text fields valitity: values validity for specific fields, cross-comparison -of values from different sources, dates & checkdigits verification. -
no setter
- -
- -
- vds - CheckResult - -
-
- Visible Digital Seal verification status. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - OpticalStatus? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/OpticalStatus.html b/docs/document_reader/OpticalStatus/OpticalStatus.html deleted file mode 100644 index 85f6c39c1c..0000000000 --- a/docs/document_reader/OpticalStatus/OpticalStatus.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - OpticalStatus constructor - OpticalStatus - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
OpticalStatus
- -
- -
-
-
- -
-
-

OpticalStatus constructor -

- -
- - OpticalStatus() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/docType.html b/docs/document_reader/OpticalStatus/docType.html deleted file mode 100644 index 53fa5e15a7..0000000000 --- a/docs/document_reader/OpticalStatus/docType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - docType property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
docType
- -
- -
-
-
- -
-
-

docType property -

- - - -
- -
- - CheckResult - docType - - -
- - -
-

Check status if document type was recognized or not.

-
- - -
-

Implementation

-
CheckResult get docType => _docType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/expiry.html b/docs/document_reader/OpticalStatus/expiry.html deleted file mode 100644 index d490d30b33..0000000000 --- a/docs/document_reader/OpticalStatus/expiry.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - expiry property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
expiry
- -
- -
-
-
- -
-
-

expiry property -

- - - -
- -
- - CheckResult - expiry - - -
- - -
-

Document validity period verification status.

-
- - -
-

Implementation

-
CheckResult get expiry => _expiry;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/fromJson.html b/docs/document_reader/OpticalStatus/fromJson.html deleted file mode 100644 index fce2eba744..0000000000 --- a/docs/document_reader/OpticalStatus/fromJson.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - fromJson method - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -OpticalStatus? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static OpticalStatus? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = OpticalStatus();
-
-  result._overallStatus =
-      CheckResult.getByValue(jsonObject["overallStatus"])!;
-  result._mrz = CheckResult.getByValue(jsonObject["mrz"])!;
-  result._text = CheckResult.getByValue(jsonObject["text"])!;
-  result._docType = CheckResult.getByValue(jsonObject["docType"])!;
-  result._security = CheckResult.getByValue(jsonObject["security"])!;
-  result._imageQA = CheckResult.getByValue(jsonObject["imageQA"])!;
-  result._expiry = CheckResult.getByValue(jsonObject["expiry"])!;
-  result._vds = CheckResult.getByValue(jsonObject["vds"])!;
-  result._pagesCount = jsonObject["pagesCount"]!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/imageQA.html b/docs/document_reader/OpticalStatus/imageQA.html deleted file mode 100644 index d6b4288ce0..0000000000 --- a/docs/document_reader/OpticalStatus/imageQA.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - imageQA property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageQA
- -
- -
-
-
- -
-
-

imageQA property -

- - - -
- -
- - CheckResult - imageQA - - -
- - -
-

Input images quality verification status.

-
- - -
-

Implementation

-
CheckResult get imageQA => _imageQA;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/mrz.html b/docs/document_reader/OpticalStatus/mrz.html deleted file mode 100644 index d713d2026b..0000000000 --- a/docs/document_reader/OpticalStatus/mrz.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - mrz property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mrz
- -
- -
-
-
- -
-
-

mrz property -

- - - -
- -
- - CheckResult - mrz - - -
- - -
-

MRZ verification: values validity, dates, checkdigits verification.

-
- - -
-

Implementation

-
CheckResult get mrz => _mrz;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/overallStatus.html b/docs/document_reader/OpticalStatus/overallStatus.html deleted file mode 100644 index cc25a567f0..0000000000 --- a/docs/document_reader/OpticalStatus/overallStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - overallStatus property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
overallStatus
- -
- -
-
-
- -
-
-

overallStatus property -

- - - -
- -
- - CheckResult - overallStatus - - -
- - -
-

Summary of all optical results.

-
- - -
-

Implementation

-
CheckResult get overallStatus => _overallStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/pagesCount.html b/docs/document_reader/OpticalStatus/pagesCount.html deleted file mode 100644 index 4d7af3b474..0000000000 --- a/docs/document_reader/OpticalStatus/pagesCount.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pagesCount property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pagesCount
- -
- -
-
-
- -
-
-

pagesCount property -

- - - -
- -
- - int - pagesCount - - -
- - -
-

Number of scanned document pages.

-
- - -
-

Implementation

-
int get pagesCount => _pagesCount;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/security.html b/docs/document_reader/OpticalStatus/security.html deleted file mode 100644 index d201ad59d8..0000000000 --- a/docs/document_reader/OpticalStatus/security.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - security property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
security
- -
- -
-
-
- -
-
-

security property -

- - - -
- -
- - CheckResult - security - - -
- - -
-

Authenticity verification status.

-
- - -
-

Implementation

-
CheckResult get security => _security;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/text.html b/docs/document_reader/OpticalStatus/text.html deleted file mode 100644 index b82f553ff5..0000000000 --- a/docs/document_reader/OpticalStatus/text.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - text property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
text
- -
- -
-
-
- -
-
-

text property -

- - - -
- -
- - CheckResult - text - - -
- - -
-

Text fields valitity: values validity for specific fields, cross-comparison -of values from different sources, dates & checkdigits verification.

-
- - -
-

Implementation

-
CheckResult get text => _text;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/toJson.html b/docs/document_reader/OpticalStatus/toJson.html deleted file mode 100644 index 7c52a3d1a7..0000000000 --- a/docs/document_reader/OpticalStatus/toJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - toJson method - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "overallStatus": overallStatus.value,
-      "mrz": mrz.value,
-      "text": text.value,
-      "docType": docType.value,
-      "security": security.value,
-      "imageQA": imageQA.value,
-      "expiry": expiry.value,
-      "vds": vds.value,
-      "pagesCount": pagesCount,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/OpticalStatus/vds.html b/docs/document_reader/OpticalStatus/vds.html deleted file mode 100644 index fcdb996f6a..0000000000 --- a/docs/document_reader/OpticalStatus/vds.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - vds property - OpticalStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
vds
- -
- -
-
-
- -
-
-

vds property -

- - - -
- -
- - CheckResult - vds - - -
- - -
-

Visible Digital Seal verification status.

-
- - -
-

Implementation

-
CheckResult get vds => _vds;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute-class-sidebar.html b/docs/document_reader/PAAttribute-class-sidebar.html deleted file mode 100644 index e3b2c8d377..0000000000 --- a/docs/document_reader/PAAttribute-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PAAttribute
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. type
  12. -
  13. value
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/PAAttribute-class.html b/docs/document_reader/PAAttribute-class.html deleted file mode 100644 index f1cd3d6a94..0000000000 --- a/docs/document_reader/PAAttribute-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - PAAttribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PAAttribute
- -
- -
-
-
- -
-
-

PAAttribute class - -

- - - - - - -
-

Constructors

- -
-
- PAAttribute() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- type - String - -
-
- -
no setter
- -
- -
- value - String - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - PAAttribute? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute/PAAttribute.html b/docs/document_reader/PAAttribute/PAAttribute.html deleted file mode 100644 index eb26b7f577..0000000000 --- a/docs/document_reader/PAAttribute/PAAttribute.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - PAAttribute constructor - PAAttribute - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PAAttribute
- -
- -
-
-
- -
-
-

PAAttribute constructor -

- -
- - PAAttribute() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute/fromJson.html b/docs/document_reader/PAAttribute/fromJson.html deleted file mode 100644 index 59549e1d54..0000000000 --- a/docs/document_reader/PAAttribute/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - PAAttribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -PAAttribute? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static PAAttribute? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = PAAttribute();
-
-  result._type = jsonObject["type"] ?? "";
-  result._value = jsonObject["value"] ?? "";
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute/toJson.html b/docs/document_reader/PAAttribute/toJson.html deleted file mode 100644 index 83f212a893..0000000000 --- a/docs/document_reader/PAAttribute/toJson.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - toJson method - PAAttribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "type": type,
-      "value": value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute/type.html b/docs/document_reader/PAAttribute/type.html deleted file mode 100644 index b4c0e1dbd9..0000000000 --- a/docs/document_reader/PAAttribute/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - PAAttribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - String - type - - -
- - - - -
-

Implementation

-
String get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAAttribute/value.html b/docs/document_reader/PAAttribute/value.html deleted file mode 100644 index e5582e57ee..0000000000 --- a/docs/document_reader/PAAttribute/value.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - value property - PAAttribute class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- - - -
- -
- - String - value - - -
- - - - -
-

Implementation

-
String get value => _value;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer-class-sidebar.html b/docs/document_reader/PAResourcesIssuer-class-sidebar.html deleted file mode 100644 index da46a78df8..0000000000 --- a/docs/document_reader/PAResourcesIssuer-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PAResourcesIssuer
  4. - - -
  5. - Properties -
  6. -
  7. attributes
  8. -
  9. data
  10. -
  11. friendlyName
  12. -
  13. hashCode
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/PAResourcesIssuer-class.html b/docs/document_reader/PAResourcesIssuer-class.html deleted file mode 100644 index 6637f42dfe..0000000000 --- a/docs/document_reader/PAResourcesIssuer-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PAResourcesIssuer
- -
- -
-
-
- -
-
-

PAResourcesIssuer class - -

- - - - - - -
-

Constructors

- -
-
- PAResourcesIssuer() -
-
- -
-
-
- -
-

Properties

- -
-
- attributes - List<PAAttribute> - -
-
- -
no setter
- -
- -
- data - → dynamic - -
-
- -
no setter
- -
- -
- friendlyName - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - PAResourcesIssuer? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/PAResourcesIssuer.html b/docs/document_reader/PAResourcesIssuer/PAResourcesIssuer.html deleted file mode 100644 index 30c115cf7a..0000000000 --- a/docs/document_reader/PAResourcesIssuer/PAResourcesIssuer.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - PAResourcesIssuer constructor - PAResourcesIssuer - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PAResourcesIssuer
- -
- -
-
-
- -
-
-

PAResourcesIssuer constructor -

- -
- - PAResourcesIssuer() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/attributes.html b/docs/document_reader/PAResourcesIssuer/attributes.html deleted file mode 100644 index 202722b9ad..0000000000 --- a/docs/document_reader/PAResourcesIssuer/attributes.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - attributes property - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
attributes
- -
- -
-
-
- -
-
-

attributes property -

- - - -
- -
- - List<PAAttribute> - attributes - - -
- - - - -
-

Implementation

-
List<PAAttribute> get attributes => _attributes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/data.html b/docs/document_reader/PAResourcesIssuer/data.html deleted file mode 100644 index 71768d19b8..0000000000 --- a/docs/document_reader/PAResourcesIssuer/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - dynamic - data - - -
- - - - -
-

Implementation

-
Uint8List get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/friendlyName.html b/docs/document_reader/PAResourcesIssuer/friendlyName.html deleted file mode 100644 index a81a92fdfe..0000000000 --- a/docs/document_reader/PAResourcesIssuer/friendlyName.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - friendlyName property - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
friendlyName
- -
- -
-
-
- -
-
-

friendlyName property -

- - - -
- -
- - String? - friendlyName - - -
- - - - -
-

Implementation

-
String? get friendlyName => _friendlyName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/fromJson.html b/docs/document_reader/PAResourcesIssuer/fromJson.html deleted file mode 100644 index b984ec06b8..0000000000 --- a/docs/document_reader/PAResourcesIssuer/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -PAResourcesIssuer? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static PAResourcesIssuer? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = PAResourcesIssuer();
-
-  result._data = _bytesFromBase64(jsonObject["data"])!;
-  result._friendlyName = jsonObject["friendlyName"];
-  for (var item in jsonObject["attributes"])
-    result._attributes.addSafe(PAAttribute.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PAResourcesIssuer/toJson.html b/docs/document_reader/PAResourcesIssuer/toJson.html deleted file mode 100644 index 8a94d24c3c..0000000000 --- a/docs/document_reader/PAResourcesIssuer/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - PAResourcesIssuer class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "data": _bytesToBase64(data),
-      "friendlyName": friendlyName,
-      "attributes": attributes.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info-class-sidebar.html b/docs/document_reader/PDF417Info-class-sidebar.html deleted file mode 100644 index 4bea5dd20c..0000000000 --- a/docs/document_reader/PDF417Info-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PDF417Info
  4. - - -
  5. - Properties -
  6. -
  7. columns
  8. -
  9. errorLevel
  10. -
  11. hashCode
  12. -
  13. rows
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/PDF417Info-class.html b/docs/document_reader/PDF417Info-class.html deleted file mode 100644 index 8b5cd78f94..0000000000 --- a/docs/document_reader/PDF417Info-class.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PDF417Info
- -
- -
-
-
- -
-
-

PDF417Info class - -

- - - - - - -
-

Constructors

- -
-
- PDF417Info() -
-
- -
-
-
- -
-

Properties

- -
-
- columns - int - -
-
- Number of columns in a barcode. -
no setter
- -
- -
- errorLevel - int - -
-
- Barcode error correction level. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- rows - int - -
-
- Number of rows in a barcode. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - PDF417Info? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/PDF417Info.html b/docs/document_reader/PDF417Info/PDF417Info.html deleted file mode 100644 index be7cd9621f..0000000000 --- a/docs/document_reader/PDF417Info/PDF417Info.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - PDF417Info constructor - PDF417Info - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PDF417Info
- -
- -
-
-
- -
-
-

PDF417Info constructor -

- -
- - PDF417Info() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/columns.html b/docs/document_reader/PDF417Info/columns.html deleted file mode 100644 index 5b6e943040..0000000000 --- a/docs/document_reader/PDF417Info/columns.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - columns property - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
columns
- -
- -
-
-
- -
-
-

columns property -

- - - -
- -
- - int - columns - - -
- - -
-

Number of columns in a barcode.

-
- - -
-

Implementation

-
int get columns => _columns;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/errorLevel.html b/docs/document_reader/PDF417Info/errorLevel.html deleted file mode 100644 index 48b05c503d..0000000000 --- a/docs/document_reader/PDF417Info/errorLevel.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - errorLevel property - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
errorLevel
- -
- -
-
-
- -
-
-

errorLevel property -

- - - -
- -
- - int - errorLevel - - -
- - -
-

Barcode error correction level.

-
- - -
-

Implementation

-
int get errorLevel => _errorLevel;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/fromJson.html b/docs/document_reader/PDF417Info/fromJson.html deleted file mode 100644 index 3975a6d886..0000000000 --- a/docs/document_reader/PDF417Info/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -PDF417Info? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static PDF417Info? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = PDF417Info();
-
-  result._errorLevel = jsonObject["errorLevel"];
-  result._columns = jsonObject["columns"];
-  result._rows = jsonObject["rows"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/rows.html b/docs/document_reader/PDF417Info/rows.html deleted file mode 100644 index bb714bcc7c..0000000000 --- a/docs/document_reader/PDF417Info/rows.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rows property - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rows
- -
- -
-
-
- -
-
-

rows property -

- - - -
- -
- - int - rows - - -
- - -
-

Number of rows in a barcode.

-
- - -
-

Implementation

-
int get rows => _rows;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PDF417Info/toJson.html b/docs/document_reader/PDF417Info/toJson.html deleted file mode 100644 index 8fa62e72a5..0000000000 --- a/docs/document_reader/PDF417Info/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - PDF417Info class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "errorLevel": errorLevel,
-      "columns": columns,
-      "rows": rows,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate-class-sidebar.html b/docs/document_reader/PKDCertificate-class-sidebar.html deleted file mode 100644 index 4a31c5ab0a..0000000000 --- a/docs/document_reader/PKDCertificate-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PKDCertificate
  4. - - -
  5. - Properties -
  6. -
  7. binaryData
  8. -
  9. hashCode
  10. -
  11. privateKey
  12. -
  13. resourceType
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/PKDCertificate-class.html b/docs/document_reader/PKDCertificate-class.html deleted file mode 100644 index 2d63e173f1..0000000000 --- a/docs/document_reader/PKDCertificate-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PKDCertificate
- -
- -
-
-
- -
-
-

PKDCertificate class - -

- - -
-

Class contains information about PKD certificate.

-
- - - - -
-

Constructors

- -
-
- PKDCertificate(dynamic binaryData, PKDResourceType resourceType, {dynamic privateKey}) -
-
- -
-
-
- -
-

Properties

- -
-
- binaryData - → dynamic - -
-
- Certificate in binary type. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- privateKey - → dynamic - -
-
- Private key in binary type. -
no setter
- -
- -
- resourceType - PKDResourceType - -
-
- Indicates type of certificate. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - PKDCertificate? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/PKDCertificate.html b/docs/document_reader/PKDCertificate/PKDCertificate.html deleted file mode 100644 index 14b9d77bc5..0000000000 --- a/docs/document_reader/PKDCertificate/PKDCertificate.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - PKDCertificate constructor - PKDCertificate - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PKDCertificate
- -
- -
-
-
- -
-
-

PKDCertificate constructor -

- -
- - PKDCertificate(
  1. dynamic binaryData,
  2. -
  3. PKDResourceType resourceType,
  4. -
  5. {dynamic privateKey}
  6. -
) -
- - - - - -
-

Implementation

-
PKDCertificate
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/binaryData.html b/docs/document_reader/PKDCertificate/binaryData.html deleted file mode 100644 index 38c1929078..0000000000 --- a/docs/document_reader/PKDCertificate/binaryData.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - binaryData property - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
binaryData
- -
- -
-
-
- -
-
-

binaryData property -

- - - -
- -
- - dynamic - binaryData - - -
- - -
-

Certificate in binary type.

-
- - -
-

Implementation

-
ByteData get binaryData => _binaryData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/fromJson.html b/docs/document_reader/PKDCertificate/fromJson.html deleted file mode 100644 index 383ee8eee5..0000000000 --- a/docs/document_reader/PKDCertificate/fromJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - fromJson method - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -PKDCertificate? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static PKDCertificate? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return PKDCertificate(
-    _dataFromBase64(jsonObject["binaryData"])!,
-    PKDResourceType.getByValue(jsonObject["resourceType"])!,
-    privateKey: _dataFromBase64(jsonObject["privateKey"]),
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/privateKey.html b/docs/document_reader/PKDCertificate/privateKey.html deleted file mode 100644 index 8098c9dbce..0000000000 --- a/docs/document_reader/PKDCertificate/privateKey.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - privateKey property - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
privateKey
- -
- -
-
-
- -
-
-

privateKey property -

- - - -
- -
- - dynamic - privateKey - - -
- - -
-

Private key in binary type.

-
- - -
-

Implementation

-
ByteData? get privateKey => _privateKey;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/resourceType.html b/docs/document_reader/PKDCertificate/resourceType.html deleted file mode 100644 index d18f0e7c5e..0000000000 --- a/docs/document_reader/PKDCertificate/resourceType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - resourceType property - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resourceType
- -
- -
-
-
- -
-
-

resourceType property -

- - - -
- -
- - PKDResourceType - resourceType - - -
- - -
-

Indicates type of certificate.

-
- - -
-

Implementation

-
PKDResourceType get resourceType => _resourceType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificate/toJson.html b/docs/document_reader/PKDCertificate/toJson.html deleted file mode 100644 index ac9e2c7423..0000000000 --- a/docs/document_reader/PKDCertificate/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - PKDCertificate class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "binaryData": _dataToBase64(binaryData),
-      "resourceType": resourceType.value,
-      "privateKey": _dataToBase64(privateKey)
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDCertificateRequest.html b/docs/document_reader/PKDCertificateRequest.html deleted file mode 100644 index 3c735665d0..0000000000 --- a/docs/document_reader/PKDCertificateRequest.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - PKDCertificateRequest typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PKDCertificateRequest
- -
- -
-
-
- -
-
-

PKDCertificateRequest typedef - -

- -
- PKDCertificateRequest = - Future<void> Function(List<PKDCertificate>? certificates) - -
- - -
-

Provided to a user for passing PKDCertificates -to the native part of DocumentReader.

-
- - -
-

Implementation

-
typedef PKDCertificateRequest = Future<void> Function(
-  List<PKDCertificate>? certificates,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDResourceType-enum-sidebar.html b/docs/document_reader/PKDResourceType-enum-sidebar.html deleted file mode 100644 index be887aec03..0000000000 --- a/docs/document_reader/PKDResourceType-enum-sidebar.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PKDResourceType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. CERTIFICATE_PA
  10. -
  11. CERTIFICATE_TA
  12. -
  13. LDIF
  14. -
  15. CRL
  16. -
  17. ML
  18. -
  19. DEFL
  20. -
  21. DEVL
  22. -
  23. BL
  24. - -
  25. - Properties -
  26. -
  27. hashCode
  28. -
  29. index
  30. -
  31. runtimeType
  32. -
  33. value
  34. - -
  35. Methods
  36. -
  37. noSuchMethod
  38. -
  39. toString
  40. - -
  41. Operators
  42. -
  43. operator ==
  44. - - - -
  45. Static methods
  46. -
  47. getByValue
  48. -
  49. getType
  50. - -
  51. Constants
  52. -
  53. values
  54. -
diff --git a/docs/document_reader/PKDResourceType.html b/docs/document_reader/PKDResourceType.html deleted file mode 100644 index e83c41d86a..0000000000 --- a/docs/document_reader/PKDResourceType.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - - - PKDResourceType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PKDResourceType
- -
- -
-
-
- -
-
- -

- PKDResourceType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- PKDResourceType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const PKDResourceType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- PKDResourceType(-1) -
-
- -
- CERTIFICATE_PA - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(0) -
-
- -
- CERTIFICATE_TA - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(1) -
-
- -
- LDIF - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(2) -
-
- -
- CRL - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(3) -
-
- -
- ML - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(4) -
-
- -
- DEFL - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(5) -
-
- -
- DEVL - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(6) -
-
- -
- BL - → const PKDResourceType - - -
-
- - - -
- PKDResourceType(7) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - PKDResourceType? - - - -
-
- - - -
- -
- getType(String value) - PKDResourceType - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<PKDResourceType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, CERTIFICATE_PA, CERTIFICATE_TA, LDIF, CRL, ML, DEFL, DEVL, BL] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDResourceType/PKDResourceType.html b/docs/document_reader/PKDResourceType/PKDResourceType.html deleted file mode 100644 index 6e20175884..0000000000 --- a/docs/document_reader/PKDResourceType/PKDResourceType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - PKDResourceType constructor - PKDResourceType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PKDResourceType
- -
- -
-
-
- -
-
-

PKDResourceType constructor -

- -
- const - PKDResourceType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const PKDResourceType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDResourceType/value.html b/docs/document_reader/PKDResourceType/value.html deleted file mode 100644 index 0bc525c59e..0000000000 --- a/docs/document_reader/PKDResourceType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - PKDResourceType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PKDResourceType/values-constant.html b/docs/document_reader/PKDResourceType/values-constant.html deleted file mode 100644 index fa1fbab0ad..0000000000 --- a/docs/document_reader/PKDResourceType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - PKDResourceType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<PKDResourceType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PaCertificateCompletion.html b/docs/document_reader/PaCertificateCompletion.html deleted file mode 100644 index 161447e712..0000000000 --- a/docs/document_reader/PaCertificateCompletion.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - PaCertificateCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PaCertificateCompletion
- -
- -
-
-
- -
-
-

PaCertificateCompletion typedef - -

- -
- PaCertificateCompletion = - void Function(dynamic serialNumber, PAResourcesIssuer? issuer, PKDCertificateRequest request) - -
- - -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
typedef PaCertificateCompletion = void Function(
-  Uint8List serialNumber,
-  PAResourcesIssuer? issuer,
-  PKDCertificateRequest request,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position-class-sidebar.html b/docs/document_reader/Position-class-sidebar.html deleted file mode 100644 index 369d6a854c..0000000000 --- a/docs/document_reader/Position-class-sidebar.html +++ /dev/null @@ -1,42 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Position
  4. - - -
  5. - Properties -
  6. -
  7. angle
  8. -
  9. center
  10. -
  11. docFormat
  12. -
  13. dpi
  14. -
  15. hashCode
  16. -
  17. height
  18. -
  19. inverse
  20. -
  21. leftBottom
  22. -
  23. leftTop
  24. -
  25. objArea
  26. -
  27. objIntAngleDev
  28. -
  29. pageIndex
  30. -
  31. perspectiveTr
  32. -
  33. resultStatus
  34. -
  35. rightBottom
  36. -
  37. rightTop
  38. -
  39. runtimeType
  40. -
  41. width
  42. - -
  43. Methods
  44. -
  45. noSuchMethod
  46. -
  47. toJson
  48. -
  49. toString
  50. - -
  51. Operators
  52. -
  53. operator ==
  54. - - - -
  55. Static methods
  56. -
  57. fromJson
  58. - -
diff --git a/docs/document_reader/Position-class.html b/docs/document_reader/Position-class.html deleted file mode 100644 index 3246672a57..0000000000 --- a/docs/document_reader/Position-class.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Position
- -
- -
-
-
- -
-
-

Position class - -

- - -
-

Structure is used for storing element bounds detection result._

-
- - - - -
-

Constructors

- -
-
- Position() -
-
- -
-
-
- -
-

Properties

- -
-
- angle - double - -
-
- Document rotation angle. -
no setter
- -
- -
- center - Coordinate? - -
-
- Document center coordinates. -
no setter
- -
- -
- docFormat - DocFormat - -
-
- Document format. -
no setter
- -
- -
- dpi - int - -
-
- Resolution in dots per inch. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- height - int - -
-
- Document height. -
no setter
- -
- -
- inverse - int - -
-
- Internal use parameter. -
no setter
- -
- -
- leftBottom - Coordinate? - -
-
- Document left bottom corner coordinates. -
no setter
- -
- -
- leftTop - Coordinate? - -
-
- Document left top corner coordinates. -
no setter
- -
- -
- objArea - int - -
-
- Internal use parameter. -
no setter
- -
- -
- objIntAngleDev - int - -
-
- Internal use parameter. -
no setter
- -
- -
- pageIndex - int - -
-
- Index of the document page, whence the result is received. -
no setter
- -
- -
- perspectiveTr - int - -
-
- Internal use parameter. -
no setter
- -
- -
- resultStatus - CheckResult - -
-
- Internal use parameter. -
no setter
- -
- -
- rightBottom - Coordinate? - -
-
- Document right bottom corner coordinates. -
no setter
- -
- -
- rightTop - Coordinate? - -
-
- Document right top corner coordinates. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- width - int - -
-
- Document width. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Position? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/Position.html b/docs/document_reader/Position/Position.html deleted file mode 100644 index e30e769f16..0000000000 --- a/docs/document_reader/Position/Position.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Position constructor - Position - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Position
- -
- -
-
-
- -
-
-

Position constructor -

- -
- - Position() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/angle.html b/docs/document_reader/Position/angle.html deleted file mode 100644 index c87b7092d7..0000000000 --- a/docs/document_reader/Position/angle.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - angle property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
angle
- -
- -
-
-
- -
-
-

angle property -

- - - -
- -
- - double - angle - - -
- - -
-

Document rotation angle.

-
- - -
-

Implementation

-
double get angle => _angle;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/center.html b/docs/document_reader/Position/center.html deleted file mode 100644 index 0dae92ff0a..0000000000 --- a/docs/document_reader/Position/center.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - center property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
center
- -
- -
-
-
- -
-
-

center property -

- - - -
- -
- - Coordinate? - center - - -
- - -
-

Document center coordinates.

-
- - -
-

Implementation

-
Coordinate? get center => _center;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/docFormat.html b/docs/document_reader/Position/docFormat.html deleted file mode 100644 index c4667e28bb..0000000000 --- a/docs/document_reader/Position/docFormat.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - docFormat property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
docFormat
- -
- -
-
-
- -
-
-

docFormat property -

- - - -
- -
- - DocFormat - docFormat - - -
- - -
-

Document format.

-
- - -
-

Implementation

-
DocFormat get docFormat => _docFormat;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/dpi.html b/docs/document_reader/Position/dpi.html deleted file mode 100644 index f47b5b6135..0000000000 --- a/docs/document_reader/Position/dpi.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - dpi property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dpi
- -
- -
-
-
- -
-
-

dpi property -

- - - -
- -
- - int - dpi - - -
- - -
-

Resolution in dots per inch.

-
- - -
-

Implementation

-
int get dpi => _dpi;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/fromJson.html b/docs/document_reader/Position/fromJson.html deleted file mode 100644 index 61acf742dc..0000000000 --- a/docs/document_reader/Position/fromJson.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - fromJson method - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Position? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Position? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Position();
-
-  result._docFormat = DocFormat.getByValue(jsonObject["docFormat"])!;
-  result._width = jsonObject["width"];
-  result._height = jsonObject["height"];
-  result._dpi = jsonObject["dpi"];
-  result._pageIndex = jsonObject["pageIndex"];
-  result._inverse = jsonObject["inverse"];
-  result._perspectiveTr = jsonObject["perspectiveTr"];
-  result._objArea = jsonObject["objArea"];
-  result._objIntAngleDev = jsonObject["objIntAngleDev"];
-  result._resultStatus = CheckResult.getByValue(jsonObject["resultStatus"])!;
-  result._angle = _toDouble(jsonObject["angle"])!;
-  result._center = Coordinate.fromJson(jsonObject["center"]);
-  result._leftTop = Coordinate.fromJson(jsonObject["leftTop"]);
-  result._leftBottom = Coordinate.fromJson(jsonObject["leftBottom"]);
-  result._rightTop = Coordinate.fromJson(jsonObject["rightTop"]);
-  result._rightBottom = Coordinate.fromJson(jsonObject["rightBottom"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/height.html b/docs/document_reader/Position/height.html deleted file mode 100644 index 5b4a735f32..0000000000 --- a/docs/document_reader/Position/height.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - height property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
height
- -
- -
-
-
- -
-
-

height property -

- - - -
- -
- - int - height - - -
- - -
-

Document height.

-
- - -
-

Implementation

-
int get height => _height;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/inverse.html b/docs/document_reader/Position/inverse.html deleted file mode 100644 index 004645fb99..0000000000 --- a/docs/document_reader/Position/inverse.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - inverse property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
inverse
- -
- -
-
-
- -
-
-

inverse property -

- - - -
- -
- - int - inverse - - -
- - -
-

Internal use parameter.

-
- - -
-

Implementation

-
int get inverse => _inverse;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/leftBottom.html b/docs/document_reader/Position/leftBottom.html deleted file mode 100644 index e0fd495c0f..0000000000 --- a/docs/document_reader/Position/leftBottom.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - leftBottom property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
leftBottom
- -
- -
-
-
- -
-
-

leftBottom property -

- - - -
- -
- - Coordinate? - leftBottom - - -
- - -
-

Document left bottom corner coordinates.

-
- - -
-

Implementation

-
Coordinate? get leftBottom => _leftBottom;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/leftTop.html b/docs/document_reader/Position/leftTop.html deleted file mode 100644 index c07c3c43d7..0000000000 --- a/docs/document_reader/Position/leftTop.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - leftTop property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
leftTop
- -
- -
-
-
- -
-
-

leftTop property -

- - - -
- -
- - Coordinate? - leftTop - - -
- - -
-

Document left top corner coordinates.

-
- - -
-

Implementation

-
Coordinate? get leftTop => _leftTop;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/objArea.html b/docs/document_reader/Position/objArea.html deleted file mode 100644 index 4dda36ff1b..0000000000 --- a/docs/document_reader/Position/objArea.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - objArea property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
objArea
- -
- -
-
-
- -
-
-

objArea property -

- - - -
- -
- - int - objArea - - -
- - -
-

Internal use parameter.

-
- - -
-

Implementation

-
int get objArea => _objArea;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/objIntAngleDev.html b/docs/document_reader/Position/objIntAngleDev.html deleted file mode 100644 index 9be5eb644f..0000000000 --- a/docs/document_reader/Position/objIntAngleDev.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - objIntAngleDev property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
objIntAngleDev
- -
- -
-
-
- -
-
-

objIntAngleDev property -

- - - -
- -
- - int - objIntAngleDev - - -
- - -
-

Internal use parameter.

-
- - -
-

Implementation

-
int get objIntAngleDev => _objIntAngleDev;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/pageIndex.html b/docs/document_reader/Position/pageIndex.html deleted file mode 100644 index afa01bc5a0..0000000000 --- a/docs/document_reader/Position/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

Index of the document page, whence the result is received.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/perspectiveTr.html b/docs/document_reader/Position/perspectiveTr.html deleted file mode 100644 index f7e7b527d6..0000000000 --- a/docs/document_reader/Position/perspectiveTr.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - perspectiveTr property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
perspectiveTr
- -
- -
-
-
- -
-
-

perspectiveTr property -

- - - -
- -
- - int - perspectiveTr - - -
- - -
-

Internal use parameter.

-
- - -
-

Implementation

-
int get perspectiveTr => _perspectiveTr;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/resultStatus.html b/docs/document_reader/Position/resultStatus.html deleted file mode 100644 index 5d414e92bf..0000000000 --- a/docs/document_reader/Position/resultStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - resultStatus property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultStatus
- -
- -
-
-
- -
-
-

resultStatus property -

- - - -
- -
- - CheckResult - resultStatus - - -
- - -
-

Internal use parameter.

-
- - -
-

Implementation

-
CheckResult get resultStatus => _resultStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/rightBottom.html b/docs/document_reader/Position/rightBottom.html deleted file mode 100644 index 9b704ff518..0000000000 --- a/docs/document_reader/Position/rightBottom.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rightBottom property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rightBottom
- -
- -
-
-
- -
-
-

rightBottom property -

- - - -
- -
- - Coordinate? - rightBottom - - -
- - -
-

Document right bottom corner coordinates.

-
- - -
-

Implementation

-
Coordinate? get rightBottom => _rightBottom;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/rightTop.html b/docs/document_reader/Position/rightTop.html deleted file mode 100644 index b192e4726d..0000000000 --- a/docs/document_reader/Position/rightTop.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rightTop property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rightTop
- -
- -
-
-
- -
-
-

rightTop property -

- - - -
- -
- - Coordinate? - rightTop - - -
- - -
-

Document right top corner coordinates.

-
- - -
-

Implementation

-
Coordinate? get rightTop => _rightTop;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/toJson.html b/docs/document_reader/Position/toJson.html deleted file mode 100644 index 36a4f31ac1..0000000000 --- a/docs/document_reader/Position/toJson.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - toJson method - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "docFormat": docFormat.value,
-      "resultStatus": resultStatus.value,
-      "width": width,
-      "height": height,
-      "angle": angle,
-      "dpi": dpi,
-      "inverse": inverse,
-      "perspectiveTr": perspectiveTr,
-      "objArea": objArea,
-      "objIntAngleDev": objIntAngleDev,
-      "pageIndex": pageIndex,
-      "center": center?.toJson(),
-      "leftTop": leftTop?.toJson(),
-      "leftBottom": leftBottom?.toJson(),
-      "rightTop": rightTop?.toJson(),
-      "rightBottom": rightBottom?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Position/width.html b/docs/document_reader/Position/width.html deleted file mode 100644 index ef45fd64d0..0000000000 --- a/docs/document_reader/Position/width.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - width property - Position class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
width
- -
- -
-
-
- -
-
-

width property -

- - - -
- -
- - int - width - - -
- - -
-

Document width.

-
- - -
-

Implementation

-
int get width => _width;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress-class-sidebar.html b/docs/document_reader/PrepareProgress-class-sidebar.html deleted file mode 100644 index f9c830b322..0000000000 --- a/docs/document_reader/PrepareProgress-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. PrepareProgress
  4. - - -
  5. - Properties -
  6. -
  7. downloadedBytes
  8. -
  9. hashCode
  10. -
  11. progress
  12. -
  13. runtimeType
  14. -
  15. totalBytes
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/PrepareProgress-class.html b/docs/document_reader/PrepareProgress-class.html deleted file mode 100644 index 2266c4648f..0000000000 --- a/docs/document_reader/PrepareProgress-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PrepareProgress
- -
- -
-
-
- -
-
-

PrepareProgress class - -

- - -
-

Class contains info about database preparation progress.

-
- - - - -
-

Constructors

- -
-
- PrepareProgress(int downloadedBytes, int totalBytes, int progress) -
-
- -
-
-
- -
-

Properties

- -
-
- downloadedBytes - int - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- progress - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- totalBytes - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - PrepareProgress? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/PrepareProgress.html b/docs/document_reader/PrepareProgress/PrepareProgress.html deleted file mode 100644 index 51c4f140ef..0000000000 --- a/docs/document_reader/PrepareProgress/PrepareProgress.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - PrepareProgress constructor - PrepareProgress - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
PrepareProgress
- -
- -
-
-
- -
-
-

PrepareProgress constructor -

- -
- - PrepareProgress(
  1. int downloadedBytes,
  2. -
  3. int totalBytes,
  4. -
  5. int progress
  6. -
) -
- - - - - -
-

Implementation

-
PrepareProgress
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/downloadedBytes.html b/docs/document_reader/PrepareProgress/downloadedBytes.html deleted file mode 100644 index 545dc7b9ac..0000000000 --- a/docs/document_reader/PrepareProgress/downloadedBytes.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - downloadedBytes property - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
downloadedBytes
- -
- -
-
-
- -
-
-

downloadedBytes property -

- - - -
- -
- - int - downloadedBytes - - -
- - - - -
-

Implementation

-
int get downloadedBytes => _downloadedBytes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/fromJson.html b/docs/document_reader/PrepareProgress/fromJson.html deleted file mode 100644 index 8b5e4f70b4..0000000000 --- a/docs/document_reader/PrepareProgress/fromJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - fromJson method - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -PrepareProgress? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static PrepareProgress? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return PrepareProgress(
-    jsonObject["downloadedBytes"],
-    jsonObject["totalBytes"],
-    jsonObject["progress"],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/progress.html b/docs/document_reader/PrepareProgress/progress.html deleted file mode 100644 index 5435433b14..0000000000 --- a/docs/document_reader/PrepareProgress/progress.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - progress property - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
progress
- -
- -
-
-
- -
-
-

progress property -

- - - -
- -
- - int - progress - - -
- - - - -
-

Implementation

-
int get progress => _progress;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/toJson.html b/docs/document_reader/PrepareProgress/toJson.html deleted file mode 100644 index 0a837f5877..0000000000 --- a/docs/document_reader/PrepareProgress/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "downloadedBytes": downloadedBytes,
-      "totalBytes": totalBytes,
-      "progress": progress,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/PrepareProgress/totalBytes.html b/docs/document_reader/PrepareProgress/totalBytes.html deleted file mode 100644 index a69bf7543d..0000000000 --- a/docs/document_reader/PrepareProgress/totalBytes.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - totalBytes property - PrepareProgress class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
totalBytes
- -
- -
-
-
- -
-
-

totalBytes property -

- - - -
- -
- - int - totalBytes - - -
- - - - -
-

Implementation

-
int get totalBytes => _totalBytes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams-class-sidebar.html b/docs/document_reader/ProcessParams-class-sidebar.html deleted file mode 100644 index 93a889e9c0..0000000000 --- a/docs/document_reader/ProcessParams-class-sidebar.html +++ /dev/null @@ -1,92 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ProcessParams
  4. - - -
  5. - Properties -
  6. -
  7. alreadyCropped
  8. -
  9. authenticityParams
  10. -
  11. backendProcessingConfig
  12. -
  13. barcodeParserType
  14. -
  15. barcodeTypes
  16. -
  17. captureButtonScenario
  18. -
  19. checkHologram
  20. -
  21. checkRequiredTextFields
  22. -
  23. convertCase
  24. -
  25. customParams
  26. -
  27. dateFormat
  28. -
  29. debugSaveCroppedImages
  30. -
  31. debugSaveImages
  32. -
  33. debugSaveLogs
  34. -
  35. debugSaveRFIDSession
  36. -
  37. depersonalizeLog
  38. -
  39. disableFocusingCheck
  40. -
  41. disablePerforationOCR
  42. -
  43. documentAreaMin
  44. -
  45. documentGroupFilter
  46. -
  47. documentIDList
  48. -
  49. doublePageSpread
  50. -
  51. faceApiParams
  52. -
  53. fieldTypesFilter
  54. -
  55. forceDocFormat
  56. -
  57. forceDocID
  58. -
  59. forceReadMrzBeforeLocate
  60. -
  61. generateDoublePageSpreadImage
  62. -
  63. hashCode
  64. -
  65. imageDpiOutMax
  66. -
  67. imageOutputMaxHeight
  68. -
  69. imageOutputMaxWidth
  70. -
  71. imageQA
  72. -
  73. integralImage
  74. -
  75. lcidFilter
  76. -
  77. lcidIgnoreFilter
  78. -
  79. logs
  80. -
  81. manualCrop
  82. -
  83. matchTextFieldMask
  84. -
  85. measureSystem
  86. -
  87. minDPI
  88. -
  89. minimalHolderAge
  90. -
  91. mrzFormatsFilter
  92. -
  93. multiDocOnImage
  94. -
  95. multipageProcessing
  96. -
  97. noGraphics
  98. -
  99. parseBarcodes
  100. -
  101. perspectiveAngle
  102. -
  103. processAuth
  104. -
  105. respectImageQuality
  106. -
  107. resultTypeOutput
  108. -
  109. returnCroppedBarcode
  110. -
  111. returnUncroppedImage
  112. -
  113. rfidParams
  114. -
  115. runtimeType
  116. -
  117. scenario
  118. -
  119. sessionLogFolder
  120. -
  121. shiftExpiryDate
  122. -
  123. shouldReturnPackageForReprocess
  124. -
  125. splitNames
  126. -
  127. testSetters
  128. -
  129. timeout
  130. -
  131. timeoutFromFirstDetect
  132. -
  133. timeoutFromFirstDocType
  134. -
  135. updateOCRValidityByGlare
  136. -
  137. useAuthenticityCheck
  138. -
  139. useFaceApi
  140. -
  141. uvTorchEnabled
  142. - -
  143. Methods
  144. -
  145. noSuchMethod
  146. -
  147. toJson
  148. -
  149. toString
  150. - -
  151. Operators
  152. -
  153. operator ==
  154. - - - -
  155. Static methods
  156. -
  157. fromJson
  158. - -
diff --git a/docs/document_reader/ProcessParams-class.html b/docs/document_reader/ProcessParams-class.html deleted file mode 100644 index 3db61e09d8..0000000000 --- a/docs/document_reader/ProcessParams-class.html +++ /dev/null @@ -1,1040 +0,0 @@ - - - - - - - - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ProcessParams
- -
- -
-
-
- -
-
-

ProcessParams class - -

- - -
-

Params that influence the scanning process.

-
- - - - -
-

Constructors

- -
-
- ProcessParams() -
-
- -
-
-
- -
-

Properties

- -
-
- alreadyCropped - bool? - -
-
- This option can be set to true if you know for sure that the image you -provide contains already cropped document by its edges. This was designed -to process on the server side images captured and cropped on mobile. -
getter/setter pair
- -
- -
- authenticityParams - AuthenticityParams - -
-
- -
getter/setter pair
- -
- -
- backendProcessingConfig - BackendProcessingConfig? - -
-
- Set up the backend processing service parameters. -
getter/setter pair
- -
- -
- barcodeParserType - int? - -
-
- There are documents that contain barcodes which data can be parsed only -if document type verification is performed. The following property allows -setting the barcode parser type which should be used during recognition. -It allows parsing barcode data without performing document type verification. -
getter/setter pair
- -
- -
- barcodeTypes - List<BarcodeType>? - -
-
- Set types of barcodes that you wish to recognize. -All barcodes will be recognized if it's empty. -
getter/setter pair
- -
- -
- captureButtonScenario - Scenario? - -
-
- Documents processing scenario for the Capture button. -
getter/setter pair
- -
- -
- checkHologram - bool? - -
-
- -
getter/setter pair
- -
- -
- checkRequiredTextFields - bool? - -
-
- If set to true, in case required fields are not read, their values -will be empty. -
getter/setter pair
- -
- -
- convertCase - int? - -
-
- This option allows output text case transformation. -No changes applied by default to original values. -
getter/setter pair
- -
- -
- customParams - Map<String, dynamic>? - -
-
- Takes JSON with parameters that are not presented in the DocumentReader. -
getter/setter pair
- -
- -
- dateFormat - String? - -
-
- Change the format string of displayed dates in the results. -
getter/setter pair
- -
- -
- debugSaveCroppedImages - bool? - -
-
- If set to true, cropped images will be saved to the application's directory. -
getter/setter pair
- -
- -
- debugSaveImages - bool? - -
-
- If set to true, images will be saved to the application's directory. -
getter/setter pair
- -
- -
- debugSaveLogs - bool? - -
-
- If set to true, text logs will be saved to the application's directory. -
getter/setter pair
- -
- -
- debugSaveRFIDSession - bool? - -
-
- If set to true, RFID sessions will be saved to the application's directory. -
getter/setter pair
- -
- -
- depersonalizeLog - bool? - -
-
- If set to true, personal information will be removed from logs. -
getter/setter pair
- -
- -
- disableFocusingCheck - bool? - -
-
- If set to true, document focus check will be omitted. -
getter/setter pair
- -
- -
- disablePerforationOCR - bool? - -
-
- When enabled, OCR of perforated fields in the document template -will not be performed. -
getter/setter pair
- -
- -
- documentAreaMin - double? - -
-
- Specifies minimal area of the image that document should cover to be treated -as candidate when locating. Value should be in range from 0 to 1, -where 1 is when document should fully cover the image. -
getter/setter pair
- -
- -
- documentGroupFilter - List<DocType>? - -
-
- Array of specific eligible document types to recognize from. You may, -for example, specify only passports to be recognized by setting this property. -
getter/setter pair
- -
- -
- documentIDList - List<int>? - -
-
- Takes the list of the document IDs to process. -All documents will be processed if it's empty. -
getter/setter pair
- -
- -
- doublePageSpread - bool? - -
-
- If set to true, allows to process up to two pages of the document -(so-called "a double-page spread") for one-shot if they are presented -on the frame (image). -
getter/setter pair
- -
- -
- faceApiParams - FaceApiParams? - -
-
- Custom Face API integration params. -
getter/setter pair
- -
- -
- fieldTypesFilter - List<FieldType>? - -
-
- If you recognize the MRZ of documents, all fields will be extracted. -If you recognize the Visual zone of documents, you can set the list -of field types that you wish to extract, other fields will be skipped -during processing. All fields will be extracted if it is empty. -
getter/setter pair
- -
- -
- forceDocFormat - DocFormat? - -
-
- Force use of specified document format when locating and recognizing -document to reduce the number of candidates. -
getter/setter pair
- -
- -
- forceDocID - int? - -
-
- Force use of specific template ID and skip document type identification step. -
getter/setter pair
- -
- -
- forceReadMrzBeforeLocate - bool? - -
-
- This option can be set to true to make sure that in series processing -MRZ is located fully inside the result document image, if present -on the document. Enabling this option may add extra processing time, -by disabling optimizations, but allows more stability in output image quality. -
getter/setter pair
- -
- -
- generateDoublePageSpreadImage - bool? - -
-
- When enabled together with doublePageSpread and there is a passport -with two pages spread in the image, pages will be cropped, straightened -and aligned together, as if the document was captured on a flatbed scanner. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imageDpiOutMax - int? - -
-
- This option controls maximum resolution in dpi of output images. -Resolution will remain original in case 0 is set. -
getter/setter pair
- -
- -
- imageOutputMaxHeight - int? - -
-
- Maximum height of output images. In pixels. -
getter/setter pair
- -
- -
- imageOutputMaxWidth - int? - -
-
- Maximum width of output images. In pixels. -
getter/setter pair
- -
- -
- imageQA - ImageQA - -
-
- Controls properties of ImageQA checks. -
getter/setter pair
- -
- -
- integralImage - bool? - -
-
- Allows to build an integral image, taking into account the quality of -fixation of each of the individual images. -
getter/setter pair
- -
- -
- lcidFilter - List<LCID>? - -
-
- The whitelist of LCID types to use during the recognition. -
getter/setter pair
- -
- -
- lcidIgnoreFilter - List<LCID>? - -
-
- The list of LCID types to ignore during the recognition. -If empty, values with all LCID types will be extracted. -Narrowing down the list can reduce processing time. -
getter/setter pair
- -
- -
- logs - bool? - -
-
- If set to true, the DocumentReader logs will be shown in the console. -
getter/setter pair
- -
- -
- manualCrop - bool? - -
-
- If set to true, allows you to manually set the document's bounds -after it is detected. -
getter/setter pair
- -
- -
- matchTextFieldMask - bool? - -
-
- When disabled, text field OCR will be done as is and then the recognized -value will be matched to the field mask for validity. If enabled, we -are trying to read a field value with maximum efforts to match the mask -and provide a correctly formatted value, making assumptions based on the -provided field mask in the template. -
getter/setter pair
- -
- -
- measureSystem - MeasureSystem? - -
-
- Measure system of fields' values that are presented in results. -Default: If the country code is US or LR or MM, the -MeasureSystem.IMPERIAL system of measurement, otherwise, the MeasureSystem.METRIC. -
getter/setter pair
- -
- -
- minDPI - int? - -
-
- Allows you to set the minimum acceptable DPI value of the camera frame -that is passed for recognition. Camera frames the DPI of which are less -than you set won't be passed for recognition. -
getter/setter pair
- -
- -
- minimalHolderAge - int? - -
-
- This options allows specifying the minimal age in years of the document -holder for the document to be considered valid. -
getter/setter pair
- -
- -
- mrzFormatsFilter - List<MRZFormat>? - -
-
- This option allows limiting MRZ formats to be recognized by specifying -them in array. -
getter/setter pair
- -
- -
- multiDocOnImage - bool? - -
-
- This option allows locating and cropping multiple documents -from one image if enabled. -
getter/setter pair
- -
- -
- multipageProcessing - bool? - -
-
- If set to true, processing of more than one page of the document -(if they exist) will be triggered, otherwise, only one page will be processed. -
getter/setter pair
- -
- -
- noGraphics - bool? - -
-
- When enabled no graphic fields will be cropped from document image. -
getter/setter pair
- -
- -
- parseBarcodes - bool? - -
-
- When set to false, the Barcode code parsing will be skipped -and the raw information from the code will be returned instead. -
getter/setter pair
- -
- -
- perspectiveAngle - int? - -
-
- Allows you to set the maximum value of the deviation of the corners -of the document from the value of 90 degrees. -
getter/setter pair
- -
- -
- processAuth - int? - -
-
- Accepts sum of Authenticity values. -
getter/setter pair
- -
- -
- respectImageQuality - bool? - -
-
- When enabled, image quality checks status affects document optical -and overall status. -
getter/setter pair
- -
- -
- resultTypeOutput - List<ResultType>? - -
-
- Types of results to return in response. -
getter/setter pair
- -
- -
- returnCroppedBarcode - bool? - -
-
- If set to true, an image with cropped barcode will be returned. -
getter/setter pair
- -
- -
- returnUncroppedImage - bool? - -
-
- If set to true, an original (uncropped) image will be received, - which is sent for recognition. -
getter/setter pair
- -
- -
- rfidParams - RFIDParams? - -
-
- Custom RFID params. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- scenario - Scenario? - -
-
- Documents processing scenario. -
getter/setter pair
- -
- -
- sessionLogFolder - String? - -
-
- The path to the folder of the current session. Before using this, save logs. -Each new session provides a different path. -
getter/setter pair
- -
- -
- shiftExpiryDate - int? - -
-
- This option allows shifting the date of expiry into the future or past -for number of months specified. This is useful, for example, in some cases -when document might be still valid for some period after original -expiration date to prevent negative validity status for such documents. -Or by shifting the date to the past will set negative validity -for the documents that is about to expire in a specified number of months. -
getter/setter pair
- -
- -
- shouldReturnPackageForReprocess - bool? - -
-
- When set to true, the rawResults property of the Results -will contain the encrypted containers of scanning results -that may be used for later reprocessing. -
getter/setter pair
- -
- -
- splitNames - bool? - -
-
- When enabled, the Surname and GivenNames field (TextField) -will be divided into fields with fieldTypes FieldType.FIRST_NAME, -FieldType.SECOND_NAME, FieldType.THIRD_NAME, FieldType.LAST_NAME. -
getter/setter pair
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
- timeout - double? - -
-
- Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the scenario starts. -Setting value to 0 means infinity. -
getter/setter pair
- -
- -
- timeoutFromFirstDetect - double? - -
-
- Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the document is detected. -Setting value to 0 means infinity. -
getter/setter pair
- -
- -
- timeoutFromFirstDocType - double? - -
-
- Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the document type is recognized. -Setting value to 0 means infinity. -
getter/setter pair
- -
- -
- updateOCRValidityByGlare - bool? - -
-
- When enabled, fail OCR field validity, if there is a glare over the text -ƒfield on the image. -
getter/setter pair
- -
- -
- useAuthenticityCheck - bool? - -
-
- This parameter is used to enable document authenticity check. -
getter/setter pair
- -
- -
- useFaceApi - bool? - -
-
- Use this property to set up the Face API integration. -
getter/setter pair
- -
- -
- uvTorchEnabled - bool? - -
-
- Set to true when torch is connected and enabled by user. -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ProcessParams - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/ProcessParams.html b/docs/document_reader/ProcessParams/ProcessParams.html deleted file mode 100644 index eea4ea584d..0000000000 --- a/docs/document_reader/ProcessParams/ProcessParams.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - ProcessParams constructor - ProcessParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ProcessParams
- -
- -
-
-
- -
-
-

ProcessParams constructor -

- -
- - ProcessParams() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/alreadyCropped.html b/docs/document_reader/ProcessParams/alreadyCropped.html deleted file mode 100644 index aa767f3518..0000000000 --- a/docs/document_reader/ProcessParams/alreadyCropped.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - alreadyCropped property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
alreadyCropped
- -
- -
-
-
- -
-
-

alreadyCropped property -

- - - -
- -
- - bool? - alreadyCropped - - -
- - -
-

This option can be set to true if you know for sure that the image you -provide contains already cropped document by its edges. This was designed -to process on the server side images captured and cropped on mobile.

-
- - -
-

Implementation

-
bool? get alreadyCropped => _alreadyCropped;
-
- -
- - - -
- -
- - void - alreadyCropped=(bool? val) - - -
- - - - -
-

Implementation

-
set alreadyCropped(bool? val) {
-  _alreadyCropped = val;
-  _set({"alreadyCropped": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/authenticityParams.html b/docs/document_reader/ProcessParams/authenticityParams.html deleted file mode 100644 index 6fbb819451..0000000000 --- a/docs/document_reader/ProcessParams/authenticityParams.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - authenticityParams property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authenticityParams
- -
- -
-
-
- -
-
-

authenticityParams property -

- - - -
- -
- - AuthenticityParams - authenticityParams - - -
- - - - -
-

Implementation

-
AuthenticityParams get authenticityParams => _authenticityParams;
-
- -
- - - -
- -
- - void - authenticityParams=(AuthenticityParams val) - - -
- - - - -
-

Implementation

-
set authenticityParams(AuthenticityParams val) {
-  (_authenticityParams = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/backendProcessingConfig.html b/docs/document_reader/ProcessParams/backendProcessingConfig.html deleted file mode 100644 index b5f6c4b570..0000000000 --- a/docs/document_reader/ProcessParams/backendProcessingConfig.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - backendProcessingConfig property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
backendProcessingConfig
- -
- -
-
-
- -
-
-

backendProcessingConfig property -

- - - -
- -
- - BackendProcessingConfig? - backendProcessingConfig - - -
- - -
-

Set up the backend processing service parameters.

-
- - -
-

Implementation

-
BackendProcessingConfig? get backendProcessingConfig =>
-    _backendProcessingConfig;
-
- -
- - - -
- -
- - void - backendProcessingConfig=(BackendProcessingConfig? val) - - -
- - - - -
-

Implementation

-
set backendProcessingConfig(BackendProcessingConfig? val) {
-  _backendProcessingConfig = val;
-  _set({"backendProcessingConfig": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/barcodeParserType.html b/docs/document_reader/ProcessParams/barcodeParserType.html deleted file mode 100644 index 8422092e7c..0000000000 --- a/docs/document_reader/ProcessParams/barcodeParserType.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - barcodeParserType property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
barcodeParserType
- -
- -
-
-
- -
-
-

barcodeParserType property -

- - - -
- -
- - int? - barcodeParserType - - -
- - -
-

There are documents that contain barcodes which data can be parsed only -if document type verification is performed. The following property allows -setting the barcode parser type which should be used during recognition. -It allows parsing barcode data without performing document type verification.

-
- - -
-

Implementation

-
int? get barcodeParserType => _barcodeParserType;
-
- -
- - - -
- -
- - void - barcodeParserType=(int? val) - - -
- - - - -
-

Implementation

-
set barcodeParserType(int? val) {
-  _barcodeParserType = val;
-  _set({"barcodeParserType": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/barcodeTypes.html b/docs/document_reader/ProcessParams/barcodeTypes.html deleted file mode 100644 index 07a20ac9d1..0000000000 --- a/docs/document_reader/ProcessParams/barcodeTypes.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - barcodeTypes property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
barcodeTypes
- -
- -
-
-
- -
-
-

barcodeTypes property -

- - - -
- -
- - List<BarcodeType>? - barcodeTypes - - -
- - -
-

Set types of barcodes that you wish to recognize. -All barcodes will be recognized if it's empty.

-
- - -
-

Implementation

-
List<BarcodeType>? get barcodeTypes => _barcodeTypes;
-
- -
- - - -
- -
- - void - barcodeTypes=(List<BarcodeType>? val) - - -
- - - - -
-

Implementation

-
set barcodeTypes(List<BarcodeType>? val) {
-  _barcodeTypes = val;
-  _set({"barcodeTypes": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/captureButtonScenario.html b/docs/document_reader/ProcessParams/captureButtonScenario.html deleted file mode 100644 index ac1d13783b..0000000000 --- a/docs/document_reader/ProcessParams/captureButtonScenario.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - captureButtonScenario property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
captureButtonScenario
- -
- -
-
-
- -
-
-

captureButtonScenario property -

- - - -
- -
- - Scenario? - captureButtonScenario - - -
- - -
-

Documents processing scenario for the Capture button.

-
- - -
-

Implementation

-
Scenario? get captureButtonScenario => _captureButtonScenario;
-
- -
- - - -
- -
- - void - captureButtonScenario=(Scenario? val) - - -
- - - - -
-

Implementation

-
set captureButtonScenario(Scenario? val) {
-  _captureButtonScenario = val;
-  _set({"captureButtonScenario": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/checkHologram.html b/docs/document_reader/ProcessParams/checkHologram.html deleted file mode 100644 index 71ff7d406c..0000000000 --- a/docs/document_reader/ProcessParams/checkHologram.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - checkHologram property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkHologram
- -
- -
-
-
- -
-
-

checkHologram property -

- - - -
- -
- -
-
    -
  1. @deprecated
  2. -
-
- bool? - checkHologram - - -
- - - - -
-

Implementation

-
@deprecated
-bool? get checkHologram => _checkHologram;
-
- -
- - - -
- -
- -
-
    -
  1. @deprecated
  2. -
-
- void - checkHologram=(bool? val) - - -
- - - - -
-

Implementation

-
@deprecated
-set checkHologram(bool? val) {
-  _checkHologram = val;
-  _set({"checkHologram": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/checkRequiredTextFields.html b/docs/document_reader/ProcessParams/checkRequiredTextFields.html deleted file mode 100644 index b5cd24a179..0000000000 --- a/docs/document_reader/ProcessParams/checkRequiredTextFields.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - checkRequiredTextFields property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
checkRequiredTextFields
- -
- -
-
-
- -
-
-

checkRequiredTextFields property -

- - - -
- -
- - bool? - checkRequiredTextFields - - -
- - -
-

If set to true, in case required fields are not read, their values -will be empty.

-
- - -
-

Implementation

-
bool? get checkRequiredTextFields => _checkRequiredTextFields;
-
- -
- - - -
- -
- - void - checkRequiredTextFields=(bool? val) - - -
- - - - -
-

Implementation

-
set checkRequiredTextFields(bool? val) {
-  _checkRequiredTextFields = val;
-  _set({"checkRequiredTextFields": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/convertCase.html b/docs/document_reader/ProcessParams/convertCase.html deleted file mode 100644 index 38466427d7..0000000000 --- a/docs/document_reader/ProcessParams/convertCase.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - convertCase property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
convertCase
- -
- -
-
-
- -
-
-

convertCase property -

- - - -
- -
- - int? - convertCase - - -
- - -
-

This option allows output text case transformation. -No changes applied by default to original values.

-
- - -
-

Implementation

-
int? get convertCase => _convertCase;
-
- -
- - - -
- -
- - void - convertCase=(int? val) - - -
- - - - -
-

Implementation

-
set convertCase(int? val) {
-  _convertCase = val;
-  _set({"convertCase": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/customParams.html b/docs/document_reader/ProcessParams/customParams.html deleted file mode 100644 index bbe5444e40..0000000000 --- a/docs/document_reader/ProcessParams/customParams.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - customParams property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
customParams
- -
- -
-
-
- -
-
-

customParams property -

- - - -
- -
- - Map<String, dynamic>? - customParams - - -
- - -
-

Takes JSON with parameters that are not presented in the DocumentReader.

-
- - -
-

Implementation

-
Map<String, dynamic>? get customParams => _customParams;
-
- -
- - - -
- -
- - void - customParams=(Map<String, dynamic>? val) - - -
- - - - -
-

Implementation

-
set customParams(Map<String, dynamic>? val) {
-  _customParams = val;
-  _set({"customParams": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/dateFormat.html b/docs/document_reader/ProcessParams/dateFormat.html deleted file mode 100644 index bfd3777f43..0000000000 --- a/docs/document_reader/ProcessParams/dateFormat.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - dateFormat property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dateFormat
- -
- -
-
-
- -
-
-

dateFormat property -

- - - -
- -
- - String? - dateFormat - - -
- - -
-

Change the format string of displayed dates in the results.

-

Mask examples: dd/mm/yyyy, mm/dd/yyyy, dd-mm-yyyy, mm-dd-yyyy, dd/mm/yy. -Set to null to revert default value.

-

Default: depends on the device's locale.

-
- - -
-

Implementation

-
String? get dateFormat => _dateFormat;
-
- -
- - - -
- -
- - void - dateFormat=(String? val) - - -
- - - - -
-

Implementation

-
set dateFormat(String? val) {
-  _dateFormat = val;
-  _set({"dateFormat": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/debugSaveCroppedImages.html b/docs/document_reader/ProcessParams/debugSaveCroppedImages.html deleted file mode 100644 index 299200c675..0000000000 --- a/docs/document_reader/ProcessParams/debugSaveCroppedImages.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - debugSaveCroppedImages property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
debugSaveCroppedImages
- -
- -
-
-
- -
-
-

debugSaveCroppedImages property -

- - - -
- -
- - bool? - debugSaveCroppedImages - - -
- - -
-

If set to true, cropped images will be saved to the application's directory.

-
- - -
-

Implementation

-
bool? get debugSaveCroppedImages => _debugSaveCroppedImages;
-
- -
- - - -
- -
- - void - debugSaveCroppedImages=(bool? val) - - -
- - - - -
-

Implementation

-
set debugSaveCroppedImages(bool? val) {
-  _debugSaveCroppedImages = val;
-  _set({"debugSaveCroppedImages": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/debugSaveImages.html b/docs/document_reader/ProcessParams/debugSaveImages.html deleted file mode 100644 index ee727d6ab5..0000000000 --- a/docs/document_reader/ProcessParams/debugSaveImages.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - debugSaveImages property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
debugSaveImages
- -
- -
-
-
- -
-
-

debugSaveImages property -

- - - -
- -
- - bool? - debugSaveImages - - -
- - -
-

If set to true, images will be saved to the application's directory.

-
- - -
-

Implementation

-
bool? get debugSaveImages => _debugSaveImages;
-
- -
- - - -
- -
- - void - debugSaveImages=(bool? val) - - -
- - - - -
-

Implementation

-
set debugSaveImages(bool? val) {
-  _debugSaveImages = val;
-  _set({"debugSaveImages": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/debugSaveLogs.html b/docs/document_reader/ProcessParams/debugSaveLogs.html deleted file mode 100644 index d85a2c03f9..0000000000 --- a/docs/document_reader/ProcessParams/debugSaveLogs.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - debugSaveLogs property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
debugSaveLogs
- -
- -
-
-
- -
-
-

debugSaveLogs property -

- - - -
- -
- - bool? - debugSaveLogs - - -
- - -
-

If set to true, text logs will be saved to the application's directory.

-
- - -
-

Implementation

-
bool? get debugSaveLogs => _debugSaveLogs;
-
- -
- - - -
- -
- - void - debugSaveLogs=(bool? val) - - -
- - - - -
-

Implementation

-
set debugSaveLogs(bool? val) {
-  _debugSaveLogs = val;
-  _set({"debugSaveLogs": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/debugSaveRFIDSession.html b/docs/document_reader/ProcessParams/debugSaveRFIDSession.html deleted file mode 100644 index aee78ac9a4..0000000000 --- a/docs/document_reader/ProcessParams/debugSaveRFIDSession.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - debugSaveRFIDSession property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
debugSaveRFIDSession
- -
- -
-
-
- -
-
-

debugSaveRFIDSession property -

- - - -
- -
- - bool? - debugSaveRFIDSession - - -
- - -
-

If set to true, RFID sessions will be saved to the application's directory.

-
- - -
-

Implementation

-
bool? get debugSaveRFIDSession => _debugSaveRFIDSession;
-
- -
- - - -
- -
- - void - debugSaveRFIDSession=(bool? val) - - -
- - - - -
-

Implementation

-
set debugSaveRFIDSession(bool? val) {
-  _debugSaveRFIDSession = val;
-  _set({"debugSaveRFIDSession": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/depersonalizeLog.html b/docs/document_reader/ProcessParams/depersonalizeLog.html deleted file mode 100644 index 1c74f0fe77..0000000000 --- a/docs/document_reader/ProcessParams/depersonalizeLog.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - depersonalizeLog property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
depersonalizeLog
- -
- -
-
-
- -
-
-

depersonalizeLog property -

- - - -
- -
- - bool? - depersonalizeLog - - -
- - -
-

If set to true, personal information will be removed from logs.

-
- - -
-

Implementation

-
bool? get depersonalizeLog => _depersonalizeLog;
-
- -
- - - -
- -
- - void - depersonalizeLog=(bool? val) - - -
- - - - -
-

Implementation

-
set depersonalizeLog(bool? val) {
-  _depersonalizeLog = val;
-  _set({"depersonalizeLog": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/disableFocusingCheck.html b/docs/document_reader/ProcessParams/disableFocusingCheck.html deleted file mode 100644 index 4e6b3fe871..0000000000 --- a/docs/document_reader/ProcessParams/disableFocusingCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - disableFocusingCheck property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
disableFocusingCheck
- -
- -
-
-
- -
-
-

disableFocusingCheck property -

- - - -
- -
- - bool? - disableFocusingCheck - - -
- - -
-

If set to true, document focus check will be omitted.

-
- - -
-

Implementation

-
bool? get disableFocusingCheck => _disableFocusingCheck;
-
- -
- - - -
- -
- - void - disableFocusingCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set disableFocusingCheck(bool? val) {
-  _disableFocusingCheck = val;
-  _set({"disableFocusingCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/disablePerforationOCR.html b/docs/document_reader/ProcessParams/disablePerforationOCR.html deleted file mode 100644 index b29a9a22bb..0000000000 --- a/docs/document_reader/ProcessParams/disablePerforationOCR.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - disablePerforationOCR property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
disablePerforationOCR
- -
- -
-
-
- -
-
-

disablePerforationOCR property -

- - - -
- -
- - bool? - disablePerforationOCR - - -
- - -
-

When enabled, OCR of perforated fields in the document template -will not be performed.

-
- - -
-

Implementation

-
bool? get disablePerforationOCR => _disablePerforationOCR;
-
- -
- - - -
- -
- - void - disablePerforationOCR=(bool? val) - - -
- - - - -
-

Implementation

-
set disablePerforationOCR(bool? val) {
-  _disablePerforationOCR = val;
-  _set({"disablePerforationOCR": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/documentAreaMin.html b/docs/document_reader/ProcessParams/documentAreaMin.html deleted file mode 100644 index ecbb024a3f..0000000000 --- a/docs/document_reader/ProcessParams/documentAreaMin.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - documentAreaMin property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentAreaMin
- -
- -
-
-
- -
-
-

documentAreaMin property -

- - - -
- -
- - double? - documentAreaMin - - -
- - -
-

Specifies minimal area of the image that document should cover to be treated -as candidate when locating. Value should be in range from 0 to 1, -where 1 is when document should fully cover the image.

-
- - -
-

Implementation

-
double? get documentAreaMin => _documentAreaMin;
-
- -
- - - -
- -
- - void - documentAreaMin=(double? val) - - -
- - - - -
-

Implementation

-
set documentAreaMin(double? val) {
-  _documentAreaMin = val;
-  _set({"documentAreaMin": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/documentGroupFilter.html b/docs/document_reader/ProcessParams/documentGroupFilter.html deleted file mode 100644 index cc44cd20de..0000000000 --- a/docs/document_reader/ProcessParams/documentGroupFilter.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - documentGroupFilter property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentGroupFilter
- -
- -
-
-
- -
-
-

documentGroupFilter property -

- - - -
- -
- - List<DocType>? - documentGroupFilter - - -
- - -
-

Array of specific eligible document types to recognize from. You may, -for example, specify only passports to be recognized by setting this property.

-
- - -
-

Implementation

-
List<DocType>? get documentGroupFilter => _documentGroupFilter;
-
- -
- - - -
- -
- - void - documentGroupFilter=(List<DocType>? val) - - -
- - - - -
-

Implementation

-
set documentGroupFilter(List<DocType>? val) {
-  _documentGroupFilter = val;
-  _set({"documentGroupFilter": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/documentIDList.html b/docs/document_reader/ProcessParams/documentIDList.html deleted file mode 100644 index adf65673ac..0000000000 --- a/docs/document_reader/ProcessParams/documentIDList.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - documentIDList property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentIDList
- -
- -
-
-
- -
-
-

documentIDList property -

- - - -
- -
- - List<int>? - documentIDList - - -
- - -
-

Takes the list of the document IDs to process. -All documents will be processed if it's empty.

-
- - -
-

Implementation

-
List<int>? get documentIDList => _documentIDList;
-
- -
- - - -
- -
- - void - documentIDList=(List<int>? val) - - -
- - - - -
-

Implementation

-
set documentIDList(List<int>? val) {
-  _documentIDList = val;
-  _set({"documentIDList": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/doublePageSpread.html b/docs/document_reader/ProcessParams/doublePageSpread.html deleted file mode 100644 index 49d383b988..0000000000 --- a/docs/document_reader/ProcessParams/doublePageSpread.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - doublePageSpread property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
doublePageSpread
- -
- -
-
-
- -
-
-

doublePageSpread property -

- - - -
- -
- - bool? - doublePageSpread - - -
- - -
-

If set to true, allows to process up to two pages of the document -(so-called "a double-page spread") for one-shot if they are presented -on the frame (image).

-
- - -
-

Implementation

-
bool? get doublePageSpread => _doublePageSpread;
-
- -
- - - -
- -
- - void - doublePageSpread=(bool? val) - - -
- - - - -
-

Implementation

-
set doublePageSpread(bool? val) {
-  _doublePageSpread = val;
-  _set({"doublePageSpread": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/faceApiParams.html b/docs/document_reader/ProcessParams/faceApiParams.html deleted file mode 100644 index 9bff1ecbb6..0000000000 --- a/docs/document_reader/ProcessParams/faceApiParams.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - faceApiParams property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
faceApiParams
- -
- -
-
-
- -
-
-

faceApiParams property -

- - - -
- -
- - FaceApiParams? - faceApiParams - - -
- - -
-

Custom Face API integration params.

-
- - -
-

Implementation

-
FaceApiParams? get faceApiParams => _faceApiParams;
-
- -
- - - -
- -
- - void - faceApiParams=(FaceApiParams? val) - - -
- - - - -
-

Implementation

-
set faceApiParams(FaceApiParams? val) {
-  _faceApiParams = val;
-  _set({"faceApiParams": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/fieldTypesFilter.html b/docs/document_reader/ProcessParams/fieldTypesFilter.html deleted file mode 100644 index 2ac2912a04..0000000000 --- a/docs/document_reader/ProcessParams/fieldTypesFilter.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - fieldTypesFilter property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldTypesFilter
- -
- -
-
-
- -
-
-

fieldTypesFilter property -

- - - -
- -
- - List<FieldType>? - fieldTypesFilter - - -
- - -
-

If you recognize the MRZ of documents, all fields will be extracted. -If you recognize the Visual zone of documents, you can set the list -of field types that you wish to extract, other fields will be skipped -during processing. All fields will be extracted if it is empty.

-
- - -
-

Implementation

-
List<FieldType>? get fieldTypesFilter => _fieldTypesFilter;
-
- -
- - - -
- -
- - void - fieldTypesFilter=(List<FieldType>? val) - - -
- - - - -
-

Implementation

-
set fieldTypesFilter(List<FieldType>? val) {
-  _fieldTypesFilter = val;
-  _set({"fieldTypesFilter": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/forceDocFormat.html b/docs/document_reader/ProcessParams/forceDocFormat.html deleted file mode 100644 index 9970cefcb2..0000000000 --- a/docs/document_reader/ProcessParams/forceDocFormat.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - forceDocFormat property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
forceDocFormat
- -
- -
-
-
- -
-
-

forceDocFormat property -

- - - -
- -
- - DocFormat? - forceDocFormat - - -
- - -
-

Force use of specified document format when locating and recognizing -document to reduce the number of candidates.

-
- - -
-

Implementation

-
DocFormat? get forceDocFormat => _forceDocFormat;
-
- -
- - - -
- -
- - void - forceDocFormat=(DocFormat? val) - - -
- - - - -
-

Implementation

-
set forceDocFormat(DocFormat? val) {
-  _forceDocFormat = val;
-  _set({"forceDocFormat": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/forceDocID.html b/docs/document_reader/ProcessParams/forceDocID.html deleted file mode 100644 index e200b8e542..0000000000 --- a/docs/document_reader/ProcessParams/forceDocID.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - forceDocID property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
forceDocID
- -
- -
-
-
- -
-
-

forceDocID property -

- - - -
- -
- - int? - forceDocID - - -
- - -
-

Force use of specific template ID and skip document type identification step.

-
- - -
-

Implementation

-
int? get forceDocID => _forceDocID;
-
- -
- - - -
- -
- - void - forceDocID=(int? val) - - -
- - - - -
-

Implementation

-
set forceDocID(int? val) {
-  _forceDocID = val;
-  _set({"forceDocID": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/forceReadMrzBeforeLocate.html b/docs/document_reader/ProcessParams/forceReadMrzBeforeLocate.html deleted file mode 100644 index 17c280d13e..0000000000 --- a/docs/document_reader/ProcessParams/forceReadMrzBeforeLocate.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - forceReadMrzBeforeLocate property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
forceReadMrzBeforeLocate
- -
- -
-
-
- -
-
-

forceReadMrzBeforeLocate property -

- - - -
- -
- - bool? - forceReadMrzBeforeLocate - - -
- - -
-

This option can be set to true to make sure that in series processing -MRZ is located fully inside the result document image, if present -on the document. Enabling this option may add extra processing time, -by disabling optimizations, but allows more stability in output image quality.

-
- - -
-

Implementation

-
bool? get forceReadMrzBeforeLocate => _forceReadMrzBeforeLocate;
-
- -
- - - -
- -
- - void - forceReadMrzBeforeLocate=(bool? val) - - -
- - - - -
-

Implementation

-
set forceReadMrzBeforeLocate(bool? val) {
-  _forceReadMrzBeforeLocate = val;
-  _set({"forceReadMrzBeforeLocate": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/fromJson.html b/docs/document_reader/ProcessParams/fromJson.html deleted file mode 100644 index 8e90f1a761..0000000000 --- a/docs/document_reader/ProcessParams/fromJson.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - - fromJson method - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ProcessParams -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static ProcessParams fromJson(jsonObject) {
-  var result = ProcessParams();
-  result.testSetters = {};
-
-  result.multipageProcessing = jsonObject["multipageProcessing"];
-  result.logs = jsonObject["logs"];
-  result.debugSaveImages = jsonObject["debugSaveImages"];
-  result.debugSaveLogs = jsonObject["debugSaveLogs"];
-  result.returnUncroppedImage = jsonObject["returnUncroppedImage"];
-  result.uvTorchEnabled = jsonObject["uvTorchEnabled"];
-  result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"];
-  result.disableFocusingCheck = jsonObject["disableFocusingCheck"];
-  result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"];
-  result.doublePageSpread = jsonObject["doublePageSpread"];
-  result.manualCrop = jsonObject["manualCrop"];
-  result.integralImage = jsonObject["integralImage"];
-  result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"];
-  result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"];
-  result.depersonalizeLog = jsonObject["depersonalizeLog"];
-  result.generateDoublePageSpreadImage =
-      jsonObject["generateDoublePageSpreadImage"];
-  result.alreadyCropped = jsonObject["alreadyCropped"];
-  result.matchTextFieldMask = jsonObject["matchTextFieldMask"];
-  result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"];
-  result.noGraphics = jsonObject["noGraphics"];
-  result.multiDocOnImage = jsonObject["multiDocOnImage"];
-  result.forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"];
-  result.parseBarcodes = jsonObject["parseBarcodes"];
-  result.shouldReturnPackageForReprocess =
-      jsonObject["shouldReturnPackageForReprocess"];
-  result.disablePerforationOCR = jsonObject["disablePerforationOCR"];
-  result.respectImageQuality = jsonObject["respectImageQuality"];
-  result.splitNames = jsonObject["splitNames"];
-  result.useFaceApi = jsonObject["useFaceApi"];
-  result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"];
-  // ignore: deprecated_member_use_from_same_package
-  result.checkHologram = jsonObject["checkHologram"];
-
-  result.measureSystem =
-      MeasureSystem.getByValue(jsonObject["measureSystem"]);
-  result.barcodeParserType = jsonObject["barcodeParserType"];
-  result.perspectiveAngle = jsonObject["perspectiveAngle"];
-  result.minDPI = jsonObject["minDPI"];
-  result.imageDpiOutMax = jsonObject["imageDpiOutMax"];
-  result.forceDocID = jsonObject["forceDocID"];
-  result.forceDocFormat = DocFormat.getByValue(jsonObject["forceDocFormat"]);
-  result.shiftExpiryDate = jsonObject["shiftExpiryDate"];
-  result.minimalHolderAge = jsonObject["minimalHolderAge"];
-  result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"];
-  result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"];
-  result.processAuth = jsonObject["processAuth"];
-  result.convertCase = jsonObject["convertCase"];
-
-  result.dateFormat = jsonObject["dateFormat"];
-  result.scenario = Scenario.getByValue(jsonObject["scenario"]);
-  result.captureButtonScenario =
-      Scenario.getByValue(jsonObject["captureButtonScenario"]);
-  result.sessionLogFolder = jsonObject["sessionLogFolder"];
-
-  result.timeout = _toDouble(jsonObject["timeout"]);
-  result.timeoutFromFirstDetect =
-      _toDouble(jsonObject["timeoutFromFirstDetect"]);
-  result.timeoutFromFirstDocType =
-      _toDouble(jsonObject["timeoutFromFirstDocType"]);
-  result.documentAreaMin = _toDouble(jsonObject["documentAreaMin"]);
-
-  result.documentIDList = jsonObject["documentIDList"] == null
-      ? null
-      : List<int>.from(jsonObject["documentIDList"]);
-  result.barcodeTypes = BarcodeType.fromIntList(jsonObject["barcodeTypes"]);
-
-  result.fieldTypesFilter =
-      FieldType.fromIntList(jsonObject["fieldTypesFilter"]);
-  result.resultTypeOutput =
-      ResultType.fromIntList(jsonObject["resultTypeOutput"]);
-  result.mrzFormatsFilter =
-      MRZFormat.fromStringList(jsonObject["mrzFormatsFilter"]);
-  result.documentGroupFilter =
-      DocType.fromIntList(jsonObject["documentGroupFilter"]);
-  result.lcidIgnoreFilter = LCID.fromIntList(jsonObject["lcidIgnoreFilter"]);
-  result.lcidFilter = LCID.fromIntList(jsonObject["lcidFilter"]);
-
-  result.imageQA = ImageQA.fromJson(jsonObject["imageQA"]);
-  result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"]);
-  result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"]);
-  result.backendProcessingConfig =
-      BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"]);
-  result.authenticityParams =
-      AuthenticityParams.fromJson(jsonObject["authenticityParams"]);
-
-  result.customParams = jsonObject["customParams"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/generateDoublePageSpreadImage.html b/docs/document_reader/ProcessParams/generateDoublePageSpreadImage.html deleted file mode 100644 index 5a972b0d9a..0000000000 --- a/docs/document_reader/ProcessParams/generateDoublePageSpreadImage.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - generateDoublePageSpreadImage property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
generateDoublePageSpreadImage
- -
- -
-
-
- -
-
-

generateDoublePageSpreadImage property -

- - - -
- -
- - bool? - generateDoublePageSpreadImage - - -
- - -
-

When enabled together with doublePageSpread and there is a passport -with two pages spread in the image, pages will be cropped, straightened -and aligned together, as if the document was captured on a flatbed scanner.

-
- - -
-

Implementation

-
bool? get generateDoublePageSpreadImage => _generateDoublePageSpreadImage;
-
- -
- - - -
- -
- - void - generateDoublePageSpreadImage=(bool? val) - - -
- - - - -
-

Implementation

-
set generateDoublePageSpreadImage(bool? val) {
-  _generateDoublePageSpreadImage = val;
-  _set({"generateDoublePageSpreadImage": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/imageDpiOutMax.html b/docs/document_reader/ProcessParams/imageDpiOutMax.html deleted file mode 100644 index f0a57ef31e..0000000000 --- a/docs/document_reader/ProcessParams/imageDpiOutMax.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - imageDpiOutMax property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageDpiOutMax
- -
- -
-
-
- -
-
-

imageDpiOutMax property -

- - - -
- -
- - int? - imageDpiOutMax - - -
- - -
-

This option controls maximum resolution in dpi of output images. -Resolution will remain original in case 0 is set.

-
- - -
-

Implementation

-
int? get imageDpiOutMax => _imageDpiOutMax;
-
- -
- - - -
- -
- - void - imageDpiOutMax=(int? val) - - -
- - - - -
-

Implementation

-
set imageDpiOutMax(int? val) {
-  _imageDpiOutMax = val;
-  _set({"imageDpiOutMax": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/imageOutputMaxHeight.html b/docs/document_reader/ProcessParams/imageOutputMaxHeight.html deleted file mode 100644 index 5d48a292c6..0000000000 --- a/docs/document_reader/ProcessParams/imageOutputMaxHeight.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - imageOutputMaxHeight property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageOutputMaxHeight
- -
- -
-
-
- -
-
-

imageOutputMaxHeight property -

- - - -
- -
- - int? - imageOutputMaxHeight - - -
- - -
-

Maximum height of output images. In pixels.

-
- - -
-

Implementation

-
int? get imageOutputMaxHeight => _imageOutputMaxHeight;
-
- -
- - - -
- -
- - void - imageOutputMaxHeight=(int? val) - - -
- - - - -
-

Implementation

-
set imageOutputMaxHeight(int? val) {
-  _imageOutputMaxHeight = val;
-  _set({"imageOutputMaxHeight": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/imageOutputMaxWidth.html b/docs/document_reader/ProcessParams/imageOutputMaxWidth.html deleted file mode 100644 index bae3f41e7c..0000000000 --- a/docs/document_reader/ProcessParams/imageOutputMaxWidth.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - imageOutputMaxWidth property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageOutputMaxWidth
- -
- -
-
-
- -
-
-

imageOutputMaxWidth property -

- - - -
- -
- - int? - imageOutputMaxWidth - - -
- - -
-

Maximum width of output images. In pixels.

-
- - -
-

Implementation

-
int? get imageOutputMaxWidth => _imageOutputMaxWidth;
-
- -
- - - -
- -
- - void - imageOutputMaxWidth=(int? val) - - -
- - - - -
-

Implementation

-
set imageOutputMaxWidth(int? val) {
-  _imageOutputMaxWidth = val;
-  _set({"imageOutputMaxWidth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/imageQA.html b/docs/document_reader/ProcessParams/imageQA.html deleted file mode 100644 index b2b23d4acf..0000000000 --- a/docs/document_reader/ProcessParams/imageQA.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - imageQA property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageQA
- -
- -
-
-
- -
-
-

imageQA property -

- - - -
- -
- - ImageQA - imageQA - - -
- - -
-

Controls properties of ImageQA checks.

-
- - -
-

Implementation

-
ImageQA get imageQA => _imageQA;
-
- -
- - - -
- -
- - void - imageQA=(ImageQA val) - - -
- - - - -
-

Implementation

-
set imageQA(ImageQA val) {
-  (_imageQA = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/integralImage.html b/docs/document_reader/ProcessParams/integralImage.html deleted file mode 100644 index 6214f8e1ca..0000000000 --- a/docs/document_reader/ProcessParams/integralImage.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - integralImage property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
integralImage
- -
- -
-
-
- -
-
-

integralImage property -

- - - -
- -
- - bool? - integralImage - - -
- - -
-

Allows to build an integral image, taking into account the quality of -fixation of each of the individual images.

-
- - -
-

Implementation

-
bool? get integralImage => _integralImage;
-
- -
- - - -
- -
- - void - integralImage=(bool? val) - - -
- - - - -
-

Implementation

-
set integralImage(bool? val) {
-  _integralImage = val;
-  _set({"integralImage": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/lcidFilter.html b/docs/document_reader/ProcessParams/lcidFilter.html deleted file mode 100644 index 03a1cf225b..0000000000 --- a/docs/document_reader/ProcessParams/lcidFilter.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - lcidFilter property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
lcidFilter
- -
- -
-
-
- -
-
-

lcidFilter property -

- - - -
- -
- - List<LCID>? - lcidFilter - - -
- - -
-

The whitelist of LCID types to use during the recognition.

-
- - -
-

Implementation

-
List<LCID>? get lcidFilter => _lcidFilter;
-
- -
- - - -
- -
- - void - lcidFilter=(List<LCID>? val) - - -
- - - - -
-

Implementation

-
set lcidFilter(List<LCID>? val) {
-  _lcidFilter = val;
-  _set({"lcidFilter": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/lcidIgnoreFilter.html b/docs/document_reader/ProcessParams/lcidIgnoreFilter.html deleted file mode 100644 index fbcc89a5a5..0000000000 --- a/docs/document_reader/ProcessParams/lcidIgnoreFilter.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - lcidIgnoreFilter property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
lcidIgnoreFilter
- -
- -
-
-
- -
-
-

lcidIgnoreFilter property -

- - - -
- -
- - List<LCID>? - lcidIgnoreFilter - - -
- - -
-

The list of LCID types to ignore during the recognition. -If empty, values with all LCID types will be extracted. -Narrowing down the list can reduce processing time.

-
- - -
-

Implementation

-
List<LCID>? get lcidIgnoreFilter => _lcidIgnoreFilter;
-
- -
- - - -
- -
- - void - lcidIgnoreFilter=(List<LCID>? val) - - -
- - - - -
-

Implementation

-
set lcidIgnoreFilter(List<LCID>? val) {
-  _lcidIgnoreFilter = val;
-  _set({"lcidIgnoreFilter": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/logs.html b/docs/document_reader/ProcessParams/logs.html deleted file mode 100644 index 9b8a67d412..0000000000 --- a/docs/document_reader/ProcessParams/logs.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - logs property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
logs
- -
- -
-
-
- -
-
-

logs property -

- - - -
- -
- - bool? - logs - - -
- - -
-

If set to true, the DocumentReader logs will be shown in the console.

-
- - -
-

Implementation

-
bool? get logs => _logs;
-
- -
- - - -
- -
- - void - logs=(bool? val) - - -
- - - - -
-

Implementation

-
set logs(bool? val) {
-  _logs = val;
-  _set({"logs": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/manualCrop.html b/docs/document_reader/ProcessParams/manualCrop.html deleted file mode 100644 index 35e4dab264..0000000000 --- a/docs/document_reader/ProcessParams/manualCrop.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - manualCrop property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
manualCrop
- -
- -
-
-
- -
-
-

manualCrop property -

- - - -
- -
- - bool? - manualCrop - - -
- - -
-

If set to true, allows you to manually set the document's bounds -after it is detected.

-
- - -
-

Implementation

-
bool? get manualCrop => _manualCrop;
-
- -
- - - -
- -
- - void - manualCrop=(bool? val) - - -
- - - - -
-

Implementation

-
set manualCrop(bool? val) {
-  _manualCrop = val;
-  _set({"manualCrop": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/matchTextFieldMask.html b/docs/document_reader/ProcessParams/matchTextFieldMask.html deleted file mode 100644 index d4d19372d0..0000000000 --- a/docs/document_reader/ProcessParams/matchTextFieldMask.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - matchTextFieldMask property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
matchTextFieldMask
- -
- -
-
-
- -
-
-

matchTextFieldMask property -

- - - -
- -
- - bool? - matchTextFieldMask - - -
- - -
-

When disabled, text field OCR will be done as is and then the recognized -value will be matched to the field mask for validity. If enabled, we -are trying to read a field value with maximum efforts to match the mask -and provide a correctly formatted value, making assumptions based on the -provided field mask in the template.

-
- - -
-

Implementation

-
bool? get matchTextFieldMask => _matchTextFieldMask;
-
- -
- - - -
- -
- - void - matchTextFieldMask=(bool? val) - - -
- - - - -
-

Implementation

-
set matchTextFieldMask(bool? val) {
-  _matchTextFieldMask = val;
-  _set({"matchTextFieldMask": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/measureSystem.html b/docs/document_reader/ProcessParams/measureSystem.html deleted file mode 100644 index f8dd7916c4..0000000000 --- a/docs/document_reader/ProcessParams/measureSystem.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - measureSystem property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
measureSystem
- -
- -
-
-
- -
-
-

measureSystem property -

- - - -
- -
- - MeasureSystem? - measureSystem - - -
- - -
-

Measure system of fields' values that are presented in results. -Default: If the country code is US or LR or MM, the -MeasureSystem.IMPERIAL system of measurement, otherwise, the MeasureSystem.METRIC.

-
- - -
-

Implementation

-
MeasureSystem? get measureSystem => _measureSystem;
-
- -
- - - -
- -
- - void - measureSystem=(MeasureSystem? val) - - -
- - - - -
-

Implementation

-
set measureSystem(MeasureSystem? val) {
-  _measureSystem = val;
-  _set({"measureSystem": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/minDPI.html b/docs/document_reader/ProcessParams/minDPI.html deleted file mode 100644 index 8af8d453cf..0000000000 --- a/docs/document_reader/ProcessParams/minDPI.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - minDPI property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
minDPI
- -
- -
-
-
- -
-
-

minDPI property -

- - - -
- -
- - int? - minDPI - - -
- - -
-

Allows you to set the minimum acceptable DPI value of the camera frame -that is passed for recognition. Camera frames the DPI of which are less -than you set won't be passed for recognition.

-
- - -
-

Implementation

-
int? get minDPI => _minDPI;
-
- -
- - - -
- -
- - void - minDPI=(int? val) - - -
- - - - -
-

Implementation

-
set minDPI(int? val) {
-  _minDPI = val;
-  _set({"minDPI": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/minimalHolderAge.html b/docs/document_reader/ProcessParams/minimalHolderAge.html deleted file mode 100644 index 3baf21f125..0000000000 --- a/docs/document_reader/ProcessParams/minimalHolderAge.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - minimalHolderAge property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
minimalHolderAge
- -
- -
-
-
- -
-
-

minimalHolderAge property -

- - - -
- -
- - int? - minimalHolderAge - - -
- - -
-

This options allows specifying the minimal age in years of the document -holder for the document to be considered valid.

-
- - -
-

Implementation

-
int? get minimalHolderAge => _minimalHolderAge;
-
- -
- - - -
- -
- - void - minimalHolderAge=(int? val) - - -
- - - - -
-

Implementation

-
set minimalHolderAge(int? val) {
-  _minimalHolderAge = val;
-  _set({"minimalHolderAge": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/mrzFormatsFilter.html b/docs/document_reader/ProcessParams/mrzFormatsFilter.html deleted file mode 100644 index 12954e5f4c..0000000000 --- a/docs/document_reader/ProcessParams/mrzFormatsFilter.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - mrzFormatsFilter property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mrzFormatsFilter
- -
- -
-
-
- -
-
-

mrzFormatsFilter property -

- - - -
- -
- - List<MRZFormat>? - mrzFormatsFilter - - -
- - -
-

This option allows limiting MRZ formats to be recognized by specifying -them in array.

-
- - -
-

Implementation

-
List<MRZFormat>? get mrzFormatsFilter => _mrzFormatsFilter;
-
- -
- - - -
- -
- - void - mrzFormatsFilter=(List<MRZFormat>? val) - - -
- - - - -
-

Implementation

-
set mrzFormatsFilter(List<MRZFormat>? val) {
-  _mrzFormatsFilter = val;
-  _set({"mrzFormatsFilter": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/multiDocOnImage.html b/docs/document_reader/ProcessParams/multiDocOnImage.html deleted file mode 100644 index 4a431fa4ec..0000000000 --- a/docs/document_reader/ProcessParams/multiDocOnImage.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - multiDocOnImage property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multiDocOnImage
- -
- -
-
-
- -
-
-

multiDocOnImage property -

- - - -
- -
- - bool? - multiDocOnImage - - -
- - -
-

This option allows locating and cropping multiple documents -from one image if enabled.

-
- - -
-

Implementation

-
bool? get multiDocOnImage => _multiDocOnImage;
-
- -
- - - -
- -
- - void - multiDocOnImage=(bool? val) - - -
- - - - -
-

Implementation

-
set multiDocOnImage(bool? val) {
-  _multiDocOnImage = val;
-  _set({"multiDocOnImage": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/multipageProcessing.html b/docs/document_reader/ProcessParams/multipageProcessing.html deleted file mode 100644 index c1f66c2a3f..0000000000 --- a/docs/document_reader/ProcessParams/multipageProcessing.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - multipageProcessing property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
multipageProcessing
- -
- -
-
-
- -
-
-

multipageProcessing property -

- - - -
- -
- - bool? - multipageProcessing - - -
- - -
-

If set to true, processing of more than one page of the document -(if they exist) will be triggered, otherwise, only one page will be processed.

-
- - -
-

Implementation

-
bool? get multipageProcessing => _multipageProcessing;
-
- -
- - - -
- -
- - void - multipageProcessing=(bool? val) - - -
- - - - -
-

Implementation

-
set multipageProcessing(bool? val) {
-  _multipageProcessing = val;
-  _set({"multipageProcessing": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/noGraphics.html b/docs/document_reader/ProcessParams/noGraphics.html deleted file mode 100644 index 3e340739ac..0000000000 --- a/docs/document_reader/ProcessParams/noGraphics.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - noGraphics property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
noGraphics
- -
- -
-
-
- -
-
-

noGraphics property -

- - - -
- -
- - bool? - noGraphics - - -
- - -
-

When enabled no graphic fields will be cropped from document image.

-
- - -
-

Implementation

-
bool? get noGraphics => _noGraphics;
-
- -
- - - -
- -
- - void - noGraphics=(bool? val) - - -
- - - - -
-

Implementation

-
set noGraphics(bool? val) {
-  _noGraphics = val;
-  _set({"noGraphics": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/parseBarcodes.html b/docs/document_reader/ProcessParams/parseBarcodes.html deleted file mode 100644 index 066714ff4d..0000000000 --- a/docs/document_reader/ProcessParams/parseBarcodes.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - parseBarcodes property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
parseBarcodes
- -
- -
-
-
- -
-
-

parseBarcodes property -

- - - -
- -
- - bool? - parseBarcodes - - -
- - -
-

When set to false, the Barcode code parsing will be skipped -and the raw information from the code will be returned instead.

-
- - -
-

Implementation

-
bool? get parseBarcodes => _parseBarcodes;
-
- -
- - - -
- -
- - void - parseBarcodes=(bool? val) - - -
- - - - -
-

Implementation

-
set parseBarcodes(bool? val) {
-  _parseBarcodes = val;
-  _set({"parseBarcodes": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/perspectiveAngle.html b/docs/document_reader/ProcessParams/perspectiveAngle.html deleted file mode 100644 index f6fd4012f7..0000000000 --- a/docs/document_reader/ProcessParams/perspectiveAngle.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - perspectiveAngle property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
perspectiveAngle
- -
- -
-
-
- -
-
-

perspectiveAngle property -

- - - -
- -
- - int? - perspectiveAngle - - -
- - -
-

Allows you to set the maximum value of the deviation of the corners -of the document from the value of 90 degrees.

-
- - -
-

Implementation

-
int? get perspectiveAngle => _perspectiveAngle;
-
- -
- - - -
- -
- - void - perspectiveAngle=(int? val) - - -
- - - - -
-

Implementation

-
set perspectiveAngle(int? val) {
-  _perspectiveAngle = val;
-  _set({"perspectiveAngle": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/processAuth.html b/docs/document_reader/ProcessParams/processAuth.html deleted file mode 100644 index 987d740375..0000000000 --- a/docs/document_reader/ProcessParams/processAuth.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - processAuth property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
processAuth
- -
- -
-
-
- -
-
-

processAuth property -

- - - -
- -
- - int? - processAuth - - -
- - -
-

Accepts sum of Authenticity values.

-
- - -
-

Implementation

-
int? get processAuth => _processAuth;
-
- -
- - - -
- -
- - void - processAuth=(int? val) - - -
- - - - -
-

Implementation

-
set processAuth(int? val) {
-  _processAuth = val;
-  _set({"processAuth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/respectImageQuality.html b/docs/document_reader/ProcessParams/respectImageQuality.html deleted file mode 100644 index 2b47868cc7..0000000000 --- a/docs/document_reader/ProcessParams/respectImageQuality.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - respectImageQuality property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
respectImageQuality
- -
- -
-
-
- -
-
-

respectImageQuality property -

- - - -
- -
- - bool? - respectImageQuality - - -
- - -
-

When enabled, image quality checks status affects document optical -and overall status.

-
- - -
-

Implementation

-
bool? get respectImageQuality => _respectImageQuality;
-
- -
- - - -
- -
- - void - respectImageQuality=(bool? val) - - -
- - - - -
-

Implementation

-
set respectImageQuality(bool? val) {
-  _respectImageQuality = val;
-  _set({"respectImageQuality": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/resultTypeOutput.html b/docs/document_reader/ProcessParams/resultTypeOutput.html deleted file mode 100644 index ee83502416..0000000000 --- a/docs/document_reader/ProcessParams/resultTypeOutput.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - resultTypeOutput property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
resultTypeOutput
- -
- -
-
-
- -
-
-

resultTypeOutput property -

- - - -
- -
- - List<ResultType>? - resultTypeOutput - - -
- - -
-

Types of results to return in response.

-
- - -
-

Implementation

-
List<ResultType>? get resultTypeOutput => _resultTypeOutput;
-
- -
- - - -
- -
- - void - resultTypeOutput=(List<ResultType>? val) - - -
- - - - -
-

Implementation

-
set resultTypeOutput(List<ResultType>? val) {
-  _resultTypeOutput = val;
-  _set({"resultTypeOutput": val?.map((e) => e.value).toList()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/returnCroppedBarcode.html b/docs/document_reader/ProcessParams/returnCroppedBarcode.html deleted file mode 100644 index 7435d02266..0000000000 --- a/docs/document_reader/ProcessParams/returnCroppedBarcode.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - returnCroppedBarcode property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
returnCroppedBarcode
- -
- -
-
-
- -
-
-

returnCroppedBarcode property -

- - - -
- -
- - bool? - returnCroppedBarcode - - -
- - -
-

If set to true, an image with cropped barcode will be returned.

-
- - -
-

Implementation

-
bool? get returnCroppedBarcode => _returnCroppedBarcode;
-
- -
- - - -
- -
- - void - returnCroppedBarcode=(bool? val) - - -
- - - - -
-

Implementation

-
set returnCroppedBarcode(bool? val) {
-  _returnCroppedBarcode = val;
-  _set({"returnCroppedBarcode": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/returnUncroppedImage.html b/docs/document_reader/ProcessParams/returnUncroppedImage.html deleted file mode 100644 index 0f1dd9f61c..0000000000 --- a/docs/document_reader/ProcessParams/returnUncroppedImage.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - returnUncroppedImage property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
returnUncroppedImage
- -
- -
-
-
- -
-
-

returnUncroppedImage property -

- - - -
- -
- - bool? - returnUncroppedImage - - -
- - -
-

If set to true, an original (uncropped) image will be received, - which is sent for recognition.

-
- - -
-

Implementation

-
bool? get returnUncroppedImage => _returnUncroppedImage;
-
- -
- - - -
- -
- - void - returnUncroppedImage=(bool? val) - - -
- - - - -
-

Implementation

-
set returnUncroppedImage(bool? val) {
-  _returnUncroppedImage = val;
-  _set({"returnUncroppedImage": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/rfidParams.html b/docs/document_reader/ProcessParams/rfidParams.html deleted file mode 100644 index 4a0f38130c..0000000000 --- a/docs/document_reader/ProcessParams/rfidParams.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - rfidParams property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidParams
- -
- -
-
-
- -
-
-

rfidParams property -

- - - -
- -
- - RFIDParams? - rfidParams - - -
- - -
-

Custom RFID params.

-
- - -
-

Implementation

-
RFIDParams? get rfidParams => _rfidParams;
-
- -
- - - -
- -
- - void - rfidParams=(RFIDParams? val) - - -
- - - - -
-

Implementation

-
set rfidParams(RFIDParams? val) {
-  _rfidParams = val;
-  _set({"rfidParams": val?.toJson()});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/scenario.html b/docs/document_reader/ProcessParams/scenario.html deleted file mode 100644 index 79d8aee77b..0000000000 --- a/docs/document_reader/ProcessParams/scenario.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - scenario property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
scenario
- -
- -
-
-
- -
-
-

scenario property -

- - - -
- -
- - Scenario? - scenario - - -
- - -
-

Documents processing scenario.

-
- - -
-

Implementation

-
Scenario? get scenario => _scenario;
-
- -
- - - -
- -
- - void - scenario=(Scenario? val) - - -
- - - - -
-

Implementation

-
set scenario(Scenario? val) {
-  _scenario = val;
-  _set({"scenario": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/sessionLogFolder.html b/docs/document_reader/ProcessParams/sessionLogFolder.html deleted file mode 100644 index 99c5767c70..0000000000 --- a/docs/document_reader/ProcessParams/sessionLogFolder.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - sessionLogFolder property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sessionLogFolder
- -
- -
-
-
- -
-
-

sessionLogFolder property -

- - - -
- -
- - String? - sessionLogFolder - - -
- - -
-

The path to the folder of the current session. Before using this, save logs. -Each new session provides a different path.

-
- - -
-

Implementation

-
String? get sessionLogFolder => _sessionLogFolder;
-
- -
- - - -
- -
- - void - sessionLogFolder=(String? val) - - -
- - - - -
-

Implementation

-
set sessionLogFolder(String? val) {
-  _sessionLogFolder = val;
-  _set({"sessionLogFolder": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/shiftExpiryDate.html b/docs/document_reader/ProcessParams/shiftExpiryDate.html deleted file mode 100644 index 103bc79421..0000000000 --- a/docs/document_reader/ProcessParams/shiftExpiryDate.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - shiftExpiryDate property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
shiftExpiryDate
- -
- -
-
-
- -
-
-

shiftExpiryDate property -

- - - -
- -
- - int? - shiftExpiryDate - - -
- - -
-

This option allows shifting the date of expiry into the future or past -for number of months specified. This is useful, for example, in some cases -when document might be still valid for some period after original -expiration date to prevent negative validity status for such documents. -Or by shifting the date to the past will set negative validity -for the documents that is about to expire in a specified number of months.

-
- - -
-

Implementation

-
int? get shiftExpiryDate => _shiftExpiryDate;
-
- -
- - - -
- -
- - void - shiftExpiryDate=(int? val) - - -
- - - - -
-

Implementation

-
set shiftExpiryDate(int? val) {
-  _shiftExpiryDate = val;
-  _set({"shiftExpiryDate": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/shouldReturnPackageForReprocess.html b/docs/document_reader/ProcessParams/shouldReturnPackageForReprocess.html deleted file mode 100644 index 1f83183805..0000000000 --- a/docs/document_reader/ProcessParams/shouldReturnPackageForReprocess.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - shouldReturnPackageForReprocess property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
shouldReturnPackageForReprocess
- -
- -
-
-
- -
-
-

shouldReturnPackageForReprocess property -

- - - -
- -
- - bool? - shouldReturnPackageForReprocess - - -
- - -
-

When set to true, the rawResults property of the Results -will contain the encrypted containers of scanning results -that may be used for later reprocessing.

-
- - -
-

Implementation

-
bool? get shouldReturnPackageForReprocess => _shouldReturnPackageForReprocess;
-
- -
- - - -
- -
- - void - shouldReturnPackageForReprocess=(bool? val) - - -
- - - - -
-

Implementation

-
set shouldReturnPackageForReprocess(bool? val) {
-  _shouldReturnPackageForReprocess = val;
-  _set({"shouldReturnPackageForReprocess": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/splitNames.html b/docs/document_reader/ProcessParams/splitNames.html deleted file mode 100644 index 202eb016d6..0000000000 --- a/docs/document_reader/ProcessParams/splitNames.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - splitNames property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
splitNames
- -
- -
-
-
- -
-
-

splitNames property -

- - - -
- -
- - bool? - splitNames - - -
- - -
-

When enabled, the Surname and GivenNames field (TextField) -will be divided into fields with fieldTypes FieldType.FIRST_NAME, -FieldType.SECOND_NAME, FieldType.THIRD_NAME, FieldType.LAST_NAME.

-
- - -
-

Implementation

-
bool? get splitNames => _splitNames;
-
- -
- - - -
- -
- - void - splitNames=(bool? val) - - -
- - - - -
-

Implementation

-
set splitNames(bool? val) {
-  _splitNames = val;
-  _set({"splitNames": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/testSetters.html b/docs/document_reader/ProcessParams/testSetters.html deleted file mode 100644 index ac84aa4da5..0000000000 --- a/docs/document_reader/ProcessParams/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/timeout.html b/docs/document_reader/ProcessParams/timeout.html deleted file mode 100644 index c87cd22178..0000000000 --- a/docs/document_reader/ProcessParams/timeout.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - timeout property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
timeout
- -
- -
-
-
- -
-
-

timeout property -

- - - -
- -
- - double? - timeout - - -
- - -
-

Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the scenario starts. -Setting value to 0 means infinity.

-
- - -
-

Implementation

-
double? get timeout => _timeout;
-
- -
- - - -
- -
- - void - timeout=(double? val) - - -
- - - - -
-

Implementation

-
set timeout(double? val) {
-  _timeout = val;
-  _set({"timeout": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/timeoutFromFirstDetect.html b/docs/document_reader/ProcessParams/timeoutFromFirstDetect.html deleted file mode 100644 index fe611b6d16..0000000000 --- a/docs/document_reader/ProcessParams/timeoutFromFirstDetect.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - timeoutFromFirstDetect property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
timeoutFromFirstDetect
- -
- -
-
-
- -
-
-

timeoutFromFirstDetect property -

- - - -
- -
- - double? - timeoutFromFirstDetect - - -
- - -
-

Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the document is detected. -Setting value to 0 means infinity.

-
- - -
-

Implementation

-
double? get timeoutFromFirstDetect => _timeoutFromFirstDetect;
-
- -
- - - -
- -
- - void - timeoutFromFirstDetect=(double? val) - - -
- - - - -
-

Implementation

-
set timeoutFromFirstDetect(double? val) {
-  _timeoutFromFirstDetect = val;
-  _set({"timeoutFromFirstDetect": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/timeoutFromFirstDocType.html b/docs/document_reader/ProcessParams/timeoutFromFirstDocType.html deleted file mode 100644 index ffe0053152..0000000000 --- a/docs/document_reader/ProcessParams/timeoutFromFirstDocType.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - timeoutFromFirstDocType property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
timeoutFromFirstDocType
- -
- -
-
-
- -
-
-

timeoutFromFirstDocType property -

- - - -
- -
- - double? - timeoutFromFirstDocType - - -
- - -
-

Allows you to set the time limit for document recognition (in seconds), -beyond which the recognition does not continue regardless of its result. -The countdown starts from the moment the document type is recognized. -Setting value to 0 means infinity.

-
- - -
-

Implementation

-
double? get timeoutFromFirstDocType => _timeoutFromFirstDocType;
-
- -
- - - -
- -
- - void - timeoutFromFirstDocType=(double? val) - - -
- - - - -
-

Implementation

-
set timeoutFromFirstDocType(double? val) {
-  _timeoutFromFirstDocType = val;
-  _set({"timeoutFromFirstDocType": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/toJson.html b/docs/document_reader/ProcessParams/toJson.html deleted file mode 100644 index 3d52e26800..0000000000 --- a/docs/document_reader/ProcessParams/toJson.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - toJson method - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "multipageProcessing": multipageProcessing,
-      "debugSaveImages": debugSaveImages,
-      "debugSaveLogs": debugSaveLogs,
-      "returnUncroppedImage": returnUncroppedImage,
-      "uvTorchEnabled": uvTorchEnabled,
-      "debugSaveCroppedImages": debugSaveCroppedImages,
-      "disableFocusingCheck": disableFocusingCheck,
-      "debugSaveRFIDSession": debugSaveRFIDSession,
-      "doublePageSpread": doublePageSpread,
-      "manualCrop": manualCrop,
-      "integralImage": integralImage,
-      "returnCroppedBarcode": returnCroppedBarcode,
-      "checkRequiredTextFields": checkRequiredTextFields,
-      "depersonalizeLog": depersonalizeLog,
-      "generateDoublePageSpreadImage": generateDoublePageSpreadImage,
-      "alreadyCropped": alreadyCropped,
-      "matchTextFieldMask": matchTextFieldMask,
-      "updateOCRValidityByGlare": updateOCRValidityByGlare,
-      "noGraphics": noGraphics,
-      "multiDocOnImage": multiDocOnImage,
-      "forceReadMrzBeforeLocate": forceReadMrzBeforeLocate,
-      "parseBarcodes": parseBarcodes,
-      "shouldReturnPackageForReprocess": shouldReturnPackageForReprocess,
-      "disablePerforationOCR": disablePerforationOCR,
-      "respectImageQuality": respectImageQuality,
-      "splitNames": splitNames,
-      "useFaceApi": useFaceApi,
-      "useAuthenticityCheck": useAuthenticityCheck,
-      // ignore: deprecated_member_use_from_same_package
-      "checkHologram": checkHologram,
-      "measureSystem": measureSystem?.value,
-      "barcodeParserType": barcodeParserType,
-      "perspectiveAngle": perspectiveAngle,
-      "minDPI": minDPI,
-      "imageDpiOutMax": imageDpiOutMax,
-      "forceDocID": forceDocID,
-      "forceDocFormat": forceDocFormat?.value,
-      "shiftExpiryDate": shiftExpiryDate,
-      "minimalHolderAge": minimalHolderAge,
-      "imageOutputMaxHeight": imageOutputMaxHeight,
-      "imageOutputMaxWidth": imageOutputMaxWidth,
-      "processAuth": processAuth,
-      "convertCase": convertCase,
-      "dateFormat": dateFormat,
-      "scenario": scenario?.value,
-      "captureButtonScenario": captureButtonScenario?.value,
-      "sessionLogFolder": sessionLogFolder,
-      "timeout": timeout,
-      "timeoutFromFirstDetect": timeoutFromFirstDetect,
-      "timeoutFromFirstDocType": timeoutFromFirstDocType,
-      "documentAreaMin": documentAreaMin,
-      "documentIDList": documentIDList,
-      "barcodeTypes": barcodeTypes?.map((e) => e.value).toList(),
-      "fieldTypesFilter": fieldTypesFilter?.map((e) => e.value).toList(),
-      "resultTypeOutput": resultTypeOutput?.map((e) => e.value).toList(),
-      "mrzFormatsFilter": mrzFormatsFilter?.map((e) => e.value).toList(),
-      "documentGroupFilter":
-          documentGroupFilter?.map((e) => e.value).toList(),
-      "lcidIgnoreFilter": lcidIgnoreFilter?.map((e) => e.value).toList(),
-      "lcidFilter": lcidFilter?.map((e) => e.value).toList(),
-      "imageQA": imageQA.toJson(),
-      "rfidParams": rfidParams?.toJson(),
-      "faceApiParams": faceApiParams?.toJson(),
-      "backendProcessingConfig": backendProcessingConfig?.toJson(),
-      "authenticityParams": authenticityParams.toJson(),
-      "customParams": customParams,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/updateOCRValidityByGlare.html b/docs/document_reader/ProcessParams/updateOCRValidityByGlare.html deleted file mode 100644 index acaac2f309..0000000000 --- a/docs/document_reader/ProcessParams/updateOCRValidityByGlare.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - updateOCRValidityByGlare property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
updateOCRValidityByGlare
- -
- -
-
-
- -
-
-

updateOCRValidityByGlare property -

- - - -
- -
- - bool? - updateOCRValidityByGlare - - -
- - -
-

When enabled, fail OCR field validity, if there is a glare over the text -ƒfield on the image.

-
- - -
-

Implementation

-
bool? get updateOCRValidityByGlare => _updateOCRValidityByGlare;
-
- -
- - - -
- -
- - void - updateOCRValidityByGlare=(bool? val) - - -
- - - - -
-

Implementation

-
set updateOCRValidityByGlare(bool? val) {
-  _updateOCRValidityByGlare = val;
-  _set({"updateOCRValidityByGlare": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/useAuthenticityCheck.html b/docs/document_reader/ProcessParams/useAuthenticityCheck.html deleted file mode 100644 index 9f33718e73..0000000000 --- a/docs/document_reader/ProcessParams/useAuthenticityCheck.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - useAuthenticityCheck property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
useAuthenticityCheck
- -
- -
-
-
- -
-
-

useAuthenticityCheck property -

- - - -
- -
- - bool? - useAuthenticityCheck - - -
- - -
-

This parameter is used to enable document authenticity check.

-
- - -
-

Implementation

-
bool? get useAuthenticityCheck => _useAuthenticityCheck;
-
- -
- - - -
- -
- - void - useAuthenticityCheck=(bool? val) - - -
- - - - -
-

Implementation

-
set useAuthenticityCheck(bool? val) {
-  _useAuthenticityCheck = val;
-  _set({"useAuthenticityCheck": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/useFaceApi.html b/docs/document_reader/ProcessParams/useFaceApi.html deleted file mode 100644 index 0de1733625..0000000000 --- a/docs/document_reader/ProcessParams/useFaceApi.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - useFaceApi property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
useFaceApi
- -
- -
-
-
- -
-
-

useFaceApi property -

- - - -
- -
- - bool? - useFaceApi - - -
- - -
-

Use this property to set up the Face API integration.

-
- - -
-

Implementation

-
bool? get useFaceApi => _useFaceApi;
-
- -
- - - -
- -
- - void - useFaceApi=(bool? val) - - -
- - - - -
-

Implementation

-
set useFaceApi(bool? val) {
-  _useFaceApi = val;
-  _set({"useFaceApi": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessParams/uvTorchEnabled.html b/docs/document_reader/ProcessParams/uvTorchEnabled.html deleted file mode 100644 index 2e8c7febeb..0000000000 --- a/docs/document_reader/ProcessParams/uvTorchEnabled.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - uvTorchEnabled property - ProcessParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
uvTorchEnabled
- -
- -
-
-
- -
-
-

uvTorchEnabled property -

- - - -
- -
- - bool? - uvTorchEnabled - - -
- - -
-

Set to true when torch is connected and enabled by user.

-

Android only.

-
- - -
-

Implementation

-
bool? get uvTorchEnabled => _uvTorchEnabled;
-
- -
- - - -
- -
- - void - uvTorchEnabled=(bool? val) - - -
- - - - -
-

Implementation

-
set uvTorchEnabled(bool? val) {
-  _uvTorchEnabled = val;
-  _set({"uvTorchEnabled": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessingFinishedStatus-enum-sidebar.html b/docs/document_reader/ProcessingFinishedStatus-enum-sidebar.html deleted file mode 100644 index 242c9cf601..0000000000 --- a/docs/document_reader/ProcessingFinishedStatus-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ProcessingFinishedStatus
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NOT_READY
  10. -
  11. READY
  12. -
  13. TIMEOUT
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/ProcessingFinishedStatus.html b/docs/document_reader/ProcessingFinishedStatus.html deleted file mode 100644 index 3537dbf377..0000000000 --- a/docs/document_reader/ProcessingFinishedStatus.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - - - ProcessingFinishedStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ProcessingFinishedStatus
- -
- -
-
-
- -
-
- -

- ProcessingFinishedStatus - enum - - -

-
- - -
-

Enumeration contains identifiers that determine the processing finish status.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ProcessingFinishedStatus(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const ProcessingFinishedStatus - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- ProcessingFinishedStatus(-1) -
-
- -
- NOT_READY - → const ProcessingFinishedStatus - - -
-
-

Processing is not finished.

- - -
- ProcessingFinishedStatus(0) -
-
- -
- READY - → const ProcessingFinishedStatus - - -
-
-

Processing is finished.

- - -
- ProcessingFinishedStatus(1) -
-
- -
- TIMEOUT - → const ProcessingFinishedStatus - - -
-
-

Processing is finished by timeout.

- - -
- ProcessingFinishedStatus(2) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - ProcessingFinishedStatus? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ProcessingFinishedStatus> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NOT_READY, READY, TIMEOUT] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessingFinishedStatus/ProcessingFinishedStatus.html b/docs/document_reader/ProcessingFinishedStatus/ProcessingFinishedStatus.html deleted file mode 100644 index d8eef9aa1b..0000000000 --- a/docs/document_reader/ProcessingFinishedStatus/ProcessingFinishedStatus.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ProcessingFinishedStatus constructor - ProcessingFinishedStatus - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ProcessingFinishedStatus
- -
- -
-
-
- -
-
-

ProcessingFinishedStatus constructor -

- -
- const - ProcessingFinishedStatus(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ProcessingFinishedStatus
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessingFinishedStatus/value.html b/docs/document_reader/ProcessingFinishedStatus/value.html deleted file mode 100644 index 8021af27ca..0000000000 --- a/docs/document_reader/ProcessingFinishedStatus/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ProcessingFinishedStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ProcessingFinishedStatus/values-constant.html b/docs/document_reader/ProcessingFinishedStatus/values-constant.html deleted file mode 100644 index e6862dca60..0000000000 --- a/docs/document_reader/ProcessingFinishedStatus/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ProcessingFinishedStatus enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ProcessingFinishedStatus> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAccessControlProcedureType-enum-sidebar.html b/docs/document_reader/RFIDAccessControlProcedureType-enum-sidebar.html deleted file mode 100644 index 0c0b835d98..0000000000 --- a/docs/document_reader/RFIDAccessControlProcedureType-enum-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDAccessControlProcedureType
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. BAC
  10. -
  11. PACE
  12. -
  13. CA
  14. -
  15. TA
  16. -
  17. AA
  18. -
  19. RI
  20. -
  21. CARD_INFO
  22. - -
  23. - Properties -
  24. -
  25. hashCode
  26. -
  27. index
  28. -
  29. runtimeType
  30. -
  31. value
  32. - -
  33. Methods
  34. -
  35. noSuchMethod
  36. -
  37. toString
  38. - -
  39. Operators
  40. -
  41. operator ==
  42. - - - -
  43. Static methods
  44. -
  45. getByValue
  46. - -
  47. Constants
  48. -
  49. values
  50. -
diff --git a/docs/document_reader/RFIDAccessControlProcedureType.html b/docs/document_reader/RFIDAccessControlProcedureType.html deleted file mode 100644 index a6272f6eff..0000000000 --- a/docs/document_reader/RFIDAccessControlProcedureType.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - RFIDAccessControlProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDAccessControlProcedureType
- -
- -
-
-
- -
-
- -

- RFIDAccessControlProcedureType - enum - - -

-
- - - - -
-
- -
Inheritance
-
-
    -
  • Object
  • -
  • Enum
  • -
  • RFIDAccessControlProcedureType
  • -
-
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDAccessControlProcedureType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDAccessControlProcedureType - - -
-
-

Type is not defined.

- - -
- RFIDAccessControlProcedureType(0) -
-
- -
- BAC - → const RFIDAccessControlProcedureType - - -
-
-

Basic Access Control (BAC) / Protection (BAP).

- - -
- RFIDAccessControlProcedureType(1) -
-
- -
- PACE - → const RFIDAccessControlProcedureType - - -
-
-

Password Authenticated Connection Establishment.

- - -
- RFIDAccessControlProcedureType(2) -
-
- -
- CA - → const RFIDAccessControlProcedureType - - -
-
-

Chip Authentication.

- - -
- RFIDAccessControlProcedureType(3) -
-
- -
- TA - → const RFIDAccessControlProcedureType - - -
-
-

Terminal Authentication.

- - -
- RFIDAccessControlProcedureType(4) -
-
- -
- AA - → const RFIDAccessControlProcedureType - - -
-
-

Active Authentication.

- - -
- RFIDAccessControlProcedureType(5) -
-
- -
- RI - → const RFIDAccessControlProcedureType - - -
-
-

Restricted Identification.

- - -
- RFIDAccessControlProcedureType(6) -
-
- -
- CARD_INFO - → const RFIDAccessControlProcedureType - - -
-
-

Card info.

- - -
- RFIDAccessControlProcedureType(10) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDAccessControlProcedureType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDAccessControlProcedureType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, BAC, PACE, CA, TA, AA, RI, CARD_INFO] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAccessControlProcedureType/RFIDAccessControlProcedureType.html b/docs/document_reader/RFIDAccessControlProcedureType/RFIDAccessControlProcedureType.html deleted file mode 100644 index 5bd6229583..0000000000 --- a/docs/document_reader/RFIDAccessControlProcedureType/RFIDAccessControlProcedureType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDAccessControlProcedureType constructor - RFIDAccessControlProcedureType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDAccessControlProcedureType
- -
- -
-
-
- -
-
-

RFIDAccessControlProcedureType constructor -

- -
- const - RFIDAccessControlProcedureType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDAccessControlProcedureType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAccessControlProcedureType/value.html b/docs/document_reader/RFIDAccessControlProcedureType/value.html deleted file mode 100644 index b3e484a6e4..0000000000 --- a/docs/document_reader/RFIDAccessControlProcedureType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDAccessControlProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAccessControlProcedureType/values-constant.html b/docs/document_reader/RFIDAccessControlProcedureType/values-constant.html deleted file mode 100644 index ae3abd16c6..0000000000 --- a/docs/document_reader/RFIDAccessControlProcedureType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDAccessControlProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDAccessControlProcedureType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAuthenticationProcedureType-enum-sidebar.html b/docs/document_reader/RFIDAuthenticationProcedureType-enum-sidebar.html deleted file mode 100644 index f3eaa35ca3..0000000000 --- a/docs/document_reader/RFIDAuthenticationProcedureType-enum-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDAuthenticationProcedureType
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. STANDARD
  10. -
  11. ADVANCED
  12. -
  13. GENERAL
  14. - -
  15. - Properties -
  16. -
  17. hashCode
  18. -
  19. index
  20. -
  21. runtimeType
  22. -
  23. value
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - -
  35. Static methods
  36. -
  37. getByValue
  38. - -
  39. Constants
  40. -
  41. values
  42. -
diff --git a/docs/document_reader/RFIDAuthenticationProcedureType.html b/docs/document_reader/RFIDAuthenticationProcedureType.html deleted file mode 100644 index 2d89cd192d..0000000000 --- a/docs/document_reader/RFIDAuthenticationProcedureType.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - RFIDAuthenticationProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDAuthenticationProcedureType
- -
- -
-
-
- -
-
- -

- RFIDAuthenticationProcedureType - enum - - -

-
- - - - -
-
- -
Inheritance
-
-
    -
  • Object
  • -
  • Enum
  • -
  • RFIDAuthenticationProcedureType
  • -
-
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDAuthenticationProcedureType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDAuthenticationProcedureType - - -
-
-

Not defined.

- - -
- RFIDAuthenticationProcedureType(0) -
-
- -
- STANDARD - → const RFIDAuthenticationProcedureType - - -
-
-

Standard authentication procedure.

- - -
- RFIDAuthenticationProcedureType(1) -
-
- -
- ADVANCED - → const RFIDAuthenticationProcedureType - - -
-
-

Advanced authentication procedure.

- - -
- RFIDAuthenticationProcedureType(2) -
-
- -
- GENERAL - → const RFIDAuthenticationProcedureType - - -
-
-

General authentication procedure.

- - -
- RFIDAuthenticationProcedureType(3) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDAuthenticationProcedureType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDAuthenticationProcedureType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, STANDARD, ADVANCED, GENERAL] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAuthenticationProcedureType/RFIDAuthenticationProcedureType.html b/docs/document_reader/RFIDAuthenticationProcedureType/RFIDAuthenticationProcedureType.html deleted file mode 100644 index 3edee6ed93..0000000000 --- a/docs/document_reader/RFIDAuthenticationProcedureType/RFIDAuthenticationProcedureType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDAuthenticationProcedureType constructor - RFIDAuthenticationProcedureType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDAuthenticationProcedureType
- -
- -
-
-
- -
-
-

RFIDAuthenticationProcedureType constructor -

- -
- const - RFIDAuthenticationProcedureType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDAuthenticationProcedureType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAuthenticationProcedureType/value.html b/docs/document_reader/RFIDAuthenticationProcedureType/value.html deleted file mode 100644 index b374d740f4..0000000000 --- a/docs/document_reader/RFIDAuthenticationProcedureType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDAuthenticationProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDAuthenticationProcedureType/values-constant.html b/docs/document_reader/RFIDAuthenticationProcedureType/values-constant.html deleted file mode 100644 index 8b76ea02f8..0000000000 --- a/docs/document_reader/RFIDAuthenticationProcedureType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDAuthenticationProcedureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDAuthenticationProcedureType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDCertificateType-enum-sidebar.html b/docs/document_reader/RFIDCertificateType-enum-sidebar.html deleted file mode 100644 index b71fa6a4d2..0000000000 --- a/docs/document_reader/RFIDCertificateType-enum-sidebar.html +++ /dev/null @@ -1,41 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDCertificateType
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. CSCA
  10. -
  11. CSCA_LINK
  12. -
  13. DS
  14. -
  15. MLS
  16. -
  17. DEV_LS
  18. -
  19. DEF_LS
  20. -
  21. BLS
  22. -
  23. LDS2
  24. -
  25. BCS
  26. -
  27. BCSNC
  28. - -
  29. - Properties -
  30. -
  31. hashCode
  32. -
  33. index
  34. -
  35. runtimeType
  36. -
  37. value
  38. - -
  39. Methods
  40. -
  41. noSuchMethod
  42. -
  43. toString
  44. - -
  45. Operators
  46. -
  47. operator ==
  48. - - - -
  49. Static methods
  50. -
  51. getByValue
  52. - -
  53. Constants
  54. -
  55. values
  56. -
diff --git a/docs/document_reader/RFIDCertificateType.html b/docs/document_reader/RFIDCertificateType.html deleted file mode 100644 index d20bb1849e..0000000000 --- a/docs/document_reader/RFIDCertificateType.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - RFIDCertificateType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDCertificateType
- -
- -
-
-
- -
-
- -

- RFIDCertificateType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDCertificateType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(0) -
-
- -
- CSCA - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(1) -
-
- - -
- - - -
- RFIDCertificateType(2) -
-
- -
- DS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(3) -
-
- -
- MLS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(4) -
-
- -
- DEV_LS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(5) -
-
- -
- DEF_LS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(6) -
-
- -
- BLS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(7) -
-
- -
- LDS2 - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(8) -
-
- -
- BCS - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(9) -
-
- -
- BCSNC - → const RFIDCertificateType - - -
-
- - - -
- RFIDCertificateType(10) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDCertificateType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDCertificateType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, CSCA, CSCA_LINK, DS, MLS, DEV_LS, DEF_LS, BLS, LDS2, BCS, BCSNC] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDCertificateType/RFIDCertificateType.html b/docs/document_reader/RFIDCertificateType/RFIDCertificateType.html deleted file mode 100644 index 9cac30ca50..0000000000 --- a/docs/document_reader/RFIDCertificateType/RFIDCertificateType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDCertificateType constructor - RFIDCertificateType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDCertificateType
- -
- -
-
-
- -
-
-

RFIDCertificateType constructor -

- -
- const - RFIDCertificateType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDCertificateType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDCertificateType/value.html b/docs/document_reader/RFIDCertificateType/value.html deleted file mode 100644 index 7cfd55a922..0000000000 --- a/docs/document_reader/RFIDCertificateType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDCertificateType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDCertificateType/values-constant.html b/docs/document_reader/RFIDCertificateType/values-constant.html deleted file mode 100644 index e2d009f863..0000000000 --- a/docs/document_reader/RFIDCertificateType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDCertificateType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDCertificateType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDCompletion.html b/docs/document_reader/RFIDCompletion.html deleted file mode 100644 index 10d7cca7f7..0000000000 --- a/docs/document_reader/RFIDCompletion.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - RFIDCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDCompletion
- -
- -
-
-
- -
-
-

RFIDCompletion typedef - -

- -
- RFIDCompletion = - void Function(DocReaderAction action, Results? results, RFIDException? error) - -
- - -
-

Callback for receiving answer from processing engine.

-

action defines current processing status.

-

results defines current processing results.

-

error in case of anything is wrong - brief message for developer, null otherwise.

-
- - -
-

Implementation

-
typedef RFIDCompletion = void Function(
-  DocReaderAction action,
-  Results? results,
-  RFIDException? error,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig-class-sidebar.html b/docs/document_reader/RFIDConfig-class-sidebar.html deleted file mode 100644 index 12ef6d63ea..0000000000 --- a/docs/document_reader/RFIDConfig-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDConfig
  4. -
  5. withoutUI
  6. - - -
  7. - Properties -
  8. -
  9. hashCode
  10. -
  11. onChipDetected
  12. -
  13. onProgress
  14. -
  15. onRequestPACertificates
  16. -
  17. onRequestTACertificates
  18. -
  19. onRequestTASignature
  20. -
  21. onRetryReadChip
  22. -
  23. runtimeType
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - - -
diff --git a/docs/document_reader/RFIDConfig-class.html b/docs/document_reader/RFIDConfig-class.html deleted file mode 100644 index 54eecdb489..0000000000 --- a/docs/document_reader/RFIDConfig-class.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDConfig
- -
- -
-
-
- -
-
-

RFIDConfig class - -

- - -
-

A configuration file for the RFID chip processing.

-
- - - - -
-

Constructors

- -
-
- RFIDConfig(DocumentReaderCompletion completion) -
-
- Regular RFID chip reading. -
-
- RFIDConfig.withoutUI(RFIDCompletion completion) -
-
- RFID chip reading with no UI. -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- onChipDetected - ChipDetectedCompletion? - -
-
- Callback for receiving signal when RFID chip is recognized -by a phone and chip reading is started. -
getter/setter pair
- -
- -
- onProgress - RFIDProgressCompletion? - -
-
- Callback for reveiving notification about RFID reading process. -
getter/setter pair
- -
- -
- onRequestPACertificates - PaCertificateCompletion? - -
-
- Callback for receiving RFID request data -
getter/setter pair
- -
- -
- onRequestTACertificates - TaCertificateCompletion? - -
-
- Callback for receiving RFID request data -
getter/setter pair
- -
- -
- onRequestTASignature - TaSignatureCompletion? - -
-
- Callback for receiving RFID request data -
getter/setter pair
- -
- -
- onRetryReadChip - RetryReadChipCompletion? - -
-
- Fires when RFID chip reading was interrupted with no severe reasons -(for example connection to the chip was lost) and will be reestablished automatically. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/RFIDConfig.html b/docs/document_reader/RFIDConfig/RFIDConfig.html deleted file mode 100644 index 9c3c04030d..0000000000 --- a/docs/document_reader/RFIDConfig/RFIDConfig.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - RFIDConfig constructor - RFIDConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDConfig
- -
- -
-
-
- -
-
-

RFIDConfig constructor -

- -
- - RFIDConfig(
  1. DocumentReaderCompletion completion
  2. -
) -
- - -
-

Regular RFID chip reading.

-

completion - block to execute after the chip reading process finishes.

-
- - - -
-

Implementation

-
RFIDConfig
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/RFIDConfig.withoutUI.html b/docs/document_reader/RFIDConfig/RFIDConfig.withoutUI.html deleted file mode 100644 index ade91f2d79..0000000000 --- a/docs/document_reader/RFIDConfig/RFIDConfig.withoutUI.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - RFIDConfig.withoutUI constructor - RFIDConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDConfig.withoutUI
- -
- -
-
-
- -
-
-

RFIDConfig.withoutUI constructor -

- -
- - RFIDConfig.withoutUI(
  1. RFIDCompletion completion
  2. -
) -
- - -
-

RFID chip reading with no UI.

-

User is supposed to implement the UI.

-

Since this constructor accepts RFIDCompletion -instead of DocumentReaderCompletion, user will be provided -with more in-depth error information.

-

completion - block to execute after the chip reading process finishes.

-
- - - -
-

Implementation

-
RFIDConfig.withoutUI(RFIDCompletion completion)
-    : _rfidCompletion = completion,
-      _disableUI = true;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onChipDetected.html b/docs/document_reader/RFIDConfig/onChipDetected.html deleted file mode 100644 index 29bc1f51cc..0000000000 --- a/docs/document_reader/RFIDConfig/onChipDetected.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - onChipDetected property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onChipDetected
- -
- -
-
-
- -
-
-

onChipDetected property -

- -
- - ChipDetectedCompletion? - onChipDetected -
getter/setter pair
- -
- -
-

Callback for receiving signal when RFID chip is recognized -by a phone and chip reading is started.

-

Only used with default constructor. If RFIDConfig.withoutUI was used, -you will receive this update via DocumentReaderCompletion.

-
- - -
-

Implementation

-
ChipDetectedCompletion? onChipDetected;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onProgress.html b/docs/document_reader/RFIDConfig/onProgress.html deleted file mode 100644 index e41096a03d..0000000000 --- a/docs/document_reader/RFIDConfig/onProgress.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onProgress property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onProgress
- -
- -
-
-
- -
-
-

onProgress property -

- -
- - RFIDProgressCompletion? - onProgress -
getter/setter pair
- -
- -
-

Callback for reveiving notification about RFID reading process.

-
- - -
-

Implementation

-
RFIDProgressCompletion? onProgress;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onRequestPACertificates.html b/docs/document_reader/RFIDConfig/onRequestPACertificates.html deleted file mode 100644 index c20f12fd37..0000000000 --- a/docs/document_reader/RFIDConfig/onRequestPACertificates.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onRequestPACertificates property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onRequestPACertificates
- -
- -
-
-
- -
-
-

onRequestPACertificates property -

- -
- - PaCertificateCompletion? - onRequestPACertificates -
getter/setter pair
- -
- -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
PaCertificateCompletion? onRequestPACertificates;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onRequestTACertificates.html b/docs/document_reader/RFIDConfig/onRequestTACertificates.html deleted file mode 100644 index b430cf4355..0000000000 --- a/docs/document_reader/RFIDConfig/onRequestTACertificates.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onRequestTACertificates property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onRequestTACertificates
- -
- -
-
-
- -
-
-

onRequestTACertificates property -

- -
- - TaCertificateCompletion? - onRequestTACertificates -
getter/setter pair
- -
- -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
TaCertificateCompletion? onRequestTACertificates;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onRequestTASignature.html b/docs/document_reader/RFIDConfig/onRequestTASignature.html deleted file mode 100644 index cd403a4766..0000000000 --- a/docs/document_reader/RFIDConfig/onRequestTASignature.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - onRequestTASignature property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onRequestTASignature
- -
- -
-
-
- -
-
-

onRequestTASignature property -

- -
- - TaSignatureCompletion? - onRequestTASignature -
getter/setter pair
- -
- -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
TaSignatureCompletion? onRequestTASignature;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDConfig/onRetryReadChip.html b/docs/document_reader/RFIDConfig/onRetryReadChip.html deleted file mode 100644 index 5229868ce4..0000000000 --- a/docs/document_reader/RFIDConfig/onRetryReadChip.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - onRetryReadChip property - RFIDConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onRetryReadChip
- -
- -
-
-
- -
-
-

onRetryReadChip property -

- -
- - RetryReadChipCompletion? - onRetryReadChip -
getter/setter pair
- -
- -
-

Fires when RFID chip reading was interrupted with no severe reasons -(for example connection to the chip was lost) and will be reestablished automatically.

-

Only used with default constructor. If RFIDConfig.withoutUI was used, -you will receive this update via DocumentReaderCompletion -and chip reading will not be reestablished.

-
- - -
-

Implementation

-
RetryReadChipCompletion? onRetryReadChip;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDDataFileType-enum-sidebar.html b/docs/document_reader/RFIDDataFileType-enum-sidebar.html deleted file mode 100644 index d996a7d5cd..0000000000 --- a/docs/document_reader/RFIDDataFileType-enum-sidebar.html +++ /dev/null @@ -1,117 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDDataFileType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. UNSPECIFIED
  10. -
  11. PASSPORT_DG1
  12. -
  13. PASSPORT_DG2
  14. -
  15. PASSPORT_DG3
  16. -
  17. PASSPORT_DG4
  18. -
  19. PASSPORT_DG5
  20. -
  21. PASSPORT_DG6
  22. -
  23. PASSPORT_DG7
  24. -
  25. PASSPORT_DG8
  26. -
  27. PASSPORT_DG9
  28. -
  29. PASSPORT_DG10
  30. -
  31. PASSPORT_DG11
  32. -
  33. PASSPORT_DG12
  34. -
  35. PASSPORT_DG13
  36. -
  37. PASSPORT_DG14
  38. -
  39. PASSPORT_DG15
  40. -
  41. PASSPORT_DG16
  42. -
  43. PASSPORT_DG17
  44. -
  45. PASSPORT_DG18
  46. -
  47. PASSPORT_DG19
  48. -
  49. PASSPORT_DG20
  50. -
  51. PASSPORT_SOD
  52. -
  53. PASSPORT_CVCA
  54. -
  55. PASSPORT_COM
  56. -
  57. ID_DG1
  58. -
  59. ID_DG2
  60. -
  61. ID_DG3
  62. -
  63. ID_DG4
  64. -
  65. ID_DG5
  66. -
  67. ID_DG6
  68. -
  69. ID_DG7
  70. -
  71. ID_DG8
  72. -
  73. ID_DG9
  74. -
  75. ID_DG10
  76. -
  77. ID_DG11
  78. -
  79. ID_DG12
  80. -
  81. ID_DG13
  82. -
  83. ID_DG14
  84. -
  85. ID_DG15
  86. -
  87. ID_DG16
  88. -
  89. ID_DG17
  90. -
  91. ID_DG18
  92. -
  93. ID_DG19
  94. -
  95. ID_DG20
  96. -
  97. ID_DG21
  98. -
  99. DL_COM
  100. -
  101. DL_DG1
  102. -
  103. DL_DG2
  104. -
  105. DL_DG3
  106. -
  107. DL_DG4
  108. -
  109. DL_DG5
  110. -
  111. DL_DG6
  112. -
  113. DL_DG7
  114. -
  115. DL_DG8
  116. -
  117. DL_DG9
  118. -
  119. DL_DG10
  120. -
  121. DL_DG11
  122. -
  123. DL_DG12
  124. -
  125. DL_DG13
  126. -
  127. DL_DG14
  128. -
  129. DL_SOD
  130. -
  131. DL_CE
  132. -
  133. DL_CVCA
  134. -
  135. PACE_CARDACCESS
  136. -
  137. PACE_CARDSECURITY
  138. -
  139. PACE_CHIPSECURITY
  140. -
  141. MIFARE_DATA
  142. -
  143. MIFARE_VALIDITY
  144. -
  145. AUTHENTICITYV2
  146. -
  147. ATR
  148. -
  149. ESIGN_PK
  150. -
  151. ESIGN_SIGNEDDATA
  152. -
  153. CERTIFICATE
  154. -
  155. MASTERLIST
  156. -
  157. DEFECTLIST
  158. -
  159. DEVIATIONLIST
  160. -
  161. APP_DIRECTORY
  162. -
  163. SESSION
  164. -
  165. LOGDATA
  166. -
  167. CHIP_PROPERTIES
  168. -
  169. SAM_DATA
  170. -
  171. SAM_DATA_MAX
  172. -
  173. VDS
  174. -
  175. VDSNC
  176. -
  177. USERDEFINED
  178. - -
  179. - Properties -
  180. -
  181. hashCode
  182. -
  183. index
  184. -
  185. runtimeType
  186. -
  187. value
  188. - -
  189. Methods
  190. -
  191. getTranslation
  192. -
  193. noSuchMethod
  194. -
  195. toString
  196. - -
  197. Operators
  198. -
  199. operator ==
  200. - - - -
  201. Static methods
  202. -
  203. getByValue
  204. - -
  205. Constants
  206. -
  207. values
  208. -
diff --git a/docs/document_reader/RFIDDataFileType.html b/docs/document_reader/RFIDDataFileType.html deleted file mode 100644 index 611b709c4f..0000000000 --- a/docs/document_reader/RFIDDataFileType.html +++ /dev/null @@ -1,1618 +0,0 @@ - - - - - - - - RFIDDataFileType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDDataFileType
- -
- -
-
-
- -
-
- -

- RFIDDataFileType - enum - - -

-
- - -
-

Enumeration contains a set of constants that define the file type -(or logical belonging of the data object) within the context of the -communication session with electronic document.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDDataFileType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const RFIDDataFileType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- RFIDDataFileType(-1) -
-
- -
- UNSPECIFIED - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(0) -
-
- -
- PASSPORT_DG1 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(1) -
-
- -
- PASSPORT_DG2 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(2) -
-
- -
- PASSPORT_DG3 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(3) -
-
- -
- PASSPORT_DG4 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(4) -
-
- -
- PASSPORT_DG5 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(5) -
-
- -
- PASSPORT_DG6 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(6) -
-
- -
- PASSPORT_DG7 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(7) -
-
- -
- PASSPORT_DG8 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(8) -
-
- -
- PASSPORT_DG9 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(9) -
-
- -
- PASSPORT_DG10 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(10) -
-
- -
- PASSPORT_DG11 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(11) -
-
- -
- PASSPORT_DG12 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(12) -
-
- -
- PASSPORT_DG13 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(13) -
-
- -
- PASSPORT_DG14 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(14) -
-
- -
- PASSPORT_DG15 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(15) -
-
- -
- PASSPORT_DG16 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(16) -
-
- -
- PASSPORT_DG17 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(17) -
-
- -
- PASSPORT_DG18 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(18) -
-
- -
- PASSPORT_DG19 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(19) -
-
- -
- PASSPORT_DG20 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(20) -
-
- -
- PASSPORT_SOD - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(21) -
-
- -
- PASSPORT_CVCA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(22) -
-
- -
- PASSPORT_COM - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(23) -
-
- -
- ID_DG1 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(101) -
-
- -
- ID_DG2 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(102) -
-
- -
- ID_DG3 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(103) -
-
- -
- ID_DG4 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(104) -
-
- -
- ID_DG5 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(105) -
-
- -
- ID_DG6 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(106) -
-
- -
- ID_DG7 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(107) -
-
- -
- ID_DG8 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(108) -
-
- -
- ID_DG9 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(109) -
-
- -
- ID_DG10 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(110) -
-
- -
- ID_DG11 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(111) -
-
- -
- ID_DG12 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(112) -
-
- -
- ID_DG13 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(113) -
-
- -
- ID_DG14 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(114) -
-
- -
- ID_DG15 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(115) -
-
- -
- ID_DG16 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(116) -
-
- -
- ID_DG17 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(117) -
-
- -
- ID_DG18 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(118) -
-
- -
- ID_DG19 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(119) -
-
- -
- ID_DG20 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(120) -
-
- -
- ID_DG21 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(121) -
-
- -
- DL_COM - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(150) -
-
- -
- DL_DG1 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(151) -
-
- -
- DL_DG2 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(152) -
-
- -
- DL_DG3 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(153) -
-
- -
- DL_DG4 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(154) -
-
- -
- DL_DG5 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(155) -
-
- -
- DL_DG6 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(156) -
-
- -
- DL_DG7 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(157) -
-
- -
- DL_DG8 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(158) -
-
- -
- DL_DG9 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(159) -
-
- -
- DL_DG10 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(160) -
-
- -
- DL_DG11 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(161) -
-
- -
- DL_DG12 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(162) -
-
- -
- DL_DG13 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(163) -
-
- -
- DL_DG14 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(164) -
-
- -
- DL_SOD - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(165) -
-
- -
- DL_CE - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(166) -
-
- -
- DL_CVCA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(167) -
-
- -
- PACE_CARDACCESS - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(200) -
-
- -
- PACE_CARDSECURITY - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(201) -
-
- -
- PACE_CHIPSECURITY - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(202) -
-
- -
- MIFARE_DATA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(300) -
-
- -
- MIFARE_VALIDITY - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(301) -
-
- -
- AUTHENTICITYV2 - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(302) -
-
- -
- ATR - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(400) -
-
- -
- ESIGN_PK - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(500) -
-
- -
- ESIGN_SIGNEDDATA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(501) -
-
- -
- CERTIFICATE - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(600) -
-
- -
- MASTERLIST - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(601) -
-
- -
- DEFECTLIST - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(602) -
-
- -
- DEVIATIONLIST - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(603) -
-
- -
- APP_DIRECTORY - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(700) -
-
- -
- SESSION - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(701) -
-
- -
- LOGDATA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(702) -
-
- -
- CHIP_PROPERTIES - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(703) -
-
- -
- SAM_DATA - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(800) -
-
- -
- SAM_DATA_MAX - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(800 + 32) -
-
- -
- VDS - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(900) -
-
- -
- VDSNC - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(901) -
-
- -
- USERDEFINED - → const RFIDDataFileType - - -
-
- - - -
- RFIDDataFileType(1000) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDDataFileType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDDataFileType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, UNSPECIFIED, PASSPORT_DG1, PASSPORT_DG2, PASSPORT_DG3, PASSPORT_DG4, PASSPORT_DG5, PASSPORT_DG6, PASSPORT_DG7, PASSPORT_DG8, PASSPORT_DG9, PASSPORT_DG10, PASSPORT_DG11, PASSPORT_DG12, PASSPO… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDDataFileType/RFIDDataFileType.html b/docs/document_reader/RFIDDataFileType/RFIDDataFileType.html deleted file mode 100644 index 73c444c2a4..0000000000 --- a/docs/document_reader/RFIDDataFileType/RFIDDataFileType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDDataFileType constructor - RFIDDataFileType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDDataFileType
- -
- -
-
-
- -
-
-

RFIDDataFileType constructor -

- -
- const - RFIDDataFileType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDDataFileType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDDataFileType/getTranslation.html b/docs/document_reader/RFIDDataFileType/getTranslation.html deleted file mode 100644 index 28c1f8554b..0000000000 --- a/docs/document_reader/RFIDDataFileType/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - RFIDDataFileType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDDataFileType/value.html b/docs/document_reader/RFIDDataFileType/value.html deleted file mode 100644 index a786be400f..0000000000 --- a/docs/document_reader/RFIDDataFileType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDDataFileType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDDataFileType/values-constant.html b/docs/document_reader/RFIDDataFileType/values-constant.html deleted file mode 100644 index f6bb3dc238..0000000000 --- a/docs/document_reader/RFIDDataFileType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDDataFileType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDDataFileType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDErrorCodes-enum-sidebar.html b/docs/document_reader/RFIDErrorCodes-enum-sidebar.html deleted file mode 100644 index fca25810f9..0000000000 --- a/docs/document_reader/RFIDErrorCodes-enum-sidebar.html +++ /dev/null @@ -1,146 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDErrorCodes
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. NO_ERROR
  10. -
  11. ALREADY_DONE
  12. -
  13. FAILED
  14. -
  15. NO_CHIP_DETECTED
  16. -
  17. NOT_AVAILABLE
  18. -
  19. INVALID_PARAMETER
  20. -
  21. NOT_INITIALIZED
  22. -
  23. NOT_ENOUGH_MEMORY
  24. -
  25. INVALID_DIRECTORY
  26. -
  27. UNKNOWN_COMMAND
  28. -
  29. FILE_IO_ERROR
  30. -
  31. BUSY
  32. -
  33. OLD_FIRMWARE
  34. -
  35. PCSC_FAILED
  36. -
  37. PCSC_READER_NOT_AVAILABLE
  38. -
  39. PCSC_CANT_CONNECT_CARD
  40. -
  41. PCSC_CARD_IS_NOT_CONNECTED
  42. -
  43. PCSC_OPERATION_CANCELLED
  44. -
  45. PCSC_CARD_IS_BUSY
  46. -
  47. PCSC_FAILED_SCARD
  48. -
  49. PCSC_EXT_LE_FAILED
  50. -
  51. LAYER6_SECURITY_MANAGER
  52. -
  53. LAYER6_APP_SELECTION_FAILURE
  54. -
  55. LAYER6_MUTUAL_AUTH_MAC_FAIL
  56. -
  57. LAYER6_MUTUAL_AUTH_ENC_FAIL
  58. -
  59. LAYER6_MUTUAL_AUTH_FAILURE
  60. -
  61. LAYER6_MUTUAL_AUTH_FAILURE_DATA
  62. -
  63. LAYER6_SM_DO_8E_MISSING
  64. -
  65. LAYER6_SM_DO_87_MISSING
  66. -
  67. LAYER6_SM_DO_99_MISSING
  68. -
  69. LAYER6_SM_MAC_INCORRECT
  70. -
  71. LAYER6_SM_DO_87_INCORRECT
  72. -
  73. LAYER6_NON_TLV_RESPONSE_DATA
  74. -
  75. LAYER6_WRONG_RND_ICC_LENGTH
  76. -
  77. LAYER6_INT_AUTH_FAILURE
  78. -
  79. LAYER6_MSE_SET_KAT_FAILURE
  80. -
  81. LAYER6_MSE_SET_DST_FAILURE
  82. -
  83. LAYER6_PSO_CERTIFICATE_FAILURE
  84. -
  85. LAYER6_MSE_SET_AT_FAILURE
  86. -
  87. LAYER6_GET_CHALLENGE_FAILURE
  88. -
  89. LAYER6_EXT_AUTH_FAILURE
  90. -
  91. LAYER6_GENERAL_AUTH_FAILURE
  92. -
  93. LAYER6_FILE_NOT_FOUND
  94. -
  95. LAYER6_FILE_EOF1
  96. -
  97. LAYER6_FILE_EOF2
  98. -
  99. LAYER6_INCORRECT_PARAMS
  100. -
  101. LAYER6_NO_REFERENCE_DATA
  102. -
  103. LAYER6_PWD_SUSPEND
  104. -
  105. LAYER6_PWD_BLOCKED
  106. -
  107. LAYER6_PWD_DEACTIVATED
  108. -
  109. LAYER6_PWD_BLOCKED2
  110. -
  111. LAYER6_PWD_DEACTIVATED2
  112. -
  113. LAYER6_PWD_SUSPEND2
  114. -
  115. LAYER6_PWD_FAILED
  116. -
  117. NOT_PERFORMED
  118. -
  119. SESSION_IS_CLOSED
  120. -
  121. SESSION_TERMINAL_UNSUPPORTED_OPERATION
  122. -
  123. SESSION_TERMINAL_TYPE_UNKNOWN
  124. -
  125. SESSION_TERMINAL_TYPE_BAD_CERTIFICATE
  126. -
  127. SESSION_TERMINAL_TYPE_NOT_SET
  128. -
  129. SESSION_PROCEDURE_TYPE_UNKNOWN
  130. -
  131. Session_Procedure_Type_Unsupported
  132. -
  133. SESSION_PROCEDURE_TYPE_NOT_SET
  134. -
  135. SESSION_ACCESS_KEY_UNKNOWN_TYPE
  136. -
  137. SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE
  138. -
  139. SESSION_ACCESS_KEY_INCORRECT_SM_TYPE
  140. -
  141. SESSION_ACCESS_KEY_RESTRICTED
  142. -
  143. SESSION_ACCESS_KEY_INCORRECT_DATA
  144. -
  145. SESSION_ACCESS_KEY_NOT_SET
  146. -
  147. SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED
  148. -
  149. SESSION_ACCESS_CONTROL_UNKNOWN_TYPE
  150. -
  151. SESSION_ACCESS_CONTROL_REQUIRES_SM
  152. -
  153. SESSION_ACCESS_CONTROL_REQUIRES_PACE
  154. -
  155. SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS
  156. -
  157. SESSION_ACCESS_CONTROL_REQUIRES_TA
  158. -
  159. SESSION_ACCESS_CONTROL_REQUIRES_CA
  160. -
  161. SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA
  162. -
  163. SESSION_ACCESS_CONTROL_CA_FAILED
  164. -
  165. SESSION_ACCESS_CONTROL_TA_FAILED
  166. -
  167. SESSION_ACCESS_CONTROL_AA_FAILED
  168. -
  169. SESSION_ACCESS_CONTROL_RI_FAILED
  170. -
  171. SESSION_PA_SIGNATURE_CHECK_FAILED
  172. -
  173. SESSION_PA_HASH_CHECK_FAILED
  174. -
  175. SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY
  176. -
  177. SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH
  178. -
  179. SESSION_INVALID_AUX_DATA_COMMUNITY_ID
  180. -
  181. SESSION_E_SIGN_REQUIRES_APP_SELECTION
  182. -
  183. SESSION_E_SIGN_PIN_NOT_SET
  184. -
  185. SESSION_E_SIGN_PIN_NOT_VERIFIED
  186. -
  187. SESSION_INCORRECT_DATA
  188. -
  189. SESSION_FILE_NOT_ENOUGH_DATA
  190. -
  191. SESSION_FILE_INCORRECT_DATA
  192. -
  193. SESSION_FILE_UNEXPECTED_DATA
  194. -
  195. SESSION_FILE_CONTENTS_UNEXPECTED_DATA
  196. -
  197. SESSION_FILE_WRONG_TAG
  198. -
  199. SESSION_FILE_CANT_USE_DATA
  200. -
  201. SESSION_FILE_CANT_READ_DATA
  202. -
  203. SESSION_FILE_ACCESS_DENIED
  204. -
  205. LAYER34_NO_ERROR
  206. -
  207. LAYER34_TIME_OUT
  208. -
  209. LAYER34_COLLISION
  210. -
  211. LAYER34_CRC
  212. -
  213. LAYER34_DATA_INTEGRITY
  214. -
  215. LAYER34_DATA_LENGTH
  216. -
  217. Layer34_RFU
  218. -
  219. LAYER34_COLLISION_TOO_MANY
  220. -
  221. LAYER34_PROTOCOL_B
  222. -
  223. LAYER34_DATA_CONTENTS
  224. -
  225. LAYER34_PROTOCOL
  226. -
  227. LAYER34_GLOBAL_TIME_OUT
  228. -
  229. LAYER34_MIFARE_AUTH
  230. -
  231. LAYER34_SAM_ERROR
  232. -
  233. LAYER34_SAM_COLLISION
  234. -
  235. LAYER34_SAM_ACKNOWLEDGE
  236. - -
  237. - Properties -
  238. -
  239. hashCode
  240. -
  241. index
  242. -
  243. runtimeType
  244. -
  245. value
  246. - -
  247. Methods
  248. -
  249. getTranslation
  250. -
  251. noSuchMethod
  252. -
  253. toString
  254. - -
  255. Operators
  256. -
  257. operator ==
  258. - - - -
  259. Static methods
  260. -
  261. getByValue
  262. - -
  263. Constants
  264. -
  265. values
  266. -
diff --git a/docs/document_reader/RFIDErrorCodes.html b/docs/document_reader/RFIDErrorCodes.html deleted file mode 100644 index 5eecd2c6ec..0000000000 --- a/docs/document_reader/RFIDErrorCodes.html +++ /dev/null @@ -1,2048 +0,0 @@ - - - - - - - - RFIDErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDErrorCodes
- -
- -
-
-
- -
-
- -

- RFIDErrorCodes - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDErrorCodes(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0) -
-
- -
- NO_ERROR - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x00000001) -
-
- -
- ALREADY_DONE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x00000002) -
-
- -
- FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0xffffffff) -
-
- -
- NO_CHIP_DETECTED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010001) -
-
- -
- NOT_AVAILABLE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010002) -
-
- -
- INVALID_PARAMETER - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010004) -
-
- -
- NOT_INITIALIZED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010005) -
-
- -
- NOT_ENOUGH_MEMORY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010006) -
-
- -
- INVALID_DIRECTORY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010008) -
-
- -
- UNKNOWN_COMMAND - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80010009) -
-
- -
- FILE_IO_ERROR - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8001000A) -
-
- -
- BUSY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8001000B) -
-
- -
- OLD_FIRMWARE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8001000C) -
-
- -
- PCSC_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020000) -
-
- -
- PCSC_READER_NOT_AVAILABLE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020001) -
-
- -
- PCSC_CANT_CONNECT_CARD - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020002) -
-
- -
- PCSC_CARD_IS_NOT_CONNECTED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020003) -
-
- -
- PCSC_OPERATION_CANCELLED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020004) -
-
- -
- PCSC_CARD_IS_BUSY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020005) -
-
- -
- PCSC_FAILED_SCARD - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020006) -
-
- -
- PCSC_EXT_LE_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80020010) -
-
- -
- LAYER6_SECURITY_MANAGER - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000000) -
-
- -
- LAYER6_APP_SELECTION_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000001) -
-
- -
- LAYER6_MUTUAL_AUTH_MAC_FAIL - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000100) -
-
- -
- LAYER6_MUTUAL_AUTH_ENC_FAIL - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000101) -
-
- -
- LAYER6_MUTUAL_AUTH_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000102) -
-
- -
- LAYER6_MUTUAL_AUTH_FAILURE_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000103) -
-
- -
- LAYER6_SM_DO_8E_MISSING - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000200) -
-
- -
- LAYER6_SM_DO_87_MISSING - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000201) -
-
- -
- LAYER6_SM_DO_99_MISSING - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000202) -
-
- -
- LAYER6_SM_MAC_INCORRECT - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000203) -
-
- -
- LAYER6_SM_DO_87_INCORRECT - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000204) -
-
- -
- LAYER6_NON_TLV_RESPONSE_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000300) -
-
- -
- LAYER6_WRONG_RND_ICC_LENGTH - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000301) -
-
- -
- LAYER6_INT_AUTH_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000302) -
-
- -
- LAYER6_MSE_SET_KAT_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000303) -
-
- -
- LAYER6_MSE_SET_DST_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000304) -
-
- -
- LAYER6_PSO_CERTIFICATE_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000305) -
-
- -
- LAYER6_MSE_SET_AT_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000306) -
-
- -
- LAYER6_GET_CHALLENGE_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000307) -
-
- -
- LAYER6_EXT_AUTH_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000308) -
-
- -
- LAYER6_GENERAL_AUTH_FAILURE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x86000309) -
-
- -
- LAYER6_FILE_NOT_FOUND - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006A82) -
-
- -
- LAYER6_FILE_EOF1 - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006282) -
-
- -
- LAYER6_FILE_EOF2 - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006B00) -
-
- -
- LAYER6_INCORRECT_PARAMS - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006A80) -
-
- -
- LAYER6_NO_REFERENCE_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006A88) -
-
- -
- LAYER6_PWD_SUSPEND - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x800063C1) -
-
- -
- LAYER6_PWD_BLOCKED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x800063C0) -
-
- -
- LAYER6_PWD_DEACTIVATED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006283) -
-
- -
- LAYER6_PWD_BLOCKED2 - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006983) -
-
- -
- LAYER6_PWD_DEACTIVATED2 - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006984) -
-
- -
- LAYER6_PWD_SUSPEND2 - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x80006985) -
-
- -
- LAYER6_PWD_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x801063C0) -
-
- -
- NOT_PERFORMED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000000) -
-
- -
- SESSION_IS_CLOSED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000001) -
-
- -
- SESSION_TERMINAL_UNSUPPORTED_OPERATION - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000002) -
-
- -
- SESSION_TERMINAL_TYPE_UNKNOWN - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000010) -
-
- -
- SESSION_TERMINAL_TYPE_BAD_CERTIFICATE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000011) -
-
- -
- SESSION_TERMINAL_TYPE_NOT_SET - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000012) -
-
- -
- SESSION_PROCEDURE_TYPE_UNKNOWN - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000013) -
-
- -
- Session_Procedure_Type_Unsupported - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000014) -
-
- -
- SESSION_PROCEDURE_TYPE_NOT_SET - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000015) -
-
- -
- SESSION_ACCESS_KEY_UNKNOWN_TYPE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000016) -
-
- -
- SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000017) -
-
- -
- SESSION_ACCESS_KEY_INCORRECT_SM_TYPE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000018) -
-
- -
- SESSION_ACCESS_KEY_RESTRICTED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000019) -
-
- -
- SESSION_ACCESS_KEY_INCORRECT_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8300001A) -
-
- -
- SESSION_ACCESS_KEY_NOT_SET - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8300001B) -
-
- -
- SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8300001C) -
-
- -
- SESSION_ACCESS_CONTROL_UNKNOWN_TYPE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000020) -
-
- -
- SESSION_ACCESS_CONTROL_REQUIRES_SM - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000021) -
-
- -
- SESSION_ACCESS_CONTROL_REQUIRES_PACE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000022) -
-
- -
- SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000023) -
-
- -
- SESSION_ACCESS_CONTROL_REQUIRES_TA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000024) -
-
- -
- SESSION_ACCESS_CONTROL_REQUIRES_CA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000025) -
-
- -
- SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000026) -
-
- -
- SESSION_ACCESS_CONTROL_CA_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000027) -
-
- -
- SESSION_ACCESS_CONTROL_TA_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000028) -
-
- -
- SESSION_ACCESS_CONTROL_AA_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000029) -
-
- -
- SESSION_ACCESS_CONTROL_RI_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x8300002A) -
-
- -
- SESSION_PA_SIGNATURE_CHECK_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000030) -
-
- -
- SESSION_PA_HASH_CHECK_FAILED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000031) -
-
- -
- SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000040) -
-
- -
- SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000041) -
-
- -
- SESSION_INVALID_AUX_DATA_COMMUNITY_ID - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000042) -
-
- -
- SESSION_E_SIGN_REQUIRES_APP_SELECTION - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000050) -
-
- -
- SESSION_E_SIGN_PIN_NOT_SET - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000051) -
-
- -
- SESSION_E_SIGN_PIN_NOT_VERIFIED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000052) -
-
- -
- SESSION_INCORRECT_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83000060) -
-
- -
- SESSION_FILE_NOT_ENOUGH_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83010000) -
-
- -
- SESSION_FILE_INCORRECT_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83020000) -
-
- -
- SESSION_FILE_UNEXPECTED_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83030000) -
-
- -
- SESSION_FILE_CONTENTS_UNEXPECTED_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83040000) -
-
- -
- SESSION_FILE_WRONG_TAG - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83050000) -
-
- -
- SESSION_FILE_CANT_USE_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83060000) -
-
- -
- SESSION_FILE_CANT_READ_DATA - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83070000) -
-
- -
- SESSION_FILE_ACCESS_DENIED - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x83080000) -
-
- -
- LAYER34_NO_ERROR - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84000000) -
-
- -
- LAYER34_TIME_OUT - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84010000) -
-
- -
- LAYER34_COLLISION - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84020000) -
-
- -
- LAYER34_CRC - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84030000) -
-
- -
- LAYER34_DATA_INTEGRITY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84040000) -
-
- -
- LAYER34_DATA_LENGTH - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84050000) -
-
- -
- Layer34_RFU - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84060000) -
-
- -
- LAYER34_COLLISION_TOO_MANY - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84070000) -
-
- -
- LAYER34_PROTOCOL_B - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84080000) -
-
- -
- LAYER34_DATA_CONTENTS - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x84090000) -
-
- -
- LAYER34_PROTOCOL - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840A0000) -
-
- -
- LAYER34_GLOBAL_TIME_OUT - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840B0000) -
-
- -
- LAYER34_MIFARE_AUTH - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840C0000) -
-
- -
- LAYER34_SAM_ERROR - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840D0000) -
-
- -
- LAYER34_SAM_COLLISION - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840E0000) -
-
- -
- LAYER34_SAM_ACKNOWLEDGE - → const RFIDErrorCodes - - -
-
- - - -
- RFIDErrorCodes(0x840F0000) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- getTranslation() - Future<String> - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDErrorCodes? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDErrorCodes> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, NO_ERROR, ALREADY_DONE, FAILED, NO_CHIP_DETECTED, NOT_AVAILABLE, INVALID_PARAMETER, NOT_INITIALIZED, NOT_ENOUGH_MEMORY, INVALID_DIRECTORY, UNKNOWN_COMMAND, FILE_IO_ERROR, BUSY, OLD_FIRMWAR… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDErrorCodes/RFIDErrorCodes.html b/docs/document_reader/RFIDErrorCodes/RFIDErrorCodes.html deleted file mode 100644 index d66e91a27d..0000000000 --- a/docs/document_reader/RFIDErrorCodes/RFIDErrorCodes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDErrorCodes constructor - RFIDErrorCodes - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDErrorCodes
- -
- -
-
-
- -
-
-

RFIDErrorCodes constructor -

- -
- const - RFIDErrorCodes(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDErrorCodes
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDErrorCodes/getTranslation.html b/docs/document_reader/RFIDErrorCodes/getTranslation.html deleted file mode 100644 index 6db10c71f7..0000000000 --- a/docs/document_reader/RFIDErrorCodes/getTranslation.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - getTranslation method - RFIDErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getTranslation
- -
- -
-
-
- -
-
-

getTranslation method -

- -
- - -Future<String> -getTranslation() - - - -
- - - - -
-

Implementation

-
Future<String> getTranslation() async {
-  return await _bridge
-      .invokeMethod("getTranslation", [runtimeType.toString(), value]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDErrorCodes/value.html b/docs/document_reader/RFIDErrorCodes/value.html deleted file mode 100644 index ae54f62f9a..0000000000 --- a/docs/document_reader/RFIDErrorCodes/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDErrorCodes/values-constant.html b/docs/document_reader/RFIDErrorCodes/values-constant.html deleted file mode 100644 index 7a4cbdaf8f..0000000000 --- a/docs/document_reader/RFIDErrorCodes/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDErrorCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDErrorCodes> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException-class-sidebar.html b/docs/document_reader/RFIDException-class-sidebar.html deleted file mode 100644 index cdca5daa61..0000000000 --- a/docs/document_reader/RFIDException-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDException
  4. - - -
  5. - Properties -
  6. -
  7. code
  8. -
  9. hashCode
  10. -
  11. message
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/RFIDException-class.html b/docs/document_reader/RFIDException-class.html deleted file mode 100644 index d30a13e572..0000000000 --- a/docs/document_reader/RFIDException-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - RFIDException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDException
- -
- -
-
-
- -
-
-

RFIDException class - -

- - - - - - -
-

Constructors

- -
-
- RFIDException() -
-
- -
-
-
- -
-

Properties

- -
-
- code - RFIDErrorCodes - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- message - String - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDException? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException/RFIDException.html b/docs/document_reader/RFIDException/RFIDException.html deleted file mode 100644 index cd674bac33..0000000000 --- a/docs/document_reader/RFIDException/RFIDException.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDException constructor - RFIDException - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDException
- -
- -
-
-
- -
-
-

RFIDException constructor -

- -
- - RFIDException() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException/code.html b/docs/document_reader/RFIDException/code.html deleted file mode 100644 index 997ba7ffbc..0000000000 --- a/docs/document_reader/RFIDException/code.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - code property - RFIDException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
code
- -
- -
-
-
- -
-
-

code property -

- - - -
- -
- - RFIDErrorCodes - code - - -
- - - - -
-

Implementation

-
RFIDErrorCodes get code => _code;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException/fromJson.html b/docs/document_reader/RFIDException/fromJson.html deleted file mode 100644 index e5a2399837..0000000000 --- a/docs/document_reader/RFIDException/fromJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - fromJson method - RFIDException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDException? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static RFIDException? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDException();
-
-  result._code = RFIDErrorCodes.getByValue(jsonObject["code"])!;
-  result._message = jsonObject["message"] ?? "";
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException/message.html b/docs/document_reader/RFIDException/message.html deleted file mode 100644 index bc9562cc58..0000000000 --- a/docs/document_reader/RFIDException/message.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - message property - RFIDException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
message
- -
- -
-
-
- -
-
-

message property -

- - - -
- -
- - String - message - - -
- - - - -
-

Implementation

-
String get message => _message;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDException/toJson.html b/docs/document_reader/RFIDException/toJson.html deleted file mode 100644 index 44c010097a..0000000000 --- a/docs/document_reader/RFIDException/toJson.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - toJson method - RFIDException class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "code": code.value,
-      "message": message,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification-class-sidebar.html b/docs/document_reader/RFIDNotification-class-sidebar.html deleted file mode 100644 index db9aab4310..0000000000 --- a/docs/document_reader/RFIDNotification-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDNotification
  4. - - -
  5. - Properties -
  6. -
  7. dataFileType
  8. -
  9. hashCode
  10. -
  11. notificationCode
  12. -
  13. progress
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/RFIDNotification-class.html b/docs/document_reader/RFIDNotification-class.html deleted file mode 100644 index c824354bdc..0000000000 --- a/docs/document_reader/RFIDNotification-class.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - - - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDNotification
- -
- -
-
-
- -
-
-

RFIDNotification class - -

- - -
-

Structure containing data of notification about RFID reading process.

-
- - - - -
-

Constructors

- -
-
- RFIDNotification() -
-
- -
-
-
- -
-

Properties

- -
-
- dataFileType - RFIDDataFileType - -
-
- Defines the file type (or logical belonging of the data object) within -the context of the communication session with electronic document. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- notificationCode - RFIDNotificationCodes - -
-
- RFID notification code. -
no setter
- -
- -
- progress - int - -
-
- RFID progress. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDNotification? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/RFIDNotification.html b/docs/document_reader/RFIDNotification/RFIDNotification.html deleted file mode 100644 index 8b1bb33e6e..0000000000 --- a/docs/document_reader/RFIDNotification/RFIDNotification.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDNotification constructor - RFIDNotification - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDNotification
- -
- -
-
-
- -
-
-

RFIDNotification constructor -

- -
- - RFIDNotification() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/dataFileType.html b/docs/document_reader/RFIDNotification/dataFileType.html deleted file mode 100644 index a1a3732ef6..0000000000 --- a/docs/document_reader/RFIDNotification/dataFileType.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - dataFileType property - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dataFileType
- -
- -
-
-
- -
-
-

dataFileType property -

- - - -
- -
- - RFIDDataFileType - dataFileType - - -
- - -
-

Defines the file type (or logical belonging of the data object) within -the context of the communication session with electronic document.

-
- - -
-

Implementation

-
RFIDDataFileType get dataFileType => _dataFileType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/fromJson.html b/docs/document_reader/RFIDNotification/fromJson.html deleted file mode 100644 index b02d36960f..0000000000 --- a/docs/document_reader/RFIDNotification/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDNotification? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static RFIDNotification? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDNotification();
-
-  result._notificationCode =
-      RFIDNotificationCodes.getByValue(jsonObject["notificationCode"])!;
-  result._dataFileType =
-      RFIDDataFileType.getByValue(jsonObject["dataFileType"])!;
-  result._progress = jsonObject["progress"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/notificationCode.html b/docs/document_reader/RFIDNotification/notificationCode.html deleted file mode 100644 index 60ff41b59b..0000000000 --- a/docs/document_reader/RFIDNotification/notificationCode.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - notificationCode property - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notificationCode
- -
- -
-
-
- -
-
-

notificationCode property -

- - - -
- -
- - RFIDNotificationCodes - notificationCode - - -
- - -
-

RFID notification code.

-
- - -
-

Implementation

-
RFIDNotificationCodes get notificationCode => _notificationCode;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/progress.html b/docs/document_reader/RFIDNotification/progress.html deleted file mode 100644 index 68618c0073..0000000000 --- a/docs/document_reader/RFIDNotification/progress.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - progress property - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
progress
- -
- -
-
-
- -
-
-

progress property -

- - - -
- -
- - int - progress - - -
- - -
-

RFID progress.

-
- - -
-

Implementation

-
int get progress => _progress;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotification/toJson.html b/docs/document_reader/RFIDNotification/toJson.html deleted file mode 100644 index 32d993a282..0000000000 --- a/docs/document_reader/RFIDNotification/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - RFIDNotification class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "notificationCode": notificationCode.value,
-      "dataFileType": dataFileType.value,
-      "progress": progress
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotificationCodes-enum-sidebar.html b/docs/document_reader/RFIDNotificationCodes-enum-sidebar.html deleted file mode 100644 index 707101c4a6..0000000000 --- a/docs/document_reader/RFIDNotificationCodes-enum-sidebar.html +++ /dev/null @@ -1,67 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDNotificationCodes
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. ERROR
  10. -
  11. DOCUMENT_READY
  12. -
  13. READ_PROTOCOL4
  14. -
  15. READ_PROTOCOL3
  16. -
  17. PROGRESS
  18. -
  19. TA_STEP
  20. -
  21. SM_REQUIRED
  22. -
  23. ISO_ERROR
  24. -
  25. PA_REQUEST
  26. -
  27. SM_ESTABLISHED
  28. -
  29. PCSC_READER_DISCONNECTED
  30. -
  31. PCSC_READER_LIST_CHANGED
  32. -
  33. PCSC_BYTES_RECEIVED
  34. -
  35. PCSC_TOTAL_READING_TIME
  36. -
  37. PCSC_DATA_RECEIVED
  38. -
  39. PCSC_BYTES_SENT
  40. -
  41. PCSC_TOTAL_READING_SPEED
  42. -
  43. PCSC_TOTAL_PROCESS_TIME
  44. -
  45. PCSC_READER_LIST_CHANGING
  46. -
  47. PCSC_EXT_LENGTH_SUPPORT
  48. -
  49. PA_CERTIFICATE_CHAIN
  50. -
  51. PA_CERTIFICATE_CHAIN_ITEM
  52. -
  53. SCENARIO
  54. -
  55. PCSC_READING_DATAGROUP
  56. -
  57. PCSC_FILE_NOT_FOUND
  58. -
  59. PCSC_END_OF_FILE
  60. -
  61. PCSC_FILE_ACCESS_DENIED
  62. -
  63. PCSC_APPLICATION_SELECTED
  64. -
  65. AC_PROCEDURE_START
  66. -
  67. AC_PROCEDURE_FINISH
  68. -
  69. PA_SECURITY_OBJECT_CHECK
  70. -
  71. PA_FILE_CHECK
  72. -
  73. PCSC_UPDATING_DATAGROUP
  74. -
  75. AUXILIARY_DATA_VALIDATION
  76. -
  77. RI_SECTOR_ID
  78. -
  79. BIOMETRICS_EMPTY_PLACEHOLDER
  80. - -
  81. - Properties -
  82. -
  83. hashCode
  84. -
  85. index
  86. -
  87. runtimeType
  88. -
  89. value
  90. - -
  91. Methods
  92. -
  93. noSuchMethod
  94. -
  95. toString
  96. - -
  97. Operators
  98. -
  99. operator ==
  100. - - - -
  101. Static methods
  102. -
  103. getByValue
  104. - -
  105. Constants
  106. -
  107. values
  108. -
diff --git a/docs/document_reader/RFIDNotificationCodes.html b/docs/document_reader/RFIDNotificationCodes.html deleted file mode 100644 index 732853d26c..0000000000 --- a/docs/document_reader/RFIDNotificationCodes.html +++ /dev/null @@ -1,892 +0,0 @@ - - - - - - - - RFIDNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDNotificationCodes
- -
- -
-
-
- -
-
- -

- RFIDNotificationCodes - enum - - -

-
- - -
-

Enumeration contains a set of notification returned -to the user application by calling the callback-function.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDNotificationCodes(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const RFIDNotificationCodes - - -
-
-

Will be returned by getByValue if a non-existent value was passed.

- - -
- RFIDNotificationCodes(-1) -
-
- -
- ERROR - → const RFIDNotificationCodes - - -
-
-

The notification indicates an error.

- - -
- RFIDNotificationCodes(65536) -
-
- -
- DOCUMENT_READY - → const RFIDNotificationCodes - - -
-
-

Event of appearance of RFID-chip in the scope of the reader antenna -or its moving away from the scope of the reader.

- - -
- RFIDNotificationCodes(65537) -
-
- -
- READ_PROTOCOL4 - → const RFIDNotificationCodes - - -
-
-

Event of the beginning/end of data reading from the RFID-chip via ISO/IEC -14443-4 proto-col When working in the batch mode.

- - -
- RFIDNotificationCodes(65539) -
-
- -
- READ_PROTOCOL3 - → const RFIDNotificationCodes - - -
-
-

Event of the beginning/end of data reading from the RFID-chip via ISO/IEC -14443-3 proto-col.

- - -
- RFIDNotificationCodes(65546) -
-
- -
- PROGRESS - → const RFIDNotificationCodes - - -
-
-

Indication of the progress of execution of data reading operation.

- - -
- RFIDNotificationCodes(65547) -
-
- -
- TA_STEP - → const RFIDNotificationCodes - - -
-
-

Indication of the next step of terminal authentication in -Online-authentication mode.

- - -
- RFIDNotificationCodes(65550) -
-
- -
- SM_REQUIRED - → const RFIDNotificationCodes - - -
-
-

Event of detection of the need to organize a secure communication channel.

- - -
- RFIDNotificationCodes(65551) -
-
- -
- ISO_ERROR - → const RFIDNotificationCodes - - -
-
-

Event informing the user application on detection of data incompliance -processed with the regulations of normative documents, errors when -executing the current operation.

- - -
- RFIDNotificationCodes(69632) -
-
- -
- PA_REQUEST - → const RFIDNotificationCodes - - -
-
-

Request of the user-defined DS-certificate priot to the procedure of digital -signature verifi-cation of EF.SOD document security object in the batch mode.

- - -
- RFIDNotificationCodes(77824) -
-
- -
- SM_ESTABLISHED - → const RFIDNotificationCodes - - -
-
-

Event of the result of the opening of a secure communication channel.

- - -
- RFIDNotificationCodes(81935) -
-
- -
- PCSC_READER_DISCONNECTED - → const RFIDNotificationCodes - - -
-
-

Event of unplugging of the RFID-chip reader from the PC.

- - -
- RFIDNotificationCodes(131072) -
-
- -
- PCSC_READER_LIST_CHANGED - → const RFIDNotificationCodes - - -
-
-

Event of the beginning of reorganization of the list of RFID-readers -connected to the PC, working under PC/SC-driver control.

- - -
- RFIDNotificationCodes(131073) -
-
- -
- PCSC_BYTES_RECEIVED - → const RFIDNotificationCodes - - -
-
-

Transfer of the total amount of information received from the RFID-chip -to the user appli-cation during execution of data reading operation.

- - -
- RFIDNotificationCodes(131074) -
-
- -
- PCSC_TOTAL_READING_TIME - → const RFIDNotificationCodes - - -
-
-

Transfer of the total time of execution of data reading operation -to the user application.

- - -
- RFIDNotificationCodes(131075) -
-
- -
- PCSC_DATA_RECEIVED - → const RFIDNotificationCodes - - -
-
-

Transfer of the total amount of information and service groups data -received from the RF-ID-chip to the user application during execution -of data reading operation.

- - -
- RFIDNotificationCodes(131076) -
-
- -
- PCSC_BYTES_SENT - → const RFIDNotificationCodes - - -
-
-

Transfer of the total amount of information transmitted to the RFID-chip -to the user appli-cation during execution of data reading operation.

- - -
- RFIDNotificationCodes(131077) -
-
- -
- PCSC_TOTAL_READING_SPEED - → const RFIDNotificationCodes - - -
-
-

Transfer of the average data reading rate to the user application.

- - -
- RFIDNotificationCodes(131078) -
-
- -
- PCSC_TOTAL_PROCESS_TIME - → const RFIDNotificationCodes - - -
-
-

Transfer of the total time of execution of data reading procedure -to the user application.

- - -
- RFIDNotificationCodes(131079) -
-
- -
- PCSC_READER_LIST_CHANGING - → const RFIDNotificationCodes - - -
-
-

Event of the beginning of reorganization of the list of RFID-readers -connected to the PC, working under PC/SC-driver control.

- - -
- RFIDNotificationCodes(131080) -
-
- -
- PCSC_EXT_LENGTH_SUPPORT - → const RFIDNotificationCodes - - -
-
-

Event of detection of extended length reading commands support -by the RFID-chip.

- - -
- RFIDNotificationCodes(131088) -
-
- -
- PA_CERTIFICATE_CHAIN - → const RFIDNotificationCodes - - -
-
-

Event of the start/end of the certificate chain formation for the -document security object digital signature verification -as a part of passive authentication procedure.

- - -
- RFIDNotificationCodes(131089) -
-
- -
- PA_CERTIFICATE_CHAIN_ITEM - → const RFIDNotificationCodes - - -
-
-

Event that indicates a type of the current analyzed element of the -certificate chain being composed.

-

All subsequent notifications prior to the next PA_CERTIFICATE_CHAIN_ITEM -or PA_CERTIFICATE_CHAIN will correspond to this element.

- - -
- RFIDNotificationCodes(131090) -
-
- -
- SCENARIO - → const RFIDNotificationCodes - - -
-
-

A request from the user application of some data or actions in a certain -step of the scenario.

- - -
- RFIDNotificationCodes(131104) -
-
- -
- PCSC_READING_DATAGROUP - → const RFIDNotificationCodes - - -
-
-

Event of the beginning/end of file reading.

- - -
- RFIDNotificationCodes(196608) -
-
- -
- PCSC_FILE_NOT_FOUND - → const RFIDNotificationCodes - - -
-
-

Event of detection of file absence.

- - -
- RFIDNotificationCodes(262144) -
-
- -
- PCSC_END_OF_FILE - → const RFIDNotificationCodes - - -
-
-

Event of reaching the file end when performing its reading.

- - -
- RFIDNotificationCodes(327680) -
-
- -
- PCSC_FILE_ACCESS_DENIED - → const RFIDNotificationCodes - - -
-
-

Event of detection of absence of the file access rights.

- - -
- RFIDNotificationCodes(393216) -
-
- -
- PCSC_APPLICATION_SELECTED - → const RFIDNotificationCodes - - -
-
-

Event of the application selection operation.

- - -
- RFIDNotificationCodes(458752) -
-
- -
- AC_PROCEDURE_START - → const RFIDNotificationCodes - - -
-
-

Event of the beginning of the authentication or secure data access procedure.

- - -
- RFIDNotificationCodes(524288) -
-
- -
- AC_PROCEDURE_FINISH - → const RFIDNotificationCodes - - -
-
-

Event of the end of the authentication or secure data access procedure.

- - -
- RFIDNotificationCodes(589824) -
-
- -
- PA_SECURITY_OBJECT_CHECK - → const RFIDNotificationCodes - - -
-
-

Event of the data security object verification as part of PA.

- - -
- RFIDNotificationCodes(655360) -
-
- -
- PA_FILE_CHECK - → const RFIDNotificationCodes - - -
-
-

Event of the file data integrity checking as part of PA.

- - -
- RFIDNotificationCodes(720896) -
-
- -
- PCSC_UPDATING_DATAGROUP - → const RFIDNotificationCodes - - -
-
-

Event of the procedure of file contents updating.

- - -
- RFIDNotificationCodes(786432) -
-
- -
- AUXILIARY_DATA_VALIDATION - → const RFIDNotificationCodes - - -
-
-

Event of the auxiliary data verification.

- - -
- RFIDNotificationCodes(851968) -
-
- -
- RI_SECTOR_ID - → const RFIDNotificationCodes - - -
-
-

Event of the receiving of the sector identifier data during RI.

- - -
- RFIDNotificationCodes(917504) -
-
- -
- BIOMETRICS_EMPTY_PLACEHOLDER - → const RFIDNotificationCodes - - -
-
-

Event of the detection of real biometric data absence in DG3 or DG4 -and random filling data usage.

- - -
- RFIDNotificationCodes(983040) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDNotificationCodes? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDNotificationCodes> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, ERROR, DOCUMENT_READY, READ_PROTOCOL4, READ_PROTOCOL3, PROGRESS, TA_STEP, SM_REQUIRED, ISO_ERROR, PA_REQUEST, SM_ESTABLISHED, PCSC_READER_DISCONNECTED, PCSC_READER_LIST_CHANGED, PCSC_BYTES_R… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotificationCodes/RFIDNotificationCodes.html b/docs/document_reader/RFIDNotificationCodes/RFIDNotificationCodes.html deleted file mode 100644 index 8e505c5f31..0000000000 --- a/docs/document_reader/RFIDNotificationCodes/RFIDNotificationCodes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDNotificationCodes constructor - RFIDNotificationCodes - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDNotificationCodes
- -
- -
-
-
- -
-
-

RFIDNotificationCodes constructor -

- -
- const - RFIDNotificationCodes(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDNotificationCodes
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotificationCodes/value.html b/docs/document_reader/RFIDNotificationCodes/value.html deleted file mode 100644 index 2a72c157db..0000000000 --- a/docs/document_reader/RFIDNotificationCodes/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDNotificationCodes/values-constant.html b/docs/document_reader/RFIDNotificationCodes/values-constant.html deleted file mode 100644 index 614aa4717b..0000000000 --- a/docs/document_reader/RFIDNotificationCodes/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDNotificationCodes enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDNotificationCodes> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin-class-sidebar.html b/docs/document_reader/RFIDOrigin-class-sidebar.html deleted file mode 100644 index 1c3e9600d6..0000000000 --- a/docs/document_reader/RFIDOrigin-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDOrigin
  4. - - -
  5. - Properties -
  6. -
  7. dg
  8. -
  9. dgTag
  10. -
  11. entryView
  12. -
  13. hashCode
  14. -
  15. runtimeType
  16. -
  17. tagEntry
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/RFIDOrigin-class.html b/docs/document_reader/RFIDOrigin-class.html deleted file mode 100644 index 117e1e761f..0000000000 --- a/docs/document_reader/RFIDOrigin-class.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDOrigin
- -
- -
-
-
- -
-
-

RFIDOrigin class - -

- - -
-

Structure containing rfid origin values.

-
- - - - -
-

Constructors

- -
-
- RFIDOrigin() -
-
- -
-
-
- -
-

Properties

- -
-
- dg - int - -
-
- -
no setter
- -
- -
- dgTag - int - -
-
- -
no setter
- -
- -
- entryView - int - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- tagEntry - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDOrigin? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/RFIDOrigin.html b/docs/document_reader/RFIDOrigin/RFIDOrigin.html deleted file mode 100644 index 616dea5832..0000000000 --- a/docs/document_reader/RFIDOrigin/RFIDOrigin.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDOrigin constructor - RFIDOrigin - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDOrigin
- -
- -
-
-
- -
-
-

RFIDOrigin constructor -

- -
- - RFIDOrigin() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/dg.html b/docs/document_reader/RFIDOrigin/dg.html deleted file mode 100644 index f00103f9f2..0000000000 --- a/docs/document_reader/RFIDOrigin/dg.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - dg property - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dg
- -
- -
-
-
- -
-
-

dg property -

- - - -
- -
- - int - dg - - -
- - - - -
-

Implementation

-
int get dg => _dg;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/dgTag.html b/docs/document_reader/RFIDOrigin/dgTag.html deleted file mode 100644 index c7830a9322..0000000000 --- a/docs/document_reader/RFIDOrigin/dgTag.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - dgTag property - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dgTag
- -
- -
-
-
- -
-
-

dgTag property -

- - - -
- -
- - int - dgTag - - -
- - - - -
-

Implementation

-
int get dgTag => _dgTag;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/entryView.html b/docs/document_reader/RFIDOrigin/entryView.html deleted file mode 100644 index 87a35a4941..0000000000 --- a/docs/document_reader/RFIDOrigin/entryView.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - entryView property - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
entryView
- -
- -
-
-
- -
-
-

entryView property -

- - - -
- -
- - int - entryView - - -
- - - - -
-

Implementation

-
int get entryView => _entryView;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/fromJson.html b/docs/document_reader/RFIDOrigin/fromJson.html deleted file mode 100644 index a8e86c93b7..0000000000 --- a/docs/document_reader/RFIDOrigin/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDOrigin? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDOrigin? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDOrigin();
-
-  result._dg = jsonObject["dg"];
-  result._dgTag = jsonObject["dgTag"];
-  result._entryView = jsonObject["entryView"];
-  result._tagEntry = jsonObject["tagEntry"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/tagEntry.html b/docs/document_reader/RFIDOrigin/tagEntry.html deleted file mode 100644 index 29e4bb014d..0000000000 --- a/docs/document_reader/RFIDOrigin/tagEntry.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - tagEntry property - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
tagEntry
- -
- -
-
-
- -
-
-

tagEntry property -

- - - -
- -
- - int - tagEntry - - -
- - - - -
-

Implementation

-
int get tagEntry => _tagEntry;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDOrigin/toJson.html b/docs/document_reader/RFIDOrigin/toJson.html deleted file mode 100644 index 5d56ac1939..0000000000 --- a/docs/document_reader/RFIDOrigin/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - RFIDOrigin class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "dg": dg,
-      "dgTag": dgTag,
-      "entryView": entryView,
-      "tagEntry": tagEntry,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDParams-class-sidebar.html b/docs/document_reader/RFIDParams-class-sidebar.html deleted file mode 100644 index 800361f139..0000000000 --- a/docs/document_reader/RFIDParams-class-sidebar.html +++ /dev/null @@ -1,27 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDParams
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. paIgnoreNotificationCodes
  10. -
  11. runtimeType
  12. - -
  13. Methods
  14. -
  15. noSuchMethod
  16. -
  17. toJson
  18. -
  19. toString
  20. - -
  21. Operators
  22. -
  23. operator ==
  24. - - - -
  25. Static methods
  26. -
  27. fromJson
  28. - -
diff --git a/docs/document_reader/RFIDParams-class.html b/docs/document_reader/RFIDParams-class.html deleted file mode 100644 index eeb478bfd6..0000000000 --- a/docs/document_reader/RFIDParams-class.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - - - RFIDParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDParams
- -
- -
-
-
- -
-
-

RFIDParams class - -

- - - - - - -
-

Constructors

- -
-
- RFIDParams({List<int>? paIgnoreNotificationCodes}) -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- paIgnoreNotificationCodes - List<int>? - -
-
- A list of notification codes that should be ignored during -passive authentication (PA). -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDParams? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDParams/RFIDParams.html b/docs/document_reader/RFIDParams/RFIDParams.html deleted file mode 100644 index 724c3394f3..0000000000 --- a/docs/document_reader/RFIDParams/RFIDParams.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDParams constructor - RFIDParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDParams
- -
- -
-
-
- -
-
-

RFIDParams constructor -

- -
- - RFIDParams(
  1. {List<int>? paIgnoreNotificationCodes}
  2. -
) -
- - - - - -
-

Implementation

-
RFIDParams
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDParams/fromJson.html b/docs/document_reader/RFIDParams/fromJson.html deleted file mode 100644 index 96cbe4dbf8..0000000000 --- a/docs/document_reader/RFIDParams/fromJson.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - fromJson method - RFIDParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDParams? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDParams? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  return RFIDParams(
-    paIgnoreNotificationCodes: jsonObject["paIgnoreNotificationCodes"] == null
-        ? null
-        : List<int>.from(jsonObject["paIgnoreNotificationCodes"]),
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDParams/paIgnoreNotificationCodes.html b/docs/document_reader/RFIDParams/paIgnoreNotificationCodes.html deleted file mode 100644 index 29577878f7..0000000000 --- a/docs/document_reader/RFIDParams/paIgnoreNotificationCodes.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - paIgnoreNotificationCodes property - RFIDParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
paIgnoreNotificationCodes
- -
- -
-
-
- -
-
-

paIgnoreNotificationCodes property -

- - - -
- -
- - List<int>? - paIgnoreNotificationCodes - - -
- - -
-

A list of notification codes that should be ignored during -passive authentication (PA).

-
- - -
-

Implementation

-
List<int>? get paIgnoreNotificationCodes => _paIgnoreNotificationCodes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDParams/toJson.html b/docs/document_reader/RFIDParams/toJson.html deleted file mode 100644 index d836e0bdf7..0000000000 --- a/docs/document_reader/RFIDParams/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - RFIDParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "paIgnoreNotificationCodes": paIgnoreNotificationCodes,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDPasswordType-enum-sidebar.html b/docs/document_reader/RFIDPasswordType-enum-sidebar.html deleted file mode 100644 index 2d08b2c57c..0000000000 --- a/docs/document_reader/RFIDPasswordType-enum-sidebar.html +++ /dev/null @@ -1,37 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDPasswordType
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. MRZ
  10. -
  11. CAN
  12. -
  13. PIN
  14. -
  15. PUK
  16. -
  17. PIN_ESIGN
  18. -
  19. SAI
  20. - -
  21. - Properties -
  22. -
  23. hashCode
  24. -
  25. index
  26. -
  27. runtimeType
  28. -
  29. value
  30. - -
  31. Methods
  32. -
  33. noSuchMethod
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. getByValue
  44. - -
  45. Constants
  46. -
  47. values
  48. -
diff --git a/docs/document_reader/RFIDPasswordType.html b/docs/document_reader/RFIDPasswordType.html deleted file mode 100644 index 08f093e982..0000000000 --- a/docs/document_reader/RFIDPasswordType.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - - - RFIDPasswordType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDPasswordType
- -
- -
-
-
- -
-
- -

- RFIDPasswordType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDPasswordType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDPasswordType - - -
-
-

Unknown type.

- - -
- RFIDPasswordType(0) -
-
- -
- MRZ - → const RFIDPasswordType - - -
-
-

MRZ.

- - -
- RFIDPasswordType(1) -
-
- -
- CAN - → const RFIDPasswordType - - -
-
-

CAN.

- - -
- RFIDPasswordType(2) -
-
- -
- PIN - → const RFIDPasswordType - - -
-
-

PIN.

- - -
- RFIDPasswordType(3) -
-
- -
- PUK - → const RFIDPasswordType - - -
-
-

PUK.

- - -
- RFIDPasswordType(4) -
-
- -
- PIN_ESIGN - → const RFIDPasswordType - - -
-
-

eSign-PIN.

- - -
- RFIDPasswordType(5) -
-
- -
- SAI - → const RFIDPasswordType - - -
-
-

Scanning Area Identifier (for eDL application).

- - -
- RFIDPasswordType(6) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDPasswordType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDPasswordType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, MRZ, CAN, PIN, PUK, PIN_ESIGN, SAI] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDPasswordType/RFIDPasswordType.html b/docs/document_reader/RFIDPasswordType/RFIDPasswordType.html deleted file mode 100644 index 5c864735f6..0000000000 --- a/docs/document_reader/RFIDPasswordType/RFIDPasswordType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDPasswordType constructor - RFIDPasswordType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDPasswordType
- -
- -
-
-
- -
-
-

RFIDPasswordType constructor -

- -
- const - RFIDPasswordType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDPasswordType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDPasswordType/value.html b/docs/document_reader/RFIDPasswordType/value.html deleted file mode 100644 index 477dc689e7..0000000000 --- a/docs/document_reader/RFIDPasswordType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDPasswordType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDPasswordType/values-constant.html b/docs/document_reader/RFIDPasswordType/values-constant.html deleted file mode 100644 index d30bb110c9..0000000000 --- a/docs/document_reader/RFIDPasswordType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDPasswordType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDPasswordType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDProgressCompletion.html b/docs/document_reader/RFIDProgressCompletion.html deleted file mode 100644 index 100c37d4b0..0000000000 --- a/docs/document_reader/RFIDProgressCompletion.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - RFIDProgressCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDProgressCompletion
- -
- -
-
-
- -
-
-

RFIDProgressCompletion typedef - -

- -
- RFIDProgressCompletion = - void Function(RFIDNotification notification) - -
- - -
-

Completion for reveiving notification about RFID reading process.

-
- - -
-

Implementation

-
typedef RFIDProgressCompletion = void Function(RFIDNotification notification);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSDKProfilerType-enum-sidebar.html b/docs/document_reader/RFIDSDKProfilerType-enum-sidebar.html deleted file mode 100644 index aacb01b58a..0000000000 --- a/docs/document_reader/RFIDSDKProfilerType-enum-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDSDKProfilerType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. DOC_9303_EDITION_2006
  10. -
  11. DOC_9303_LDS_PKI_MAINTENANCE
  12. - -
  13. - Properties -
  14. -
  15. hashCode
  16. -
  17. index
  18. -
  19. runtimeType
  20. -
  21. value
  22. - -
  23. Methods
  24. -
  25. noSuchMethod
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. getByValue
  36. - -
  37. Constants
  38. -
  39. values
  40. -
diff --git a/docs/document_reader/RFIDSDKProfilerType.html b/docs/document_reader/RFIDSDKProfilerType.html deleted file mode 100644 index 8fb61aee4d..0000000000 --- a/docs/document_reader/RFIDSDKProfilerType.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - - - RFIDSDKProfilerType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDSDKProfilerType
- -
- -
-
-
- -
-
- -

- RFIDSDKProfilerType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDSDKProfilerType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const RFIDSDKProfilerType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- RFIDSDKProfilerType(-1) -
-
- -
- DOC_9303_EDITION_2006 - → const RFIDSDKProfilerType - - -
-
-

Doc 9303, 6th edition, 2006.

- - -
- RFIDSDKProfilerType(0x00000001) -
-
- -
- DOC_9303_LDS_PKI_MAINTENANCE - → const RFIDSDKProfilerType - - -
-
-

LDS and PKI Maintenance, v2.0, May 21, 2014.

- - -
- RFIDSDKProfilerType(0x00000002) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDSDKProfilerType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDSDKProfilerType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, DOC_9303_EDITION_2006, DOC_9303_LDS_PKI_MAINTENANCE] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSDKProfilerType/RFIDSDKProfilerType.html b/docs/document_reader/RFIDSDKProfilerType/RFIDSDKProfilerType.html deleted file mode 100644 index e31d684157..0000000000 --- a/docs/document_reader/RFIDSDKProfilerType/RFIDSDKProfilerType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDSDKProfilerType constructor - RFIDSDKProfilerType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDSDKProfilerType
- -
- -
-
-
- -
-
-

RFIDSDKProfilerType constructor -

- -
- const - RFIDSDKProfilerType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDSDKProfilerType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSDKProfilerType/value.html b/docs/document_reader/RFIDSDKProfilerType/value.html deleted file mode 100644 index 1839ad5e2d..0000000000 --- a/docs/document_reader/RFIDSDKProfilerType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDSDKProfilerType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSDKProfilerType/values-constant.html b/docs/document_reader/RFIDSDKProfilerType/values-constant.html deleted file mode 100644 index c690bdc47e..0000000000 --- a/docs/document_reader/RFIDSDKProfilerType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDSDKProfilerType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDSDKProfilerType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario-class-sidebar.html b/docs/document_reader/RFIDScenario-class-sidebar.html deleted file mode 100644 index 962f92b37e..0000000000 --- a/docs/document_reader/RFIDScenario-class-sidebar.html +++ /dev/null @@ -1,79 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDScenario
  4. - - -
  5. - Properties -
  6. -
  7. applyAmendments
  8. -
  9. authorizedCANAllowed
  10. -
  11. authorizedInstallCert
  12. -
  13. authorizedInstallQCert
  14. -
  15. authorizedPINManagement
  16. -
  17. authorizedPrivilegedTerminal
  18. -
  19. authorizedRestrictedIdentification
  20. -
  21. authorizedSTQSignature
  22. -
  23. authorizedSTSignature
  24. -
  25. authorizedVerifyAge
  26. -
  27. authorizedVerifyCommunityID
  28. -
  29. authorizedWriteDG17
  30. -
  31. authorizedWriteDG18
  32. -
  33. authorizedWriteDG19
  34. -
  35. authorizedWriteDG20
  36. -
  37. authorizedWriteDG21
  38. -
  39. authProcType
  40. -
  41. autoSettings
  42. -
  43. auxVerificationCommunityID
  44. -
  45. auxVerificationDateOfBirth
  46. -
  47. baseSMProcedure
  48. -
  49. defaultReadingBufferSize
  50. -
  51. eDLDataGroups
  52. -
  53. eIDDataGroups
  54. -
  55. ePassportDataGroups
  56. -
  57. eSignPINDefault
  58. -
  59. eSignPINNewValue
  60. -
  61. hashCode
  62. -
  63. mrz
  64. -
  65. onlineTA
  66. -
  67. onlineTAToSignDataType
  68. -
  69. pacePasswordType
  70. -
  71. paceStaticBinding
  72. -
  73. passiveAuth
  74. -
  75. password
  76. -
  77. pkdDSCertPriority
  78. -
  79. pkdEAC
  80. -
  81. pkdPA
  82. -
  83. pkdUseExternalCSCA
  84. -
  85. proceedReadingAlways
  86. -
  87. profilerType
  88. -
  89. readEDL
  90. -
  91. readEID
  92. -
  93. readEPassport
  94. -
  95. readingBuffer
  96. -
  97. runtimeType
  98. -
  99. signManagementAction
  100. -
  101. skipAA
  102. -
  103. strictProcessing
  104. -
  105. terminalType
  106. -
  107. testSetters
  108. -
  109. trustedPKD
  110. -
  111. universalAccessRights
  112. -
  113. useSFI
  114. -
  115. writeEid
  116. - -
  117. Methods
  118. -
  119. noSuchMethod
  120. -
  121. toJson
  122. -
  123. toString
  124. - -
  125. Operators
  126. -
  127. operator ==
  128. - - - -
  129. Static methods
  130. -
  131. fromJson
  132. - -
diff --git a/docs/document_reader/RFIDScenario-class.html b/docs/document_reader/RFIDScenario-class.html deleted file mode 100644 index 32420f2eac..0000000000 --- a/docs/document_reader/RFIDScenario-class.html +++ /dev/null @@ -1,832 +0,0 @@ - - - - - - - - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDScenario
- -
- -
-
-
- -
-
-

RFIDScenario class - -

- - -
-

Params that influence the RFID chip processing.

-
- - - - -
-

Constructors

- -
-
- RFIDScenario() -
-
- -
-
-
- -
-

Properties

- -
-
- applyAmendments - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedCANAllowed - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedInstallCert - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedInstallQCert - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedPINManagement - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedPrivilegedTerminal - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedRestrictedIdentification - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedSTQSignature - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedSTSignature - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedVerifyAge - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedVerifyCommunityID - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedWriteDG17 - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedWriteDG18 - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedWriteDG19 - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedWriteDG20 - bool? - -
-
- -
getter/setter pair
- -
- -
- authorizedWriteDG21 - bool? - -
-
- -
getter/setter pair
- -
- -
- authProcType - RFIDAuthenticationProcedureType? - -
-
- -
getter/setter pair
- -
- -
- autoSettings - bool? - -
-
- -
getter/setter pair
- -
- -
- auxVerificationCommunityID - bool? - -
-
- -
getter/setter pair
- -
- -
- auxVerificationDateOfBirth - bool? - -
-
- -
getter/setter pair
- -
- -
- baseSMProcedure - RFIDAccessControlProcedureType? - -
-
- -
getter/setter pair
- -
- -
- defaultReadingBufferSize - int - -
-
- -
getter/setter pair
- -
- -
- eDLDataGroups - EDLDataGroups - -
-
- -
getter/setter pair
- -
- -
- eIDDataGroups - EIDDataGroups - -
-
- -
getter/setter pair
- -
- -
- ePassportDataGroups - EPassportDataGroups - -
-
- -
getter/setter pair
- -
- -
- eSignPINDefault - String? - -
-
- -
getter/setter pair
- -
- -
- eSignPINNewValue - String? - -
-
- -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- mrz - String? - -
-
- -
getter/setter pair
- -
- -
- onlineTA - bool? - -
-
- -
getter/setter pair
- -
- -
- onlineTAToSignDataType - int? - -
-
- -
getter/setter pair
- -
- -
- pacePasswordType - RFIDPasswordType? - -
-
- -
getter/setter pair
- -
- -
- paceStaticBinding - bool? - -
-
- -
getter/setter pair
- -
- -
- passiveAuth - bool? - -
-
- -
getter/setter pair
- -
- -
- password - String? - -
-
- -
getter/setter pair
- -
- -
- pkdDSCertPriority - bool? - -
-
- -
getter/setter pair
- -
- -
- pkdEAC - String? - -
-
- -
getter/setter pair
- -
- -
- pkdPA - String? - -
-
- -
getter/setter pair
- -
- -
- pkdUseExternalCSCA - bool? - -
-
- -
getter/setter pair
- -
- -
- proceedReadingAlways - bool? - -
-
- -
getter/setter pair
- -
- -
- profilerType - RFIDSDKProfilerType? - -
-
- -
getter/setter pair
- -
- -
- readEDL - bool? - -
-
- -
getter/setter pair
- -
- -
- readEID - bool? - -
-
- -
getter/setter pair
- -
- -
- readEPassport - bool? - -
-
- -
getter/setter pair
- -
- -
- readingBuffer - int? - -
-
- -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- signManagementAction - SignManagementAction? - -
-
- -
getter/setter pair
- -
- -
- skipAA - bool? - -
-
- -
getter/setter pair
- -
- -
- strictProcessing - bool? - -
-
- -
getter/setter pair
- -
- -
- terminalType - RFIDTerminalType? - -
-
- -
getter/setter pair
- -
- -
- testSetters - Map<String, dynamic> - -
-
- -
getter/setter pair
- -
- -
- trustedPKD - bool? - -
-
- -
getter/setter pair
- -
- -
- universalAccessRights - bool? - -
-
- -
getter/setter pair
- -
- -
- useSFI - bool? - -
-
- -
getter/setter pair
- -
- -
- writeEid - bool? - -
-
- -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDScenario - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/RFIDScenario.html b/docs/document_reader/RFIDScenario/RFIDScenario.html deleted file mode 100644 index c2af02e0f7..0000000000 --- a/docs/document_reader/RFIDScenario/RFIDScenario.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDScenario constructor - RFIDScenario - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDScenario
- -
- -
-
-
- -
-
-

RFIDScenario constructor -

- -
- - RFIDScenario() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/applyAmendments.html b/docs/document_reader/RFIDScenario/applyAmendments.html deleted file mode 100644 index 9db9b7c0ad..0000000000 --- a/docs/document_reader/RFIDScenario/applyAmendments.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - applyAmendments property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
applyAmendments
- -
- -
-
-
- -
-
-

applyAmendments property -

- - - -
- -
- - bool? - applyAmendments - - -
- - - - -
-

Implementation

-
bool? get applyAmendments => _applyAmendments;
-
- -
- - - -
- -
- - void - applyAmendments=(bool? val) - - -
- - - - -
-

Implementation

-
set applyAmendments(bool? val) {
-  _applyAmendments = val;
-  _set({"applyAmendments": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authProcType.html b/docs/document_reader/RFIDScenario/authProcType.html deleted file mode 100644 index 96b390c37e..0000000000 --- a/docs/document_reader/RFIDScenario/authProcType.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authProcType property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authProcType
- -
- -
-
-
- -
-
-

authProcType property -

- - - -
- -
- - RFIDAuthenticationProcedureType? - authProcType - - -
- - - - -
-

Implementation

-
RFIDAuthenticationProcedureType? get authProcType => _authProcType;
-
- -
- - - -
- -
- - void - authProcType=(RFIDAuthenticationProcedureType? val) - - -
- - - - -
-

Implementation

-
set authProcType(RFIDAuthenticationProcedureType? val) {
-  _authProcType = val;
-  _set({"authProcType": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedCANAllowed.html b/docs/document_reader/RFIDScenario/authorizedCANAllowed.html deleted file mode 100644 index e5b8a79444..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedCANAllowed.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedCANAllowed property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedCANAllowed
- -
- -
-
-
- -
-
-

authorizedCANAllowed property -

- - - -
- -
- - bool? - authorizedCANAllowed - - -
- - - - -
-

Implementation

-
bool? get authorizedCANAllowed => _authorizedCANAllowed;
-
- -
- - - -
- -
- - void - authorizedCANAllowed=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedCANAllowed(bool? val) {
-  _authorizedCANAllowed = val;
-  _set({"authorizedCANAllowed": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedInstallCert.html b/docs/document_reader/RFIDScenario/authorizedInstallCert.html deleted file mode 100644 index afa7a235bf..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedInstallCert.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedInstallCert property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedInstallCert
- -
- -
-
-
- -
-
-

authorizedInstallCert property -

- - - -
- -
- - bool? - authorizedInstallCert - - -
- - - - -
-

Implementation

-
bool? get authorizedInstallCert => _authorizedInstallCert;
-
- -
- - - -
- -
- - void - authorizedInstallCert=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedInstallCert(bool? val) {
-  _authorizedInstallCert = val;
-  _set({"authorizedInstallCert": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedInstallQCert.html b/docs/document_reader/RFIDScenario/authorizedInstallQCert.html deleted file mode 100644 index 3cb2462922..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedInstallQCert.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedInstallQCert property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedInstallQCert
- -
- -
-
-
- -
-
-

authorizedInstallQCert property -

- - - -
- -
- - bool? - authorizedInstallQCert - - -
- - - - -
-

Implementation

-
bool? get authorizedInstallQCert => _authorizedInstallQCert;
-
- -
- - - -
- -
- - void - authorizedInstallQCert=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedInstallQCert(bool? val) {
-  _authorizedInstallQCert = val;
-  _set({"authorizedInstallQCert": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedPINManagement.html b/docs/document_reader/RFIDScenario/authorizedPINManagement.html deleted file mode 100644 index 827bbc5b02..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedPINManagement.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedPINManagement property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedPINManagement
- -
- -
-
-
- -
-
-

authorizedPINManagement property -

- - - -
- -
- - bool? - authorizedPINManagement - - -
- - - - -
-

Implementation

-
bool? get authorizedPINManagement => _authorizedPINManagement;
-
- -
- - - -
- -
- - void - authorizedPINManagement=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedPINManagement(bool? val) {
-  _authorizedPINManagement = val;
-  _set({"authorizedPINManagement": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedPrivilegedTerminal.html b/docs/document_reader/RFIDScenario/authorizedPrivilegedTerminal.html deleted file mode 100644 index f4038ec081..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedPrivilegedTerminal.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedPrivilegedTerminal property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedPrivilegedTerminal
- -
- -
-
-
- -
-
-

authorizedPrivilegedTerminal property -

- - - -
- -
- - bool? - authorizedPrivilegedTerminal - - -
- - - - -
-

Implementation

-
bool? get authorizedPrivilegedTerminal => _authorizedPrivilegedTerminal;
-
- -
- - - -
- -
- - void - authorizedPrivilegedTerminal=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedPrivilegedTerminal(bool? val) {
-  _authorizedPrivilegedTerminal = val;
-  _set({"authorizedPrivilegedTerminal": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedRestrictedIdentification.html b/docs/document_reader/RFIDScenario/authorizedRestrictedIdentification.html deleted file mode 100644 index 2544afae5c..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedRestrictedIdentification.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - authorizedRestrictedIdentification property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedRestrictedIdentification
- -
- -
-
-
- -
-
-

authorizedRestrictedIdentification property -

- - - -
- -
- - bool? - authorizedRestrictedIdentification - - -
- - - - -
-

Implementation

-
bool? get authorizedRestrictedIdentification =>
-    _authorizedRestrictedIdentification;
-
- -
- - - -
- -
- - void - authorizedRestrictedIdentification=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedRestrictedIdentification(bool? val) {
-  _authorizedRestrictedIdentification = val;
-  _set({"authorizedRestrictedIdentification": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedSTQSignature.html b/docs/document_reader/RFIDScenario/authorizedSTQSignature.html deleted file mode 100644 index 64217afb03..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedSTQSignature.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedSTQSignature property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedSTQSignature
- -
- -
-
-
- -
-
-

authorizedSTQSignature property -

- - - -
- -
- - bool? - authorizedSTQSignature - - -
- - - - -
-

Implementation

-
bool? get authorizedSTQSignature => _authorizedSTQSignature;
-
- -
- - - -
- -
- - void - authorizedSTQSignature=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedSTQSignature(bool? val) {
-  _authorizedSTQSignature = val;
-  _set({"authorizedSTQSignature": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedSTSignature.html b/docs/document_reader/RFIDScenario/authorizedSTSignature.html deleted file mode 100644 index 278bb4845f..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedSTSignature.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedSTSignature property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedSTSignature
- -
- -
-
-
- -
-
-

authorizedSTSignature property -

- - - -
- -
- - bool? - authorizedSTSignature - - -
- - - - -
-

Implementation

-
bool? get authorizedSTSignature => _authorizedSTSignature;
-
- -
- - - -
- -
- - void - authorizedSTSignature=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedSTSignature(bool? val) {
-  _authorizedSTSignature = val;
-  _set({"authorizedSTSignature": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedVerifyAge.html b/docs/document_reader/RFIDScenario/authorizedVerifyAge.html deleted file mode 100644 index 4c5dea97a1..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedVerifyAge.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedVerifyAge property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedVerifyAge
- -
- -
-
-
- -
-
-

authorizedVerifyAge property -

- - - -
- -
- - bool? - authorizedVerifyAge - - -
- - - - -
-

Implementation

-
bool? get authorizedVerifyAge => _authorizedVerifyAge;
-
- -
- - - -
- -
- - void - authorizedVerifyAge=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedVerifyAge(bool? val) {
-  _authorizedVerifyAge = val;
-  _set({"authorizedVerifyAge": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedVerifyCommunityID.html b/docs/document_reader/RFIDScenario/authorizedVerifyCommunityID.html deleted file mode 100644 index a759d76b0e..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedVerifyCommunityID.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedVerifyCommunityID property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedVerifyCommunityID
- -
- -
-
-
- -
-
-

authorizedVerifyCommunityID property -

- - - -
- -
- - bool? - authorizedVerifyCommunityID - - -
- - - - -
-

Implementation

-
bool? get authorizedVerifyCommunityID => _authorizedVerifyCommunityID;
-
- -
- - - -
- -
- - void - authorizedVerifyCommunityID=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedVerifyCommunityID(bool? val) {
-  _authorizedVerifyCommunityID = val;
-  _set({"authorizedVerifyCommunityID": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedWriteDG17.html b/docs/document_reader/RFIDScenario/authorizedWriteDG17.html deleted file mode 100644 index 28a63c5d28..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedWriteDG17.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedWriteDG17 property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedWriteDG17
- -
- -
-
-
- -
-
-

authorizedWriteDG17 property -

- - - -
- -
- - bool? - authorizedWriteDG17 - - -
- - - - -
-

Implementation

-
bool? get authorizedWriteDG17 => _authorizedWriteDG17;
-
- -
- - - -
- -
- - void - authorizedWriteDG17=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedWriteDG17(bool? val) {
-  _authorizedWriteDG17 = val;
-  _set({"authorizedWriteDG17": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedWriteDG18.html b/docs/document_reader/RFIDScenario/authorizedWriteDG18.html deleted file mode 100644 index 3c87dc8b4a..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedWriteDG18.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedWriteDG18 property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedWriteDG18
- -
- -
-
-
- -
-
-

authorizedWriteDG18 property -

- - - -
- -
- - bool? - authorizedWriteDG18 - - -
- - - - -
-

Implementation

-
bool? get authorizedWriteDG18 => _authorizedWriteDG18;
-
- -
- - - -
- -
- - void - authorizedWriteDG18=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedWriteDG18(bool? val) {
-  _authorizedWriteDG18 = val;
-  _set({"authorizedWriteDG18": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedWriteDG19.html b/docs/document_reader/RFIDScenario/authorizedWriteDG19.html deleted file mode 100644 index 9975b9b67f..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedWriteDG19.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedWriteDG19 property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedWriteDG19
- -
- -
-
-
- -
-
-

authorizedWriteDG19 property -

- - - -
- -
- - bool? - authorizedWriteDG19 - - -
- - - - -
-

Implementation

-
bool? get authorizedWriteDG19 => _authorizedWriteDG19;
-
- -
- - - -
- -
- - void - authorizedWriteDG19=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedWriteDG19(bool? val) {
-  _authorizedWriteDG19 = val;
-  _set({"authorizedWriteDG19": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedWriteDG20.html b/docs/document_reader/RFIDScenario/authorizedWriteDG20.html deleted file mode 100644 index b5949a7bad..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedWriteDG20.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedWriteDG20 property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedWriteDG20
- -
- -
-
-
- -
-
-

authorizedWriteDG20 property -

- - - -
- -
- - bool? - authorizedWriteDG20 - - -
- - - - -
-

Implementation

-
bool? get authorizedWriteDG20 => _authorizedWriteDG20;
-
- -
- - - -
- -
- - void - authorizedWriteDG20=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedWriteDG20(bool? val) {
-  _authorizedWriteDG20 = val;
-  _set({"authorizedWriteDG20": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/authorizedWriteDG21.html b/docs/document_reader/RFIDScenario/authorizedWriteDG21.html deleted file mode 100644 index 6ef04d3290..0000000000 --- a/docs/document_reader/RFIDScenario/authorizedWriteDG21.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - authorizedWriteDG21 property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authorizedWriteDG21
- -
- -
-
-
- -
-
-

authorizedWriteDG21 property -

- - - -
- -
- - bool? - authorizedWriteDG21 - - -
- - - - -
-

Implementation

-
bool? get authorizedWriteDG21 => _authorizedWriteDG21;
-
- -
- - - -
- -
- - void - authorizedWriteDG21=(bool? val) - - -
- - - - -
-

Implementation

-
set authorizedWriteDG21(bool? val) {
-  _authorizedWriteDG21 = val;
-  _set({"authorizedWriteDG21": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/autoSettings.html b/docs/document_reader/RFIDScenario/autoSettings.html deleted file mode 100644 index 4c781d3097..0000000000 --- a/docs/document_reader/RFIDScenario/autoSettings.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - autoSettings property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
autoSettings
- -
- -
-
-
- -
-
-

autoSettings property -

- - - -
- -
- - bool? - autoSettings - - -
- - - - -
-

Implementation

-
bool? get autoSettings => _autoSettings;
-
- -
- - - -
- -
- - void - autoSettings=(bool? val) - - -
- - - - -
-

Implementation

-
set autoSettings(bool? val) {
-  _autoSettings = val;
-  _set({"autoSettings": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/auxVerificationCommunityID.html b/docs/document_reader/RFIDScenario/auxVerificationCommunityID.html deleted file mode 100644 index fa10341141..0000000000 --- a/docs/document_reader/RFIDScenario/auxVerificationCommunityID.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - auxVerificationCommunityID property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
auxVerificationCommunityID
- -
- -
-
-
- -
-
-

auxVerificationCommunityID property -

- - - -
- -
- - bool? - auxVerificationCommunityID - - -
- - - - -
-

Implementation

-
bool? get auxVerificationCommunityID => _auxVerificationCommunityID;
-
- -
- - - -
- -
- - void - auxVerificationCommunityID=(bool? val) - - -
- - - - -
-

Implementation

-
set auxVerificationCommunityID(bool? val) {
-  _auxVerificationCommunityID = val;
-  _set({"auxVerificationCommunityID": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/auxVerificationDateOfBirth.html b/docs/document_reader/RFIDScenario/auxVerificationDateOfBirth.html deleted file mode 100644 index 24c4c084c7..0000000000 --- a/docs/document_reader/RFIDScenario/auxVerificationDateOfBirth.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - auxVerificationDateOfBirth property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
auxVerificationDateOfBirth
- -
- -
-
-
- -
-
-

auxVerificationDateOfBirth property -

- - - -
- -
- - bool? - auxVerificationDateOfBirth - - -
- - - - -
-

Implementation

-
bool? get auxVerificationDateOfBirth => _auxVerificationDateOfBirth;
-
- -
- - - -
- -
- - void - auxVerificationDateOfBirth=(bool? val) - - -
- - - - -
-

Implementation

-
set auxVerificationDateOfBirth(bool? val) {
-  _auxVerificationDateOfBirth = val;
-  _set({"auxVerificationDateOfBirth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/baseSMProcedure.html b/docs/document_reader/RFIDScenario/baseSMProcedure.html deleted file mode 100644 index d712f0587c..0000000000 --- a/docs/document_reader/RFIDScenario/baseSMProcedure.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - baseSMProcedure property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
baseSMProcedure
- -
- -
-
-
- -
-
-

baseSMProcedure property -

- - - -
- -
- - RFIDAccessControlProcedureType? - baseSMProcedure - - -
- - - - -
-

Implementation

-
RFIDAccessControlProcedureType? get baseSMProcedure => _baseSMProcedure;
-
- -
- - - -
- -
- - void - baseSMProcedure=(RFIDAccessControlProcedureType? val) - - -
- - - - -
-

Implementation

-
set baseSMProcedure(RFIDAccessControlProcedureType? val) {
-  _baseSMProcedure = val;
-  _set({"baseSMProcedure": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/defaultReadingBufferSize.html b/docs/document_reader/RFIDScenario/defaultReadingBufferSize.html deleted file mode 100644 index 924810f661..0000000000 --- a/docs/document_reader/RFIDScenario/defaultReadingBufferSize.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - defaultReadingBufferSize property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
defaultReadingBufferSize
- -
- -
-
-
- -
-
-

defaultReadingBufferSize property -

- - - -
- -
- - int - defaultReadingBufferSize - - -
- - - - -
-

Implementation

-
int get defaultReadingBufferSize => _defaultReadingBufferSize;
-
- -
- - - -
- -
- - void - defaultReadingBufferSize=(int val) - - -
- - - - -
-

Implementation

-
set defaultReadingBufferSize(int val) {
-  _defaultReadingBufferSize = val;
-  _set({"defaultReadingBufferSize": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/eDLDataGroups.html b/docs/document_reader/RFIDScenario/eDLDataGroups.html deleted file mode 100644 index 8c451b693f..0000000000 --- a/docs/document_reader/RFIDScenario/eDLDataGroups.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - eDLDataGroups property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
eDLDataGroups
- -
- -
-
-
- -
-
-

eDLDataGroups property -

- - - -
- -
- - EDLDataGroups - eDLDataGroups - - -
- - - - -
-

Implementation

-
EDLDataGroups get eDLDataGroups => _eDLDataGroups;
-
- -
- - - -
- -
- - void - eDLDataGroups=(EDLDataGroups val) - - -
- - - - -
-

Implementation

-
set eDLDataGroups(EDLDataGroups val) {
-  (_eDLDataGroups = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/eIDDataGroups.html b/docs/document_reader/RFIDScenario/eIDDataGroups.html deleted file mode 100644 index 32d4fd86df..0000000000 --- a/docs/document_reader/RFIDScenario/eIDDataGroups.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - eIDDataGroups property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
eIDDataGroups
- -
- -
-
-
- -
-
-

eIDDataGroups property -

- - - -
- -
- - EIDDataGroups - eIDDataGroups - - -
- - - - -
-

Implementation

-
EIDDataGroups get eIDDataGroups => _eIDDataGroups;
-
- -
- - - -
- -
- - void - eIDDataGroups=(EIDDataGroups val) - - -
- - - - -
-

Implementation

-
set eIDDataGroups(EIDDataGroups val) {
-  (_eIDDataGroups = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/ePassportDataGroups.html b/docs/document_reader/RFIDScenario/ePassportDataGroups.html deleted file mode 100644 index da3882b42c..0000000000 --- a/docs/document_reader/RFIDScenario/ePassportDataGroups.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - ePassportDataGroups property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ePassportDataGroups
- -
- -
-
-
- -
-
-

ePassportDataGroups property -

- - - -
- -
- - EPassportDataGroups - ePassportDataGroups - - -
- - - - -
-

Implementation

-
EPassportDataGroups get ePassportDataGroups => _ePassportDataGroups;
-
- -
- - - -
- -
- - void - ePassportDataGroups=(EPassportDataGroups val) - - -
- - - - -
-

Implementation

-
set ePassportDataGroups(EPassportDataGroups val) {
-  (_ePassportDataGroups = val)._apply(this);
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/eSignPINDefault.html b/docs/document_reader/RFIDScenario/eSignPINDefault.html deleted file mode 100644 index 1181841675..0000000000 --- a/docs/document_reader/RFIDScenario/eSignPINDefault.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - eSignPINDefault property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
eSignPINDefault
- -
- -
-
-
- -
-
-

eSignPINDefault property -

- - - -
- -
- - String? - eSignPINDefault - - -
- - - - -
-

Implementation

-
String? get eSignPINDefault => _eSignPINDefault;
-
- -
- - - -
- -
- - void - eSignPINDefault=(String? val) - - -
- - - - -
-

Implementation

-
set eSignPINDefault(String? val) {
-  _eSignPINDefault = val;
-  _set({"eSignPINDefault": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/eSignPINNewValue.html b/docs/document_reader/RFIDScenario/eSignPINNewValue.html deleted file mode 100644 index 6627e4c78f..0000000000 --- a/docs/document_reader/RFIDScenario/eSignPINNewValue.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - eSignPINNewValue property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
eSignPINNewValue
- -
- -
-
-
- -
-
-

eSignPINNewValue property -

- - - -
- -
- - String? - eSignPINNewValue - - -
- - - - -
-

Implementation

-
String? get eSignPINNewValue => _eSignPINNewValue;
-
- -
- - - -
- -
- - void - eSignPINNewValue=(String? val) - - -
- - - - -
-

Implementation

-
set eSignPINNewValue(String? val) {
-  _eSignPINNewValue = val;
-  _set({"eSignPINNewValue": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/fromJson.html b/docs/document_reader/RFIDScenario/fromJson.html deleted file mode 100644 index aeca7f7fd0..0000000000 --- a/docs/document_reader/RFIDScenario/fromJson.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - fromJson method - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDScenario -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDScenario fromJson(jsonObject) {
-  var result = RFIDScenario();
-  result.testSetters = {};
-
-  result.paceStaticBinding = jsonObject["paceStaticBinding"];
-  result.onlineTA = jsonObject["onlineTA"];
-  result.writeEid = jsonObject["writeEid"];
-  result.universalAccessRights = jsonObject["universalAccessRights"];
-  result.authorizedRestrictedIdentification =
-      jsonObject["authorizedRestrictedIdentification"];
-  result.auxVerificationCommunityID =
-      jsonObject["auxVerificationCommunityID"];
-  result.auxVerificationDateOfBirth =
-      jsonObject["auxVerificationDateOfBirth"];
-  result.skipAA = jsonObject["skipAA"];
-  result.strictProcessing = jsonObject["strictProcessing"];
-  result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"];
-  result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"];
-  result.trustedPKD = jsonObject["trustedPKD"];
-  result.passiveAuth = jsonObject["passiveAuth"];
-  result.useSFI = jsonObject["useSFI"];
-  result.readEPassport = jsonObject["readEPassport"];
-  result.readEID = jsonObject["readEID"];
-  result.readEDL = jsonObject["readEDL"];
-  result.authorizedSTSignature = jsonObject["authorizedSTSignature"];
-  result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"];
-  result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"];
-  result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"];
-  result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"];
-  result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"];
-  result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"];
-  result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"];
-  result.authorizedVerifyCommunityID =
-      jsonObject["authorizedVerifyCommunityID"];
-  result.authorizedPrivilegedTerminal =
-      jsonObject["authorizedPrivilegedTerminal"];
-  result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"];
-  result.authorizedPINManagement = jsonObject["authorizedPINManagement"];
-  result.authorizedInstallCert = jsonObject["authorizedInstallCert"];
-  result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"];
-  result.applyAmendments = jsonObject["applyAmendments"];
-  result.autoSettings = jsonObject["autoSettings"];
-  result.proceedReadingAlways = jsonObject["proceedReadingAlways"];
-
-  result.readingBuffer = jsonObject["readingBuffer"];
-  result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"];
-  result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"];
-  result.signManagementAction =
-      SignManagementAction.getByValue(jsonObject["signManagementAction"]);
-  result.profilerType =
-      RFIDSDKProfilerType.getByValue(jsonObject["profilerType"]);
-  result.authProcType =
-      RFIDAuthenticationProcedureType.getByValue(jsonObject["authProcType"]);
-  result.baseSMProcedure = RFIDAccessControlProcedureType.getByValue(
-      jsonObject["baseSMProcedure"]);
-  result.pacePasswordType =
-      RFIDPasswordType.getByValue(jsonObject["pacePasswordType"]);
-  result.terminalType =
-      RFIDTerminalType.getByValue(jsonObject["terminalType"]);
-
-  result.password = jsonObject["password"];
-  result.pkdPA = jsonObject["pkdPA"];
-  result.pkdEAC = jsonObject["pkdEAC"];
-  result.mrz = jsonObject["mrz"];
-  result.eSignPINDefault = jsonObject["eSignPINDefault"];
-  result.eSignPINNewValue = jsonObject["eSignPINNewValue"];
-
-  result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"]);
-  result.ePassportDataGroups =
-      EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"]);
-  result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/mrz.html b/docs/document_reader/RFIDScenario/mrz.html deleted file mode 100644 index 3b4766e22b..0000000000 --- a/docs/document_reader/RFIDScenario/mrz.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - mrz property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mrz
- -
- -
-
-
- -
-
-

mrz property -

- - - -
- -
- - String? - mrz - - -
- - - - -
-

Implementation

-
String? get mrz => _mrz;
-
- -
- - - -
- -
- - void - mrz=(String? val) - - -
- - - - -
-

Implementation

-
set mrz(String? val) {
-  _mrz = val;
-  _set({"mrz": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/onlineTA.html b/docs/document_reader/RFIDScenario/onlineTA.html deleted file mode 100644 index 0a3b5bb44a..0000000000 --- a/docs/document_reader/RFIDScenario/onlineTA.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - onlineTA property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onlineTA
- -
- -
-
-
- -
-
-

onlineTA property -

- - - -
- -
- - bool? - onlineTA - - -
- - - - -
-

Implementation

-
bool? get onlineTA => _onlineTA;
-
- -
- - - -
- -
- - void - onlineTA=(bool? val) - - -
- - - - -
-

Implementation

-
set onlineTA(bool? val) {
-  _onlineTA = val;
-  _set({"onlineTA": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/onlineTAToSignDataType.html b/docs/document_reader/RFIDScenario/onlineTAToSignDataType.html deleted file mode 100644 index 689f902df2..0000000000 --- a/docs/document_reader/RFIDScenario/onlineTAToSignDataType.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - onlineTAToSignDataType property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onlineTAToSignDataType
- -
- -
-
-
- -
-
-

onlineTAToSignDataType property -

- - - -
- -
- - int? - onlineTAToSignDataType - - -
- - - - -
-

Implementation

-
int? get onlineTAToSignDataType => _onlineTAToSignDataType;
-
- -
- - - -
- -
- - void - onlineTAToSignDataType=(int? val) - - -
- - - - -
-

Implementation

-
set onlineTAToSignDataType(int? val) {
-  _onlineTAToSignDataType = val;
-  _set({"onlineTAToSignDataType": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/pacePasswordType.html b/docs/document_reader/RFIDScenario/pacePasswordType.html deleted file mode 100644 index 2828e32572..0000000000 --- a/docs/document_reader/RFIDScenario/pacePasswordType.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - pacePasswordType property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pacePasswordType
- -
- -
-
-
- -
-
-

pacePasswordType property -

- - - -
- -
- - RFIDPasswordType? - pacePasswordType - - -
- - - - -
-

Implementation

-
RFIDPasswordType? get pacePasswordType => _pacePasswordType;
-
- -
- - - -
- -
- - void - pacePasswordType=(RFIDPasswordType? val) - - -
- - - - -
-

Implementation

-
set pacePasswordType(RFIDPasswordType? val) {
-  _pacePasswordType = val;
-  _set({"pacePasswordType": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/paceStaticBinding.html b/docs/document_reader/RFIDScenario/paceStaticBinding.html deleted file mode 100644 index b643a65582..0000000000 --- a/docs/document_reader/RFIDScenario/paceStaticBinding.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - paceStaticBinding property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
paceStaticBinding
- -
- -
-
-
- -
-
-

paceStaticBinding property -

- - - -
- -
- - bool? - paceStaticBinding - - -
- - - - -
-

Implementation

-
bool? get paceStaticBinding => _paceStaticBinding;
-
- -
- - - -
- -
- - void - paceStaticBinding=(bool? val) - - -
- - - - -
-

Implementation

-
set paceStaticBinding(bool? val) {
-  _paceStaticBinding = val;
-  _set({"paceStaticBinding": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/passiveAuth.html b/docs/document_reader/RFIDScenario/passiveAuth.html deleted file mode 100644 index 3ab1338234..0000000000 --- a/docs/document_reader/RFIDScenario/passiveAuth.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - passiveAuth property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
passiveAuth
- -
- -
-
-
- -
-
-

passiveAuth property -

- - - -
- -
- - bool? - passiveAuth - - -
- - - - -
-

Implementation

-
bool? get passiveAuth => _passiveAuth;
-
- -
- - - -
- -
- - void - passiveAuth=(bool? val) - - -
- - - - -
-

Implementation

-
set passiveAuth(bool? val) {
-  _passiveAuth = val;
-  _set({"passiveAuth": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/password.html b/docs/document_reader/RFIDScenario/password.html deleted file mode 100644 index f0b6ed1ffa..0000000000 --- a/docs/document_reader/RFIDScenario/password.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - password property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
password
- -
- -
-
-
- -
-
-

password property -

- - - -
- -
- - String? - password - - -
- - - - -
-

Implementation

-
String? get password => _password;
-
- -
- - - -
- -
- - void - password=(String? val) - - -
- - - - -
-

Implementation

-
set password(String? val) {
-  _password = val;
-  _set({"password": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/pkdDSCertPriority.html b/docs/document_reader/RFIDScenario/pkdDSCertPriority.html deleted file mode 100644 index a49facfea3..0000000000 --- a/docs/document_reader/RFIDScenario/pkdDSCertPriority.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - pkdDSCertPriority property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pkdDSCertPriority
- -
- -
-
-
- -
-
-

pkdDSCertPriority property -

- - - -
- -
- - bool? - pkdDSCertPriority - - -
- - - - -
-

Implementation

-
bool? get pkdDSCertPriority => _pkdDSCertPriority;
-
- -
- - - -
- -
- - void - pkdDSCertPriority=(bool? val) - - -
- - - - -
-

Implementation

-
set pkdDSCertPriority(bool? val) {
-  _pkdDSCertPriority = val;
-  _set({"pkdDSCertPriority": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/pkdEAC.html b/docs/document_reader/RFIDScenario/pkdEAC.html deleted file mode 100644 index 716ffca395..0000000000 --- a/docs/document_reader/RFIDScenario/pkdEAC.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - pkdEAC property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pkdEAC
- -
- -
-
-
- -
-
-

pkdEAC property -

- - - -
- -
- - String? - pkdEAC - - -
- - - - -
-

Implementation

-
String? get pkdEAC => _pkdEAC;
-
- -
- - - -
- -
- - void - pkdEAC=(String? val) - - -
- - - - -
-

Implementation

-
set pkdEAC(String? val) {
-  _pkdEAC = val;
-  _set({"pkdEAC": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/pkdPA.html b/docs/document_reader/RFIDScenario/pkdPA.html deleted file mode 100644 index 32c66162d0..0000000000 --- a/docs/document_reader/RFIDScenario/pkdPA.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - pkdPA property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pkdPA
- -
- -
-
-
- -
-
-

pkdPA property -

- - - -
- -
- - String? - pkdPA - - -
- - - - -
-

Implementation

-
String? get pkdPA => _pkdPA;
-
- -
- - - -
- -
- - void - pkdPA=(String? val) - - -
- - - - -
-

Implementation

-
set pkdPA(String? val) {
-  _pkdPA = val;
-  _set({"pkdPA": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/pkdUseExternalCSCA.html b/docs/document_reader/RFIDScenario/pkdUseExternalCSCA.html deleted file mode 100644 index 44bd29bf03..0000000000 --- a/docs/document_reader/RFIDScenario/pkdUseExternalCSCA.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - pkdUseExternalCSCA property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pkdUseExternalCSCA
- -
- -
-
-
- -
-
-

pkdUseExternalCSCA property -

- - - -
- -
- - bool? - pkdUseExternalCSCA - - -
- - - - -
-

Implementation

-
bool? get pkdUseExternalCSCA => _pkdUseExternalCSCA;
-
- -
- - - -
- -
- - void - pkdUseExternalCSCA=(bool? val) - - -
- - - - -
-

Implementation

-
set pkdUseExternalCSCA(bool? val) {
-  _pkdUseExternalCSCA = val;
-  _set({"pkdUseExternalCSCA": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/proceedReadingAlways.html b/docs/document_reader/RFIDScenario/proceedReadingAlways.html deleted file mode 100644 index e195e42c0c..0000000000 --- a/docs/document_reader/RFIDScenario/proceedReadingAlways.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - proceedReadingAlways property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
proceedReadingAlways
- -
- -
-
-
- -
-
-

proceedReadingAlways property -

- - - -
- -
- - bool? - proceedReadingAlways - - -
- - - - -
-

Implementation

-
bool? get proceedReadingAlways => _proceedReadingAlways;
-
- -
- - - -
- -
- - void - proceedReadingAlways=(bool? val) - - -
- - - - -
-

Implementation

-
set proceedReadingAlways(bool? val) {
-  _proceedReadingAlways = val;
-  _set({"proceedReadingAlways": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/profilerType.html b/docs/document_reader/RFIDScenario/profilerType.html deleted file mode 100644 index 048f394a77..0000000000 --- a/docs/document_reader/RFIDScenario/profilerType.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - profilerType property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
profilerType
- -
- -
-
-
- -
-
-

profilerType property -

- - - -
- -
- - RFIDSDKProfilerType? - profilerType - - -
- - - - -
-

Implementation

-
RFIDSDKProfilerType? get profilerType => _profilerType;
-
- -
- - - -
- -
- - void - profilerType=(RFIDSDKProfilerType? val) - - -
- - - - -
-

Implementation

-
set profilerType(RFIDSDKProfilerType? val) {
-  _profilerType = val;
-  _set({"profilerType": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/readEDL.html b/docs/document_reader/RFIDScenario/readEDL.html deleted file mode 100644 index 43817e753e..0000000000 --- a/docs/document_reader/RFIDScenario/readEDL.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - readEDL property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readEDL
- -
- -
-
-
- -
-
-

readEDL property -

- - - -
- -
- - bool? - readEDL - - -
- - - - -
-

Implementation

-
bool? get readEDL => _readEDL;
-
- -
- - - -
- -
- - void - readEDL=(bool? val) - - -
- - - - -
-

Implementation

-
set readEDL(bool? val) {
-  _readEDL = val;
-  _set({"readEDL": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/readEID.html b/docs/document_reader/RFIDScenario/readEID.html deleted file mode 100644 index a08e704cc9..0000000000 --- a/docs/document_reader/RFIDScenario/readEID.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - readEID property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readEID
- -
- -
-
-
- -
-
-

readEID property -

- - - -
- -
- - bool? - readEID - - -
- - - - -
-

Implementation

-
bool? get readEID => _readEID;
-
- -
- - - -
- -
- - void - readEID=(bool? val) - - -
- - - - -
-

Implementation

-
set readEID(bool? val) {
-  _readEID = val;
-  _set({"readEID": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/readEPassport.html b/docs/document_reader/RFIDScenario/readEPassport.html deleted file mode 100644 index dd6dec3c46..0000000000 --- a/docs/document_reader/RFIDScenario/readEPassport.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - readEPassport property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readEPassport
- -
- -
-
-
- -
-
-

readEPassport property -

- - - -
- -
- - bool? - readEPassport - - -
- - - - -
-

Implementation

-
bool? get readEPassport => _readEPassport;
-
- -
- - - -
- -
- - void - readEPassport=(bool? val) - - -
- - - - -
-

Implementation

-
set readEPassport(bool? val) {
-  _readEPassport = val;
-  _set({"readEPassport": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/readingBuffer.html b/docs/document_reader/RFIDScenario/readingBuffer.html deleted file mode 100644 index 4b0ecc4b0c..0000000000 --- a/docs/document_reader/RFIDScenario/readingBuffer.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - readingBuffer property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
readingBuffer
- -
- -
-
-
- -
-
-

readingBuffer property -

- - - -
- -
- - int? - readingBuffer - - -
- - - - -
-

Implementation

-
int? get readingBuffer => _readingBuffer;
-
- -
- - - -
- -
- - void - readingBuffer=(int? val) - - -
- - - - -
-

Implementation

-
set readingBuffer(int? val) {
-  _readingBuffer = val;
-  _set({"readingBuffer": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/signManagementAction.html b/docs/document_reader/RFIDScenario/signManagementAction.html deleted file mode 100644 index 13f68f4610..0000000000 --- a/docs/document_reader/RFIDScenario/signManagementAction.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - signManagementAction property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signManagementAction
- -
- -
-
-
- -
-
-

signManagementAction property -

- - - -
- -
- - SignManagementAction? - signManagementAction - - -
- - - - -
-

Implementation

-
SignManagementAction? get signManagementAction => _signManagementAction;
-
- -
- - - -
- -
- - void - signManagementAction=(SignManagementAction? val) - - -
- - - - -
-

Implementation

-
set signManagementAction(SignManagementAction? val) {
-  _signManagementAction = val;
-  _set({"signManagementAction": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/skipAA.html b/docs/document_reader/RFIDScenario/skipAA.html deleted file mode 100644 index 1e76f7e534..0000000000 --- a/docs/document_reader/RFIDScenario/skipAA.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - skipAA property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
skipAA
- -
- -
-
-
- -
-
-

skipAA property -

- - - -
- -
- - bool? - skipAA - - -
- - - - -
-

Implementation

-
bool? get skipAA => _skipAA;
-
- -
- - - -
- -
- - void - skipAA=(bool? val) - - -
- - - - -
-

Implementation

-
set skipAA(bool? val) {
-  _skipAA = val;
-  _set({"skipAA": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/strictProcessing.html b/docs/document_reader/RFIDScenario/strictProcessing.html deleted file mode 100644 index 6e7f2b759f..0000000000 --- a/docs/document_reader/RFIDScenario/strictProcessing.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - strictProcessing property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
strictProcessing
- -
- -
-
-
- -
-
-

strictProcessing property -

- - - -
- -
- - bool? - strictProcessing - - -
- - - - -
-

Implementation

-
bool? get strictProcessing => _strictProcessing;
-
- -
- - - -
- -
- - void - strictProcessing=(bool? val) - - -
- - - - -
-

Implementation

-
set strictProcessing(bool? val) {
-  _strictProcessing = val;
-  _set({"strictProcessing": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/terminalType.html b/docs/document_reader/RFIDScenario/terminalType.html deleted file mode 100644 index 67c2baf927..0000000000 --- a/docs/document_reader/RFIDScenario/terminalType.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - terminalType property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
terminalType
- -
- -
-
-
- -
-
-

terminalType property -

- - - -
- -
- - RFIDTerminalType? - terminalType - - -
- - - - -
-

Implementation

-
RFIDTerminalType? get terminalType => _terminalType;
-
- -
- - - -
- -
- - void - terminalType=(RFIDTerminalType? val) - - -
- - - - -
-

Implementation

-
set terminalType(RFIDTerminalType? val) {
-  _terminalType = val;
-  _set({"terminalType": val?.value});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/testSetters.html b/docs/document_reader/RFIDScenario/testSetters.html deleted file mode 100644 index f3572155a0..0000000000 --- a/docs/document_reader/RFIDScenario/testSetters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - testSetters property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
testSetters
- -
- -
-
-
- -
-
-

testSetters property -

- -
- - Map<String, dynamic> - testSetters -
getter/setter pair
- -
- - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> testSetters = {};
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/toJson.html b/docs/document_reader/RFIDScenario/toJson.html deleted file mode 100644 index ed3bfb972a..0000000000 --- a/docs/document_reader/RFIDScenario/toJson.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - toJson method - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "paceStaticBinding": paceStaticBinding,
-      "onlineTA": onlineTA,
-      "writeEid": writeEid,
-      "universalAccessRights": universalAccessRights,
-      "authorizedRestrictedIdentification":
-          authorizedRestrictedIdentification,
-      "auxVerificationCommunityID": auxVerificationCommunityID,
-      "auxVerificationDateOfBirth": auxVerificationDateOfBirth,
-      "skipAA": skipAA,
-      "strictProcessing": strictProcessing,
-      "pkdDSCertPriority": pkdDSCertPriority,
-      "pkdUseExternalCSCA": pkdUseExternalCSCA,
-      "trustedPKD": trustedPKD,
-      "passiveAuth": passiveAuth,
-      "useSFI": useSFI,
-      "readEPassport": readEPassport,
-      "readEID": readEID,
-      "readEDL": readEDL,
-      "authorizedSTSignature": authorizedSTSignature,
-      "authorizedSTQSignature": authorizedSTQSignature,
-      "authorizedWriteDG17": authorizedWriteDG17,
-      "authorizedWriteDG18": authorizedWriteDG18,
-      "authorizedWriteDG19": authorizedWriteDG19,
-      "authorizedWriteDG20": authorizedWriteDG20,
-      "authorizedWriteDG21": authorizedWriteDG21,
-      "authorizedVerifyAge": authorizedVerifyAge,
-      "authorizedVerifyCommunityID": authorizedVerifyCommunityID,
-      "authorizedPrivilegedTerminal": authorizedPrivilegedTerminal,
-      "authorizedCANAllowed": authorizedCANAllowed,
-      "authorizedPINManagement": authorizedPINManagement,
-      "authorizedInstallCert": authorizedInstallCert,
-      "authorizedInstallQCert": authorizedInstallQCert,
-      "applyAmendments": applyAmendments,
-      "autoSettings": autoSettings,
-      "proceedReadingAlways": proceedReadingAlways,
-      "readingBuffer": readingBuffer,
-      "onlineTAToSignDataType": onlineTAToSignDataType,
-      "defaultReadingBufferSize": defaultReadingBufferSize,
-      "signManagementAction": signManagementAction?.value,
-      "profilerType": profilerType?.value,
-      "authProcType": authProcType?.value,
-      "baseSMProcedure": baseSMProcedure?.value,
-      "pacePasswordType": pacePasswordType?.value,
-      "terminalType": terminalType?.value,
-      "password": password,
-      "pkdPA": pkdPA,
-      "pkdEAC": pkdEAC,
-      "mrz": mrz,
-      "eSignPINDefault": eSignPINDefault,
-      "eSignPINNewValue": eSignPINNewValue,
-      "eDLDataGroups": eDLDataGroups.toJson(),
-      "ePassportDataGroups": ePassportDataGroups.toJson(),
-      "eIDDataGroups": eIDDataGroups.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/trustedPKD.html b/docs/document_reader/RFIDScenario/trustedPKD.html deleted file mode 100644 index 4650887325..0000000000 --- a/docs/document_reader/RFIDScenario/trustedPKD.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - trustedPKD property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
trustedPKD
- -
- -
-
-
- -
-
-

trustedPKD property -

- - - -
- -
- - bool? - trustedPKD - - -
- - - - -
-

Implementation

-
bool? get trustedPKD => _trustedPKD;
-
- -
- - - -
- -
- - void - trustedPKD=(bool? val) - - -
- - - - -
-

Implementation

-
set trustedPKD(bool? val) {
-  _trustedPKD = val;
-  _set({"trustedPKD": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/universalAccessRights.html b/docs/document_reader/RFIDScenario/universalAccessRights.html deleted file mode 100644 index 49f151e199..0000000000 --- a/docs/document_reader/RFIDScenario/universalAccessRights.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - universalAccessRights property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
universalAccessRights
- -
- -
-
-
- -
-
-

universalAccessRights property -

- - - -
- -
- - bool? - universalAccessRights - - -
- - - - -
-

Implementation

-
bool? get universalAccessRights => _universalAccessRights;
-
- -
- - - -
- -
- - void - universalAccessRights=(bool? val) - - -
- - - - -
-

Implementation

-
set universalAccessRights(bool? val) {
-  _universalAccessRights = val;
-  _set({"universalAccessRights": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/useSFI.html b/docs/document_reader/RFIDScenario/useSFI.html deleted file mode 100644 index eed46f1716..0000000000 --- a/docs/document_reader/RFIDScenario/useSFI.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - useSFI property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
useSFI
- -
- -
-
-
- -
-
-

useSFI property -

- - - -
- -
- - bool? - useSFI - - -
- - - - -
-

Implementation

-
bool? get useSFI => _useSFI;
-
- -
- - - -
- -
- - void - useSFI=(bool? val) - - -
- - - - -
-

Implementation

-
set useSFI(bool? val) {
-  _useSFI = val;
-  _set({"useSFI": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDScenario/writeEid.html b/docs/document_reader/RFIDScenario/writeEid.html deleted file mode 100644 index d0d4e948d2..0000000000 --- a/docs/document_reader/RFIDScenario/writeEid.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - writeEid property - RFIDScenario class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
writeEid
- -
- -
-
-
- -
-
-

writeEid property -

- - - -
- -
- - bool? - writeEid - - -
- - - - -
-

Implementation

-
bool? get writeEid => _writeEid;
-
- -
- - - -
- -
- - void - writeEid=(bool? val) - - -
- - - - -
-

Implementation

-
set writeEid(bool? val) {
-  _writeEid = val;
-  _set({"writeEid": val});
-}
-
- -
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData-class-sidebar.html b/docs/document_reader/RFIDSessionData-class-sidebar.html deleted file mode 100644 index 291d354e5d..0000000000 --- a/docs/document_reader/RFIDSessionData-class-sidebar.html +++ /dev/null @@ -1,37 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDSessionData
  4. - - -
  5. - Properties -
  6. -
  7. accessControls
  8. -
  9. applications
  10. -
  11. cardProperties
  12. -
  13. dataFields
  14. -
  15. dataGroups
  16. -
  17. extLeSupport
  18. -
  19. hashCode
  20. -
  21. processTime
  22. -
  23. runtimeType
  24. -
  25. securityObjects
  26. -
  27. status
  28. -
  29. totalBytesReceived
  30. -
  31. totalBytesSent
  32. - -
  33. Methods
  34. -
  35. noSuchMethod
  36. -
  37. toJson
  38. -
  39. toString
  40. - -
  41. Operators
  42. -
  43. operator ==
  44. - - - -
  45. Static methods
  46. -
  47. fromJson
  48. - -
diff --git a/docs/document_reader/RFIDSessionData-class.html b/docs/document_reader/RFIDSessionData-class.html deleted file mode 100644 index 1ddee9dad8..0000000000 --- a/docs/document_reader/RFIDSessionData-class.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - - - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDSessionData
- -
- -
-
-
- -
-
-

RFIDSessionData class - -

- - -
-

Used to describe the results of work with the SDK within the context -of the current communication session with electronic document.

-
- - - - -
-

Constructors

- -
-
- RFIDSessionData() -
-
- -
-
-
- -
-

Properties

- -
-
- accessControls - List<AccessControlProcedureType> - -
-
- List of containers to store information about the supported procedures -of authentication and secure data access within the context of the session. -
no setter
- -
- -
- applications - List<Application> - -
-
- List of containers to store information about the involved ap-plications -of electronic document. -
no setter
- -
- -
- cardProperties - CardProperties? - -
-
- Set of electronic document chip characteristics. -
no setter
- -
- -
- dataFields - List<DataField> - -
-
- List of data fields -
no setter
- -
- -
- dataGroups - List<RFIDDataFileType>? - -
-
- List of data groups. -
no setter
- -
- -
- extLeSupport - RFIDErrorCodes - -
-
- Sign of support of RFID-chip for extended length commands of reading. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- processTime - int - -
-
- Total time of all operations performed during the session, ms. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- securityObjects - List<SecurityObject> - -
-
- ist of containers to store information about the detected -document security objects. -
no setter
- -
- -
- status - RFIDErrorCodes - -
-
- Status. -
no setter
- -
- -
- totalBytesReceived - int - -
-
- Total number of bytes received from the RFID-chip during the whole session. -
no setter
- -
- -
- totalBytesSent - int - -
-
- Total number of bytes transmitted to the RFID-chip during the whole session. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDSessionData? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/RFIDSessionData.html b/docs/document_reader/RFIDSessionData/RFIDSessionData.html deleted file mode 100644 index 1c6fc3b7f1..0000000000 --- a/docs/document_reader/RFIDSessionData/RFIDSessionData.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDSessionData constructor - RFIDSessionData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDSessionData
- -
- -
-
-
- -
-
-

RFIDSessionData constructor -

- -
- - RFIDSessionData() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/accessControls.html b/docs/document_reader/RFIDSessionData/accessControls.html deleted file mode 100644 index 5d1584486a..0000000000 --- a/docs/document_reader/RFIDSessionData/accessControls.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - accessControls property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
accessControls
- -
- -
-
-
- -
-
-

accessControls property -

- - - -
- -
- - List<AccessControlProcedureType> - accessControls - - -
- - -
-

List of containers to store information about the supported procedures -of authentication and secure data access within the context of the session.

-
- - -
-

Implementation

-
List<AccessControlProcedureType> get accessControls => _accessControls;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/applications.html b/docs/document_reader/RFIDSessionData/applications.html deleted file mode 100644 index 662c38de33..0000000000 --- a/docs/document_reader/RFIDSessionData/applications.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - applications property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
applications
- -
- -
-
-
- -
-
-

applications property -

- - - -
- -
- - List<Application> - applications - - -
- - -
-

List of containers to store information about the involved ap-plications -of electronic document.

-
- - -
-

Implementation

-
List<Application> get applications => _applications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/cardProperties.html b/docs/document_reader/RFIDSessionData/cardProperties.html deleted file mode 100644 index b3d0ef7816..0000000000 --- a/docs/document_reader/RFIDSessionData/cardProperties.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - cardProperties property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cardProperties
- -
- -
-
-
- -
-
-

cardProperties property -

- - - -
- -
- - CardProperties? - cardProperties - - -
- - -
-

Set of electronic document chip characteristics.

-
- - -
-

Implementation

-
CardProperties? get cardProperties => _cardProperties;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/dataFields.html b/docs/document_reader/RFIDSessionData/dataFields.html deleted file mode 100644 index 153c1921ae..0000000000 --- a/docs/document_reader/RFIDSessionData/dataFields.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - dataFields property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dataFields
- -
- -
-
-
- -
-
-

dataFields property -

- - - -
- -
- - List<DataField> - dataFields - - -
- - -
-

List of data fields

-
- - -
-

Implementation

-
List<DataField> get dataFields => _dataFields;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/dataGroups.html b/docs/document_reader/RFIDSessionData/dataGroups.html deleted file mode 100644 index db8c4279c1..0000000000 --- a/docs/document_reader/RFIDSessionData/dataGroups.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - dataGroups property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dataGroups
- -
- -
-
-
- -
-
-

dataGroups property -

- - - -
- -
- - List<RFIDDataFileType>? - dataGroups - - -
- - -
-

List of data groups.

-
- - -
-

Implementation

-
List<RFIDDataFileType>? get dataGroups => _dataGroups;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/extLeSupport.html b/docs/document_reader/RFIDSessionData/extLeSupport.html deleted file mode 100644 index 1b639a1c11..0000000000 --- a/docs/document_reader/RFIDSessionData/extLeSupport.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - extLeSupport property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
extLeSupport
- -
- -
-
-
- -
-
-

extLeSupport property -

- - - -
- -
- - RFIDErrorCodes - extLeSupport - - -
- - -
-

Sign of support of RFID-chip for extended length commands of reading.

-
- - -
-

Implementation

-
RFIDErrorCodes get extLeSupport => _extLeSupport;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/fromJson.html b/docs/document_reader/RFIDSessionData/fromJson.html deleted file mode 100644 index 66f9d4ee73..0000000000 --- a/docs/document_reader/RFIDSessionData/fromJson.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - fromJson method - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDSessionData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDSessionData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDSessionData();
-
-  result._totalBytesReceived = jsonObject["totalBytesReceived"];
-  result._totalBytesSent = jsonObject["totalBytesSent"];
-  result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!;
-  result._extLeSupport =
-      RFIDErrorCodes.getByValue(jsonObject["extLeSupport"])!;
-  result._processTime = jsonObject["processTime"];
-  result._cardProperties =
-      CardProperties.fromJson(jsonObject["cardProperties"]);
-  for (var item in jsonObject["accessControls"])
-    result._accessControls.addSafe(AccessControlProcedureType.fromJson(item));
-  for (var item in jsonObject["applications"])
-    result._applications.addSafe(Application.fromJson(item));
-  for (var item in jsonObject["securityObjects"])
-    result._securityObjects.addSafe(SecurityObject.fromJson(item));
-  for (var item in jsonObject["dataFields"])
-    result._dataFields.addSafe(DataField.fromJson(item));
-  if (jsonObject["dataGroups"] != null) {
-    result._dataGroups = [];
-    for (var item in jsonObject["dataGroups"])
-      result._dataGroups!.addSafe(RFIDDataFileType.getByValue(item));
-  }
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/processTime.html b/docs/document_reader/RFIDSessionData/processTime.html deleted file mode 100644 index 22fc4ae3b9..0000000000 --- a/docs/document_reader/RFIDSessionData/processTime.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - processTime property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
processTime
- -
- -
-
-
- -
-
-

processTime property -

- - - -
- -
- - int - processTime - - -
- - -
-

Total time of all operations performed during the session, ms.

-
- - -
-

Implementation

-
int get processTime => _processTime;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/securityObjects.html b/docs/document_reader/RFIDSessionData/securityObjects.html deleted file mode 100644 index 3c3648404c..0000000000 --- a/docs/document_reader/RFIDSessionData/securityObjects.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - securityObjects property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
securityObjects
- -
- -
-
-
- -
-
-

securityObjects property -

- - - -
- -
- - List<SecurityObject> - securityObjects - - -
- - -
-

ist of containers to store information about the detected -document security objects.

-
- - -
-

Implementation

-
List<SecurityObject> get securityObjects => _securityObjects;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/status.html b/docs/document_reader/RFIDSessionData/status.html deleted file mode 100644 index e691a70515..0000000000 --- a/docs/document_reader/RFIDSessionData/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - RFIDErrorCodes - status - - -
- - -
-

Status.

-
- - -
-

Implementation

-
RFIDErrorCodes get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/toJson.html b/docs/document_reader/RFIDSessionData/toJson.html deleted file mode 100644 index 49469bd3e5..0000000000 --- a/docs/document_reader/RFIDSessionData/toJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - toJson method - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "cardProperties": cardProperties?.toJson(),
-      "totalBytesReceived": totalBytesReceived,
-      "totalBytesSent": totalBytesSent,
-      "status": status.value,
-      "extLeSupport": extLeSupport.value,
-      "processTime": processTime,
-      "accessControls": accessControls.map((e) => e.toJson()).toList(),
-      "applications": applications.map((e) => e.toJson()).toList(),
-      "securityObjects": securityObjects.map((e) => e.toJson()).toList(),
-      "dataFields": dataFields.map((e) => e.toJson()).toList(),
-      "dataGroups": dataGroups?.map((e) => e.value).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/totalBytesReceived.html b/docs/document_reader/RFIDSessionData/totalBytesReceived.html deleted file mode 100644 index 682856418d..0000000000 --- a/docs/document_reader/RFIDSessionData/totalBytesReceived.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - totalBytesReceived property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
totalBytesReceived
- -
- -
-
-
- -
-
-

totalBytesReceived property -

- - - -
- -
- - int - totalBytesReceived - - -
- - -
-

Total number of bytes received from the RFID-chip during the whole session.

-
- - -
-

Implementation

-
int get totalBytesReceived => _totalBytesReceived;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDSessionData/totalBytesSent.html b/docs/document_reader/RFIDSessionData/totalBytesSent.html deleted file mode 100644 index f8d9fb23cc..0000000000 --- a/docs/document_reader/RFIDSessionData/totalBytesSent.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - totalBytesSent property - RFIDSessionData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
totalBytesSent
- -
- -
-
-
- -
-
-

totalBytesSent property -

- - - -
- -
- - int - totalBytesSent - - -
- - -
-

Total number of bytes transmitted to the RFID-chip during the whole session.

-
- - -
-

Implementation

-
int get totalBytesSent => _totalBytesSent;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus-class-sidebar.html b/docs/document_reader/RFIDStatus-class-sidebar.html deleted file mode 100644 index d0bc09c8e2..0000000000 --- a/docs/document_reader/RFIDStatus-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDStatus
  4. - - -
  5. - Properties -
  6. -
  7. aa
  8. -
  9. bac
  10. -
  11. ca
  12. -
  13. hashCode
  14. -
  15. overallStatus
  16. -
  17. pa
  18. -
  19. pace
  20. -
  21. runtimeType
  22. -
  23. ta
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/RFIDStatus-class.html b/docs/document_reader/RFIDStatus-class.html deleted file mode 100644 index 675f5ed1cf..0000000000 --- a/docs/document_reader/RFIDStatus-class.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDStatus
- -
- -
-
-
- -
-
-

RFIDStatus class - -

- - -
-

Container for a RFID related scanning statuses.

-
- - - - -
-

Constructors

- -
-
- RFIDStatus() -
-
- -
-
-
- -
-

Properties

- -
-
- aa - CheckResult - -
-
- Acitve authentication status. -
no setter
- -
- -
- bac - CheckResult - -
-
- Basics access control status. -
no setter
- -
- -
- ca - CheckResult - -
-
- Chip authentication status. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- overallStatus - CheckResult - -
-
- Summary of all RFID results. -
no setter
- -
- -
- pa - CheckResult - -
-
- Passive authentication status. -
no setter
- -
- -
- pace - CheckResult - -
-
- Password authenticated connection establishment status. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- ta - CheckResult - -
-
- Terminal authentication status. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDStatus? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/RFIDStatus.html b/docs/document_reader/RFIDStatus/RFIDStatus.html deleted file mode 100644 index 9f5fcc3b8e..0000000000 --- a/docs/document_reader/RFIDStatus/RFIDStatus.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDStatus constructor - RFIDStatus - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDStatus
- -
- -
-
-
- -
-
-

RFIDStatus constructor -

- -
- - RFIDStatus() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/aa.html b/docs/document_reader/RFIDStatus/aa.html deleted file mode 100644 index 6208aef72e..0000000000 --- a/docs/document_reader/RFIDStatus/aa.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - aa property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
aa
- -
- -
-
-
- -
-
-

aa property -

- - - -
- -
- - CheckResult - aa - - -
- - -
-

Acitve authentication status.

-
- - -
-

Implementation

-
CheckResult get aa => _aa;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/bac.html b/docs/document_reader/RFIDStatus/bac.html deleted file mode 100644 index f03f1e5156..0000000000 --- a/docs/document_reader/RFIDStatus/bac.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - bac property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
bac
- -
- -
-
-
- -
-
-

bac property -

- - - -
- -
- - CheckResult - bac - - -
- - -
-

Basics access control status.

-
- - -
-

Implementation

-
CheckResult get bac => _bac;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/ca.html b/docs/document_reader/RFIDStatus/ca.html deleted file mode 100644 index 591ae99342..0000000000 --- a/docs/document_reader/RFIDStatus/ca.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - ca property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ca
- -
- -
-
-
- -
-
-

ca property -

- - - -
- -
- - CheckResult - ca - - -
- - -
-

Chip authentication status.

-
- - -
-

Implementation

-
CheckResult get ca => _ca;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/fromJson.html b/docs/document_reader/RFIDStatus/fromJson.html deleted file mode 100644 index 248132fd6f..0000000000 --- a/docs/document_reader/RFIDStatus/fromJson.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - fromJson method - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDStatus? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDStatus? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDStatus();
-
-  result._pa = CheckResult.getByValue(jsonObject["pa"])!;
-  result._ca = CheckResult.getByValue(jsonObject["ca"])!;
-  result._aa = CheckResult.getByValue(jsonObject["aa"])!;
-  result._ta = CheckResult.getByValue(jsonObject["ta"])!;
-  result._bac = CheckResult.getByValue(jsonObject["bac"])!;
-  result._pace = CheckResult.getByValue(jsonObject["pace"])!;
-  result._overallStatus =
-      CheckResult.getByValue(jsonObject["overallStatus"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/overallStatus.html b/docs/document_reader/RFIDStatus/overallStatus.html deleted file mode 100644 index 8f8458efa9..0000000000 --- a/docs/document_reader/RFIDStatus/overallStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - overallStatus property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
overallStatus
- -
- -
-
-
- -
-
-

overallStatus property -

- - - -
- -
- - CheckResult - overallStatus - - -
- - -
-

Summary of all RFID results.

-
- - -
-

Implementation

-
CheckResult get overallStatus => _overallStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/pa.html b/docs/document_reader/RFIDStatus/pa.html deleted file mode 100644 index 5156354c34..0000000000 --- a/docs/document_reader/RFIDStatus/pa.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pa property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pa
- -
- -
-
-
- -
-
-

pa property -

- - - -
- -
- - CheckResult - pa - - -
- - -
-

Passive authentication status.

-
- - -
-

Implementation

-
CheckResult get pa => _pa;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/pace.html b/docs/document_reader/RFIDStatus/pace.html deleted file mode 100644 index bac4906934..0000000000 --- a/docs/document_reader/RFIDStatus/pace.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pace property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pace
- -
- -
-
-
- -
-
-

pace property -

- - - -
- -
- - CheckResult - pace - - -
- - -
-

Password authenticated connection establishment status.

-
- - -
-

Implementation

-
CheckResult get pace => _pace;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/ta.html b/docs/document_reader/RFIDStatus/ta.html deleted file mode 100644 index e24aa7d8a2..0000000000 --- a/docs/document_reader/RFIDStatus/ta.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - ta property - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ta
- -
- -
-
-
- -
-
-

ta property -

- - - -
- -
- - CheckResult - ta - - -
- - -
-

Terminal authentication status.

-
- - -
-

Implementation

-
CheckResult get ta => _ta;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDStatus/toJson.html b/docs/document_reader/RFIDStatus/toJson.html deleted file mode 100644 index 05939712db..0000000000 --- a/docs/document_reader/RFIDStatus/toJson.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - toJson method - RFIDStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "overallStatus": overallStatus.value,
-      "pa": pa.value,
-      "ca": ca.value,
-      "aa": aa.value,
-      "ta": ta.value,
-      "bac": bac.value,
-      "pace": pace.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDTerminalType-enum-sidebar.html b/docs/document_reader/RFIDTerminalType-enum-sidebar.html deleted file mode 100644 index 65f4bb8061..0000000000 --- a/docs/document_reader/RFIDTerminalType-enum-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDTerminalType
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. INSPECTION_SYSTEM
  10. -
  11. AUTHENTICATION_TERMINAL
  12. -
  13. SIGNATURE_TERMINAL
  14. -
  15. UNAUTHENTICATED_TERMINAL
  16. - -
  17. - Properties -
  18. -
  19. hashCode
  20. -
  21. index
  22. -
  23. runtimeType
  24. -
  25. value
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. getByValue
  40. - -
  41. Constants
  42. -
  43. values
  44. -
diff --git a/docs/document_reader/RFIDTerminalType.html b/docs/document_reader/RFIDTerminalType.html deleted file mode 100644 index 5c7813ce63..0000000000 --- a/docs/document_reader/RFIDTerminalType.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - - - RFIDTerminalType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDTerminalType
- -
- -
-
-
- -
-
- -

- RFIDTerminalType - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- RFIDTerminalType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const RFIDTerminalType - - -
-
-

Not defined.

- - -
- RFIDTerminalType(0) -
-
- -
- INSPECTION_SYSTEM - → const RFIDTerminalType - - -
-
-

Inspection system.

- - -
- RFIDTerminalType(1) -
-
- -
- AUTHENTICATION_TERMINAL - → const RFIDTerminalType - - -
-
-

Authentication terminal

- - -
- RFIDTerminalType(2) -
-
- -
- SIGNATURE_TERMINAL - → const RFIDTerminalType - - -
-
-

Signature terminal.

- - -
- RFIDTerminalType(3) -
-
- -
- UNAUTHENTICATED_TERMINAL - → const RFIDTerminalType - - -
-
-

Unauthenticated terminal.

- - -
- RFIDTerminalType(4) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - RFIDTerminalType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<RFIDTerminalType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, INSPECTION_SYSTEM, AUTHENTICATION_TERMINAL, SIGNATURE_TERMINAL, UNAUTHENTICATED_TERMINAL] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDTerminalType/RFIDTerminalType.html b/docs/document_reader/RFIDTerminalType/RFIDTerminalType.html deleted file mode 100644 index d6d3b171b6..0000000000 --- a/docs/document_reader/RFIDTerminalType/RFIDTerminalType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - RFIDTerminalType constructor - RFIDTerminalType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDTerminalType
- -
- -
-
-
- -
-
-

RFIDTerminalType constructor -

- -
- const - RFIDTerminalType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const RFIDTerminalType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDTerminalType/value.html b/docs/document_reader/RFIDTerminalType/value.html deleted file mode 100644 index e9fc9ad5c8..0000000000 --- a/docs/document_reader/RFIDTerminalType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - RFIDTerminalType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDTerminalType/values-constant.html b/docs/document_reader/RFIDTerminalType/values-constant.html deleted file mode 100644 index 2a67853d17..0000000000 --- a/docs/document_reader/RFIDTerminalType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - RFIDTerminalType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<RFIDTerminalType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity-class-sidebar.html b/docs/document_reader/RFIDValidity-class-sidebar.html deleted file mode 100644 index e44c18a945..0000000000 --- a/docs/document_reader/RFIDValidity-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDValidity
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. notAfter
  10. -
  11. notBefore
  12. -
  13. runtimeType
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/RFIDValidity-class.html b/docs/document_reader/RFIDValidity-class.html deleted file mode 100644 index 11f3a1d360..0000000000 --- a/docs/document_reader/RFIDValidity-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - RFIDValidity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDValidity
- -
- -
-
-
- -
-
-

RFIDValidity class - -

- - - - - - -
-

Constructors

- -
-
- RFIDValidity() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- notAfter - RFIDValue? - -
-
- -
no setter
- -
- -
- notBefore - RFIDValue? - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDValidity? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity/RFIDValidity.html b/docs/document_reader/RFIDValidity/RFIDValidity.html deleted file mode 100644 index a5408ea5b9..0000000000 --- a/docs/document_reader/RFIDValidity/RFIDValidity.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDValidity constructor - RFIDValidity - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDValidity
- -
- -
-
-
- -
-
-

RFIDValidity constructor -

- -
- - RFIDValidity() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity/fromJson.html b/docs/document_reader/RFIDValidity/fromJson.html deleted file mode 100644 index d4a3f4316a..0000000000 --- a/docs/document_reader/RFIDValidity/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - RFIDValidity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDValidity? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDValidity? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDValidity();
-
-  result._notAfter = RFIDValue.fromJson(jsonObject["notAfter"]);
-  result._notBefore = RFIDValue.fromJson(jsonObject["notBefore"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity/notAfter.html b/docs/document_reader/RFIDValidity/notAfter.html deleted file mode 100644 index c2e49066c2..0000000000 --- a/docs/document_reader/RFIDValidity/notAfter.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - notAfter property - RFIDValidity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notAfter
- -
- -
-
-
- -
-
-

notAfter property -

- - - -
- -
- - RFIDValue? - notAfter - - -
- - - - -
-

Implementation

-
RFIDValue? get notAfter => _notAfter;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity/notBefore.html b/docs/document_reader/RFIDValidity/notBefore.html deleted file mode 100644 index fdb022ee40..0000000000 --- a/docs/document_reader/RFIDValidity/notBefore.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - notBefore property - RFIDValidity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notBefore
- -
- -
-
-
- -
-
-

notBefore property -

- - - -
- -
- - RFIDValue? - notBefore - - -
- - - - -
-

Implementation

-
RFIDValue? get notBefore => _notBefore;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValidity/toJson.html b/docs/document_reader/RFIDValidity/toJson.html deleted file mode 100644 index 0f826579b6..0000000000 --- a/docs/document_reader/RFIDValidity/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - RFIDValidity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "notAfter": notAfter?.toJson(),
-      "notBefore": notBefore?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue-class-sidebar.html b/docs/document_reader/RFIDValue-class-sidebar.html deleted file mode 100644 index 124c7f0600..0000000000 --- a/docs/document_reader/RFIDValue-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. RFIDValue
  4. - - -
  5. - Properties -
  6. -
  7. data
  8. -
  9. format
  10. -
  11. hashCode
  12. -
  13. length
  14. -
  15. runtimeType
  16. -
  17. status
  18. -
  19. type
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/RFIDValue-class.html b/docs/document_reader/RFIDValue-class.html deleted file mode 100644 index f003e5d81b..0000000000 --- a/docs/document_reader/RFIDValue-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDValue
- -
- -
-
-
- -
-
-

RFIDValue class - -

- - - - - - -
-

Constructors

- -
-
- RFIDValue() -
-
- -
-
-
- -
-

Properties

- -
-
- data - String? - -
-
- -
no setter
- -
- -
- format - String? - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- length - int - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - int - -
-
- -
no setter
- -
- -
- type - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RFIDValue? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/RFIDValue.html b/docs/document_reader/RFIDValue/RFIDValue.html deleted file mode 100644 index 7c08191c73..0000000000 --- a/docs/document_reader/RFIDValue/RFIDValue.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - RFIDValue constructor - RFIDValue - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RFIDValue
- -
- -
-
-
- -
-
-

RFIDValue constructor -

- -
- - RFIDValue() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/data.html b/docs/document_reader/RFIDValue/data.html deleted file mode 100644 index 3d616039a1..0000000000 --- a/docs/document_reader/RFIDValue/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - String? - data - - -
- - - - -
-

Implementation

-
String? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/format.html b/docs/document_reader/RFIDValue/format.html deleted file mode 100644 index e62e367199..0000000000 --- a/docs/document_reader/RFIDValue/format.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - format property - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
format
- -
- -
-
-
- -
-
-

format property -

- - - -
- -
- - String? - format - - -
- - - - -
-

Implementation

-
String? get format => _format;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/fromJson.html b/docs/document_reader/RFIDValue/fromJson.html deleted file mode 100644 index b0baa29d8d..0000000000 --- a/docs/document_reader/RFIDValue/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RFIDValue? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static RFIDValue? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RFIDValue();
-
-  result._length = jsonObject["length"];
-  result._type = jsonObject["type"];
-  result._status = jsonObject["status"];
-  result._data = jsonObject["data"];
-  result._format = jsonObject["format"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/length.html b/docs/document_reader/RFIDValue/length.html deleted file mode 100644 index 0a31e8290c..0000000000 --- a/docs/document_reader/RFIDValue/length.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - length property - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
length
- -
- -
-
-
- -
-
-

length property -

- - - -
- -
- - int - length - - -
- - - - -
-

Implementation

-
int get length => _length;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/status.html b/docs/document_reader/RFIDValue/status.html deleted file mode 100644 index b30cfa2c90..0000000000 --- a/docs/document_reader/RFIDValue/status.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - status property - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - int - status - - -
- - - - -
-

Implementation

-
int get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/toJson.html b/docs/document_reader/RFIDValue/toJson.html deleted file mode 100644 index 3222cc894c..0000000000 --- a/docs/document_reader/RFIDValue/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "data": data,
-      "length": length,
-      "status": status,
-      "type": type,
-      "format": format,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RFIDValue/type.html b/docs/document_reader/RFIDValue/type.html deleted file mode 100644 index 88e51b3401..0000000000 --- a/docs/document_reader/RFIDValue/type.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - type property - RFIDValue class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - int - type - - -
- - - - -
-

Implementation

-
int get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig-class-sidebar.html b/docs/document_reader/RecognizeConfig-class-sidebar.html deleted file mode 100644 index c3ab195173..0000000000 --- a/docs/document_reader/RecognizeConfig-class-sidebar.html +++ /dev/null @@ -1,36 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. withOnlineProcessingConfig
  4. -
  5. withScenario
  6. - - -
  7. - Properties -
  8. -
  9. data
  10. -
  11. extPortrait
  12. -
  13. hashCode
  14. -
  15. image
  16. -
  17. imageInputData
  18. -
  19. images
  20. -
  21. livePortrait
  22. -
  23. oneShotIdentification
  24. -
  25. onlineProcessingConfig
  26. -
  27. runtimeType
  28. -
  29. scenario
  30. - -
  31. Methods
  32. -
  33. noSuchMethod
  34. -
  35. toJson
  36. -
  37. toString
  38. - -
  39. Operators
  40. -
  41. operator ==
  42. - - - -
  43. Static methods
  44. -
  45. fromJson
  46. - -
diff --git a/docs/document_reader/RecognizeConfig-class.html b/docs/document_reader/RecognizeConfig-class.html deleted file mode 100644 index 04a3c46251..0000000000 --- a/docs/document_reader/RecognizeConfig-class.html +++ /dev/null @@ -1,357 +0,0 @@ - - - - - - - - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeConfig
- -
- -
-
-
- -
-
-

RecognizeConfig class - -

- - -
-

Image processing configuration.

-
- - - - -
-

Constructors

- -
-
- RecognizeConfig.withOnlineProcessingConfig(OnlineProcessingConfig onlineProcessingConfig, RecognizeData recognizeData) -
-
- -
-
- RecognizeConfig.withScenario(Scenario scenario, RecognizeData recognizeData) -
-
- -
-
-
- -
-

Properties

- -
-
- data - → dynamic - -
-
- Binary for processing -
no setter
- -
- -
- extPortrait - ↔ dynamic - -
-
- Portrait photo from an external source. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- image - → dynamic - -
-
- Image for processing -
no setter
- -
- -
- imageInputData - List<ImageInputData>? - -
-
- Images(with input data) for processing -
no setter
- -
- -
- images - List? - -
-
- Images for processing -
no setter
- -
- -
- livePortrait - ↔ dynamic - -
-
- Live portrait photo. -
getter/setter pair
- -
- -
- oneShotIdentification - bool - -
-
- This parameter is for processing an image that contains a person and -a document and compare the portrait photo from the document with -the person's face. It works only in the single-frame processing, -but not in the video frame processing. Requires network connection. -
getter/setter pair
- -
- -
- onlineProcessingConfig - OnlineProcessingConfig? - -
-
- Configuration class for online processing. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- scenario - Scenario? - -
-
- Documents processing scenario. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - RecognizeConfig? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/RecognizeConfig.withOnlineProcessingConfig.html b/docs/document_reader/RecognizeConfig/RecognizeConfig.withOnlineProcessingConfig.html deleted file mode 100644 index 38a512a151..0000000000 --- a/docs/document_reader/RecognizeConfig/RecognizeConfig.withOnlineProcessingConfig.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - RecognizeConfig.withOnlineProcessingConfig constructor - RecognizeConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeConfig.withOnlineProcessingConfig
- -
- -
-
-
- -
-
-

RecognizeConfig.withOnlineProcessingConfig constructor -

- -
- - RecognizeConfig.withOnlineProcessingConfig(
  1. OnlineProcessingConfig onlineProcessingConfig,
  2. -
  3. RecognizeData recognizeData
  4. -
) -
- - - - - -
-

Implementation

-
RecognizeConfig.withOnlineProcessingConfig(
-    OnlineProcessingConfig onlineProcessingConfig,
-    RecognizeData recognizeData)
-    : _scenario = null,
-      _onlineProcessingConfig = onlineProcessingConfig,
-      _image = recognizeData.image,
-      _data = recognizeData.data,
-      _images = recognizeData.images,
-      _imageInputData = recognizeData.imageInputData;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/RecognizeConfig.withScenario.html b/docs/document_reader/RecognizeConfig/RecognizeConfig.withScenario.html deleted file mode 100644 index d52de55916..0000000000 --- a/docs/document_reader/RecognizeConfig/RecognizeConfig.withScenario.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - RecognizeConfig.withScenario constructor - RecognizeConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeConfig.withScenario
- -
- -
-
-
- -
-
-

RecognizeConfig.withScenario constructor -

- -
- - RecognizeConfig.withScenario(
  1. Scenario scenario,
  2. -
  3. RecognizeData recognizeData
  4. -
) -
- - - - - -
-

Implementation

-
RecognizeConfig.withScenario(Scenario scenario, RecognizeData recognizeData)
-    : _scenario = scenario,
-      _onlineProcessingConfig = null,
-      _image = recognizeData.image,
-      _data = recognizeData.data,
-      _images = recognizeData.images,
-      _imageInputData = recognizeData.imageInputData;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/data.html b/docs/document_reader/RecognizeConfig/data.html deleted file mode 100644 index ba52991185..0000000000 --- a/docs/document_reader/RecognizeConfig/data.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - data property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - dynamic - data - - -
- - -
-

Binary for processing

-

Only one of image, data, images, imageInputData can be set -at a time. All the others must be null.

-
- - -
-

Implementation

-
Uint8List? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/extPortrait.html b/docs/document_reader/RecognizeConfig/extPortrait.html deleted file mode 100644 index 193765ed29..0000000000 --- a/docs/document_reader/RecognizeConfig/extPortrait.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - extPortrait property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
extPortrait
- -
- -
-
-
- -
-
-

extPortrait property -

- -
- - dynamic - extPortrait -
getter/setter pair
- -
- -
-

Portrait photo from an external source.

-

Requires network connection.

-
- - -
-

Implementation

-
Uint8List? extPortrait;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/fromJson.html b/docs/document_reader/RecognizeConfig/fromJson.html deleted file mode 100644 index 8bb32ce54f..0000000000 --- a/docs/document_reader/RecognizeConfig/fromJson.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - fromJson method - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -RecognizeConfig? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static RecognizeConfig? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = RecognizeConfig._empty();
-
-  result._scenario = Scenario.getByValue(jsonObject["scenario"]);
-  result._onlineProcessingConfig =
-      OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"]);
-  result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]);
-  result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]);
-  result.oneShotIdentification = jsonObject["oneShotIdentification"];
-  result._image = _bytesFromBase64(jsonObject["image"]);
-  result._data = _bytesFromBase64(jsonObject["data"]);
-  if (jsonObject["images"] != null) {
-    result._images = [];
-    for (var item in jsonObject["images"])
-      result._images!.addSafe(_bytesFromBase64(item));
-  }
-  if (jsonObject["imageInputData"] != null) {
-    result._imageInputData = [];
-    for (var item in jsonObject["imageInputData"])
-      result._imageInputData!.addSafe(ImageInputData.fromJson(item));
-  }
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/image.html b/docs/document_reader/RecognizeConfig/image.html deleted file mode 100644 index e476536967..0000000000 --- a/docs/document_reader/RecognizeConfig/image.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - image property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
image
- -
- -
-
-
- -
-
-

image property -

- - - -
- -
- - dynamic - image - - -
- - -
-

Image for processing

-

Only one of image, data, images, imageInputData can be set -at a time. All the others must be null.

-
- - -
-

Implementation

-
Uint8List? get image => _image;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/imageInputData.html b/docs/document_reader/RecognizeConfig/imageInputData.html deleted file mode 100644 index 18cb2b401e..0000000000 --- a/docs/document_reader/RecognizeConfig/imageInputData.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - imageInputData property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageInputData
- -
- -
-
-
- -
-
-

imageInputData property -

- - - -
- -
- - List<ImageInputData>? - imageInputData - - -
- - -
-

Images(with input data) for processing

-

Only one of image, data, images, imageInputData can be set -at a time. All the others must be null.

-
- - -
-

Implementation

-
List<ImageInputData>? get imageInputData => _imageInputData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/images.html b/docs/document_reader/RecognizeConfig/images.html deleted file mode 100644 index fb758d6754..0000000000 --- a/docs/document_reader/RecognizeConfig/images.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - images property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
images
- -
- -
-
-
- -
-
-

images property -

- - - -
- -
- - List? - images - - -
- - -
-

Images for processing

-

Only one of image, data, images, imageInputData can be set -at a time. All the others must be null.

-
- - -
-

Implementation

-
List<Uint8List>? get images => _images;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/livePortrait.html b/docs/document_reader/RecognizeConfig/livePortrait.html deleted file mode 100644 index 1930207bad..0000000000 --- a/docs/document_reader/RecognizeConfig/livePortrait.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - livePortrait property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livePortrait
- -
- -
-
-
- -
-
-

livePortrait property -

- -
- - dynamic - livePortrait -
getter/setter pair
- -
- -
-

Live portrait photo.

-

Requires network connection.

-
- - -
-

Implementation

-
Uint8List? livePortrait;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/oneShotIdentification.html b/docs/document_reader/RecognizeConfig/oneShotIdentification.html deleted file mode 100644 index 6d6e94bff6..0000000000 --- a/docs/document_reader/RecognizeConfig/oneShotIdentification.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - oneShotIdentification property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
oneShotIdentification
- -
- -
-
-
- -
-
-

oneShotIdentification property -

- -
- - bool - oneShotIdentification -
getter/setter pair
- -
- -
-

This parameter is for processing an image that contains a person and -a document and compare the portrait photo from the document with -the person's face. It works only in the single-frame processing, -but not in the video frame processing. Requires network connection.

-
- - -
-

Implementation

-
bool oneShotIdentification = false;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/onlineProcessingConfig.html b/docs/document_reader/RecognizeConfig/onlineProcessingConfig.html deleted file mode 100644 index ce21fc5319..0000000000 --- a/docs/document_reader/RecognizeConfig/onlineProcessingConfig.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - onlineProcessingConfig property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onlineProcessingConfig
- -
- -
-
-
- -
-
-

onlineProcessingConfig property -

- - - -
- -
- - OnlineProcessingConfig? - onlineProcessingConfig - - -
- - -
-

Configuration class for online processing.

-

/// Requires network connection.

-
- - -
-

Implementation

-
OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/scenario.html b/docs/document_reader/RecognizeConfig/scenario.html deleted file mode 100644 index eda263e936..0000000000 --- a/docs/document_reader/RecognizeConfig/scenario.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - scenario property - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
scenario
- -
- -
-
-
- -
-
-

scenario property -

- - - -
- -
- - Scenario? - scenario - - -
- - -
-

Documents processing scenario.

-
- - -
-

Implementation

-
Scenario? get scenario => _scenario;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeConfig/toJson.html b/docs/document_reader/RecognizeConfig/toJson.html deleted file mode 100644 index 07035c2ba8..0000000000 --- a/docs/document_reader/RecognizeConfig/toJson.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - toJson method - RecognizeConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "scenario": scenario?.value,
-      "onlineProcessingConfig": onlineProcessingConfig?.toJson(),
-      "oneShotIdentification": oneShotIdentification,
-      "livePortrait": _bytesToBase64(livePortrait),
-      "extPortrait": _bytesToBase64(extPortrait),
-      "image": _bytesToBase64(image),
-      "data": _bytesToBase64(data),
-      "images": images?.map((e) => _bytesToBase64(e)).toList(),
-      "imageInputData": imageInputData?.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData-class-sidebar.html b/docs/document_reader/RecognizeData-class-sidebar.html deleted file mode 100644 index a363b1b376..0000000000 --- a/docs/document_reader/RecognizeData-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. withData
  4. -
  5. withImage
  6. -
  7. withImageInputData
  8. -
  9. withImages
  10. - - -
  11. - Properties -
  12. -
  13. data
  14. -
  15. hashCode
  16. -
  17. image
  18. -
  19. imageInputData
  20. -
  21. images
  22. -
  23. runtimeType
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toString
  30. - -
  31. Operators
  32. -
  33. operator ==
  34. - - - - -
diff --git a/docs/document_reader/RecognizeData-class.html b/docs/document_reader/RecognizeData-class.html deleted file mode 100644 index aa14ca27d0..0000000000 --- a/docs/document_reader/RecognizeData-class.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - - - RecognizeData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeData
- -
- -
-
-
- -
-
-

RecognizeData class - -

- - -
-

Insures that RecognizeConfig has exactly one of four parameters set: -image, data, images, imageInputData

-
- - - - -
-

Constructors

- -
-
- RecognizeData.withData(dynamic data) -
-
- -
-
- RecognizeData.withImage(dynamic image) -
-
- -
-
- RecognizeData.withImageInputData(List<ImageInputData> imageInputData) -
-
- -
-
- RecognizeData.withImages(List images) -
-
- -
-
-
- -
-

Properties

- -
-
- data - → dynamic - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- image - → dynamic - -
-
- -
no setter
- -
- -
- imageInputData - List<ImageInputData>? - -
-
- -
no setter
- -
- -
- images - List? - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/RecognizeData.withData.html b/docs/document_reader/RecognizeData/RecognizeData.withData.html deleted file mode 100644 index 9d210a9d1c..0000000000 --- a/docs/document_reader/RecognizeData/RecognizeData.withData.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - RecognizeData.withData constructor - RecognizeData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeData.withData
- -
- -
-
-
- -
-
-

RecognizeData.withData constructor -

- -
- - RecognizeData.withData(
  1. dynamic data
  2. -
) -
- - - - - -
-

Implementation

-
RecognizeData.withData(Uint8List data)
-    : _image = null,
-      _data = data,
-      _images = null,
-      _imageInputData = null;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/RecognizeData.withImage.html b/docs/document_reader/RecognizeData/RecognizeData.withImage.html deleted file mode 100644 index d9b8603bbc..0000000000 --- a/docs/document_reader/RecognizeData/RecognizeData.withImage.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - RecognizeData.withImage constructor - RecognizeData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeData.withImage
- -
- -
-
-
- -
-
-

RecognizeData.withImage constructor -

- -
- - RecognizeData.withImage(
  1. dynamic image
  2. -
) -
- - - - - -
-

Implementation

-
RecognizeData.withImage(Uint8List image)
-    : _image = image,
-      _data = null,
-      _images = null,
-      _imageInputData = null;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/RecognizeData.withImageInputData.html b/docs/document_reader/RecognizeData/RecognizeData.withImageInputData.html deleted file mode 100644 index aa238e6a67..0000000000 --- a/docs/document_reader/RecognizeData/RecognizeData.withImageInputData.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - RecognizeData.withImageInputData constructor - RecognizeData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeData.withImageInputData
- -
- -
-
-
- -
-
-

RecognizeData.withImageInputData constructor -

- -
- - RecognizeData.withImageInputData(
  1. List<ImageInputData> imageInputData
  2. -
) -
- - - - - -
-

Implementation

-
RecognizeData.withImageInputData(List<ImageInputData> imageInputData)
-    : _image = null,
-      _data = null,
-      _images = null,
-      _imageInputData = imageInputData;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/RecognizeData.withImages.html b/docs/document_reader/RecognizeData/RecognizeData.withImages.html deleted file mode 100644 index ac62acf405..0000000000 --- a/docs/document_reader/RecognizeData/RecognizeData.withImages.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - RecognizeData.withImages constructor - RecognizeData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RecognizeData.withImages
- -
- -
-
-
- -
-
-

RecognizeData.withImages constructor -

- -
- - RecognizeData.withImages(
  1. List images
  2. -
) -
- - - - - -
-

Implementation

-
RecognizeData.withImages(List<Uint8List> images)
-    : _image = null,
-      _data = null,
-      _images = images,
-      _imageInputData = null;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/data.html b/docs/document_reader/RecognizeData/data.html deleted file mode 100644 index e7ebc2cec5..0000000000 --- a/docs/document_reader/RecognizeData/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - RecognizeData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - dynamic - data - - -
- - - - -
-

Implementation

-
Uint8List? get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/image.html b/docs/document_reader/RecognizeData/image.html deleted file mode 100644 index d7fa8da1a3..0000000000 --- a/docs/document_reader/RecognizeData/image.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - image property - RecognizeData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
image
- -
- -
-
-
- -
-
-

image property -

- - - -
- -
- - dynamic - image - - -
- - - - -
-

Implementation

-
Uint8List? get image => _image;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/imageInputData.html b/docs/document_reader/RecognizeData/imageInputData.html deleted file mode 100644 index 11e73b6eda..0000000000 --- a/docs/document_reader/RecognizeData/imageInputData.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - imageInputData property - RecognizeData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageInputData
- -
- -
-
-
- -
-
-

imageInputData property -

- - - -
- -
- - List<ImageInputData>? - imageInputData - - -
- - - - -
-

Implementation

-
List<ImageInputData>? get imageInputData => _imageInputData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RecognizeData/images.html b/docs/document_reader/RecognizeData/images.html deleted file mode 100644 index 7a06399926..0000000000 --- a/docs/document_reader/RecognizeData/images.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - images property - RecognizeData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
images
- -
- -
-
-
- -
-
-

images property -

- - - -
- -
- - List? - images - - -
- - - - -
-

Implementation

-
List<Uint8List>? get images => _images;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect-class-sidebar.html b/docs/document_reader/Rect-class-sidebar.html deleted file mode 100644 index ca0b779d05..0000000000 --- a/docs/document_reader/Rect-class-sidebar.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Rect
  4. - - -
  5. - Properties -
  6. -
  7. bottom
  8. -
  9. hashCode
  10. -
  11. left
  12. -
  13. right
  14. -
  15. runtimeType
  16. -
  17. top
  18. - -
  19. Methods
  20. -
  21. noSuchMethod
  22. -
  23. toJson
  24. -
  25. toString
  26. - -
  27. Operators
  28. -
  29. operator ==
  30. - - - -
  31. Static methods
  32. -
  33. fromJson
  34. - -
diff --git a/docs/document_reader/Rect-class.html b/docs/document_reader/Rect-class.html deleted file mode 100644 index 97471e799c..0000000000 --- a/docs/document_reader/Rect-class.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Rect
- -
- -
-
-
- -
-
-

Rect class - -

- - - - - - -
-

Constructors

- -
-
- Rect() -
-
- -
-
-
- -
-

Properties

- -
-
- bottom - int - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- left - int - -
-
- -
no setter
- -
- - -
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- top - int - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Rect? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/Rect.html b/docs/document_reader/Rect/Rect.html deleted file mode 100644 index 380b6d794d..0000000000 --- a/docs/document_reader/Rect/Rect.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Rect constructor - Rect - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Rect
- -
- -
-
-
- -
-
-

Rect constructor -

- -
- - Rect() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/bottom.html b/docs/document_reader/Rect/bottom.html deleted file mode 100644 index 764c480472..0000000000 --- a/docs/document_reader/Rect/bottom.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - bottom property - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
bottom
- -
- -
-
-
- -
-
-

bottom property -

- - - -
- -
- - int - bottom - - -
- - - - -
-

Implementation

-
int get bottom => _bottom;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/fromJson.html b/docs/document_reader/Rect/fromJson.html deleted file mode 100644 index 11c56b36c3..0000000000 --- a/docs/document_reader/Rect/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Rect? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Rect? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Rect();
-
-  result._bottom = jsonObject["bottom"];
-  result._top = jsonObject["top"];
-  result._left = jsonObject["left"];
-  result._right = jsonObject["right"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/left.html b/docs/document_reader/Rect/left.html deleted file mode 100644 index 71a471b571..0000000000 --- a/docs/document_reader/Rect/left.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - left property - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
left
- -
- -
-
-
- -
-
-

left property -

- - - -
- -
- - int - left - - -
- - - - -
-

Implementation

-
int get left => _left;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/right.html b/docs/document_reader/Rect/right.html deleted file mode 100644 index caec78ad17..0000000000 --- a/docs/document_reader/Rect/right.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - right property - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
right
- -
- -
-
-
- -
-
-

right property -

- - - -
- -
- - int - right - - -
- - - - -
-

Implementation

-
int get right => _right;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/toJson.html b/docs/document_reader/Rect/toJson.html deleted file mode 100644 index 13888c0b61..0000000000 --- a/docs/document_reader/Rect/toJson.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - toJson method - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "bottom": bottom,
-      "top": top,
-      "left": left,
-      "right": right,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Rect/top.html b/docs/document_reader/Rect/top.html deleted file mode 100644 index ac19e848e9..0000000000 --- a/docs/document_reader/Rect/top.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - top property - Rect class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
top
- -
- -
-
-
- -
-
-

top property -

- - - -
- -
- - int - top - - -
- - - - -
-

Implementation

-
int get top => _top;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultType-enum-sidebar.html b/docs/document_reader/ResultType-enum-sidebar.html deleted file mode 100644 index e6aae3325d..0000000000 --- a/docs/document_reader/ResultType-enum-sidebar.html +++ /dev/null @@ -1,76 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ResultType
  4. - -
  5. Values
  6. -
  7. NONE
  8. -
  9. EMPTY
  10. -
  11. RAW_IMAGE
  12. -
  13. FILE_IMAGE
  14. -
  15. MRZ_OCR_EXTENDED
  16. -
  17. BARCODES
  18. -
  19. GRAPHICS
  20. -
  21. MRZ_TEST_QUALITY
  22. -
  23. DOCUMENT_TYPES_CANDIDATES
  24. -
  25. CHOSEN_DOCUMENT_TYPE_CANDIDATE
  26. -
  27. DOCUMENTS_INFO_LIST
  28. -
  29. OCR_LEXICAL_ANALYZE
  30. -
  31. RAW_UNCROPPED_IMAGE
  32. -
  33. VISUAL_OCR_EXTENDED
  34. -
  35. BAR_CODES_TEXT_DATA
  36. -
  37. BAR_CODES_IMAGE_DATA
  38. -
  39. AUTHENTICITY
  40. -
  41. EXPERT_ANALYZE
  42. -
  43. OCR_LEXICAL_ANALYZE_EX
  44. -
  45. EOS_IMAGE
  46. -
  47. BAYER_IMAGE
  48. -
  49. MAGNETIC_STRIPE
  50. -
  51. MAGNETIC_STRIPE_TEXT_DATA
  52. -
  53. FIELD_FILE_IMAGE
  54. -
  55. DATABASE_CHECK
  56. -
  57. FINGERPRINT_TEMPLATE_ISO
  58. -
  59. INPUT_IMAGE_QUALITY
  60. -
  61. LIVE_PORTRAIT
  62. -
  63. STATUS
  64. -
  65. PORTRAIT_COMPARISON
  66. -
  67. EXT_PORTRAIT
  68. -
  69. TEXT
  70. -
  71. IMAGES
  72. -
  73. INTERNAL_RFID_SESSION
  74. -
  75. INTERNAL_ENCRYPTED_RCL
  76. -
  77. INTERNAL_LICENSE
  78. -
  79. MRZ_POSITION
  80. -
  81. BARCODE_POSITION
  82. -
  83. DOCUMENT_POSITION
  84. -
  85. CUSTOM
  86. -
  87. RFID_RAW_DATA
  88. -
  89. RFID_TEXT_DATA
  90. -
  91. RFID_IMAGE_DATA
  92. -
  93. RFID_BINARY_DATA
  94. -
  95. RFID_ORIGINAL_GRAPHICS
  96. - -
  97. - Properties -
  98. -
  99. hashCode
  100. -
  101. index
  102. -
  103. runtimeType
  104. -
  105. value
  106. - -
  107. Methods
  108. -
  109. noSuchMethod
  110. -
  111. toString
  112. - -
  113. Operators
  114. -
  115. operator ==
  116. - - - -
  117. Static methods
  118. -
  119. fromIntList
  120. -
  121. getByValue
  122. - -
  123. Constants
  124. -
  125. values
  126. -
diff --git a/docs/document_reader/ResultType.html b/docs/document_reader/ResultType.html deleted file mode 100644 index d8afb4b2d0..0000000000 --- a/docs/document_reader/ResultType.html +++ /dev/null @@ -1,1017 +0,0 @@ - - - - - - - - ResultType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ResultType
- -
- -
-
-
- -
-
- -

- ResultType - enum - - -

-
- - -
-

Enumeration contains a pool of constants that determine the type of resulting -data formed during the data scanning and processing cycle and passed -to the user application.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ResultType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- NONE - → const ResultType - - -
-
-

No result.

- - -
- ResultType(-1) -
-
- -
- EMPTY - → const ResultType - - -
-
-

Stores a graphic image.

- - -
- ResultType(0) -
-
- -
- RAW_IMAGE - → const ResultType - - -
-
-

Represented as binary array which contains image of the image graphic file.

- - -
- ResultType(1) -
-
- -
- FILE_IMAGE - → const ResultType - - -
-
-

Serves for storing text results of MRZ, document filling and bar-codes reading.

- - -
- ResultType(2) -
-
- -
- MRZ_OCR_EXTENDED - → const ResultType - - -
-
-

Serves for storing and passing to the user application of results of bar-codes -areas search on the scanned document page and their.

- - -
- ResultType(3) -
-
- -
- BARCODES - → const ResultType - - -
-
-

Serves for storing and passing to the user application of results of bar-codes -areas search on the scanned document page and their reading in binary non-formatted code.

- - -
- ResultType(5) -
-
- -
- GRAPHICS - → const ResultType - - -
-
-

Serves for storing graphic results of document filling area and bar-codes reading.

- - -
- ResultType(6) -
-
- -
- MRZ_TEST_QUALITY - → const ResultType - - -
-
-

Serves for storing the information on document MRZ printing quality check results.

- - -
- ResultType(7) -
-
- -
- DOCUMENT_TYPES_CANDIDATES - → const ResultType - - -
-
-

Serves for storing information on candidate documents and passing it to the user -application when performing the recognition of the document type.

- - -
- ResultType(8) -
-
- -
- CHOSEN_DOCUMENT_TYPE_CANDIDATE - → const ResultType - - -
-
-

Contains information on one candidate document when determining the document type.

- - -
- ResultType(9) -
-
- -
- DOCUMENTS_INFO_LIST - → const ResultType - - -
-
-

Not used. Serves for storing the full list of documents stored in the current -document database and passing it to the user application.

- - -
- ResultType(10) -
-
- -
- OCR_LEXICAL_ANALYZE - → const ResultType - - -
-
-

Serves for storing the results of comparing the MRZ text data, document filling -area data, bar-codes data and data retrieved from RFID-chip memory and passing -it to the user application.

- - -
- ResultType(15) -
-
- -
- RAW_UNCROPPED_IMAGE - → const ResultType - - -
-
-

Result stores a graphic image without compression.

- - -
- ResultType(16) -
-
- -
- VISUAL_OCR_EXTENDED - → const ResultType - - -
-
-

Result serves for storing text results of MRZ, document filling and bar-codes reading.

- - -
- ResultType(17) -
-
- -
- BAR_CODES_TEXT_DATA - → const ResultType - - -
-
-

Result serves for storing text results of MRZ, document filling and bar-codes reading.

- - -
- ResultType(18) -
-
- -
- BAR_CODES_IMAGE_DATA - → const ResultType - - -
-
-

Serves for storing graphic results of document filling area and bar-codes reading.

- - -
- ResultType(19) -
-
- -
- AUTHENTICITY - → const ResultType - - -
-
-

Serves for storing the result of document authenticity check using -the images for different lighting schemes and passing it to the user -application.

- - -
- ResultType(20) -
-
- -
- EXPERT_ANALYZE - → const ResultType - - -
-
-

Not used

- - -
- ResultType(21) -
-
- -
- OCR_LEXICAL_ANALYZE_EX - → const ResultType - - -
-
-

Not used

- - -
- ResultType(22) -
-
- -
- EOS_IMAGE - → const ResultType - - -
-
-

Stores a graphic image in without compression and passing it to the user application.

- - -
- ResultType(23) -
-
- -
- BAYER_IMAGE - → const ResultType - - -
-
-

Stores a graphic image in without compression and passing it to the user application.

- - -
- ResultType(24) -
-
- -
- MAGNETIC_STRIPE - → const ResultType - - -
-
-

Represented as binary array which contains array if data erade from magnetic stripe.

- - -
- ResultType(25) -
-
- -
- MAGNETIC_STRIPE_TEXT_DATA - → const ResultType - - -
-
-

Serves for storing text results of MRZ, document filling and bar-codes reading.

- - -
- ResultType(26) -
-
- -
- FIELD_FILE_IMAGE - → const ResultType - - -
-
-

Represented as binary array which contains image of the graphic field image graphic file.

- - -
- ResultType(27) -
-
- -
- DATABASE_CHECK - → const ResultType - - -
-
-

Serves for storing the result of documents database check.

- - -
- ResultType(28) -
-
- -
- FINGERPRINT_TEMPLATE_ISO - → const ResultType - - -
-
-

Represented as binary array which contains ISO fingerprint template.

- - -
- ResultType(29) -
-
- -
- INPUT_IMAGE_QUALITY - → const ResultType - - -
-
-

Used for storing input image quality check results list.

- - -
- ResultType(30) -
-
- -
- LIVE_PORTRAIT - → const ResultType - - -
-
-

Serves for storing the result of document authenticity check using live -portrait image.

- - -
- ResultType(32) -
-
- -
- STATUS - → const ResultType - - -
-
-

Stores information about operations status.

- - -
- ResultType(33) -
-
- -
- PORTRAIT_COMPARISON - → const ResultType - - -
-
-

Serves for storing the result of document authenticity check using portrait images.

- - -
- ResultType(34) -
-
- -
- EXT_PORTRAIT - → const ResultType - - -
-
-

Serves for storing the result of document authenticity check using external portait.

- - -
- ResultType(35) -
-
- -
- TEXT - → const ResultType - - -
-
-

Used for storing text results list.

- - -
- ResultType(36) -
-
- -
- IMAGES - → const ResultType - - -
-
-

Used for storing images results list.

- - -
- ResultType(37) -
-
- -
- INTERNAL_RFID_SESSION - → const ResultType - - -
-
-

Serves to store RFID session as binary data.

- - -
- ResultType(48) -
-
- -
- INTERNAL_ENCRYPTED_RCL - → const ResultType - - -
-
-

Serves to store the encrypted data object.

- - -
- ResultType(49) -
-
- -
- INTERNAL_LICENSE - → const ResultType - - -
-
-

Serves to store the encrypted license key.

- - -
- ResultType(50) -
-
- -
- MRZ_POSITION - → const ResultType - - -
-
-

Used for storing MRZ position.

- - -
- ResultType(61) -
-
- -
- BARCODE_POSITION - → const ResultType - - -
-
-

Used for storing barcode position.

- - -
- ResultType(62) -
-
- -
- DOCUMENT_POSITION - → const ResultType - - -
-
-

Used for storing document position.

- - -
- ResultType(85) -
-
- -
- CUSTOM - → const ResultType - - -
-
-

Not used

- - -
- ResultType(100) -
-
- -
- RFID_RAW_DATA - → const ResultType - - -
-
-

Servers for storing the data reading results from the RFID-chip in a form -of a list of the logically separated data groups.

- - -
- ResultType(101) -
-
- -
- RFID_TEXT_DATA - → const ResultType - - -
-
-

Servers for storing the results of data reading from the RFID-chip in a form -of a list of logically separated text data (text fields).

- - -
- ResultType(102) -
-
- -
- RFID_IMAGE_DATA - → const ResultType - - -
-
-

Servers for storing the results of data reading from the RFID- chip in a form -of a list of logically separated graphic data (images, graphic fields).

- - -
- ResultType(103) -
-
- -
- RFID_BINARY_DATA - → const ResultType - - -
-
-

Servers for storing the data reading results from the RFID-chip in a form -of a list of the logically separated data groups.

- - -
- ResultType(104) -
-
- -
- RFID_ORIGINAL_GRAPHICS - → const ResultType - - -
-
-

Servers for storing the results of data reading in a form of a list of objects -of the original binary representation of the graphics in memory of the RFID-chip.

- - -
- ResultType(105) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromIntList(List? input) - List<ResultType>? - - - -
-
- - - -
- -
- getByValue(int? i) - ResultType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ResultType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [NONE, EMPTY, RAW_IMAGE, FILE_IMAGE, MRZ_OCR_EXTENDED, BARCODES, GRAPHICS, MRZ_TEST_QUALITY, DOCUMENT_TYPES_CANDIDATES, CHOSEN_DOCUMENT_TYPE_CANDIDATE, DOCUMENTS_INFO_LIST, OCR_LEXICAL_ANALYZE, RAW_UN… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultType/ResultType.html b/docs/document_reader/ResultType/ResultType.html deleted file mode 100644 index 319eb98c7a..0000000000 --- a/docs/document_reader/ResultType/ResultType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ResultType constructor - ResultType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ResultType
- -
- -
-
-
- -
-
-

ResultType constructor -

- -
- const - ResultType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ResultType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultType/value.html b/docs/document_reader/ResultType/value.html deleted file mode 100644 index b5d2da1fa6..0000000000 --- a/docs/document_reader/ResultType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ResultType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultType/values-constant.html b/docs/document_reader/ResultType/values-constant.html deleted file mode 100644 index 5e7396cbc2..0000000000 --- a/docs/document_reader/ResultType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ResultType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ResultType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results-class-sidebar.html b/docs/document_reader/Results-class-sidebar.html deleted file mode 100644 index 1c130369cd..0000000000 --- a/docs/document_reader/Results-class-sidebar.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Results
  4. - - -
  5. - Properties -
  6. -
  7. authenticityResult
  8. -
  9. barcodePosition
  10. -
  11. barcodeResult
  12. -
  13. chipPage
  14. -
  15. documentPosition
  16. -
  17. documentType
  18. -
  19. elapsedTime
  20. -
  21. elapsedTimeRFID
  22. -
  23. graphicResult
  24. -
  25. hashCode
  26. -
  27. imageQuality
  28. -
  29. morePagesAvailable
  30. -
  31. mrzPosition
  32. -
  33. processingFinishedStatus
  34. -
  35. rawResult
  36. -
  37. rfidSessionData
  38. -
  39. runtimeType
  40. -
  41. status
  42. -
  43. textResult
  44. -
  45. transactionInfo
  46. -
  47. vdsncData
  48. - -
  49. Methods
  50. -
  51. containers
  52. -
  53. encryptedContainers
  54. -
  55. graphicFieldByTypeSource
  56. -
  57. graphicFieldByTypeSourcePageIndex
  58. -
  59. graphicFieldByTypeSourcePageIndexLight
  60. -
  61. graphicFieldImageByType
  62. -
  63. graphicFieldImageByTypeSource
  64. -
  65. graphicFieldImageByTypeSourcePageIndex
  66. -
  67. graphicFieldImageByTypeSourcePageIndexLight
  68. -
  69. noSuchMethod
  70. -
  71. textFieldByType
  72. -
  73. textFieldByTypeLcid
  74. -
  75. textFieldValueByType
  76. -
  77. textFieldValueByTypeLcid
  78. -
  79. textFieldValueByTypeLcidSource
  80. -
  81. textFieldValueByTypeLcidSourceOriginal
  82. -
  83. textFieldValueByTypeSource
  84. -
  85. textFieldValueByTypeSourceOriginal
  86. -
  87. toJson
  88. -
  89. toString
  90. - -
  91. Operators
  92. -
  93. operator ==
  94. - - - -
  95. Static methods
  96. -
  97. fromJson
  98. - -
diff --git a/docs/document_reader/Results-class.html b/docs/document_reader/Results-class.html deleted file mode 100644 index 55ab4b5b20..0000000000 --- a/docs/document_reader/Results-class.html +++ /dev/null @@ -1,690 +0,0 @@ - - - - - - - - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Results
- -
- -
-
-
- -
-
-

Results class - -

- - -
-

Class describing results returned on completion of Document Reader work.

-
- - - - -
-

Constructors

- -
-
- Results() -
-
- -
-
-
- -
-

Properties

- -
-
- authenticityResult - AuthenticityResult? - -
-
- Authenticity results. -
no setter
- -
- -
- barcodePosition - List<Position>? - -
-
- Position of a barcode. -
no setter
- -
- -
- barcodeResult - BarcodeResult? - -
-
- Barcode results. -
no setter
- -
- -
- chipPage - int - -
-
- Indicates which page of the document contains an RFID chip (0 if there's -no page containing it). Requires document type recognition, otherwise 1 by default. -
no setter
- -
- -
- documentPosition - List<Position>? - -
-
- Position of a document. -
no setter
- -
- -
- documentType - List<DocumentType>? - -
-
- Document type results. -
no setter
- -
- -
- elapsedTime - int - -
-
- Indicates how much time has been required for document processing, milliseconds. -
no setter
- -
- -
- elapsedTimeRFID - int - -
-
- Indicates how much time has been required for RFID chip processing, milliseconds. -
no setter
- -
- -
- graphicResult - GraphicResult? - -
-
- Graphic results. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- imageQuality - List<ImageQualityGroup>? - -
-
- Image quality results. -
no setter
- -
- -
- morePagesAvailable - int - -
-
- Indicates how many pages of a document remains to process. -Requires Document Type recognition, otherwise 0 by default. -
no setter
- -
- -
- mrzPosition - List<Position>? - -
-
- Position of MRZ. -
no setter
- -
- -
- processingFinishedStatus - ProcessingFinishedStatus - -
-
- Document processing finish status, one of RGLProcessingFinishedStatus values. -
no setter
- -
- -
- rawResult - String - -
-
- Raw results, i.e. in their initial view. -
no setter
- -
- -
- rfidSessionData - RFIDSessionData? - -
-
- RFID session data. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - ResultsStatus - -
-
- Status information for each operation. -
no setter
- -
- -
- textResult - TextResult? - -
-
- Textual results. -
no setter
- -
- -
- transactionInfo - TransactionInfo? - -
-
- -
no setter
- -
- -
- vdsncData - VDSNCData? - -
-
- Visible Digital Seal data. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- containers(List<ResultType> resultType) - Future<String?> - - - -
-
- Method returns containers by result type. If result type doesn't exist, -the result of the search will be null. - - -
- -
- encryptedContainers() - Future<String?> - - - -
-
- Method returns only containers for ResultType.INTERNAL_RFID_SESSION, -ResultType.INTERNAL_ENCRYPTED_RCL and ResultType.INTERNAL_LICENSE values. - - -
- -
- graphicFieldByTypeSource(GraphicFieldType fieldType, ResultType source) - Future<GraphicField?> - - - -
-
- Allows you to get an image of a graphic field based on a source type -and page index. - - -
- -
- graphicFieldByTypeSourcePageIndex(GraphicFieldType fieldType, ResultType source, int pageIndex) - Future<GraphicField?> - - - -
-
- Allows you to get an image of a graphic field based on a source type -and page index. - - -
- -
- graphicFieldByTypeSourcePageIndexLight(GraphicFieldType fieldType, ResultType source, int pageIndex, Lights light) - Future<GraphicField?> - - - -
-
- Allows you to get an image of a graphic field based on a source type, -page index and light type. - - -
- -
- graphicFieldImageByType(GraphicFieldType fieldType) - Future - - - -
-
- Allows you to get an image of a graphic field. - - -
- -
- graphicFieldImageByTypeSource(GraphicFieldType fieldType, ResultType source) - Future - - - -
-
- Allows you to get an image of a graphic field based on a source type. - - -
- -
- graphicFieldImageByTypeSourcePageIndex(GraphicFieldType fieldType, ResultType source, int pageIndex) - Future - - - -
-
- Allows you to get an image of a graphic field based on a source type -and page index. - - -
- -
- graphicFieldImageByTypeSourcePageIndexLight(GraphicFieldType fieldType, ResultType source, int pageIndex, Lights light) - Future - - - -
-
- Allows you to get an image of a graphic field based on a source type, -page index and light type. - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- textFieldByType(FieldType fieldType) - Future<TextField?> - - - -
-
- Allows you to get an instance of a text field. - - -
- -
- textFieldByTypeLcid(FieldType fieldType, LCID lcid) - Future<TextField?> - - - -
-
- Allows you to get an instance of a text field based on LCID. - - -
- -
- textFieldValueByType(FieldType fieldType) - Future<String?> - - - -
-
- Allows you to get a value of a text field. - - -
- -
- textFieldValueByTypeLcid(FieldType fieldType, LCID lcid) - Future<String?> - - - -
-
- Allows you to get a value of a text field based on LCID. - - -
- -
- textFieldValueByTypeLcidSource(FieldType fieldType, LCID lcid, ResultType source) - Future<String?> - - - -
-
- Allows you to get a value of a text field based on LCID and a source type. - - -
- -
- textFieldValueByTypeLcidSourceOriginal(FieldType fieldType, LCID lcid, ResultType source, bool original) - Future<String?> - - - -
-
- Allows you to get a value of a text field based on LCID, a source type -and its originality. - - -
- -
- textFieldValueByTypeSource(FieldType fieldType, ResultType source) - Future<String?> - - - -
-
- Allows you to get a value of a text field based on a source type. - - -
- -
- textFieldValueByTypeSourceOriginal(FieldType fieldType, ResultType source, bool original) - Future<String?> - - - -
-
- Allows you to get a value of a text field based on a source type and -its originality. - - -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Results? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/Results.html b/docs/document_reader/Results/Results.html deleted file mode 100644 index 8bd79ff7ee..0000000000 --- a/docs/document_reader/Results/Results.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Results constructor - Results - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Results
- -
- -
-
-
- -
-
-

Results constructor -

- -
- - Results() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/authenticityResult.html b/docs/document_reader/Results/authenticityResult.html deleted file mode 100644 index 73acd76e1e..0000000000 --- a/docs/document_reader/Results/authenticityResult.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - authenticityResult property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
authenticityResult
- -
- -
-
-
- -
-
-

authenticityResult property -

- - - -
- -
- - AuthenticityResult? - authenticityResult - - -
- - -
-

Authenticity results.

-
- - -
-

Implementation

-
AuthenticityResult? get authenticityResult => _authenticityResult;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/barcodePosition.html b/docs/document_reader/Results/barcodePosition.html deleted file mode 100644 index dd8786672c..0000000000 --- a/docs/document_reader/Results/barcodePosition.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - barcodePosition property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
barcodePosition
- -
- -
-
-
- -
-
-

barcodePosition property -

- - - -
- -
- - List<Position>? - barcodePosition - - -
- - -
-

Position of a barcode.

-
- - -
-

Implementation

-
List<Position>? get barcodePosition => _barcodePosition;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/barcodeResult.html b/docs/document_reader/Results/barcodeResult.html deleted file mode 100644 index 6225199c3c..0000000000 --- a/docs/document_reader/Results/barcodeResult.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - barcodeResult property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
barcodeResult
- -
- -
-
-
- -
-
-

barcodeResult property -

- - - -
- -
- - BarcodeResult? - barcodeResult - - -
- - -
-

Barcode results.

-
- - -
-

Implementation

-
BarcodeResult? get barcodeResult => _barcodeResult;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/chipPage.html b/docs/document_reader/Results/chipPage.html deleted file mode 100644 index e93680983f..0000000000 --- a/docs/document_reader/Results/chipPage.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - chipPage property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
chipPage
- -
- -
-
-
- -
-
-

chipPage property -

- - - -
- -
- - int - chipPage - - -
- - -
-

Indicates which page of the document contains an RFID chip (0 if there's -no page containing it). Requires document type recognition, otherwise 1 by default.

-
- - -
-

Implementation

-
int get chipPage => _chipPage;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/containers.html b/docs/document_reader/Results/containers.html deleted file mode 100644 index 10283cbfb1..0000000000 --- a/docs/document_reader/Results/containers.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - containers method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
containers
- -
- -
-
-
- -
-
-

containers method -

- -
- - -Future<String?> -containers(
  1. List<ResultType> resultType
  2. -
) - - - -
- -
-

Method returns containers by result type. If result type doesn't exist, -the result of the search will be null.

-

Returns original containers from rawResult including information about the transaction.

-
- - - -
-

Implementation

-
Future<String?> containers(List<ResultType> resultType) async {
-  List<int> converted = [];
-  for (ResultType item in resultType) converted.add(item.value);
-  return await _bridge.invokeMethod("containers", [rawResult, converted]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/documentPosition.html b/docs/document_reader/Results/documentPosition.html deleted file mode 100644 index 6398316a2d..0000000000 --- a/docs/document_reader/Results/documentPosition.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - documentPosition property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentPosition
- -
- -
-
-
- -
-
-

documentPosition property -

- - - -
- -
- - List<Position>? - documentPosition - - -
- - -
-

Position of a document.

-
- - -
-

Implementation

-
List<Position>? get documentPosition => _documentPosition;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/documentType.html b/docs/document_reader/Results/documentType.html deleted file mode 100644 index 9e34d57c1f..0000000000 --- a/docs/document_reader/Results/documentType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - documentType property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
documentType
- -
- -
-
-
- -
-
-

documentType property -

- - - -
- -
- - List<DocumentType>? - documentType - - -
- - -
-

Document type results.

-
- - -
-

Implementation

-
List<DocumentType>? get documentType => _documentType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/elapsedTime.html b/docs/document_reader/Results/elapsedTime.html deleted file mode 100644 index ab56f4fb93..0000000000 --- a/docs/document_reader/Results/elapsedTime.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - elapsedTime property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elapsedTime
- -
- -
-
-
- -
-
-

elapsedTime property -

- - - -
- -
- - int - elapsedTime - - -
- - -
-

Indicates how much time has been required for document processing, milliseconds.

-
- - -
-

Implementation

-
int get elapsedTime => _elapsedTime;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/elapsedTimeRFID.html b/docs/document_reader/Results/elapsedTimeRFID.html deleted file mode 100644 index 176980e4c3..0000000000 --- a/docs/document_reader/Results/elapsedTimeRFID.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - elapsedTimeRFID property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
elapsedTimeRFID
- -
- -
-
-
- -
-
-

elapsedTimeRFID property -

- - - -
- -
- - int - elapsedTimeRFID - - -
- - -
-

Indicates how much time has been required for RFID chip processing, milliseconds.

-
- - -
-

Implementation

-
int get elapsedTimeRFID => _elapsedTimeRFID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/encryptedContainers.html b/docs/document_reader/Results/encryptedContainers.html deleted file mode 100644 index 79583af56f..0000000000 --- a/docs/document_reader/Results/encryptedContainers.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - encryptedContainers method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
encryptedContainers
- -
- -
-
-
- -
-
-

encryptedContainers method -

- -
- - -Future<String?> -encryptedContainers() - - - -
- -
-

Method returns only containers for ResultType.INTERNAL_RFID_SESSION, -ResultType.INTERNAL_ENCRYPTED_RCL and ResultType.INTERNAL_LICENSE values.

-

For more details, see containers method. -Returns all encrypted containers from rawResult to reprocess data on the server side.

-
- - - -
-

Implementation

-
Future<String?> encryptedContainers() async {
-  return await _bridge.invokeMethod("encryptedContainers", [rawResult]);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/fromJson.html b/docs/document_reader/Results/fromJson.html deleted file mode 100644 index ea01fa9428..0000000000 --- a/docs/document_reader/Results/fromJson.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - fromJson method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Results? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Results? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Results();
-
-  result._chipPage = jsonObject["chipPage"];
-  result._processingFinishedStatus = ProcessingFinishedStatus.getByValue(
-      jsonObject["processingFinishedStatus"])!;
-  result._elapsedTime = jsonObject["elapsedTime"];
-  result._elapsedTimeRFID = jsonObject["elapsedTimeRFID"];
-  result._morePagesAvailable = jsonObject["morePagesAvailable"];
-  result._graphicResult = GraphicResult.fromJson(jsonObject["graphicResult"]);
-  result._textResult = TextResult.fromJson(jsonObject["textResult"]);
-  if (jsonObject["documentPosition"] != null) {
-    result._documentPosition = [];
-    for (var item in jsonObject["documentPosition"])
-      result._documentPosition!.addSafe(Position.fromJson(item));
-  }
-  if (jsonObject["barcodePosition"] != null) {
-    result._barcodePosition = [];
-    for (var item in jsonObject["barcodePosition"])
-      result._barcodePosition!.addSafe(Position.fromJson(item));
-  }
-  if (jsonObject["mrzPosition"] != null) {
-    result._mrzPosition = [];
-    for (var item in jsonObject["mrzPosition"])
-      result._mrzPosition!.addSafe(Position.fromJson(item));
-  }
-  if (jsonObject["imageQuality"] != null) {
-    result._imageQuality = [];
-    for (var item in jsonObject["imageQuality"])
-      result._imageQuality!.addSafe(ImageQualityGroup.fromJson(item));
-  }
-  if (jsonObject["documentType"] != null) {
-    result._documentType = [];
-    for (var item in jsonObject["documentType"])
-      result._documentType!.addSafe(DocumentType.fromJson(item));
-  }
-  result._rawResult = jsonObject["rawResult"];
-  result._rfidSessionData =
-      RFIDSessionData.fromJson(jsonObject["rfidSessionData"]);
-  result._authenticityResult =
-      AuthenticityResult.fromJson(jsonObject["authenticityResult"]);
-  result._barcodeResult = BarcodeResult.fromJson(jsonObject["barcodeResult"]);
-  result._status = ResultsStatus.fromJson(jsonObject["status"])!;
-  result._vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"]);
-  result._transactionInfo =
-      TransactionInfo.fromJson(jsonObject["transactionInfo"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldByTypeSource.html b/docs/document_reader/Results/graphicFieldByTypeSource.html deleted file mode 100644 index 6a4d4b2ad5..0000000000 --- a/docs/document_reader/Results/graphicFieldByTypeSource.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - graphicFieldByTypeSource method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldByTypeSource
- -
- -
-
-
- -
-
-

graphicFieldByTypeSource method -

- -
- - -Future<GraphicField?> -graphicFieldByTypeSource(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source
  4. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type -and page index.

-
- - - -
-

Implementation

-
Future<GraphicField?> graphicFieldByTypeSource(
-  GraphicFieldType fieldType,
-  ResultType source,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldByTypeSource",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-    ],
-  );
-  if (result == null) return null;
-  return GraphicField.fromJson(json.decode(result));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldByTypeSourcePageIndex.html b/docs/document_reader/Results/graphicFieldByTypeSourcePageIndex.html deleted file mode 100644 index 4e702be490..0000000000 --- a/docs/document_reader/Results/graphicFieldByTypeSourcePageIndex.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - graphicFieldByTypeSourcePageIndex method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldByTypeSourcePageIndex
- -
- -
-
-
- -
-
-

graphicFieldByTypeSourcePageIndex method -

- -
- - -Future<GraphicField?> -graphicFieldByTypeSourcePageIndex(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source,
  4. -
  5. int pageIndex
  6. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type -and page index.

-
- - - -
-

Implementation

-
Future<GraphicField?> graphicFieldByTypeSourcePageIndex(
-  GraphicFieldType fieldType,
-  ResultType source,
-  int pageIndex,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldByTypeSourcePageIndex",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-      pageIndex,
-    ],
-  );
-  if (result == null) return null;
-  return GraphicField.fromJson(json.decode(result));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldByTypeSourcePageIndexLight.html b/docs/document_reader/Results/graphicFieldByTypeSourcePageIndexLight.html deleted file mode 100644 index d84034339d..0000000000 --- a/docs/document_reader/Results/graphicFieldByTypeSourcePageIndexLight.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - graphicFieldByTypeSourcePageIndexLight method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldByTypeSourcePageIndexLight
- -
- -
-
-
- -
-
-

graphicFieldByTypeSourcePageIndexLight method -

- -
- - -Future<GraphicField?> -graphicFieldByTypeSourcePageIndexLight(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source,
  4. -
  5. int pageIndex,
  6. -
  7. Lights light
  8. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type, -page index and light type.

-
- - - -
-

Implementation

-
Future<GraphicField?> graphicFieldByTypeSourcePageIndexLight(
-  GraphicFieldType fieldType,
-  ResultType source,
-  int pageIndex,
-  Lights light,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldByTypeSourcePageIndex",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-      pageIndex,
-      light.value,
-    ],
-  );
-  if (result == null) return null;
-  return GraphicField.fromJson(json.decode(result));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldImageByType.html b/docs/document_reader/Results/graphicFieldImageByType.html deleted file mode 100644 index b855d06570..0000000000 --- a/docs/document_reader/Results/graphicFieldImageByType.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - graphicFieldImageByType method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldImageByType
- -
- -
-
-
- -
-
-

graphicFieldImageByType method -

- -
- - -Future -graphicFieldImageByType(
  1. GraphicFieldType fieldType
  2. -
) - - - -
- -
-

Allows you to get an image of a graphic field.

-
- - - -
-

Implementation

-
Future<Uint8List?> graphicFieldImageByType(
-  GraphicFieldType fieldType,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldImageByType",
-    [
-      rawResult,
-      fieldType.value,
-    ],
-  );
-  if (result == null) return null;
-  // return Uri.parse("data:image/png;base64," + result);
-  return _bytesFromBase64(result);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldImageByTypeSource.html b/docs/document_reader/Results/graphicFieldImageByTypeSource.html deleted file mode 100644 index e4b066e554..0000000000 --- a/docs/document_reader/Results/graphicFieldImageByTypeSource.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - graphicFieldImageByTypeSource method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldImageByTypeSource
- -
- -
-
-
- -
-
-

graphicFieldImageByTypeSource method -

- -
- - -Future -graphicFieldImageByTypeSource(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source
  4. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type.

-
- - - -
-

Implementation

-
Future<Uint8List?> graphicFieldImageByTypeSource(
-  GraphicFieldType fieldType,
-  ResultType source,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldImageByTypeSource",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-    ],
-  );
-  if (result == null) return null;
-  return _bytesFromBase64(result);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndex.html b/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndex.html deleted file mode 100644 index d43db75725..0000000000 --- a/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndex.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - graphicFieldImageByTypeSourcePageIndex method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldImageByTypeSourcePageIndex
- -
- -
-
-
- -
-
-

graphicFieldImageByTypeSourcePageIndex method -

- -
- - -Future -graphicFieldImageByTypeSourcePageIndex(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source,
  4. -
  5. int pageIndex
  6. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type -and page index.

-
- - - -
-

Implementation

-
Future<Uint8List?> graphicFieldImageByTypeSourcePageIndex(
-  GraphicFieldType fieldType,
-  ResultType source,
-  int pageIndex,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldImageByTypeSourcePageIndex",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-      pageIndex,
-    ],
-  );
-  if (result == null) return null;
-  return _bytesFromBase64(result);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndexLight.html b/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndexLight.html deleted file mode 100644 index 8dec646677..0000000000 --- a/docs/document_reader/Results/graphicFieldImageByTypeSourcePageIndexLight.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - graphicFieldImageByTypeSourcePageIndexLight method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicFieldImageByTypeSourcePageIndexLight
- -
- -
-
-
- -
-
-

graphicFieldImageByTypeSourcePageIndexLight method -

- -
- - -Future -graphicFieldImageByTypeSourcePageIndexLight(
  1. GraphicFieldType fieldType,
  2. -
  3. ResultType source,
  4. -
  5. int pageIndex,
  6. -
  7. Lights light
  8. -
) - - - -
- -
-

Allows you to get an image of a graphic field based on a source type, -page index and light type.

-
- - - -
-

Implementation

-
Future<Uint8List?> graphicFieldImageByTypeSourcePageIndexLight(
-  GraphicFieldType fieldType,
-  ResultType source,
-  int pageIndex,
-  Lights light,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "graphicFieldImageByTypeSourcePageIndexLight",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-      pageIndex,
-      light.value,
-    ],
-  );
-  if (result == null) return null;
-  return _bytesFromBase64(result);
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/graphicResult.html b/docs/document_reader/Results/graphicResult.html deleted file mode 100644 index 5580fc04e4..0000000000 --- a/docs/document_reader/Results/graphicResult.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - graphicResult property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
graphicResult
- -
- -
-
-
- -
-
-

graphicResult property -

- - - -
- -
- - GraphicResult? - graphicResult - - -
- - -
-

Graphic results.

-
- - -
-

Implementation

-
GraphicResult? get graphicResult => _graphicResult;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/imageQuality.html b/docs/document_reader/Results/imageQuality.html deleted file mode 100644 index c5ab5cae03..0000000000 --- a/docs/document_reader/Results/imageQuality.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - imageQuality property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
imageQuality
- -
- -
-
-
- -
-
-

imageQuality property -

- - - -
- -
- - List<ImageQualityGroup>? - imageQuality - - -
- - -
-

Image quality results.

-
- - -
-

Implementation

-
List<ImageQualityGroup>? get imageQuality => _imageQuality;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/morePagesAvailable.html b/docs/document_reader/Results/morePagesAvailable.html deleted file mode 100644 index fc412d56a2..0000000000 --- a/docs/document_reader/Results/morePagesAvailable.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - morePagesAvailable property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
morePagesAvailable
- -
- -
-
-
- -
-
-

morePagesAvailable property -

- - - -
- -
- - int - morePagesAvailable - - -
- - -
-

Indicates how many pages of a document remains to process. -Requires Document Type recognition, otherwise 0 by default.

-
- - -
-

Implementation

-
int get morePagesAvailable => _morePagesAvailable;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/mrzPosition.html b/docs/document_reader/Results/mrzPosition.html deleted file mode 100644 index 57dd4d7b8d..0000000000 --- a/docs/document_reader/Results/mrzPosition.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - mrzPosition property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
mrzPosition
- -
- -
-
-
- -
-
-

mrzPosition property -

- - - -
- -
- - List<Position>? - mrzPosition - - -
- - -
-

Position of MRZ.

-
- - -
-

Implementation

-
List<Position>? get mrzPosition => _mrzPosition;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/processingFinishedStatus.html b/docs/document_reader/Results/processingFinishedStatus.html deleted file mode 100644 index b1e59b80a5..0000000000 --- a/docs/document_reader/Results/processingFinishedStatus.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - processingFinishedStatus property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
processingFinishedStatus
- -
- -
-
-
- -
-
-

processingFinishedStatus property -

- - - -
- -
- - ProcessingFinishedStatus - processingFinishedStatus - - -
- - -
-

Document processing finish status, one of RGLProcessingFinishedStatus values.

-
- - -
-

Implementation

-
ProcessingFinishedStatus get processingFinishedStatus =>
-    _processingFinishedStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/rawResult.html b/docs/document_reader/Results/rawResult.html deleted file mode 100644 index 2e476deb8c..0000000000 --- a/docs/document_reader/Results/rawResult.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rawResult property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rawResult
- -
- -
-
-
- -
-
-

rawResult property -

- - - -
- -
- - String - rawResult - - -
- - -
-

Raw results, i.e. in their initial view.

-
- - -
-

Implementation

-
String get rawResult => _rawResult;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/rfidSessionData.html b/docs/document_reader/Results/rfidSessionData.html deleted file mode 100644 index 4d35406daa..0000000000 --- a/docs/document_reader/Results/rfidSessionData.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rfidSessionData property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidSessionData
- -
- -
-
-
- -
-
-

rfidSessionData property -

- - - -
- -
- - RFIDSessionData? - rfidSessionData - - -
- - -
-

RFID session data.

-
- - -
-

Implementation

-
RFIDSessionData? get rfidSessionData => _rfidSessionData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/status.html b/docs/document_reader/Results/status.html deleted file mode 100644 index 10224459d5..0000000000 --- a/docs/document_reader/Results/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - ResultsStatus - status - - -
- - -
-

Status information for each operation.

-
- - -
-

Implementation

-
ResultsStatus get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldByType.html b/docs/document_reader/Results/textFieldByType.html deleted file mode 100644 index 422a8f0b55..0000000000 --- a/docs/document_reader/Results/textFieldByType.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - textFieldByType method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldByType
- -
- -
-
-
- -
-
-

textFieldByType method -

- -
- - -Future<TextField?> -textFieldByType(
  1. FieldType fieldType
  2. -
) - - - -
- -
-

Allows you to get an instance of a text field.

-
- - - -
-

Implementation

-
Future<TextField?> textFieldByType(
-  FieldType fieldType,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "textFieldByType",
-    [
-      rawResult,
-      fieldType.value,
-    ],
-  );
-  if (result == null) return null;
-  return TextField.fromJson(json.decode(result));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldByTypeLcid.html b/docs/document_reader/Results/textFieldByTypeLcid.html deleted file mode 100644 index 0f29dfc4ad..0000000000 --- a/docs/document_reader/Results/textFieldByTypeLcid.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - textFieldByTypeLcid method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldByTypeLcid
- -
- -
-
-
- -
-
-

textFieldByTypeLcid method -

- -
- - -Future<TextField?> -textFieldByTypeLcid(
  1. FieldType fieldType,
  2. -
  3. LCID lcid
  4. -
) - - - -
- -
-

Allows you to get an instance of a text field based on LCID.

-
- - - -
-

Implementation

-
Future<TextField?> textFieldByTypeLcid(
-  FieldType fieldType,
-  LCID lcid,
-) async {
-  String? result = await _bridge.invokeMethod(
-    "textFieldByTypeLcid",
-    [
-      rawResult,
-      fieldType.value,
-      lcid.value,
-    ],
-  );
-  if (result == null) return null;
-  return TextField.fromJson(json.decode(result));
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByType.html b/docs/document_reader/Results/textFieldValueByType.html deleted file mode 100644 index 3392bd54c2..0000000000 --- a/docs/document_reader/Results/textFieldValueByType.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - textFieldValueByType method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByType
- -
- -
-
-
- -
-
-

textFieldValueByType method -

- -
- - -Future<String?> -textFieldValueByType(
  1. FieldType fieldType
  2. -
) - - - -
- -
-

Allows you to get a value of a text field.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByType(
-  FieldType fieldType,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByType",
-    [
-      rawResult,
-      fieldType.value,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByTypeLcid.html b/docs/document_reader/Results/textFieldValueByTypeLcid.html deleted file mode 100644 index 6d831f1f64..0000000000 --- a/docs/document_reader/Results/textFieldValueByTypeLcid.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - textFieldValueByTypeLcid method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByTypeLcid
- -
- -
-
-
- -
-
-

textFieldValueByTypeLcid method -

- -
- - -Future<String?> -textFieldValueByTypeLcid(
  1. FieldType fieldType,
  2. -
  3. LCID lcid
  4. -
) - - - -
- -
-

Allows you to get a value of a text field based on LCID.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByTypeLcid(
-  FieldType fieldType,
-  LCID lcid,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByTypeLcid",
-    [
-      rawResult,
-      fieldType.value,
-      lcid.value,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByTypeLcidSource.html b/docs/document_reader/Results/textFieldValueByTypeLcidSource.html deleted file mode 100644 index 318bbded4b..0000000000 --- a/docs/document_reader/Results/textFieldValueByTypeLcidSource.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - textFieldValueByTypeLcidSource method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByTypeLcidSource
- -
- -
-
-
- -
-
-

textFieldValueByTypeLcidSource method -

- -
- - -Future<String?> -textFieldValueByTypeLcidSource(
  1. FieldType fieldType,
  2. -
  3. LCID lcid,
  4. -
  5. ResultType source
  6. -
) - - - -
- -
-

Allows you to get a value of a text field based on LCID and a source type.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByTypeLcidSource(
-  FieldType fieldType,
-  LCID lcid,
-  ResultType source,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByTypeLcidSource",
-    [
-      rawResult,
-      fieldType.value,
-      lcid.value,
-      source.value,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByTypeLcidSourceOriginal.html b/docs/document_reader/Results/textFieldValueByTypeLcidSourceOriginal.html deleted file mode 100644 index baa0bed416..0000000000 --- a/docs/document_reader/Results/textFieldValueByTypeLcidSourceOriginal.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - textFieldValueByTypeLcidSourceOriginal method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByTypeLcidSourceOriginal
- -
- -
-
-
- -
-
-

textFieldValueByTypeLcidSourceOriginal method -

- -
- - -Future<String?> -textFieldValueByTypeLcidSourceOriginal(
  1. FieldType fieldType,
  2. -
  3. LCID lcid,
  4. -
  5. ResultType source,
  6. -
  7. bool original
  8. -
) - - - -
- -
-

Allows you to get a value of a text field based on LCID, a source type -and its originality.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByTypeLcidSourceOriginal(
-  FieldType fieldType,
-  LCID lcid,
-  ResultType source,
-  bool original,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByTypeLcidSourceOriginal",
-    [
-      rawResult,
-      fieldType.value,
-      lcid.value,
-      source.value,
-      original,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByTypeSource.html b/docs/document_reader/Results/textFieldValueByTypeSource.html deleted file mode 100644 index 7b7f9d0f78..0000000000 --- a/docs/document_reader/Results/textFieldValueByTypeSource.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - textFieldValueByTypeSource method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByTypeSource
- -
- -
-
-
- -
-
-

textFieldValueByTypeSource method -

- -
- - -Future<String?> -textFieldValueByTypeSource(
  1. FieldType fieldType,
  2. -
  3. ResultType source
  4. -
) - - - -
- -
-

Allows you to get a value of a text field based on a source type.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByTypeSource(
-  FieldType fieldType,
-  ResultType source,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByTypeSource",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textFieldValueByTypeSourceOriginal.html b/docs/document_reader/Results/textFieldValueByTypeSourceOriginal.html deleted file mode 100644 index fe8d9b4013..0000000000 --- a/docs/document_reader/Results/textFieldValueByTypeSourceOriginal.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - textFieldValueByTypeSourceOriginal method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textFieldValueByTypeSourceOriginal
- -
- -
-
-
- -
-
-

textFieldValueByTypeSourceOriginal method -

- -
- - -Future<String?> -textFieldValueByTypeSourceOriginal(
  1. FieldType fieldType,
  2. -
  3. ResultType source,
  4. -
  5. bool original
  6. -
) - - - -
- -
-

Allows you to get a value of a text field based on a source type and -its originality.

-
- - - -
-

Implementation

-
Future<String?> textFieldValueByTypeSourceOriginal(
-  FieldType fieldType,
-  ResultType source,
-  bool original,
-) async {
-  return await _bridge.invokeMethod(
-    "textFieldValueByTypeSourceOriginal",
-    [
-      rawResult,
-      fieldType.value,
-      source.value,
-      original,
-    ],
-  );
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/textResult.html b/docs/document_reader/Results/textResult.html deleted file mode 100644 index fa2cebd5ca..0000000000 --- a/docs/document_reader/Results/textResult.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - textResult property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
textResult
- -
- -
-
-
- -
-
-

textResult property -

- - - -
- -
- - TextResult? - textResult - - -
- - -
-

Textual results.

-
- - -
-

Implementation

-
TextResult? get textResult => _textResult;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/toJson.html b/docs/document_reader/Results/toJson.html deleted file mode 100644 index 1803917c87..0000000000 --- a/docs/document_reader/Results/toJson.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - toJson method - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "documentType": documentType?.map((e) => e.toJson()).toList(),
-      "documentPosition": documentPosition?.map((e) => e.toJson()).toList(),
-      "barcodePosition": barcodePosition?.map((e) => e.toJson()).toList(),
-      "mrzPosition": mrzPosition?.map((e) => e.toJson()).toList(),
-      "imageQuality": imageQuality?.map((e) => e.toJson()).toList(),
-      "textResult": textResult?.toJson(),
-      "graphicResult": graphicResult?.toJson(),
-      "status": status.toJson(),
-      "authenticityResult": authenticityResult?.toJson(),
-      "rfidSessionData": rfidSessionData?.toJson(),
-      "barcodeResult": barcodeResult?.toJson(),
-      "vdsncData": vdsncData?.toJson(),
-      "chipPage": chipPage,
-      "processingFinishedStatus": processingFinishedStatus.value,
-      "morePagesAvailable": morePagesAvailable,
-      "elapsedTime": elapsedTime,
-      "elapsedTimeRFID": elapsedTimeRFID,
-      "rawResult": rawResult,
-      "transactionInfo": transactionInfo?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/transactionInfo.html b/docs/document_reader/Results/transactionInfo.html deleted file mode 100644 index 7433a6aed4..0000000000 --- a/docs/document_reader/Results/transactionInfo.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - transactionInfo property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
transactionInfo
- -
- -
-
-
- -
-
-

transactionInfo property -

- - - -
- -
- - TransactionInfo? - transactionInfo - - -
- - - - -
-

Implementation

-
TransactionInfo? get transactionInfo => _transactionInfo;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Results/vdsncData.html b/docs/document_reader/Results/vdsncData.html deleted file mode 100644 index 0096beccdd..0000000000 --- a/docs/document_reader/Results/vdsncData.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - vdsncData property - Results class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
vdsncData
- -
- -
-
-
- -
-
-

vdsncData property -

- - - -
- -
- - VDSNCData? - vdsncData - - -
- - -
-

Visible Digital Seal data.

-
- - -
-

Implementation

-
VDSNCData? get vdsncData => _vdsncData;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus-class-sidebar.html b/docs/document_reader/ResultsStatus-class-sidebar.html deleted file mode 100644 index 9696a7aa97..0000000000 --- a/docs/document_reader/ResultsStatus-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ResultsStatus
  4. - - -
  5. - Properties -
  6. -
  7. detailsOptical
  8. -
  9. detailsRFID
  10. -
  11. hashCode
  12. -
  13. optical
  14. -
  15. overallStatus
  16. -
  17. portrait
  18. -
  19. rfid
  20. -
  21. runtimeType
  22. -
  23. stopList
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/ResultsStatus-class.html b/docs/document_reader/ResultsStatus-class.html deleted file mode 100644 index b7e2a37f8e..0000000000 --- a/docs/document_reader/ResultsStatus-class.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ResultsStatus
- -
- -
-
-
- -
-
-

ResultsStatus class - -

- - -
-

Provision of document verification status.

-
- - - - -
-

Constructors

- -
-
- ResultsStatus() -
-
- -
-
-
- -
-

Properties

- -
-
- detailsOptical - OpticalStatus - -
-
- Container for an optical related scanning statuses. -
no setter
- -
- -
- detailsRFID - RFIDStatus - -
-
- Container for a RFID related scanning statuses. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- optical - CheckResult - -
-
- Summary of all optical results. The same value as OpticalStatus.overallStatus -
no setter
- -
- -
- overallStatus - CheckResult - -
-
- Summary of all results. -
no setter
- -
- -
- portrait - CheckResult - -
-
- Comparison status for portrait in the document aganist live or external image. -
no setter
- -
- -
- rfid - CheckResult - -
-
- Summary of all RFID results. Same as RFIDStatus.overallStatus. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- stopList - CheckResult - -
-
- Verification status for document data against database. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ResultsStatus? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/ResultsStatus.html b/docs/document_reader/ResultsStatus/ResultsStatus.html deleted file mode 100644 index 2b463fbefd..0000000000 --- a/docs/document_reader/ResultsStatus/ResultsStatus.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - ResultsStatus constructor - ResultsStatus - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ResultsStatus
- -
- -
-
-
- -
-
-

ResultsStatus constructor -

- -
- - ResultsStatus() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/detailsOptical.html b/docs/document_reader/ResultsStatus/detailsOptical.html deleted file mode 100644 index b7f98d16a6..0000000000 --- a/docs/document_reader/ResultsStatus/detailsOptical.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - detailsOptical property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
detailsOptical
- -
- -
-
-
- -
-
-

detailsOptical property -

- - - -
- -
- - OpticalStatus - detailsOptical - - -
- - -
-

Container for an optical related scanning statuses.

-
- - -
-

Implementation

-
OpticalStatus get detailsOptical => _detailsOptical;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/detailsRFID.html b/docs/document_reader/ResultsStatus/detailsRFID.html deleted file mode 100644 index 2e123de215..0000000000 --- a/docs/document_reader/ResultsStatus/detailsRFID.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - detailsRFID property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
detailsRFID
- -
- -
-
-
- -
-
-

detailsRFID property -

- - - -
- -
- - RFIDStatus - detailsRFID - - -
- - -
-

Container for a RFID related scanning statuses.

-
- - -
-

Implementation

-
RFIDStatus get detailsRFID => _detailsRFID;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/fromJson.html b/docs/document_reader/ResultsStatus/fromJson.html deleted file mode 100644 index 7a1db164cb..0000000000 --- a/docs/document_reader/ResultsStatus/fromJson.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - fromJson method - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ResultsStatus? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static ResultsStatus? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = ResultsStatus();
-
-  result._overallStatus =
-      CheckResult.getByValue(jsonObject["overallStatus"])!;
-  result._optical = CheckResult.getByValue(jsonObject["optical"])!;
-  result._detailsOptical =
-      OpticalStatus.fromJson(jsonObject["detailsOptical"])!;
-  result._rfid = CheckResult.getByValue(jsonObject["rfid"])!;
-  result._detailsRFID = RFIDStatus.fromJson(jsonObject["detailsRFID"])!;
-  result._portrait = CheckResult.getByValue(jsonObject["portrait"])!;
-  result._stopList = CheckResult.getByValue(jsonObject["stopList"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/optical.html b/docs/document_reader/ResultsStatus/optical.html deleted file mode 100644 index 1c77009fb0..0000000000 --- a/docs/document_reader/ResultsStatus/optical.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - optical property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
optical
- -
- -
-
-
- -
-
-

optical property -

- - - -
- -
- - CheckResult - optical - - -
- - -
-

Summary of all optical results. The same value as OpticalStatus.overallStatus

-
- - -
-

Implementation

-
CheckResult get optical => _optical;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/overallStatus.html b/docs/document_reader/ResultsStatus/overallStatus.html deleted file mode 100644 index c20bc86931..0000000000 --- a/docs/document_reader/ResultsStatus/overallStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - overallStatus property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
overallStatus
- -
- -
-
-
- -
-
-

overallStatus property -

- - - -
- -
- - CheckResult - overallStatus - - -
- - -
-

Summary of all results.

-
- - -
-

Implementation

-
CheckResult get overallStatus => _overallStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/portrait.html b/docs/document_reader/ResultsStatus/portrait.html deleted file mode 100644 index 48125e3cb8..0000000000 --- a/docs/document_reader/ResultsStatus/portrait.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - portrait property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
portrait
- -
- -
-
-
- -
-
-

portrait property -

- - - -
- -
- - CheckResult - portrait - - -
- - -
-

Comparison status for portrait in the document aganist live or external image.

-
- - -
-

Implementation

-
CheckResult get portrait => _portrait;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/rfid.html b/docs/document_reader/ResultsStatus/rfid.html deleted file mode 100644 index e7559a31cc..0000000000 --- a/docs/document_reader/ResultsStatus/rfid.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rfid property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfid
- -
- -
-
-
- -
-
-

rfid property -

- - - -
- -
- - CheckResult - rfid - - -
- - -
-

Summary of all RFID results. Same as RFIDStatus.overallStatus.

-
- - -
-

Implementation

-
CheckResult get rfid => _rfid;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/stopList.html b/docs/document_reader/ResultsStatus/stopList.html deleted file mode 100644 index 340edec331..0000000000 --- a/docs/document_reader/ResultsStatus/stopList.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - stopList property - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
stopList
- -
- -
-
-
- -
-
-

stopList property -

- - - -
- -
- - CheckResult - stopList - - -
- - -
-

Verification status for document data against database.

-
- - -
-

Implementation

-
CheckResult get stopList => _stopList;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ResultsStatus/toJson.html b/docs/document_reader/ResultsStatus/toJson.html deleted file mode 100644 index d8f1b3ebf1..0000000000 --- a/docs/document_reader/ResultsStatus/toJson.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - toJson method - ResultsStatus class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "overallStatus": overallStatus.value,
-      "optical": optical.value,
-      "rfid": rfid.value,
-      "portrait": portrait.value,
-      "stopList": stopList.value,
-      "detailsOptical": detailsOptical.toJson(),
-      "detailsRFID": detailsRFID.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/RetryReadChipCompletion.html b/docs/document_reader/RetryReadChipCompletion.html deleted file mode 100644 index 2562d695c5..0000000000 --- a/docs/document_reader/RetryReadChipCompletion.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - RetryReadChipCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
RetryReadChipCompletion
- -
- -
-
-
- -
-
-

RetryReadChipCompletion typedef - -

- -
- RetryReadChipCompletion = - void Function(RFIDException error) - -
- - -
-

Fires when RFID chip reading was interrupted with no severe reasons -(for example connection to the chip was lost) and will be reestablished automatically.

-

Only used with default constructor. If RFIDConfig.withoutUI was used, -you will receive this update via DocumentReaderCompletion -and chip reading will not be reestablished.

-

error a brief message for developer.

-
- - -
-

Implementation

-
typedef RetryReadChipCompletion = void Function(RFIDException error);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig-class-sidebar.html b/docs/document_reader/ScannerConfig-class-sidebar.html deleted file mode 100644 index 21cf7f04c3..0000000000 --- a/docs/document_reader/ScannerConfig-class-sidebar.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ScannerConfig
  4. -
  5. withOnlineProcessingConfig
  6. -
  7. withScenario
  8. - - -
  9. - Properties -
  10. -
  11. cameraId
  12. -
  13. extPortrait
  14. -
  15. hashCode
  16. -
  17. livePortrait
  18. -
  19. onlineProcessingConfig
  20. -
  21. runtimeType
  22. -
  23. scenario
  24. - -
  25. Methods
  26. -
  27. noSuchMethod
  28. -
  29. toJson
  30. -
  31. toString
  32. - -
  33. Operators
  34. -
  35. operator ==
  36. - - - -
  37. Static methods
  38. -
  39. fromJson
  40. - -
diff --git a/docs/document_reader/ScannerConfig-class.html b/docs/document_reader/ScannerConfig-class.html deleted file mode 100644 index ed0d936140..0000000000 --- a/docs/document_reader/ScannerConfig-class.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ScannerConfig
- -
- -
-
-
- -
-
-

ScannerConfig class - -

- - - - - - -
-

Constructors

- -
-
- ScannerConfig(Scenario scenario, OnlineProcessingConfig onlineProcessingConfig) -
-
- -
-
- ScannerConfig.withOnlineProcessingConfig(OnlineProcessingConfig onlineProcessingConfig) -
-
- -
-
- ScannerConfig.withScenario(Scenario scenario) -
-
- -
-
-
- -
-

Properties

- -
-
- cameraId - int? - -
-
- Camera id. -
getter/setter pair
- -
- -
- extPortrait - ↔ dynamic - -
-
- Portrait photo from an external source. -
getter/setter pair
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- livePortrait - ↔ dynamic - -
-
- Live portrait photo. -
getter/setter pair
- -
- -
- onlineProcessingConfig - OnlineProcessingConfig? - -
-
- Configuration class for online processing. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- scenario - Scenario? - -
-
- Documents processing scenario. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - ScannerConfig? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/ScannerConfig.html b/docs/document_reader/ScannerConfig/ScannerConfig.html deleted file mode 100644 index c4cbbd750d..0000000000 --- a/docs/document_reader/ScannerConfig/ScannerConfig.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - ScannerConfig constructor - ScannerConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ScannerConfig
- -
- -
-
-
- -
-
-

ScannerConfig constructor -

- -
- - ScannerConfig(
  1. Scenario scenario,
  2. -
  3. OnlineProcessingConfig onlineProcessingConfig
  4. -
) -
- - - - - -
-

Implementation

-
ScannerConfig
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/ScannerConfig.withOnlineProcessingConfig.html b/docs/document_reader/ScannerConfig/ScannerConfig.withOnlineProcessingConfig.html deleted file mode 100644 index 9dc58b6e2e..0000000000 --- a/docs/document_reader/ScannerConfig/ScannerConfig.withOnlineProcessingConfig.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - ScannerConfig.withOnlineProcessingConfig constructor - ScannerConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ScannerConfig.withOnlineProcessingConfig
- -
- -
-
-
- -
-
-

ScannerConfig.withOnlineProcessingConfig constructor -

- -
- - ScannerConfig.withOnlineProcessingConfig(
  1. OnlineProcessingConfig onlineProcessingConfig
  2. -
) -
- - - - - -
-

Implementation

-
ScannerConfig.withOnlineProcessingConfig(
-    OnlineProcessingConfig onlineProcessingConfig)
-    : _scenario = null,
-      _onlineProcessingConfig = onlineProcessingConfig;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/ScannerConfig.withScenario.html b/docs/document_reader/ScannerConfig/ScannerConfig.withScenario.html deleted file mode 100644 index f8586a3ee3..0000000000 --- a/docs/document_reader/ScannerConfig/ScannerConfig.withScenario.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - ScannerConfig.withScenario constructor - ScannerConfig - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ScannerConfig.withScenario
- -
- -
-
-
- -
-
-

ScannerConfig.withScenario constructor -

- -
- - ScannerConfig.withScenario(
  1. Scenario scenario
  2. -
) -
- - - - - -
-

Implementation

-
ScannerConfig.withScenario(Scenario scenario)
-    : _scenario = scenario,
-      _onlineProcessingConfig = null;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/cameraId.html b/docs/document_reader/ScannerConfig/cameraId.html deleted file mode 100644 index 565a91622d..0000000000 --- a/docs/document_reader/ScannerConfig/cameraId.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - cameraId property - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
cameraId
- -
- -
-
-
- -
-
-

cameraId property -

- -
- - int? - cameraId -
getter/setter pair
- -
- -
-

Camera id.

-

Android only.

-
- - -
-

Implementation

-
int? cameraId;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/extPortrait.html b/docs/document_reader/ScannerConfig/extPortrait.html deleted file mode 100644 index 72f84e3760..0000000000 --- a/docs/document_reader/ScannerConfig/extPortrait.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - extPortrait property - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
extPortrait
- -
- -
-
-
- -
-
-

extPortrait property -

- -
- - dynamic - extPortrait -
getter/setter pair
- -
- -
-

Portrait photo from an external source.

-

Requires network connection.

-
- - -
-

Implementation

-
Uint8List? extPortrait;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/fromJson.html b/docs/document_reader/ScannerConfig/fromJson.html deleted file mode 100644 index 565286c48b..0000000000 --- a/docs/document_reader/ScannerConfig/fromJson.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - fromJson method - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -ScannerConfig? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static ScannerConfig? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-
-  var result = ScannerConfig._empty();
-
-  result._scenario = Scenario.getByValue(jsonObject["scenario"]);
-  result._onlineProcessingConfig =
-      OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"]);
-  result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]);
-  result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]);
-  result.cameraId = jsonObject["cameraId"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/livePortrait.html b/docs/document_reader/ScannerConfig/livePortrait.html deleted file mode 100644 index eb7f4943d9..0000000000 --- a/docs/document_reader/ScannerConfig/livePortrait.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - livePortrait property - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
livePortrait
- -
- -
-
-
- -
-
-

livePortrait property -

- -
- - dynamic - livePortrait -
getter/setter pair
- -
- -
-

Live portrait photo.

-

Requires network connection.

-
- - -
-

Implementation

-
Uint8List? livePortrait;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/onlineProcessingConfig.html b/docs/document_reader/ScannerConfig/onlineProcessingConfig.html deleted file mode 100644 index 1f0df7c48c..0000000000 --- a/docs/document_reader/ScannerConfig/onlineProcessingConfig.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - onlineProcessingConfig property - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
onlineProcessingConfig
- -
- -
-
-
- -
-
-

onlineProcessingConfig property -

- - - -
- -
- - OnlineProcessingConfig? - onlineProcessingConfig - - -
- - -
-

Configuration class for online processing.

-

/// Requires network connection.

-
- - -
-

Implementation

-
OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/scenario.html b/docs/document_reader/ScannerConfig/scenario.html deleted file mode 100644 index 6135a7d21a..0000000000 --- a/docs/document_reader/ScannerConfig/scenario.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - scenario property - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
scenario
- -
- -
-
-
- -
-
-

scenario property -

- - - -
- -
- - Scenario? - scenario - - -
- - -
-

Documents processing scenario.

-
- - -
-

Implementation

-
Scenario? get scenario => _scenario;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ScannerConfig/toJson.html b/docs/document_reader/ScannerConfig/toJson.html deleted file mode 100644 index fa87ff4aa9..0000000000 --- a/docs/document_reader/ScannerConfig/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - ScannerConfig class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "scenario": scenario?.value,
-      "onlineProcessingConfig": onlineProcessingConfig?.toJson(),
-      "livePortrait": _bytesToBase64(livePortrait),
-      "extPortrait": _bytesToBase64(extPortrait),
-      "cameraId": cameraId
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Scenario-enum-sidebar.html b/docs/document_reader/Scenario-enum-sidebar.html deleted file mode 100644 index ca42641946..0000000000 --- a/docs/document_reader/Scenario-enum-sidebar.html +++ /dev/null @@ -1,49 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Scenario
  4. - -
  5. Values
  6. -
  7. MRZ
  8. -
  9. BARCODE
  10. -
  11. LOCATE
  12. -
  13. OCR
  14. -
  15. DOCTYPE
  16. -
  17. MRZ_OR_BARCODE
  18. -
  19. MRZ_OR_LOCATE
  20. -
  21. MRZ_AND_LOCATE
  22. -
  23. BARCODE_AND_LOCATE
  24. -
  25. MRZ_OR_OCR
  26. -
  27. MRZ_OR_BARCODE_OR_OCR
  28. -
  29. LOCATE_VISUAL_AND_MRZ_OR_OCR
  30. -
  31. FULL_PROCESS
  32. -
  33. FULL_AUTH
  34. -
  35. ID3RUS
  36. -
  37. RUS_STAMP
  38. -
  39. OCR_FREE
  40. -
  41. CREDIT_CARD
  42. -
  43. CAPTURE
  44. - -
  45. - Properties -
  46. -
  47. hashCode
  48. -
  49. index
  50. -
  51. runtimeType
  52. -
  53. value
  54. - -
  55. Methods
  56. -
  57. noSuchMethod
  58. -
  59. toString
  60. - -
  61. Operators
  62. -
  63. operator ==
  64. - - - -
  65. Static methods
  66. -
  67. getByValue
  68. - -
  69. Constants
  70. -
  71. values
  72. -
diff --git a/docs/document_reader/Scenario.html b/docs/document_reader/Scenario.html deleted file mode 100644 index 3864038fa1..0000000000 --- a/docs/document_reader/Scenario.html +++ /dev/null @@ -1,598 +0,0 @@ - - - - - - - - Scenario enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Scenario
- -
- -
-
-
- -
-
- -

- Scenario - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- Scenario(String value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- MRZ - → const Scenario - - -
-
-

Processing scenario for obtaining MRZ data.

- - -
- Scenario("Mrz") -
-
- -
- BARCODE - → const Scenario - - -
-
-

Processing scenario for obtaining barcode data.

- - -
- Scenario("Barcode") -
-
- -
- LOCATE - → const Scenario - - -
-
-

Processing scenario for detecting document boundaries.

- - -
- Scenario("Locate") -
-
- -
- OCR - → const Scenario - - -
-
-

Processing scenario for obtaining visual zone OCR results.

- - -
- Scenario("Ocr") -
-
- -
- DOCTYPE - → const Scenario - - -
-
-

Processing scenario for document type recognition.

- - -
- Scenario("DocType") -
-
- -
- MRZ_OR_BARCODE - → const Scenario - - -
-
-

Processing scenario for obtaining MRZ and/or barcode data.

- - -
- Scenario("MrzOrBarcode") -
-
- -
- MRZ_OR_LOCATE - → const Scenario - - -
-
-

Processing scenario for detecting document boundaries and/or obtaining MRZ data.

- - -
- Scenario("MrzOrLocate") -
-
- -
- MRZ_AND_LOCATE - → const Scenario - - -
-
-

Processing scenario for detecting document boundaries and obtaining MRZ data.

- - -
- Scenario("MrzAndLocate") -
-
- -
- BARCODE_AND_LOCATE - → const Scenario - - -
-
-

Processing scenario for detecting document boundaries and obtaining barcode data.

- - -
- Scenario("BarcodeAndLocate") -
-
- -
- MRZ_OR_OCR - → const Scenario - - -
-
-

Processing scenario for obtaining MRZ data or visual zone OCR results.

- - -
- Scenario("MrzOrOcr") -
-
- -
- MRZ_OR_BARCODE_OR_OCR - → const Scenario - - -
-
-

Processing scenario for obtaining MRZ or barcode or visual zone OCR results.

- - -
- Scenario("MrzOrBarcodeOrOcr") -
-
- -
- LOCATE_VISUAL_AND_MRZ_OR_OCR - → const Scenario - - -
-
-

Processing scenario for detecting document boundaries and obtaining -MRZ data or visual zone OCR results.

- - -
- Scenario("LocateVisual_And_MrzOrOcr") -
-
- -
- FULL_PROCESS - → const Scenario - - -
-
-

Processing scenario for obtaining all document data.

- - -
- Scenario("FullProcess") -
-
- -
- FULL_AUTH - → const Scenario - - -
-
-

Processing scenario for obtaining all document data and document authentication.

- - -
- Scenario("FullAuth") -
-
- -
- ID3RUS - → const Scenario - - -
-
-

Processing scenario for obtaining visual zone OCR results from -Russian National Passport and MRZ data from any document.

- - -
- Scenario("Id3Rus") -
-
- -
- RUS_STAMP - → const Scenario - - -
-
-

Processing scenario for obtaining data from registration stamps in -Russian passports.

- - -
- Scenario("RusStamp") -
-
- -
- OCR_FREE - → const Scenario - - -
-
-

Processing scenario for obtaining OCR results of any image.

- - -
- Scenario("OcrFree") -
-
- -
- CREDIT_CARD - → const Scenario - - -
-
-

Processing scenario for obtaining bank card data.

- - -
- Scenario("CreditCard") -
-
- -
- CAPTURE - → const Scenario - - -
-
-

Scenario for obtaining an original image without any processing.

- - -
- Scenario("Capture") -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - String - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(String? i) - Scenario? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<Scenario> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [MRZ, BARCODE, LOCATE, OCR, DOCTYPE, MRZ_OR_BARCODE, MRZ_OR_LOCATE, MRZ_AND_LOCATE, BARCODE_AND_LOCATE, MRZ_OR_OCR, MRZ_OR_BARCODE_OR_OCR, LOCATE_VISUAL_AND_MRZ_OR_OCR, FULL_PROCESS, FULL_AUTH, ID3RUS… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Scenario/Scenario.html b/docs/document_reader/Scenario/Scenario.html deleted file mode 100644 index 525f8b904b..0000000000 --- a/docs/document_reader/Scenario/Scenario.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - Scenario constructor - Scenario - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Scenario
- -
- -
-
-
- -
-
-

Scenario constructor -

- -
- const - Scenario(
  1. String value
  2. -
) -
- - - - - -
-

Implementation

-
const Scenario
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Scenario/value.html b/docs/document_reader/Scenario/value.html deleted file mode 100644 index 9678ec372c..0000000000 --- a/docs/document_reader/Scenario/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - Scenario enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - String - value -
final
- -
- - - -
-

Implementation

-
final String value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Scenario/values-constant.html b/docs/document_reader/Scenario/values-constant.html deleted file mode 100644 index 7edeeceeb2..0000000000 --- a/docs/document_reader/Scenario/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - Scenario enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<Scenario> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityFeatureType-enum-sidebar.html b/docs/document_reader/SecurityFeatureType-enum-sidebar.html deleted file mode 100644 index 8798ddae46..0000000000 --- a/docs/document_reader/SecurityFeatureType-enum-sidebar.html +++ /dev/null @@ -1,84 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. SecurityFeatureType
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. NONE
  10. -
  11. BLANK
  12. -
  13. FILL
  14. -
  15. PHOTO
  16. -
  17. MRZ
  18. -
  19. FALSE_LUMINESCENCE
  20. -
  21. HOLO_SIMPLE
  22. -
  23. HOLO_VERIFY_STATIC
  24. -
  25. HOLO_VERIFY_MULTI_STATIC
  26. -
  27. HOLO_VERIFY_DINAMIC
  28. -
  29. PATTERN_NOT_INTERRUPTED
  30. -
  31. PATTERN_NOT_SHIFTED
  32. -
  33. PATTERN_SAME_COLORS
  34. -
  35. PATTERN_IR_INVISIBLE
  36. -
  37. PHOTO_SIZE_CHECK
  38. -
  39. PORTRAIT_COMPARISON_VS_GHOST
  40. -
  41. PORTRAIT_COMPARISON_VS_RFID
  42. -
  43. PORTRAIT_COMPARISON_VS_VISUAL
  44. -
  45. BARCODE
  46. -
  47. PATTERN_DIFFERENT_LINES_THICKNESS
  48. -
  49. PORTRAIT_COMPARISON_VS_CAMERA
  50. -
  51. PORTRAIT_COMPARISON_RFID_VS_CAMERA
  52. -
  53. GHOST_PHOTO
  54. -
  55. CLEAR_GHOST_PHOTO
  56. -
  57. INVISIBLE_OBJECT
  58. -
  59. LOW_CONTRAST_OBJECT
  60. -
  61. PHOTO_COLOR
  62. -
  63. PHOTO_SHAPE
  64. -
  65. PHOTO_CORNERS
  66. -
  67. DOCUMENT_CANCELLING_DETECTOR
  68. -
  69. OCR
  70. -
  71. PORTRAIT_COMPARISON_EXTVS_VISUAL
  72. -
  73. PORTRAIT_COMPARISON_EXTVS_RFID
  74. -
  75. PORTRAIT_COMPARISON_EXTVS_LIVE
  76. -
  77. LIVENESS_DEPTH
  78. -
  79. MICROTEXT
  80. -
  81. FLUORESCENT_OBJECT
  82. -
  83. LANDMARKS_CHECK
  84. -
  85. FACE_PRESENCE
  86. -
  87. FACE_ABSENCE
  88. -
  89. LIVENESS_SCREEN_CAPTURE
  90. -
  91. LIVENESS_ELECTRONIC_DEVICE
  92. -
  93. LIVENESS_OVI
  94. -
  95. BARCODE_SIZE_CHECK
  96. -
  97. LAS_INK
  98. -
  99. LIVENESS_MLI
  100. -
  101. LIVENESS_BARCODE_BACKGROUND
  102. -
  103. PORTRAIT_COMPARISON_VS_BARCODE
  104. -
  105. PORTRAIT_COMPARISON_RFID_VS_BARCODE
  106. -
  107. PORTRAIT_COMPARISON_EXT_VS_BARCODE
  108. -
  109. PORTRAIT_COMPARISON_BARCODE_VS_CAMERA
  110. -
  111. CHECK_DIGITAL_SIGNATURE
  112. -
  113. CONTACT_CHIP_CLASSIFICATION
  114. - -
  115. - Properties -
  116. -
  117. hashCode
  118. -
  119. index
  120. -
  121. runtimeType
  122. -
  123. value
  124. - -
  125. Methods
  126. -
  127. noSuchMethod
  128. -
  129. toString
  130. - -
  131. Operators
  132. -
  133. operator ==
  134. - - - -
  135. Static methods
  136. -
  137. getByValue
  138. - -
  139. Constants
  140. -
  141. values
  142. -
diff --git a/docs/document_reader/SecurityFeatureType.html b/docs/document_reader/SecurityFeatureType.html deleted file mode 100644 index 3eabf03b5d..0000000000 --- a/docs/document_reader/SecurityFeatureType.html +++ /dev/null @@ -1,1124 +0,0 @@ - - - - - - - - SecurityFeatureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityFeatureType
- -
- -
-
-
- -
-
- -

- SecurityFeatureType - enum - - -

-
- - -
-

Enumeration contains identifiers that determine the types of elements -for the document authenticity check.

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- SecurityFeatureType(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const SecurityFeatureType - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- SecurityFeatureType(-2) -
-
- -
- NONE - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(-1) -
-
- -
- BLANK - → const SecurityFeatureType - - -
-
-

Blank element.

- - -
- SecurityFeatureType(0) -
-
- -
- FILL - → const SecurityFeatureType - - -
-
-

Personalization element.

- - -
- SecurityFeatureType(1) -
-
- -
- PHOTO - → const SecurityFeatureType - - -
-
-

Photo.

- - -
- SecurityFeatureType(2) -
-
- -
- MRZ - → const SecurityFeatureType - - -
-
-

MRZ.

- - -
- SecurityFeatureType(3) -
-
- -
- FALSE_LUMINESCENCE - → const SecurityFeatureType - - -
-
-

Photo surrounding area.

- - -
- SecurityFeatureType(4) -
-
- -
- HOLO_SIMPLE - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(5) -
-
- -
- HOLO_VERIFY_STATIC - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(6) -
-
- -
- HOLO_VERIFY_MULTI_STATIC - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(7) -
-
- -
- HOLO_VERIFY_DINAMIC - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(8) -
-
- -
- PATTERN_NOT_INTERRUPTED - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(9) -
-
- -
- PATTERN_NOT_SHIFTED - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(10) -
-
- -
- PATTERN_SAME_COLORS - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(11) -
-
- -
- PATTERN_IR_INVISIBLE - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(12) -
-
- -
- PHOTO_SIZE_CHECK - → const SecurityFeatureType - - -
-
-

Reserved for internal use.

- - -
- SecurityFeatureType(13) -
-
- -
- PORTRAIT_COMPARISON_VS_GHOST - → const SecurityFeatureType - - -
-
-

Main portrait and ghost portrait comparison.

- - -
- SecurityFeatureType(14) -
-
- -
- PORTRAIT_COMPARISON_VS_RFID - → const SecurityFeatureType - - -
-
-

Main portrait and RFID portrait comparison.

- - -
- SecurityFeatureType(15) -
-
- -
- PORTRAIT_COMPARISON_VS_VISUAL - → const SecurityFeatureType - - -
-
-

Main portrait and other page portrait comparison.

- - -
- SecurityFeatureType(16) -
-
- -
- BARCODE - → const SecurityFeatureType - - -
-
-

Barcode format check.

- - -
- SecurityFeatureType(17) -
-
- -
- PATTERN_DIFFERENT_LINES_THICKNESS - → const SecurityFeatureType - - -
-
-

Different lines thickness.

- - -
- SecurityFeatureType(18) -
-
- -
- PORTRAIT_COMPARISON_VS_CAMERA - → const SecurityFeatureType - - -
-
-

Portrait comparison with image from camera.

- - -
- SecurityFeatureType(19) -
-
- -
- PORTRAIT_COMPARISON_RFID_VS_CAMERA - → const SecurityFeatureType - - -
-
-

Portrait comparison with image from RFID.

- - -
- SecurityFeatureType(20) -
-
- -
- GHOST_PHOTO - → const SecurityFeatureType - - -
-
-

Ghost photo.

- - -
- SecurityFeatureType(21) -
-
- -
- CLEAR_GHOST_PHOTO - → const SecurityFeatureType - - -
-
-

Clear ghost photo.

- - -
- SecurityFeatureType(22) -
-
- -
- INVISIBLE_OBJECT - → const SecurityFeatureType - - -
-
-

Invisible object.

- - -
- SecurityFeatureType(23) -
-
- -
- LOW_CONTRAST_OBJECT - → const SecurityFeatureType - - -
-
-

Low contrast object.

- - -
- SecurityFeatureType(24) -
-
- -
- PHOTO_COLOR - → const SecurityFeatureType - - -
-
-

Photo color type.

- - -
- SecurityFeatureType(25) -
-
- -
- PHOTO_SHAPE - → const SecurityFeatureType - - -
-
-

Photo squareness check.

- - -
- SecurityFeatureType(26) -
-
- -
- PHOTO_CORNERS - → const SecurityFeatureType - - -
-
-

Photo corners shape.

- - -
- SecurityFeatureType(27) -
-
- -
- DOCUMENT_CANCELLING_DETECTOR - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(28) -
-
- -
- OCR - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(28) -
-
- -
- PORTRAIT_COMPARISON_EXTVS_VISUAL - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(29) -
-
- -
- PORTRAIT_COMPARISON_EXTVS_RFID - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(30) -
-
- -
- PORTRAIT_COMPARISON_EXTVS_LIVE - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(31) -
-
- -
- LIVENESS_DEPTH - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(32) -
-
- -
- MICROTEXT - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(33) -
-
- -
- FLUORESCENT_OBJECT - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(34) -
-
- -
- LANDMARKS_CHECK - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(35) -
-
- -
- FACE_PRESENCE - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(36) -
-
- -
- FACE_ABSENCE - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(38) -
-
- -
- LIVENESS_SCREEN_CAPTURE - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(39) -
-
- -
- LIVENESS_ELECTRONIC_DEVICE - → const SecurityFeatureType - - -
-
-

Checking the presence of a device that could be used for document capturing.

- - -
- SecurityFeatureType(40) -
-
- -
- LIVENESS_OVI - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(41) -
-
- -
- BARCODE_SIZE_CHECK - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(42) -
-
- -
- LAS_INK - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(43) -
-
- -
- LIVENESS_MLI - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(44) -
-
- -
- LIVENESS_BARCODE_BACKGROUND - → const SecurityFeatureType - - -
-
- - - -
- SecurityFeatureType(45) -
-
- -
- PORTRAIT_COMPARISON_VS_BARCODE - → const SecurityFeatureType - - -
-
-

Visual zone portrait image vs. image from barcode.

- - -
- SecurityFeatureType(46) -
-
- -
- PORTRAIT_COMPARISON_RFID_VS_BARCODE - → const SecurityFeatureType - - -
-
-

Image from barcode vs. image from RFID.

- - -
- SecurityFeatureType(47) -
-
- -
- PORTRAIT_COMPARISON_EXT_VS_BARCODE - → const SecurityFeatureType - - -
-
-

Image from barcode vs. external source image.

- - -
- SecurityFeatureType(48) -
-
- -
- PORTRAIT_COMPARISON_BARCODE_VS_CAMERA - → const SecurityFeatureType - - -
-
-

Image from barcode vs. photo from camera.

- - -
- SecurityFeatureType(49) -
-
- -
- CHECK_DIGITAL_SIGNATURE - → const SecurityFeatureType - - -
-
-

Digital signature сheck.

- - -
- SecurityFeatureType(50) -
-
- -
- CONTACT_CHIP_CLASSIFICATION - → const SecurityFeatureType - - -
-
-

Contact сhip check.

- - -
- SecurityFeatureType(51) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - SecurityFeatureType? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<SecurityFeatureType> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, NONE, BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DINAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_… -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityFeatureType/SecurityFeatureType.html b/docs/document_reader/SecurityFeatureType/SecurityFeatureType.html deleted file mode 100644 index 1b08aa1415..0000000000 --- a/docs/document_reader/SecurityFeatureType/SecurityFeatureType.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - SecurityFeatureType constructor - SecurityFeatureType - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityFeatureType
- -
- -
-
-
- -
-
-

SecurityFeatureType constructor -

- -
- const - SecurityFeatureType(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const SecurityFeatureType
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityFeatureType/value.html b/docs/document_reader/SecurityFeatureType/value.html deleted file mode 100644 index 2ddcab9165..0000000000 --- a/docs/document_reader/SecurityFeatureType/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - SecurityFeatureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityFeatureType/values-constant.html b/docs/document_reader/SecurityFeatureType/values-constant.html deleted file mode 100644 index e6b3091a6f..0000000000 --- a/docs/document_reader/SecurityFeatureType/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - SecurityFeatureType enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<SecurityFeatureType> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject-class-sidebar.html b/docs/document_reader/SecurityObject-class-sidebar.html deleted file mode 100644 index 1802edcc84..0000000000 --- a/docs/document_reader/SecurityObject-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. SecurityObject
  4. - - -
  5. - Properties -
  6. -
  7. fileReference
  8. -
  9. hashCode
  10. -
  11. notifications
  12. -
  13. objectType
  14. -
  15. runtimeType
  16. -
  17. signerInfos
  18. -
  19. version
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/SecurityObject-class.html b/docs/document_reader/SecurityObject-class.html deleted file mode 100644 index f643927033..0000000000 --- a/docs/document_reader/SecurityObject-class.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityObject
- -
- -
-
-
- -
-
-

SecurityObject class - -

- - -
-

Structure is used to describe the contents of a single document -security object (SO) and the results of its check within the context -of the communication session with electronic document.

-
- - - - -
-

Constructors

- -
-
- SecurityObject() -
-
- -
-
-
- -
-

Properties

- -
-
- fileReference - int - -
-
- Reference to the source file of the security object data. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- notifications - List<int> - -
-
- The list of remarks occured during the scanning procedure. -
no setter
- -
- -
- objectType - String? - -
-
- Security object identifier. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- signerInfos - List<SignerInfo> - -
-
- List of containers to store information about digital -signature objects contained in the SO. -
no setter
- -
- -
- version - int - -
-
- Security object version. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - SecurityObject? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/SecurityObject.html b/docs/document_reader/SecurityObject/SecurityObject.html deleted file mode 100644 index b84917d3e9..0000000000 --- a/docs/document_reader/SecurityObject/SecurityObject.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - SecurityObject constructor - SecurityObject - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityObject
- -
- -
-
-
- -
-
-

SecurityObject constructor -

- -
- - SecurityObject() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/fileReference.html b/docs/document_reader/SecurityObject/fileReference.html deleted file mode 100644 index 9f1f739c90..0000000000 --- a/docs/document_reader/SecurityObject/fileReference.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fileReference property - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fileReference
- -
- -
-
-
- -
-
-

fileReference property -

- - - -
- -
- - int - fileReference - - -
- - -
-

Reference to the source file of the security object data.

-
- - -
-

Implementation

-
int get fileReference => _fileReference;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/fromJson.html b/docs/document_reader/SecurityObject/fromJson.html deleted file mode 100644 index 6cab321ea8..0000000000 --- a/docs/document_reader/SecurityObject/fromJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - fromJson method - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -SecurityObject? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static SecurityObject? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = SecurityObject();
-
-  result._fileReference = jsonObject["fileReference"];
-  result._version = jsonObject["version"];
-  result._objectType = jsonObject["objectType"];
-  result._notifications = jsonObject["notifications"].cast<int>();
-  for (var item in jsonObject["signerInfos"])
-    result.signerInfos.addSafe(SignerInfo.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/notifications.html b/docs/document_reader/SecurityObject/notifications.html deleted file mode 100644 index e24a24a468..0000000000 --- a/docs/document_reader/SecurityObject/notifications.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - notifications property - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int> - notifications - - -
- - -
-

The list of remarks occured during the scanning procedure.

-

Each element belongs to the LDSParsingErrorCodes.

-
- - -
-

Implementation

-
List<int> get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/objectType.html b/docs/document_reader/SecurityObject/objectType.html deleted file mode 100644 index eb6c75db57..0000000000 --- a/docs/document_reader/SecurityObject/objectType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - objectType property - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
objectType
- -
- -
-
-
- -
-
-

objectType property -

- - - -
- -
- - String? - objectType - - -
- - -
-

Security object identifier.

-
- - -
-

Implementation

-
String? get objectType => _objectType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/signerInfos.html b/docs/document_reader/SecurityObject/signerInfos.html deleted file mode 100644 index 88efbaa034..0000000000 --- a/docs/document_reader/SecurityObject/signerInfos.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - signerInfos property - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signerInfos
- -
- -
-
-
- -
-
-

signerInfos property -

- - - -
- -
- - List<SignerInfo> - signerInfos - - -
- - -
-

List of containers to store information about digital -signature objects contained in the SO.

-
- - -
-

Implementation

-
List<SignerInfo> get signerInfos => _signerInfos;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/toJson.html b/docs/document_reader/SecurityObject/toJson.html deleted file mode 100644 index 1c07118063..0000000000 --- a/docs/document_reader/SecurityObject/toJson.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - toJson method - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "fileReference": fileReference,
-      "objectType": objectType,
-      "version": version,
-      "signerInfos": signerInfos.map((e) => e.toJson()).toList(),
-      "notifications": notifications,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObject/version.html b/docs/document_reader/SecurityObject/version.html deleted file mode 100644 index cf4df9a7eb..0000000000 --- a/docs/document_reader/SecurityObject/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - SecurityObject class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - int - version - - -
- - -
-

Security object version.

-
- - -
-

Implementation

-
int get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObjectCertificates-class-sidebar.html b/docs/document_reader/SecurityObjectCertificates-class-sidebar.html deleted file mode 100644 index b9b335ae2d..0000000000 --- a/docs/document_reader/SecurityObjectCertificates-class-sidebar.html +++ /dev/null @@ -1,27 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. SecurityObjectCertificates
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. securityObject
  12. - -
  13. Methods
  14. -
  15. noSuchMethod
  16. -
  17. toJson
  18. -
  19. toString
  20. - -
  21. Operators
  22. -
  23. operator ==
  24. - - - -
  25. Static methods
  26. -
  27. fromJson
  28. - -
diff --git a/docs/document_reader/SecurityObjectCertificates-class.html b/docs/document_reader/SecurityObjectCertificates-class.html deleted file mode 100644 index d94101cbb5..0000000000 --- a/docs/document_reader/SecurityObjectCertificates-class.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - - SecurityObjectCertificates class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityObjectCertificates
- -
- -
-
-
- -
-
-

SecurityObjectCertificates class - -

- - - - - - -
-

Constructors

- -
-
- SecurityObjectCertificates() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- securityObject - CertificateData? - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - SecurityObjectCertificates? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObjectCertificates/SecurityObjectCertificates.html b/docs/document_reader/SecurityObjectCertificates/SecurityObjectCertificates.html deleted file mode 100644 index 8374bfeb9f..0000000000 --- a/docs/document_reader/SecurityObjectCertificates/SecurityObjectCertificates.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - SecurityObjectCertificates constructor - SecurityObjectCertificates - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SecurityObjectCertificates
- -
- -
-
-
- -
-
-

SecurityObjectCertificates constructor -

- -
- - SecurityObjectCertificates() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObjectCertificates/fromJson.html b/docs/document_reader/SecurityObjectCertificates/fromJson.html deleted file mode 100644 index a64a483213..0000000000 --- a/docs/document_reader/SecurityObjectCertificates/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - SecurityObjectCertificates class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -SecurityObjectCertificates? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static SecurityObjectCertificates? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = SecurityObjectCertificates();
-
-  result._securityObject =
-      CertificateData.fromJson(jsonObject["securityObject"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObjectCertificates/securityObject.html b/docs/document_reader/SecurityObjectCertificates/securityObject.html deleted file mode 100644 index 8c187c56f6..0000000000 --- a/docs/document_reader/SecurityObjectCertificates/securityObject.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - securityObject property - SecurityObjectCertificates class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
securityObject
- -
- -
-
-
- -
-
-

securityObject property -

- - - -
- -
- - CertificateData? - securityObject - - -
- - - - -
-

Implementation

-
CertificateData? get securityObject => _securityObject;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SecurityObjectCertificates/toJson.html b/docs/document_reader/SecurityObjectCertificates/toJson.html deleted file mode 100644 index 1caccbf379..0000000000 --- a/docs/document_reader/SecurityObjectCertificates/toJson.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - toJson method - SecurityObjectCertificates class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "securityObject": securityObject?.toJson(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignManagementAction-enum-sidebar.html b/docs/document_reader/SignManagementAction-enum-sidebar.html deleted file mode 100644 index bd8decd162..0000000000 --- a/docs/document_reader/SignManagementAction-enum-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. SignManagementAction
  4. - -
  5. Values
  6. -
  7. UNDEFINED
  8. -
  9. CREATE_PIN
  10. -
  11. CHANGE_PIN
  12. -
  13. UNBLOCK_PIN
  14. -
  15. TERMINATE_PIN
  16. -
  17. GENERATE_KEYS
  18. -
  19. TERMINATE_KEYS
  20. -
  21. SIGN_DATA
  22. - -
  23. - Properties -
  24. -
  25. hashCode
  26. -
  27. index
  28. -
  29. runtimeType
  30. -
  31. value
  32. - -
  33. Methods
  34. -
  35. noSuchMethod
  36. -
  37. toString
  38. - -
  39. Operators
  40. -
  41. operator ==
  42. - - - -
  43. Static methods
  44. -
  45. getByValue
  46. - -
  47. Constants
  48. -
  49. values
  50. -
diff --git a/docs/document_reader/SignManagementAction.html b/docs/document_reader/SignManagementAction.html deleted file mode 100644 index 33b6a93f2f..0000000000 --- a/docs/document_reader/SignManagementAction.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - SignManagementAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SignManagementAction
- -
- -
-
-
- -
-
- -

- SignManagementAction - enum - - -

-
- - - - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- SignManagementAction(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNDEFINED - → const SignManagementAction - - -
-
-

Not identified.

- - -
- SignManagementAction(0) -
-
- -
- CREATE_PIN - → const SignManagementAction - - -
-
-

Create PIN.

- - -
- SignManagementAction(1) -
-
- -
- CHANGE_PIN - → const SignManagementAction - - -
-
-

Change PIN.

- - -
- SignManagementAction(2) -
-
- -
- UNBLOCK_PIN - → const SignManagementAction - - -
-
-

Unblock PIN

- - -
- SignManagementAction(3) -
-
- -
- TERMINATE_PIN - → const SignManagementAction - - -
-
-

Terminate PIN.

- - -
- SignManagementAction(4) -
-
- -
- GENERATE_KEYS - → const SignManagementAction - - -
-
-

Generate keys.

- - -
- SignManagementAction(5) -
-
- -
- TERMINATE_KEYS - → const SignManagementAction - - -
-
-

Terminate keys.

- - -
- SignManagementAction(6) -
-
- -
- SIGN_DATA - → const SignManagementAction - - -
-
-

Sign data.

- - -
- SignManagementAction(7) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - SignManagementAction? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<SignManagementAction> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNDEFINED, CREATE_PIN, CHANGE_PIN, UNBLOCK_PIN, TERMINATE_PIN, GENERATE_KEYS, TERMINATE_KEYS, SIGN_DATA] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignManagementAction/SignManagementAction.html b/docs/document_reader/SignManagementAction/SignManagementAction.html deleted file mode 100644 index 67be5a5b47..0000000000 --- a/docs/document_reader/SignManagementAction/SignManagementAction.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - SignManagementAction constructor - SignManagementAction - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SignManagementAction
- -
- -
-
-
- -
-
-

SignManagementAction constructor -

- -
- const - SignManagementAction(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const SignManagementAction
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignManagementAction/value.html b/docs/document_reader/SignManagementAction/value.html deleted file mode 100644 index c687b0c34f..0000000000 --- a/docs/document_reader/SignManagementAction/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - SignManagementAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignManagementAction/values-constant.html b/docs/document_reader/SignManagementAction/values-constant.html deleted file mode 100644 index c43ad8d71e..0000000000 --- a/docs/document_reader/SignManagementAction/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - SignManagementAction enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<SignManagementAction> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo-class-sidebar.html b/docs/document_reader/SignerInfo-class-sidebar.html deleted file mode 100644 index 32192537f7..0000000000 --- a/docs/document_reader/SignerInfo-class-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. SignerInfo
  4. - - -
  5. - Properties -
  6. -
  7. certificateChain
  8. -
  9. dataToHash
  10. -
  11. digestAlgorithm
  12. -
  13. hashCode
  14. -
  15. issuer
  16. -
  17. notifications
  18. -
  19. paStatus
  20. -
  21. runtimeType
  22. -
  23. serialNumber
  24. -
  25. signature
  26. -
  27. signatureAlgorithm
  28. -
  29. signedAttributes
  30. -
  31. subjectKeyIdentifier
  32. -
  33. version
  34. - -
  35. Methods
  36. -
  37. noSuchMethod
  38. -
  39. toJson
  40. -
  41. toString
  42. - -
  43. Operators
  44. -
  45. operator ==
  46. - - - -
  47. Static methods
  48. -
  49. fromJson
  50. - -
diff --git a/docs/document_reader/SignerInfo-class.html b/docs/document_reader/SignerInfo-class.html deleted file mode 100644 index 7741a55cfa..0000000000 --- a/docs/document_reader/SignerInfo-class.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SignerInfo
- -
- -
-
-
- -
-
-

SignerInfo class - -

- - -
-

Structure is used to store the result of the verification of a single digital -signature of the number present in EF.SOD.

-
- - - - -
-

Constructors

- -
-
- SignerInfo() -
-
- -
-
-
- -
-

Properties

- -
-
- certificateChain - List<CertificateChain> - -
-
- Certificate chain, used for the digital signature verification. -
no setter
- -
- -
- dataToHash - String? - -
-
- Data to hash. -
no setter
- -
- -
- digestAlgorithm - String? - -
-
- Digital signature hash-function algorithm identifier. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- issuer - Authority? - -
-
- Identifier of the necessary certificate issuer. -
no setter
- -
- -
- notifications - List<int> - -
-
- The list of remarks occured during the scanning procedure. -
no setter
- -
- -
- paStatus - int - -
-
- Result of the digital signature verification. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- serialNumber - RFIDValue? - -
-
- Serial number of the necessary certificate. -
no setter
- -
- -
- signature - RFIDValue? - -
-
- Binary data of the verified digital signature. -
no setter
- -
- -
- signatureAlgorithm - String? - -
-
- Digital signature algorithm identifier. -
no setter
- -
- -
- signedAttributes - List<Extension> - -
-
- List of the signed attributes. -
no setter
- -
- -
- subjectKeyIdentifier - RFIDValue? - -
-
- Signature object identifier of the necessary certificate. -
no setter
- -
- -
- version - int - -
-
- Version of the digital signature data structure. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - SignerInfo? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/SignerInfo.html b/docs/document_reader/SignerInfo/SignerInfo.html deleted file mode 100644 index 88f6301f32..0000000000 --- a/docs/document_reader/SignerInfo/SignerInfo.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - SignerInfo constructor - SignerInfo - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SignerInfo
- -
- -
-
-
- -
-
-

SignerInfo constructor -

- -
- - SignerInfo() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/certificateChain.html b/docs/document_reader/SignerInfo/certificateChain.html deleted file mode 100644 index 76fb5df402..0000000000 --- a/docs/document_reader/SignerInfo/certificateChain.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - certificateChain property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
certificateChain
- -
- -
-
-
- -
-
-

certificateChain property -

- - - -
- -
- - List<CertificateChain> - certificateChain - - -
- - -
-

Certificate chain, used for the digital signature verification.

-
- - -
-

Implementation

-
List<CertificateChain> get certificateChain => _certificateChain;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/dataToHash.html b/docs/document_reader/SignerInfo/dataToHash.html deleted file mode 100644 index 8af4797541..0000000000 --- a/docs/document_reader/SignerInfo/dataToHash.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - dataToHash property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
dataToHash
- -
- -
-
-
- -
-
-

dataToHash property -

- - - -
- -
- - String? - dataToHash - - -
- - -
-

Data to hash.

-
- - -
-

Implementation

-
String? get dataToHash => _dataToHash;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/digestAlgorithm.html b/docs/document_reader/SignerInfo/digestAlgorithm.html deleted file mode 100644 index 0d0f31207b..0000000000 --- a/docs/document_reader/SignerInfo/digestAlgorithm.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - digestAlgorithm property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
digestAlgorithm
- -
- -
-
-
- -
-
-

digestAlgorithm property -

- - - -
- -
- - String? - digestAlgorithm - - -
- - -
-

Digital signature hash-function algorithm identifier.

-
- - -
-

Implementation

-
String? get digestAlgorithm => _digestAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/fromJson.html b/docs/document_reader/SignerInfo/fromJson.html deleted file mode 100644 index 24377256a7..0000000000 --- a/docs/document_reader/SignerInfo/fromJson.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - fromJson method - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -SignerInfo? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static SignerInfo? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = SignerInfo();
-
-  result._version = jsonObject["version"];
-  result._paStatus = jsonObject["paStatus"];
-  result._dataToHash = jsonObject["dataToHash"];
-  result._digestAlgorithm = jsonObject["digestAlgorithm"];
-  result._signatureAlgorithm = jsonObject["signatureAlgorithm"];
-  result._serialNumber = RFIDValue.fromJson(jsonObject["serialNumber"]);
-  result._signature = RFIDValue.fromJson(jsonObject["signature"]);
-  result._subjectKeyIdentifier =
-      RFIDValue.fromJson(jsonObject["subjectKeyIdentifier"]);
-  result._issuer = Authority.fromJson(jsonObject["issuer"]);
-  result._notifications = jsonObject["notifications"].cast<int>();
-  for (var item in jsonObject["signedAttributes"])
-    result._signedAttributes.addSafe(Extension.fromJson(item));
-  for (var item in jsonObject["certificateChain"])
-    result._certificateChain.addSafe(CertificateChain.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/issuer.html b/docs/document_reader/SignerInfo/issuer.html deleted file mode 100644 index a2daf86ef5..0000000000 --- a/docs/document_reader/SignerInfo/issuer.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - issuer property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
issuer
- -
- -
-
-
- -
-
-

issuer property -

- - - -
- -
- - Authority? - issuer - - -
- - -
-

Identifier of the necessary certificate issuer.

-
- - -
-

Implementation

-
Authority? get issuer => _issuer;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/notifications.html b/docs/document_reader/SignerInfo/notifications.html deleted file mode 100644 index 7688ce0af4..0000000000 --- a/docs/document_reader/SignerInfo/notifications.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - notifications property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int> - notifications - - -
- - -
-

The list of remarks occured during the scanning procedure.

-

Each element belongs to the LDSParsingErrorCodes.

-
- - -
-

Implementation

-
List<int> get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/paStatus.html b/docs/document_reader/SignerInfo/paStatus.html deleted file mode 100644 index 172394bf14..0000000000 --- a/docs/document_reader/SignerInfo/paStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - paStatus property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
paStatus
- -
- -
-
-
- -
-
-

paStatus property -

- - - -
- -
- - int - paStatus - - -
- - -
-

Result of the digital signature verification.

-
- - -
-

Implementation

-
int get paStatus => _paStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/serialNumber.html b/docs/document_reader/SignerInfo/serialNumber.html deleted file mode 100644 index b270aae4a1..0000000000 --- a/docs/document_reader/SignerInfo/serialNumber.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - serialNumber property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
serialNumber
- -
- -
-
-
- -
-
-

serialNumber property -

- - - -
- -
- - RFIDValue? - serialNumber - - -
- - -
-

Serial number of the necessary certificate.

-
- - -
-

Implementation

-
RFIDValue? get serialNumber => _serialNumber;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/signature.html b/docs/document_reader/SignerInfo/signature.html deleted file mode 100644 index 366d4623bc..0000000000 --- a/docs/document_reader/SignerInfo/signature.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - signature property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signature
- -
- -
-
-
- -
-
-

signature property -

- - - -
- -
- - RFIDValue? - signature - - -
- - -
-

Binary data of the verified digital signature.

-
- - -
-

Implementation

-
RFIDValue? get signature => _signature;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/signatureAlgorithm.html b/docs/document_reader/SignerInfo/signatureAlgorithm.html deleted file mode 100644 index 6c78928b5b..0000000000 --- a/docs/document_reader/SignerInfo/signatureAlgorithm.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - signatureAlgorithm property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signatureAlgorithm
- -
- -
-
-
- -
-
-

signatureAlgorithm property -

- - - -
- -
- - String? - signatureAlgorithm - - -
- - -
-

Digital signature algorithm identifier.

-
- - -
-

Implementation

-
String? get signatureAlgorithm => _signatureAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/signedAttributes.html b/docs/document_reader/SignerInfo/signedAttributes.html deleted file mode 100644 index 89e4a77385..0000000000 --- a/docs/document_reader/SignerInfo/signedAttributes.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - signedAttributes property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signedAttributes
- -
- -
-
-
- -
-
-

signedAttributes property -

- - - -
- -
- - List<Extension> - signedAttributes - - -
- - -
-

List of the signed attributes.

-
- - -
-

Implementation

-
List<Extension> get signedAttributes => _signedAttributes;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/subjectKeyIdentifier.html b/docs/document_reader/SignerInfo/subjectKeyIdentifier.html deleted file mode 100644 index a98a442576..0000000000 --- a/docs/document_reader/SignerInfo/subjectKeyIdentifier.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - subjectKeyIdentifier property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
subjectKeyIdentifier
- -
- -
-
-
- -
-
-

subjectKeyIdentifier property -

- - - -
- -
- - RFIDValue? - subjectKeyIdentifier - - -
- - -
-

Signature object identifier of the necessary certificate.

-
- - -
-

Implementation

-
RFIDValue? get subjectKeyIdentifier => _subjectKeyIdentifier;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/toJson.html b/docs/document_reader/SignerInfo/toJson.html deleted file mode 100644 index d9df0a1712..0000000000 --- a/docs/document_reader/SignerInfo/toJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - toJson method - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "dataToHash": dataToHash,
-      "digestAlgorithm": digestAlgorithm,
-      "version": version,
-      "paStatus": paStatus,
-      "signatureAlgorithm": signatureAlgorithm,
-      "issuer": issuer?.toJson(),
-      "serialNumber": serialNumber?.toJson(),
-      "signature": signature?.toJson(),
-      "subjectKeyIdentifier": subjectKeyIdentifier?.toJson(),
-      "signedAttributes": signedAttributes.map((e) => e.toJson()).toList(),
-      "certificateChain": certificateChain.map((e) => e.toJson()).toList(),
-      "notifications": notifications,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SignerInfo/version.html b/docs/document_reader/SignerInfo/version.html deleted file mode 100644 index dc68d08d3b..0000000000 --- a/docs/document_reader/SignerInfo/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - SignerInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - int - version - - -
- - -
-

Version of the digital signature data structure.

-
- - -
-

Implementation

-
int get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/SuccessOrError.html b/docs/document_reader/SuccessOrError.html deleted file mode 100644 index 6175c42883..0000000000 --- a/docs/document_reader/SuccessOrError.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - SuccessOrError typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
SuccessOrError
- -
- -
-
-
- -
-
-

SuccessOrError typedef - -

- -
- - -SuccessOrError = (bool, DocReaderException?) - - -
- - -
-

A type specifically made for receiving answer from any function -which does not return anything, but we need to know whether the function -has succeeded or not.

-

bool - indicates success status.

-

DocReaderException - in case success status is false - brief message for developer, -null otherwise.

-

Examples(myFunction returns SuccessOrError):

-

With error handling:

-
var (success, error) = await myFunction();
-if (success) {
-  print("success!");
-} else {
-  print("Error: ${error!.message}");
-}
-
-

Using then:

-
myFunction().then((response) {
-  var (success, error) = response;
-  if (success) {
-    print("success!");
-  } else {
-    print("Error: ${error!.message}");
-  }
-});
-
-

Without error handling:

-
var (success, _) = await myFunction();
-if (success) {
-  print("success!");
-}
-
-

Most compact:

-
if ((await myFunction()).$1) print("success");
-
-
- - -
-

Implementation

-
typedef SuccessOrError = (bool, DocReaderException?);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol-class-sidebar.html b/docs/document_reader/Symbol-class-sidebar.html deleted file mode 100644 index 83f0f11391..0000000000 --- a/docs/document_reader/Symbol-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Symbol
  4. - - -
  5. - Properties -
  6. -
  7. code
  8. -
  9. hashCode
  10. -
  11. probability
  12. -
  13. rect
  14. -
  15. runtimeType
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/Symbol-class.html b/docs/document_reader/Symbol-class.html deleted file mode 100644 index bc230d4654..0000000000 --- a/docs/document_reader/Symbol-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Symbol
- -
- -
-
-
- -
-
-

Symbol class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- Symbol() -
-
- -
-
-
- -
-

Properties

- -
-
- code - int - -
-
- ASCII code of symbol. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- probability - int - -
-
- Symbol recognition probability (0–100, %). -
no setter
- -
- -
- rect - Rect? - -
-
- Bounds result of the particular value. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Symbol? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/Symbol.html b/docs/document_reader/Symbol/Symbol.html deleted file mode 100644 index 8828279c15..0000000000 --- a/docs/document_reader/Symbol/Symbol.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Symbol constructor - Symbol - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Symbol
- -
- -
-
-
- -
-
-

Symbol constructor -

- -
- - Symbol() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/code.html b/docs/document_reader/Symbol/code.html deleted file mode 100644 index d595d86b0a..0000000000 --- a/docs/document_reader/Symbol/code.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - code property - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
code
- -
- -
-
-
- -
-
-

code property -

- - - -
- -
- - int - code - - -
- - -
-

ASCII code of symbol.

-
- - -
-

Implementation

-
int get code => _code;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/fromJson.html b/docs/document_reader/Symbol/fromJson.html deleted file mode 100644 index 63d9e2c77e..0000000000 --- a/docs/document_reader/Symbol/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Symbol? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Symbol? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Symbol();
-
-  result._code = jsonObject["code"];
-  result._rect = Rect.fromJson(jsonObject["rect"]);
-  result._probability = jsonObject["probability"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/probability.html b/docs/document_reader/Symbol/probability.html deleted file mode 100644 index 2c76ae7bff..0000000000 --- a/docs/document_reader/Symbol/probability.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - probability property - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
probability
- -
- -
-
-
- -
-
-

probability property -

- - - -
- -
- - int - probability - - -
- - -
-

Symbol recognition probability (0–100, %).

-
- - -
-

Implementation

-
int get probability => _probability;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/rect.html b/docs/document_reader/Symbol/rect.html deleted file mode 100644 index 033f939a47..0000000000 --- a/docs/document_reader/Symbol/rect.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rect property - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rect
- -
- -
-
-
- -
-
-

rect property -

- - - -
- -
- - Rect? - rect - - -
- - -
-

Bounds result of the particular value.

-
- - -
-

Implementation

-
Rect? get rect => _rect;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Symbol/toJson.html b/docs/document_reader/Symbol/toJson.html deleted file mode 100644 index ce4e486dca..0000000000 --- a/docs/document_reader/Symbol/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - Symbol class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "rect": rect?.toJson(),
-      "code": code,
-      "probability": probability,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge-class-sidebar.html b/docs/document_reader/TAChallenge-class-sidebar.html deleted file mode 100644 index f9ce81c537..0000000000 --- a/docs/document_reader/TAChallenge-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TAChallenge
  4. - - -
  5. - Properties -
  6. -
  7. auxPCD
  8. -
  9. challengePICC
  10. -
  11. data
  12. -
  13. hashCode
  14. -
  15. hashPK
  16. -
  17. idPICC
  18. -
  19. runtimeType
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/TAChallenge-class.html b/docs/document_reader/TAChallenge-class.html deleted file mode 100644 index 7cb0617a14..0000000000 --- a/docs/document_reader/TAChallenge-class.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TAChallenge
- -
- -
-
-
- -
-
-

TAChallenge class - -

- - - - - - -
-

Constructors

- -
-
- TAChallenge() -
-
- -
-
-
- -
-

Properties

- -
-
- auxPCD - String - -
-
- -
no setter
- -
- -
- challengePICC - String - -
-
- -
no setter
- -
- -
- data - → dynamic - -
-
- -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- hashPK - String - -
-
- -
no setter
- -
- -
- idPICC - String - -
-
- -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TAChallenge? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/TAChallenge.html b/docs/document_reader/TAChallenge/TAChallenge.html deleted file mode 100644 index 62c99d0a52..0000000000 --- a/docs/document_reader/TAChallenge/TAChallenge.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TAChallenge constructor - TAChallenge - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TAChallenge
- -
- -
-
-
- -
-
-

TAChallenge constructor -

- -
- - TAChallenge() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/auxPCD.html b/docs/document_reader/TAChallenge/auxPCD.html deleted file mode 100644 index 3d764b7d9f..0000000000 --- a/docs/document_reader/TAChallenge/auxPCD.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - auxPCD property - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
auxPCD
- -
- -
-
-
- -
-
-

auxPCD property -

- - - -
- -
- - String - auxPCD - - -
- - - - -
-

Implementation

-
String get auxPCD => _auxPCD;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/challengePICC.html b/docs/document_reader/TAChallenge/challengePICC.html deleted file mode 100644 index d3aeb0c66b..0000000000 --- a/docs/document_reader/TAChallenge/challengePICC.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - challengePICC property - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
challengePICC
- -
- -
-
-
- -
-
-

challengePICC property -

- - - -
- -
- - String - challengePICC - - -
- - - - -
-

Implementation

-
String get challengePICC => _challengePICC;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/data.html b/docs/document_reader/TAChallenge/data.html deleted file mode 100644 index d5f6ad119c..0000000000 --- a/docs/document_reader/TAChallenge/data.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - data property - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
data
- -
- -
-
-
- -
-
-

data property -

- - - -
- -
- - dynamic - data - - -
- - - - -
-

Implementation

-
Uint8List get data => _data;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/fromJson.html b/docs/document_reader/TAChallenge/fromJson.html deleted file mode 100644 index c81149ef5d..0000000000 --- a/docs/document_reader/TAChallenge/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TAChallenge? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static TAChallenge? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TAChallenge();
-
-  result._data = _bytesFromBase64(jsonObject["data"])!;
-  result._auxPCD = jsonObject["auxPCD"] ?? "";
-  result._challengePICC = jsonObject["challengePICC"] ?? "";
-  result._hashPK = jsonObject["hashPK"] ?? "";
-  result._idPICC = jsonObject["idPICC"] ?? "";
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/hashPK.html b/docs/document_reader/TAChallenge/hashPK.html deleted file mode 100644 index db40caa3bb..0000000000 --- a/docs/document_reader/TAChallenge/hashPK.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - hashPK property - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
hashPK
- -
- -
-
-
- -
-
-

hashPK property -

- - - -
- -
- - String - hashPK - - -
- - - - -
-

Implementation

-
String get hashPK => _hashPK;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/idPICC.html b/docs/document_reader/TAChallenge/idPICC.html deleted file mode 100644 index b187f084bf..0000000000 --- a/docs/document_reader/TAChallenge/idPICC.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - idPICC property - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
idPICC
- -
- -
-
-
- -
-
-

idPICC property -

- - - -
- -
- - String - idPICC - - -
- - - - -
-

Implementation

-
String get idPICC => _idPICC;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TAChallenge/toJson.html b/docs/document_reader/TAChallenge/toJson.html deleted file mode 100644 index 29f6cc177e..0000000000 --- a/docs/document_reader/TAChallenge/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - TAChallenge class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "data": _bytesToBase64(data),
-      "auxPCD": auxPCD,
-      "challengePICC": challengePICC,
-      "hashPK": hashPK,
-      "idPICC": idPICC,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TASignatureRequest.html b/docs/document_reader/TASignatureRequest.html deleted file mode 100644 index b5fc76957e..0000000000 --- a/docs/document_reader/TASignatureRequest.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - TASignatureRequest typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TASignatureRequest
- -
- -
-
-
- -
-
-

TASignatureRequest typedef - -

- -
- TASignatureRequest = - Future<void> Function(dynamic signature) - -
- - -
-

Provided to a user for passing TASignature -to the native part of DocumentReader.

-
- - -
-

Implementation

-
typedef TASignatureRequest = Future<void> Function(
-  ByteData? signature,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TaCertificateCompletion.html b/docs/document_reader/TaCertificateCompletion.html deleted file mode 100644 index 5dbde8e718..0000000000 --- a/docs/document_reader/TaCertificateCompletion.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - TaCertificateCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TaCertificateCompletion
- -
- -
-
-
- -
-
-

TaCertificateCompletion typedef - -

- -
- TaCertificateCompletion = - void Function(String? keyCAR, PKDCertificateRequest request) - -
- - -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
typedef TaCertificateCompletion = void Function(
-  String? keyCAR,
-  PKDCertificateRequest request,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TaSignatureCompletion.html b/docs/document_reader/TaSignatureCompletion.html deleted file mode 100644 index 80230a878d..0000000000 --- a/docs/document_reader/TaSignatureCompletion.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - TaSignatureCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TaSignatureCompletion
- -
- -
-
-
- -
-
-

TaSignatureCompletion typedef - -

- -
- TaSignatureCompletion = - void Function(TAChallenge? challenge, TASignatureRequest request) - -
- - -
-

Callback for receiving RFID request data

-
- - -
-

Implementation

-
typedef TaSignatureCompletion = void Function(
-  TAChallenge? challenge,
-  TASignatureRequest request,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams-class-sidebar.html b/docs/document_reader/TccParams-class-sidebar.html deleted file mode 100644 index b2b992bdea..0000000000 --- a/docs/document_reader/TccParams-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TccParams
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. pfxCert
  10. -
  11. pfxCertUrl
  12. -
  13. pfxPassPhrase
  14. -
  15. runtimeType
  16. -
  17. serviceUrlPA
  18. -
  19. serviceUrlTA
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/TccParams-class.html b/docs/document_reader/TccParams-class.html deleted file mode 100644 index a25193c0ea..0000000000 --- a/docs/document_reader/TccParams-class.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - - - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TccParams
- -
- -
-
-
- -
-
-

TccParams class - -

- - -
-

TCC service related parameters for RFID session configuration.

-
- - - - -
-

Constructors

- -
-
- TccParams() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- pfxCert - ↔ dynamic - -
-
- The bytes of the certificate for a TCC service. -This data will be used instead of loading the certificate via pfxCertUrl. -
getter/setter pair
- -
- -
- pfxCertUrl - String? - -
-
- The URL for the certificate for a TCC service. -The value of the property must be a valid URL string. -
getter/setter pair
- -
- -
- pfxPassPhrase - String? - -
-
- The passphrase for the cerficiate provided by the pfxCertUrl property. -
getter/setter pair
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- serviceUrlPA - String? - -
-
- The PA URL for the TCC service. The value of the property -must be a valid URL string. -
getter/setter pair
- -
- -
- serviceUrlTA - String? - -
-
- The TA URL for the TCC service. The value of the property -must be a valid URL string. -
getter/setter pair
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TccParams? - - - -
-
- - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/TccParams.html b/docs/document_reader/TccParams/TccParams.html deleted file mode 100644 index 305f15c6d3..0000000000 --- a/docs/document_reader/TccParams/TccParams.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TccParams constructor - TccParams - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TccParams
- -
- -
-
-
- -
-
-

TccParams constructor -

- -
- - TccParams() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/fromJson.html b/docs/document_reader/TccParams/fromJson.html deleted file mode 100644 index cbfa4f9e00..0000000000 --- a/docs/document_reader/TccParams/fromJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - fromJson method - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TccParams? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-static TccParams? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TccParams();
-
-  result.serviceUrlTA = jsonObject["serviceUrlTA"];
-  result.serviceUrlPA = jsonObject["serviceUrlPA"];
-  result.pfxCertUrl = jsonObject["pfxCertUrl"];
-  result.pfxPassPhrase = jsonObject["pfxPassPhrase"];
-  result.pfxCert = _dataFromBase64(jsonObject["pfxCert"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/pfxCert.html b/docs/document_reader/TccParams/pfxCert.html deleted file mode 100644 index d41226e6b5..0000000000 --- a/docs/document_reader/TccParams/pfxCert.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - pfxCert property - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pfxCert
- -
- -
-
-
- -
-
-

pfxCert property -

- -
- - dynamic - pfxCert -
getter/setter pair
- -
- -
-

The bytes of the certificate for a TCC service. -This data will be used instead of loading the certificate via pfxCertUrl.

-
- - -
-

Implementation

-
ByteData? pfxCert;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/pfxCertUrl.html b/docs/document_reader/TccParams/pfxCertUrl.html deleted file mode 100644 index 08e6ae099c..0000000000 --- a/docs/document_reader/TccParams/pfxCertUrl.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - pfxCertUrl property - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pfxCertUrl
- -
- -
-
-
- -
-
-

pfxCertUrl property -

- -
- - String? - pfxCertUrl -
getter/setter pair
- -
- -
-

The URL for the certificate for a TCC service. -The value of the property must be a valid URL string.

-
- - -
-

Implementation

-
String? pfxCertUrl;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/pfxPassPhrase.html b/docs/document_reader/TccParams/pfxPassPhrase.html deleted file mode 100644 index cfc2448daf..0000000000 --- a/docs/document_reader/TccParams/pfxPassPhrase.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - pfxPassPhrase property - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pfxPassPhrase
- -
- -
-
-
- -
-
-

pfxPassPhrase property -

- -
- - String? - pfxPassPhrase -
getter/setter pair
- -
- -
-

The passphrase for the cerficiate provided by the pfxCertUrl property.

-
- - -
-

Implementation

-
String? pfxPassPhrase;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/serviceUrlPA.html b/docs/document_reader/TccParams/serviceUrlPA.html deleted file mode 100644 index 443a4215b8..0000000000 --- a/docs/document_reader/TccParams/serviceUrlPA.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - serviceUrlPA property - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
serviceUrlPA
- -
- -
-
-
- -
-
-

serviceUrlPA property -

- -
- - String? - serviceUrlPA -
getter/setter pair
- -
- -
-

The PA URL for the TCC service. The value of the property -must be a valid URL string.

-
- - -
-

Implementation

-
String? serviceUrlPA;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/serviceUrlTA.html b/docs/document_reader/TccParams/serviceUrlTA.html deleted file mode 100644 index 815cbfa85e..0000000000 --- a/docs/document_reader/TccParams/serviceUrlTA.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - serviceUrlTA property - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
serviceUrlTA
- -
- -
-
-
- -
-
-

serviceUrlTA property -

- -
- - String? - serviceUrlTA -
getter/setter pair
- -
- -
-

The TA URL for the TCC service. The value of the property -must be a valid URL string.

-
- - -
-

Implementation

-
String? serviceUrlTA;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TccParams/toJson.html b/docs/document_reader/TccParams/toJson.html deleted file mode 100644 index d8496fe6de..0000000000 --- a/docs/document_reader/TccParams/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - TccParams class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- - - - -
-

Implementation

-
@visibleForTesting
-Map<String, dynamic> toJson() => {
-      "serviceUrlTA": serviceUrlTA,
-      "serviceUrlPA": serviceUrlPA,
-      "pfxCertUrl": pfxCertUrl,
-      "pfxPassPhrase": pfxPassPhrase,
-      "pfxCert": _dataToBase64(pfxCert)
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField-class-sidebar.html b/docs/document_reader/TextField-class-sidebar.html deleted file mode 100644 index 3abf991c61..0000000000 --- a/docs/document_reader/TextField-class-sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TextField
  4. - - -
  5. - Properties -
  6. -
  7. comparisonList
  8. -
  9. comparisonStatus
  10. -
  11. fieldName
  12. -
  13. fieldType
  14. -
  15. hashCode
  16. -
  17. lcid
  18. -
  19. lcidName
  20. -
  21. runtimeType
  22. -
  23. status
  24. -
  25. validityList
  26. -
  27. validityStatus
  28. -
  29. value
  30. -
  31. values
  32. - -
  33. Methods
  34. -
  35. getValue
  36. -
  37. noSuchMethod
  38. -
  39. toJson
  40. -
  41. toString
  42. - -
  43. Operators
  44. -
  45. operator ==
  46. - - - -
  47. Static methods
  48. -
  49. fromJson
  50. - -
diff --git a/docs/document_reader/TextField-class.html b/docs/document_reader/TextField-class.html deleted file mode 100644 index 89130c2f39..0000000000 --- a/docs/document_reader/TextField-class.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - - - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextField
- -
- -
-
-
- -
-
-

TextField class - -

- - -
-

Serves for storing information from one text data field.

-
- - - - -
-

Constructors

- -
-
- TextField() -
-
- -
-
-
- -
-

Properties

- -
-
- comparisonList - List<Comparison> - -
-
- List of all comparison statuses for this field type. -
no setter
- -
- -
- comparisonStatus - CheckResult - -
-
- Comparison result of the field. -
no setter
- -
- -
- fieldName - String - -
-
- Textual field symbolic name. -
no setter
- -
- -
- fieldType - FieldType - -
-
- Textual field logical type. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- lcid - LCID - -
-
- ID of language-culture to differentiate one field of the same type from -another (for example Belarus Passport Page # 31 – Belarusian and Russian -fields of the same type). -
no setter
- -
- -
- lcidName - String - -
-
- LCID symbolic name. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - CheckResult - -
-
- Textual field check result. -
no setter
- -
- -
- validityList - List<Validity> - -
-
- List of all validity statuses for this field type. -
no setter
- -
- -
- validityStatus - CheckResult - -
-
- Validity result of the field -
no setter
- -
- -
- value - String? - -
-
- Value from the field. -
no setter
- -
- -
- values - List<Value> - -
-
- An array of values. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- getValue() - Value? - - - -
-
- - - -
- -
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TextField? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/TextField.html b/docs/document_reader/TextField/TextField.html deleted file mode 100644 index 752449e9fa..0000000000 --- a/docs/document_reader/TextField/TextField.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TextField constructor - TextField - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextField
- -
- -
-
-
- -
-
-

TextField constructor -

- -
- - TextField() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/comparisonList.html b/docs/document_reader/TextField/comparisonList.html deleted file mode 100644 index 392d9050ba..0000000000 --- a/docs/document_reader/TextField/comparisonList.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - comparisonList property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
comparisonList
- -
- -
-
-
- -
-
-

comparisonList property -

- - - -
- -
- - List<Comparison> - comparisonList - - -
- - -
-

List of all comparison statuses for this field type.

-
- - -
-

Implementation

-
List<Comparison> get comparisonList => _comparisonList;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/comparisonStatus.html b/docs/document_reader/TextField/comparisonStatus.html deleted file mode 100644 index d25a6feaba..0000000000 --- a/docs/document_reader/TextField/comparisonStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - comparisonStatus property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
comparisonStatus
- -
- -
-
-
- -
-
-

comparisonStatus property -

- - - -
- -
- - CheckResult - comparisonStatus - - -
- - -
-

Comparison result of the field.

-
- - -
-

Implementation

-
CheckResult get comparisonStatus => _comparisonStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/fieldName.html b/docs/document_reader/TextField/fieldName.html deleted file mode 100644 index ec195aac60..0000000000 --- a/docs/document_reader/TextField/fieldName.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fieldName property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldName
- -
- -
-
-
- -
-
-

fieldName property -

- - - -
- -
- - String - fieldName - - -
- - -
-

Textual field symbolic name.

-
- - -
-

Implementation

-
String get fieldName => _fieldName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/fieldType.html b/docs/document_reader/TextField/fieldType.html deleted file mode 100644 index 1f317c4378..0000000000 --- a/docs/document_reader/TextField/fieldType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fieldType property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fieldType
- -
- -
-
-
- -
-
-

fieldType property -

- - - -
- -
- - FieldType - fieldType - - -
- - -
-

Textual field logical type.

-
- - -
-

Implementation

-
FieldType get fieldType => _fieldType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/fromJson.html b/docs/document_reader/TextField/fromJson.html deleted file mode 100644 index 6c4065c572..0000000000 --- a/docs/document_reader/TextField/fromJson.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - fromJson method - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TextField? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static TextField? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TextField();
-
-  result._fieldType = FieldType.getByValue(jsonObject["fieldType"])!;
-  result._lcid = LCID.getByValue(jsonObject["lcid"])!;
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-  result._comparisonStatus =
-      CheckResult.getByValue(jsonObject["comparisonStatus"])!;
-  result._validityStatus =
-      CheckResult.getByValue(jsonObject["validityStatus"])!;
-  result._lcidName = jsonObject["lcidName"];
-  result._fieldName = jsonObject["fieldName"];
-  result._value = jsonObject["value"];
-  result._getValue = Value.fromJson(jsonObject["getValue"]);
-  for (var item in jsonObject["values"])
-    result._values.addSafe(Value.fromJson(item));
-  for (var item in jsonObject["comparisonList"])
-    result._comparisonList.addSafe(Comparison.fromJson(item));
-  for (var item in jsonObject["validityList"])
-    result._validityList.addSafe(Validity.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/getValue.html b/docs/document_reader/TextField/getValue.html deleted file mode 100644 index e816f0a804..0000000000 --- a/docs/document_reader/TextField/getValue.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - getValue method - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
getValue
- -
- -
-
-
- -
-
-

getValue method -

- -
- - -Value? -getValue() - - - -
- - - - -
-

Implementation

-
Value? getValue() => _getValue;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/lcid.html b/docs/document_reader/TextField/lcid.html deleted file mode 100644 index 3919f892d8..0000000000 --- a/docs/document_reader/TextField/lcid.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - lcid property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
lcid
- -
- -
-
-
- -
-
-

lcid property -

- - - -
- -
- - LCID - lcid - - -
- - -
-

ID of language-culture to differentiate one field of the same type from -another (for example Belarus Passport Page # 31 – Belarusian and Russian -fields of the same type).

-
- - -
-

Implementation

-
LCID get lcid => _lcid;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/lcidName.html b/docs/document_reader/TextField/lcidName.html deleted file mode 100644 index f39cf7343b..0000000000 --- a/docs/document_reader/TextField/lcidName.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - lcidName property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
lcidName
- -
- -
-
-
- -
-
-

lcidName property -

- - - -
- -
- - String - lcidName - - -
- - -
-

LCID symbolic name.

-
- - -
-

Implementation

-
String get lcidName => _lcidName;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/status.html b/docs/document_reader/TextField/status.html deleted file mode 100644 index 329254d06d..0000000000 --- a/docs/document_reader/TextField/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

Textual field check result.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/toJson.html b/docs/document_reader/TextField/toJson.html deleted file mode 100644 index 907e2db0f8..0000000000 --- a/docs/document_reader/TextField/toJson.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - toJson method - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "fieldType": fieldType.value,
-      "fieldName": fieldName,
-      "lcid": lcid.value,
-      "lcidName": lcidName,
-      "value": value,
-      "getValue": getValue()?.toJson(),
-      "values": values.map((e) => e.toJson()).toList(),
-      "status": status.value,
-      "comparisonList": comparisonList.map((e) => e.toJson()).toList(),
-      "validityList": validityList.map((e) => e.toJson()).toList(),
-      "comparisonStatus": comparisonStatus.value,
-      "validityStatus": validityStatus.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/validityList.html b/docs/document_reader/TextField/validityList.html deleted file mode 100644 index 0b69160efa..0000000000 --- a/docs/document_reader/TextField/validityList.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - validityList property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
validityList
- -
- -
-
-
- -
-
-

validityList property -

- - - -
- -
- - List<Validity> - validityList - - -
- - -
-

List of all validity statuses for this field type.

-
- - -
-

Implementation

-
List<Validity> get validityList => _validityList;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/validityStatus.html b/docs/document_reader/TextField/validityStatus.html deleted file mode 100644 index f87fe5bde0..0000000000 --- a/docs/document_reader/TextField/validityStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - validityStatus property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
validityStatus
- -
- -
-
-
- -
-
-

validityStatus property -

- - - -
- -
- - CheckResult - validityStatus - - -
- - -
-

Validity result of the field

-
- - -
-

Implementation

-
CheckResult get validityStatus => _validityStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/value.html b/docs/document_reader/TextField/value.html deleted file mode 100644 index 684856e81b..0000000000 --- a/docs/document_reader/TextField/value.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - value property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- - - -
- -
- - String? - value - - -
- - -
-

Value from the field.

-
- - -
-

Implementation

-
String? get value => _value;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextField/values.html b/docs/document_reader/TextField/values.html deleted file mode 100644 index 06553f7d87..0000000000 --- a/docs/document_reader/TextField/values.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - values property - TextField class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values property -

- - - -
- -
- - List<Value> - values - - -
- - -
-

An array of values.

-
- - -
-

Implementation

-
List<Value> get values => _values;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult-class-sidebar.html b/docs/document_reader/TextResult-class-sidebar.html deleted file mode 100644 index 6edea3af30..0000000000 --- a/docs/document_reader/TextResult-class-sidebar.html +++ /dev/null @@ -1,31 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TextResult
  4. - - -
  5. - Properties -
  6. -
  7. availableSourceList
  8. -
  9. comparisonStatus
  10. -
  11. fields
  12. -
  13. hashCode
  14. -
  15. runtimeType
  16. -
  17. status
  18. -
  19. validityStatus
  20. - -
  21. Methods
  22. -
  23. noSuchMethod
  24. -
  25. toJson
  26. -
  27. toString
  28. - -
  29. Operators
  30. -
  31. operator ==
  32. - - - -
  33. Static methods
  34. -
  35. fromJson
  36. - -
diff --git a/docs/document_reader/TextResult-class.html b/docs/document_reader/TextResult-class.html deleted file mode 100644 index 8507d6c533..0000000000 --- a/docs/document_reader/TextResult-class.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextResult
- -
- -
-
-
- -
-
-

TextResult class - -

- - -
-

Structure, containing all text data extracted and recognized from the document.

-
- - - - -
-

Constructors

- -
-
- TextResult() -
-
- -
-
-
- -
-

Properties

- -
-
- availableSourceList - List<TextSource> - -
-
- List of all available origin source with overall validity -status of all text fields of a particular source type. -
no setter
- -
- -
- comparisonStatus - CheckResult - -
-
- Comparison status of all text fields. -
no setter
- -
- -
- fields - List<TextField> - -
-
- An array of textual results. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- status - CheckResult - -
-
- Textual fields check result. -
no setter
- -
- -
- validityStatus - CheckResult - -
-
- Validity status of all text fields. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TextResult? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/TextResult.html b/docs/document_reader/TextResult/TextResult.html deleted file mode 100644 index 6689e042f5..0000000000 --- a/docs/document_reader/TextResult/TextResult.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TextResult constructor - TextResult - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextResult
- -
- -
-
-
- -
-
-

TextResult constructor -

- -
- - TextResult() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/availableSourceList.html b/docs/document_reader/TextResult/availableSourceList.html deleted file mode 100644 index aa2e967fea..0000000000 --- a/docs/document_reader/TextResult/availableSourceList.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - availableSourceList property - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
availableSourceList
- -
- -
-
-
- -
-
-

availableSourceList property -

- - - -
- -
- - List<TextSource> - availableSourceList - - -
- - -
-

List of all available origin source with overall validity -status of all text fields of a particular source type.

-
- - -
-

Implementation

-
List<TextSource> get availableSourceList => _availableSourceList;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/comparisonStatus.html b/docs/document_reader/TextResult/comparisonStatus.html deleted file mode 100644 index d9760de447..0000000000 --- a/docs/document_reader/TextResult/comparisonStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - comparisonStatus property - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
comparisonStatus
- -
- -
-
-
- -
-
-

comparisonStatus property -

- - - -
- -
- - CheckResult - comparisonStatus - - -
- - -
-

Comparison status of all text fields.

-
- - -
-

Implementation

-
CheckResult get comparisonStatus => _comparisonStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/fields.html b/docs/document_reader/TextResult/fields.html deleted file mode 100644 index 2e66d718ae..0000000000 --- a/docs/document_reader/TextResult/fields.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - fields property - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fields
- -
- -
-
-
- -
-
-

fields property -

- - - -
- -
- - List<TextField> - fields - - -
- - -
-

An array of textual results.

-
- - -
-

Implementation

-
List<TextField> get fields => _fields;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/fromJson.html b/docs/document_reader/TextResult/fromJson.html deleted file mode 100644 index 5969403b20..0000000000 --- a/docs/document_reader/TextResult/fromJson.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - fromJson method - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TextResult? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static TextResult? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TextResult();
-
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-  result._comparisonStatus =
-      CheckResult.getByValue(jsonObject["comparisonStatus"])!;
-  result._validityStatus =
-      CheckResult.getByValue(jsonObject["validityStatus"])!;
-  for (var item in jsonObject["availableSourceList"])
-    result._availableSourceList.addSafe(TextSource.fromJson(item));
-  for (var item in jsonObject["fields"])
-    result._fields.addSafe(TextField.fromJson(item));
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/status.html b/docs/document_reader/TextResult/status.html deleted file mode 100644 index fee880e1bf..0000000000 --- a/docs/document_reader/TextResult/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

Textual fields check result.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/toJson.html b/docs/document_reader/TextResult/toJson.html deleted file mode 100644 index f4b328d264..0000000000 --- a/docs/document_reader/TextResult/toJson.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - toJson method - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "status": status.value,
-      "comparisonStatus": comparisonStatus.value,
-      "validityStatus": validityStatus.value,
-      "availableSourceList":
-          availableSourceList.map((e) => e.toJson()).toList(),
-      "fields": fields.map((e) => e.toJson()).toList(),
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextResult/validityStatus.html b/docs/document_reader/TextResult/validityStatus.html deleted file mode 100644 index e8606dd508..0000000000 --- a/docs/document_reader/TextResult/validityStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - validityStatus property - TextResult class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
validityStatus
- -
- -
-
-
- -
-
-

validityStatus property -

- - - -
- -
- - CheckResult - validityStatus - - -
- - -
-

Validity status of all text fields.

-
- - -
-

Implementation

-
CheckResult get validityStatus => _validityStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource-class-sidebar.html b/docs/document_reader/TextSource-class-sidebar.html deleted file mode 100644 index e3d7a40774..0000000000 --- a/docs/document_reader/TextSource-class-sidebar.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TextSource
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. source
  12. -
  13. sourceType
  14. -
  15. validityStatus
  16. - -
  17. Methods
  18. -
  19. noSuchMethod
  20. -
  21. toJson
  22. -
  23. toString
  24. - -
  25. Operators
  26. -
  27. operator ==
  28. - - - -
  29. Static methods
  30. -
  31. fromJson
  32. - -
diff --git a/docs/document_reader/TextSource-class.html b/docs/document_reader/TextSource-class.html deleted file mode 100644 index 4077ff0f50..0000000000 --- a/docs/document_reader/TextSource-class.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextSource
- -
- -
-
-
- -
-
-

TextSource class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- TextSource() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- source - String? - -
-
- The value's origin source string description. -
no setter
- -
- -
- sourceType - ResultType - -
-
- The value's origin source. -
no setter
- -
- -
- validityStatus - CheckResult - -
-
- Overall validity status of all text fields of this source type. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TextSource? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/TextSource.html b/docs/document_reader/TextSource/TextSource.html deleted file mode 100644 index a6f3598080..0000000000 --- a/docs/document_reader/TextSource/TextSource.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TextSource constructor - TextSource - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TextSource
- -
- -
-
-
- -
-
-

TextSource constructor -

- -
- - TextSource() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/fromJson.html b/docs/document_reader/TextSource/fromJson.html deleted file mode 100644 index 12d6e8dfea..0000000000 --- a/docs/document_reader/TextSource/fromJson.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - fromJson method - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TextSource? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static TextSource? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TextSource();
-
-  result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!;
-  result._source = jsonObject["source"];
-  result._validityStatus =
-      CheckResult.getByValue(jsonObject["validityStatus"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/source.html b/docs/document_reader/TextSource/source.html deleted file mode 100644 index 14d285c09c..0000000000 --- a/docs/document_reader/TextSource/source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - source property - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
source
- -
- -
-
-
- -
-
-

source property -

- - - -
- -
- - String? - source - - -
- - -
-

The value's origin source string description.

-
- - -
-

Implementation

-
String? get source => _source;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/sourceType.html b/docs/document_reader/TextSource/sourceType.html deleted file mode 100644 index a7c89c2a49..0000000000 --- a/docs/document_reader/TextSource/sourceType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceType property - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceType
- -
- -
-
-
- -
-
-

sourceType property -

- - - -
- -
- - ResultType - sourceType - - -
- - -
-

The value's origin source.

-
- - -
-

Implementation

-
ResultType get sourceType => _sourceType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/toJson.html b/docs/document_reader/TextSource/toJson.html deleted file mode 100644 index 95b7ddc206..0000000000 --- a/docs/document_reader/TextSource/toJson.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - toJson method - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "sourceType": sourceType.value,
-      "source": source,
-      "validityStatus": validityStatus.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TextSource/validityStatus.html b/docs/document_reader/TextSource/validityStatus.html deleted file mode 100644 index 980f44f823..0000000000 --- a/docs/document_reader/TextSource/validityStatus.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - validityStatus property - TextSource class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
validityStatus
- -
- -
-
-
- -
-
-

validityStatus property -

- - - -
- -
- - CheckResult - validityStatus - - -
- - -
-

Overall validity status of all text fields of this source type.

-
- - -
-

Implementation

-
CheckResult get validityStatus => _validityStatus;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo-class-sidebar.html b/docs/document_reader/TransactionInfo-class-sidebar.html deleted file mode 100644 index 7b99c6c7a4..0000000000 --- a/docs/document_reader/TransactionInfo-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. TransactionInfo
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. tag
  12. -
  13. transactionId
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/TransactionInfo-class.html b/docs/document_reader/TransactionInfo-class.html deleted file mode 100644 index 3da7b7864f..0000000000 --- a/docs/document_reader/TransactionInfo-class.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - TransactionInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TransactionInfo
- -
- -
-
-
- -
-
-

TransactionInfo class - -

- - - - - - -
-

Constructors

- -
-
- TransactionInfo() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- tag - String? - -
-
- -
no setter
- -
- -
- transactionId - String? - -
-
- -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - TransactionInfo? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo/TransactionInfo.html b/docs/document_reader/TransactionInfo/TransactionInfo.html deleted file mode 100644 index 17b069168b..0000000000 --- a/docs/document_reader/TransactionInfo/TransactionInfo.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - TransactionInfo constructor - TransactionInfo - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
TransactionInfo
- -
- -
-
-
- -
-
-

TransactionInfo constructor -

- -
- - TransactionInfo() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo/fromJson.html b/docs/document_reader/TransactionInfo/fromJson.html deleted file mode 100644 index 1470bb8ed0..0000000000 --- a/docs/document_reader/TransactionInfo/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - TransactionInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -TransactionInfo? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static TransactionInfo? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = TransactionInfo();
-
-  result._transactionId = jsonObject["transactionId"];
-  result._tag = jsonObject["tag"];
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo/tag.html b/docs/document_reader/TransactionInfo/tag.html deleted file mode 100644 index e0204cc643..0000000000 --- a/docs/document_reader/TransactionInfo/tag.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - tag property - TransactionInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
tag
- -
- -
-
-
- -
-
-

tag property -

- - - -
- -
- - String? - tag - - -
- - - - -
-

Implementation

-
String? get tag => _tag;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo/toJson.html b/docs/document_reader/TransactionInfo/toJson.html deleted file mode 100644 index 51ab1fc387..0000000000 --- a/docs/document_reader/TransactionInfo/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - TransactionInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "transactionId": transactionId,
-      "tag": tag,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/TransactionInfo/transactionId.html b/docs/document_reader/TransactionInfo/transactionId.html deleted file mode 100644 index 7fea8842b0..0000000000 --- a/docs/document_reader/TransactionInfo/transactionId.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - transactionId property - TransactionInfo class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
transactionId
- -
- -
-
-
- -
-
-

transactionId property -

- - - -
- -
- - String? - transactionId - - -
- - - - -
-

Implementation

-
String? get transactionId => _transactionId;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData-class-sidebar.html b/docs/document_reader/VDSNCData-class-sidebar.html deleted file mode 100644 index 6b2f1f41b1..0000000000 --- a/docs/document_reader/VDSNCData-class-sidebar.html +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. VDSNCData
  4. - - -
  5. - Properties -
  6. -
  7. certificate
  8. -
  9. certificateChain
  10. -
  11. hashCode
  12. -
  13. issuingCountry
  14. -
  15. message
  16. -
  17. notifications
  18. -
  19. runtimeType
  20. -
  21. signature
  22. -
  23. signatureAlgorithm
  24. -
  25. type
  26. -
  27. version
  28. - -
  29. Methods
  30. -
  31. noSuchMethod
  32. -
  33. toJson
  34. -
  35. toString
  36. - -
  37. Operators
  38. -
  39. operator ==
  40. - - - -
  41. Static methods
  42. -
  43. fromJson
  44. - -
diff --git a/docs/document_reader/VDSNCData-class.html b/docs/document_reader/VDSNCData-class.html deleted file mode 100644 index 97b70b853f..0000000000 --- a/docs/document_reader/VDSNCData-class.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
VDSNCData
- -
- -
-
-
- -
-
-

VDSNCData class - -

- - -
-

Visible Digital Seal for Non Constrained environments.

-
- - - - -
-

Constructors

- -
-
- VDSNCData() -
-
- -
-
-
- -
-

Properties

- -
-
- certificate - BytesData? - -
-
- The binary data of the signer certificate. -
no setter
- -
- -
- certificateChain - List<CertificateChain> - -
-
- The certificate chain, used for the digital signature verification. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- issuingCountry - String? - -
-
- Three letter code identifying the issuing state or organization. -
no setter
- -
- -
- message - Map<String, dynamic>? - -
-
- The message field contains the actual data as a dictionary (JSON). -
no setter
- -
- -
- notifications - List<int>? - -
-
- The list of remarks occured during the scanning procedure. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- signature - BytesData? - -
-
- The binary data of the verified digital signature. -
no setter
- -
- -
- signatureAlgorithm - String? - -
-
- The signature algorithm used to produce the signature. ECDSA scheme. -
no setter
- -
- -
- type - String? - -
-
- Visible Digital Seal use case type. -Type is set to icao.test for Proof of Testing (data defined by CAPSCA), -icao.vacc for Proof of Vaccination (data defined by WHO). -Other Types may be added in the future. -
no setter
- -
- -
- version - int - -
-
- Visible Digital Seal use case version. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - VDSNCData? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/VDSNCData.html b/docs/document_reader/VDSNCData/VDSNCData.html deleted file mode 100644 index be6702db52..0000000000 --- a/docs/document_reader/VDSNCData/VDSNCData.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - VDSNCData constructor - VDSNCData - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
VDSNCData
- -
- -
-
-
- -
-
-

VDSNCData constructor -

- -
- - VDSNCData() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/certificate.html b/docs/document_reader/VDSNCData/certificate.html deleted file mode 100644 index 7d749ce9fd..0000000000 --- a/docs/document_reader/VDSNCData/certificate.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - certificate property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
certificate
- -
- -
-
-
- -
-
-

certificate property -

- - - -
- -
- - BytesData? - certificate - - -
- - -
-

The binary data of the signer certificate.

-
- - -
-

Implementation

-
BytesData? get certificate => _certificate;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/certificateChain.html b/docs/document_reader/VDSNCData/certificateChain.html deleted file mode 100644 index 12f87bb6cd..0000000000 --- a/docs/document_reader/VDSNCData/certificateChain.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - certificateChain property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
certificateChain
- -
- -
-
-
- -
-
-

certificateChain property -

- - - -
- -
- - List<CertificateChain> - certificateChain - - -
- - -
-

The certificate chain, used for the digital signature verification.

-
- - -
-

Implementation

-
List<CertificateChain> get certificateChain => _certificateChain;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/fromJson.html b/docs/document_reader/VDSNCData/fromJson.html deleted file mode 100644 index 17ec7e42d9..0000000000 --- a/docs/document_reader/VDSNCData/fromJson.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - fromJson method - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -VDSNCData? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static VDSNCData? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = VDSNCData();
-
-  result._type = jsonObject["type"];
-  result._version = jsonObject["version"];
-  result._issuingCountry = jsonObject["issuingCountry"];
-  result._message = jsonObject["message"];
-  result._signatureAlgorithm = jsonObject["signatureAlgorithm"];
-  result._signature = BytesData.fromJson(jsonObject["signature"]);
-  result._certificate = BytesData.fromJson(jsonObject["certificate"]);
-  for (var item in jsonObject["certificateChain"])
-    result._certificateChain.addSafe(CertificateChain.fromJson(item));
-  result._notifications = jsonObject["notifications"] == null
-      ? null
-      : List<int>.from(jsonObject["notifications"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/issuingCountry.html b/docs/document_reader/VDSNCData/issuingCountry.html deleted file mode 100644 index a1f3b34d5c..0000000000 --- a/docs/document_reader/VDSNCData/issuingCountry.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - issuingCountry property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
issuingCountry
- -
- -
-
-
- -
-
-

issuingCountry property -

- - - -
- -
- - String? - issuingCountry - - -
- - -
-

Three letter code identifying the issuing state or organization.

-
- - -
-

Implementation

-
String? get issuingCountry => _issuingCountry;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/message.html b/docs/document_reader/VDSNCData/message.html deleted file mode 100644 index 9aa3f3a10d..0000000000 --- a/docs/document_reader/VDSNCData/message.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - message property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
message
- -
- -
-
-
- -
-
-

message property -

- - - -
- -
- - Map<String, dynamic>? - message - - -
- - -
-

The message field contains the actual data as a dictionary (JSON).

-
- - -
-

Implementation

-
Map<String, dynamic>? get message => _message;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/notifications.html b/docs/document_reader/VDSNCData/notifications.html deleted file mode 100644 index d40d249a8b..0000000000 --- a/docs/document_reader/VDSNCData/notifications.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - notifications property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
notifications
- -
- -
-
-
- -
-
-

notifications property -

- - - -
- -
- - List<int>? - notifications - - -
- - -
-

The list of remarks occured during the scanning procedure.

-

Each element belongs to the LDSParsingErrorCodes or the LDSParsingNotificationCodes.

-
- - -
-

Implementation

-
List<int>? get notifications => _notifications;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/signature.html b/docs/document_reader/VDSNCData/signature.html deleted file mode 100644 index f87207d4f0..0000000000 --- a/docs/document_reader/VDSNCData/signature.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - signature property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signature
- -
- -
-
-
- -
-
-

signature property -

- - - -
- -
- - BytesData? - signature - - -
- - -
-

The binary data of the verified digital signature.

-
- - -
-

Implementation

-
BytesData? get signature => _signature;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/signatureAlgorithm.html b/docs/document_reader/VDSNCData/signatureAlgorithm.html deleted file mode 100644 index 1779db03a9..0000000000 --- a/docs/document_reader/VDSNCData/signatureAlgorithm.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - signatureAlgorithm property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
signatureAlgorithm
- -
- -
-
-
- -
-
-

signatureAlgorithm property -

- - - -
- -
- - String? - signatureAlgorithm - - -
- - -
-

The signature algorithm used to produce the signature. ECDSA scheme.

-
- - -
-

Implementation

-
String? get signatureAlgorithm => _signatureAlgorithm;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/toJson.html b/docs/document_reader/VDSNCData/toJson.html deleted file mode 100644 index 0defad6dec..0000000000 --- a/docs/document_reader/VDSNCData/toJson.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - toJson method - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "type": type,
-      "version": version,
-      "issuingCountry": issuingCountry,
-      "message": message,
-      "signatureAlgorithm": signatureAlgorithm,
-      "signature": signature?.toJson(),
-      "certificate": certificate?.toJson(),
-      "certificateChain": certificateChain.map((e) => e.toJson()).toList(),
-      "notifications": notifications,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/type.html b/docs/document_reader/VDSNCData/type.html deleted file mode 100644 index 0d88ef4314..0000000000 --- a/docs/document_reader/VDSNCData/type.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - type property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
type
- -
- -
-
-
- -
-
-

type property -

- - - -
- -
- - String? - type - - -
- - -
-

Visible Digital Seal use case type. -Type is set to icao.test for Proof of Testing (data defined by CAPSCA), -icao.vacc for Proof of Vaccination (data defined by WHO). -Other Types may be added in the future.

-
- - -
-

Implementation

-
String? get type => _type;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VDSNCData/version.html b/docs/document_reader/VDSNCData/version.html deleted file mode 100644 index 1956b5a51f..0000000000 --- a/docs/document_reader/VDSNCData/version.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - version property - VDSNCData class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
version
- -
- -
-
-
- -
-
-

version property -

- - - -
- -
- - int - version - - -
- - -
-

Visible Digital Seal use case version.

-
- - -
-

Implementation

-
int get version => _version;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity-class-sidebar.html b/docs/document_reader/Validity-class-sidebar.html deleted file mode 100644 index 0bd10e987f..0000000000 --- a/docs/document_reader/Validity-class-sidebar.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Validity
  4. - - -
  5. - Properties -
  6. -
  7. hashCode
  8. -
  9. runtimeType
  10. -
  11. sourceType
  12. -
  13. status
  14. - -
  15. Methods
  16. -
  17. noSuchMethod
  18. -
  19. toJson
  20. -
  21. toString
  22. - -
  23. Operators
  24. -
  25. operator ==
  26. - - - -
  27. Static methods
  28. -
  29. fromJson
  30. - -
diff --git a/docs/document_reader/Validity-class.html b/docs/document_reader/Validity-class.html deleted file mode 100644 index 1236c144c2..0000000000 --- a/docs/document_reader/Validity-class.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - Validity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Validity
- -
- -
-
-
- -
-
-

Validity class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- Validity() -
-
- -
-
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- sourceType - ResultType - -
-
- The value's origin source. -
no setter
- -
- -
- status - CheckResult - -
-
- Overall validity status of all text fields of this particular field. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Validity? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity/Validity.html b/docs/document_reader/Validity/Validity.html deleted file mode 100644 index c562fb3d16..0000000000 --- a/docs/document_reader/Validity/Validity.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Validity constructor - Validity - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Validity
- -
- -
-
-
- -
-
-

Validity constructor -

- -
- - Validity() -
- - - - - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity/fromJson.html b/docs/document_reader/Validity/fromJson.html deleted file mode 100644 index d7d87c8198..0000000000 --- a/docs/document_reader/Validity/fromJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - fromJson method - Validity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Validity? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Validity? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Validity();
-
-  result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!;
-  result._status = CheckResult.getByValue(jsonObject["status"])!;
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity/sourceType.html b/docs/document_reader/Validity/sourceType.html deleted file mode 100644 index 1c7aa8fb7b..0000000000 --- a/docs/document_reader/Validity/sourceType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceType property - Validity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceType
- -
- -
-
-
- -
-
-

sourceType property -

- - - -
- -
- - ResultType - sourceType - - -
- - -
-

The value's origin source.

-
- - -
-

Implementation

-
ResultType get sourceType => _sourceType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity/status.html b/docs/document_reader/Validity/status.html deleted file mode 100644 index 724afbe8df..0000000000 --- a/docs/document_reader/Validity/status.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - status property - Validity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
status
- -
- -
-
-
- -
-
-

status property -

- - - -
- -
- - CheckResult - status - - -
- - -
-

Overall validity status of all text fields of this particular field.

-
- - -
-

Implementation

-
CheckResult get status => _status;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Validity/toJson.html b/docs/document_reader/Validity/toJson.html deleted file mode 100644 index 9947a29ddd..0000000000 --- a/docs/document_reader/Validity/toJson.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - toJson method - Validity class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "sourceType": sourceType.value,
-      "status": status.value,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value-class-sidebar.html b/docs/document_reader/Value-class-sidebar.html deleted file mode 100644 index a9d16515fb..0000000000 --- a/docs/document_reader/Value-class-sidebar.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. Value
  4. - - -
  5. - Properties -
  6. -
  7. boundRect
  8. -
  9. hashCode
  10. -
  11. originalSymbols
  12. -
  13. originalValue
  14. -
  15. pageIndex
  16. -
  17. probability
  18. -
  19. rfidOrigin
  20. -
  21. runtimeType
  22. -
  23. sourceType
  24. -
  25. value
  26. - -
  27. Methods
  28. -
  29. noSuchMethod
  30. -
  31. toJson
  32. -
  33. toString
  34. - -
  35. Operators
  36. -
  37. operator ==
  38. - - - -
  39. Static methods
  40. -
  41. fromJson
  42. - -
diff --git a/docs/document_reader/Value-class.html b/docs/document_reader/Value-class.html deleted file mode 100644 index e9a00c7819..0000000000 --- a/docs/document_reader/Value-class.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
Value
- -
- -
-
-
- -
-
-

Value class - -

- - -
-

Structure describing single value of the field.

-
- - - - -
-

Constructors

- -
-
- Value() -
-
- -
-
-
- -
-

Properties

- -
-
- boundRect - Rect? - -
-
- Field rectangular area coordinates on the image. -
no setter
- -
- -
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- originalSymbols - List<Symbol> - -
-
- List of all symbols for this value. -
no setter
- -
- -
- originalValue - String? - -
-
- An original value. -
no setter
- -
- -
- pageIndex - int - -
-
- An index of the document page whence the textual field is extracted. -
no setter
- -
- -
- probability - int - -
-
- Textual field recognition probability (0 - 100, %). -
no setter
- -
- -
- rfidOrigin - RFIDOrigin? - -
-
- RFID origin data. Only for the 'RFID' source. -
no setter
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- sourceType - ResultType - -
-
- Identifies zone whence data is extracted. -
no setter
- -
- -
- value - String? - -
-
- A value. -
no setter
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toJson() - Map<String, dynamic> - - - -
-
- Allows you to serialize object. - - -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- fromJson(dynamic jsonObject) - Value? - - - -
-
- Allows you to deserialize object. - - -
- -
-
- - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/Value.html b/docs/document_reader/Value/Value.html deleted file mode 100644 index 6397e85c6d..0000000000 --- a/docs/document_reader/Value/Value.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - value property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- - - -
- -
- - String? - value - - -
- - -
-

A value.

-
- - -
-

Implementation

-
String? get value => _value;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/boundRect.html b/docs/document_reader/Value/boundRect.html deleted file mode 100644 index af29a91584..0000000000 --- a/docs/document_reader/Value/boundRect.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - boundRect property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
boundRect
- -
- -
-
-
- -
-
-

boundRect property -

- - - -
- -
- - Rect? - boundRect - - -
- - -
-

Field rectangular area coordinates on the image.

-
- - -
-

Implementation

-
Rect? get boundRect => _boundRect;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/fromJson.html b/docs/document_reader/Value/fromJson.html deleted file mode 100644 index 233d9cc35c..0000000000 --- a/docs/document_reader/Value/fromJson.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - fromJson method - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
fromJson
- -
- -
-
-
- -
-
-

fromJson static method -

- -
- - -Value? -fromJson(
  1. dynamic jsonObject
  2. -
) - - - -
- -
-

Allows you to deserialize object.

-
- - - -
-

Implementation

-
static Value? fromJson(jsonObject) {
-  if (jsonObject == null) return null;
-  var result = Value();
-
-  result._pageIndex = jsonObject["pageIndex"];
-  result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!;
-  result._probability = jsonObject["probability"];
-  result._value = jsonObject["value"];
-  result._originalValue = jsonObject["originalValue"];
-  result._boundRect = Rect.fromJson(jsonObject["boundRect"]);
-  for (var item in jsonObject["originalSymbols"])
-    result._originalSymbols.addSafe(Symbol.fromJson(item));
-  result._rfidOrigin = RFIDOrigin.fromJson(jsonObject["rfidOrigin"]);
-
-  return result;
-}
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/originalSymbols.html b/docs/document_reader/Value/originalSymbols.html deleted file mode 100644 index bff23b14c2..0000000000 --- a/docs/document_reader/Value/originalSymbols.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - originalSymbols property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
originalSymbols
- -
- -
-
-
- -
-
-

originalSymbols property -

- - - -
- -
- - List<Symbol> - originalSymbols - - -
- - -
-

List of all symbols for this value.

-
- - -
-

Implementation

-
List<Symbol> get originalSymbols => _originalSymbols;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/originalValue.html b/docs/document_reader/Value/originalValue.html deleted file mode 100644 index 595b849ffa..0000000000 --- a/docs/document_reader/Value/originalValue.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - originalValue property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
originalValue
- -
- -
-
-
- -
-
-

originalValue property -

- - - -
- -
- - String? - originalValue - - -
- - -
-

An original value.

-
- - -
-

Implementation

-
String? get originalValue => _originalValue;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/pageIndex.html b/docs/document_reader/Value/pageIndex.html deleted file mode 100644 index f9330bcc56..0000000000 --- a/docs/document_reader/Value/pageIndex.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - pageIndex property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
pageIndex
- -
- -
-
-
- -
-
-

pageIndex property -

- - - -
- -
- - int - pageIndex - - -
- - -
-

An index of the document page whence the textual field is extracted.

-
- - -
-

Implementation

-
int get pageIndex => _pageIndex;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/probability.html b/docs/document_reader/Value/probability.html deleted file mode 100644 index 8fd71437a6..0000000000 --- a/docs/document_reader/Value/probability.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - probability property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
probability
- -
- -
-
-
- -
-
-

probability property -

- - - -
- -
- - int - probability - - -
- - -
-

Textual field recognition probability (0 - 100, %).

-
- - -
-

Implementation

-
int get probability => _probability;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/rfidOrigin.html b/docs/document_reader/Value/rfidOrigin.html deleted file mode 100644 index 778ae84845..0000000000 --- a/docs/document_reader/Value/rfidOrigin.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - rfidOrigin property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
rfidOrigin
- -
- -
-
-
- -
-
-

rfidOrigin property -

- - - -
- -
- - RFIDOrigin? - rfidOrigin - - -
- - -
-

RFID origin data. Only for the 'RFID' source.

-
- - -
-

Implementation

-
RFIDOrigin? get rfidOrigin => _rfidOrigin;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/sourceType.html b/docs/document_reader/Value/sourceType.html deleted file mode 100644 index f14d481a1d..0000000000 --- a/docs/document_reader/Value/sourceType.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - sourceType property - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
sourceType
- -
- -
-
-
- -
-
-

sourceType property -

- - - -
- -
- - ResultType - sourceType - - -
- - -
-

Identifies zone whence data is extracted.

-
- - -
-

Implementation

-
ResultType get sourceType => _sourceType;
-
- -
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/Value/toJson.html b/docs/document_reader/Value/toJson.html deleted file mode 100644 index 63bde5c4b2..0000000000 --- a/docs/document_reader/Value/toJson.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - toJson method - Value class - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
toJson
- -
- -
-
-
- -
-
-

toJson method -

- -
- - -Map<String, dynamic> -toJson() - - - -
- -
-

Allows you to serialize object.

-
- - - -
-

Implementation

-
Map<String, dynamic> toJson() => {
-      "sourceType": sourceType.value,
-      "value": value,
-      "originalValue": originalValue,
-      "pageIndex": pageIndex,
-      "boundRect": boundRect?.toJson(),
-      "rfidOrigin": rfidOrigin?.toJson(),
-      "originalSymbols": originalSymbols.map((e) => e.toJson()).toList(),
-      "probability": probability,
-    }.clearNulls();
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/VideoEncoderCompletion.html b/docs/document_reader/VideoEncoderCompletion.html deleted file mode 100644 index bc3850102b..0000000000 --- a/docs/document_reader/VideoEncoderCompletion.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - VideoEncoderCompletion typedef - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
VideoEncoderCompletion
- -
- -
-
-
- -
-
-

VideoEncoderCompletion typedef - -

- -
- VideoEncoderCompletion = - void Function(String filePath) - -
- - -
-

Callback that allows user to receive a video file of current session. -Called by DocumentReader when recording process finished.

-

filePath The output file URL. Contains URL to recording output for every scanning session.

-
- - -
-

Implementation

-
typedef VideoEncoderCompletion = void Function(
-  String filePath,
-);
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ViewContentMode-enum-sidebar.html b/docs/document_reader/ViewContentMode-enum-sidebar.html deleted file mode 100644 index e2da04ed68..0000000000 --- a/docs/document_reader/ViewContentMode-enum-sidebar.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - -
  1. Constructors
  2. -
  3. ViewContentMode
  4. - -
  5. Values
  6. -
  7. UNKNOWN
  8. -
  9. SCALE_TO_FILL
  10. -
  11. SCALE_ASPECT_FIT
  12. -
  13. SCALE_ASPECT_FILL
  14. -
  15. REDRAW
  16. -
  17. CENTER
  18. -
  19. TOP
  20. -
  21. BOTTOM
  22. -
  23. LEFT
  24. -
  25. RIGHT
  26. -
  27. TOP_LEFT
  28. -
  29. TOP_RIGHT
  30. -
  31. BOTTOM_LEFT
  32. -
  33. BOTTOM_RIGHT
  34. - -
  35. - Properties -
  36. -
  37. hashCode
  38. -
  39. index
  40. -
  41. runtimeType
  42. -
  43. value
  44. - -
  45. Methods
  46. -
  47. noSuchMethod
  48. -
  49. toString
  50. - -
  51. Operators
  52. -
  53. operator ==
  54. - - - -
  55. Static methods
  56. -
  57. getByValue
  58. - -
  59. Constants
  60. -
  61. values
  62. -
diff --git a/docs/document_reader/ViewContentMode.html b/docs/document_reader/ViewContentMode.html deleted file mode 100644 index 370ee5703d..0000000000 --- a/docs/document_reader/ViewContentMode.html +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - - - ViewContentMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ViewContentMode
- -
- -
-
-
- -
-
- -

- ViewContentMode - enum - - -

-
- - -
-

Clone of iOS native enum UIViewContentMode

-
- - -
-
- -
Inheritance
-
- -
- - - - - - -
-
- - -
-

Constructors

- -
-
- ViewContentMode(int value) -
-
- -
const
-
-
-
- -
-

Values

- -
-
- UNKNOWN - → const ViewContentMode - - -
-
-

Will be returned if getByValue if a non-existent was passed.

- - -
- ViewContentMode(-1) -
-
- -
- SCALE_TO_FILL - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(0) -
-
- -
- SCALE_ASPECT_FIT - → const ViewContentMode - - -
-
-

Contents scaled to fit with fixed aspect. remainder is transparent.

- - -
- ViewContentMode(1) -
-
- -
- SCALE_ASPECT_FILL - → const ViewContentMode - - -
-
-

Contents scaled to fill with fixed aspect. some portion of content may be clipped.

- - -
- ViewContentMode(2) -
-
- -
- REDRAW - → const ViewContentMode - - -
-
-

redraw on bounds change (calls -setNeedsDisplay).

- - -
- ViewContentMode(3) -
-
- -
- CENTER - → const ViewContentMode - - -
-
-

contents remain same size. positioned adjusted.

- - -
- ViewContentMode(4) -
-
- -
- TOP - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(5) -
-
- -
- BOTTOM - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(6) -
-
- -
- LEFT - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(7) -
-
- - -
- - - -
- ViewContentMode(8) -
-
- -
- TOP_LEFT - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(9) -
-
- -
- TOP_RIGHT - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(10) -
-
- -
- BOTTOM_LEFT - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(11) -
-
- -
- BOTTOM_RIGHT - → const ViewContentMode - - -
-
- - - -
- ViewContentMode(12) -
-
- -
-
- -
-

Properties

- -
-
- hashCode - int - -
-
- The hash code for this object. -
no setterinherited
- -
- -
- index - int - -
-
- A numeric identifier for the enumerated value. -
no setterinherited
- -
- -
- runtimeType - Type - -
-
- A representation of the runtime type of the object. -
no setterinherited
- -
- -
- value - int - -
-
- -
final
- -
- -
-
- - -
-

Methods

-
-
- noSuchMethod(Invocation invocation) - → dynamic - - - -
-
- Invoked when a nonexistent method or property is accessed. -
inherited
- -
- -
- toString() - String - - - -
-
- A string representation of this object. -
inherited
- -
- -
-
- -
-

Operators

-
-
- operator ==(Object other) - bool - - - -
-
- The equality operator. -
inherited
- -
- -
-
- - -
-

Static Methods

-
-
- getByValue(int? i) - ViewContentMode? - - - -
-
- - - -
- -
-
- - -
-

Constants

- -
-
- values - → const List<ViewContentMode> - - -
-
- A constant List of the values in this enum, in order of their declaration. - - -
- [UNKNOWN, SCALE_TO_FILL, SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, REDRAW, CENTER, TOP, BOTTOM, LEFT, RIGHT, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT] -
-
- -
-
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ViewContentMode/ViewContentMode.html b/docs/document_reader/ViewContentMode/ViewContentMode.html deleted file mode 100644 index 09c969cb59..0000000000 --- a/docs/document_reader/ViewContentMode/ViewContentMode.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - ViewContentMode constructor - ViewContentMode - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
ViewContentMode
- -
- -
-
-
- -
-
-

ViewContentMode constructor -

- -
- const - ViewContentMode(
  1. int value
  2. -
) -
- - - - - -
-

Implementation

-
const ViewContentMode
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ViewContentMode/value.html b/docs/document_reader/ViewContentMode/value.html deleted file mode 100644 index 88fff72a29..0000000000 --- a/docs/document_reader/ViewContentMode/value.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - value property - ViewContentMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
value
- -
- -
-
-
- -
-
-

value property -

- -
- - int - value -
final
- -
- - - -
-

Implementation

-
final int value;
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/ViewContentMode/values-constant.html b/docs/document_reader/ViewContentMode/values-constant.html deleted file mode 100644 index e15a2c8b9c..0000000000 --- a/docs/document_reader/ViewContentMode/values-constant.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - values constant - ViewContentMode enum - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
values
- -
- -
-
-
- -
-
-

values constant -

- -
- - List<ViewContentMode> - const values - - -
- -
-

A constant List of the values in this enum, in order of their declaration.

-
- - - - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/document_reader/document_reader-library-sidebar.html b/docs/document_reader/document_reader-library-sidebar.html deleted file mode 100644 index f3a9bec534..0000000000 --- a/docs/document_reader/document_reader-library-sidebar.html +++ /dev/null @@ -1,162 +0,0 @@ -
    -
  1. Classes
  2. -
  3. AccessControlProcedureType
  4. -
  5. Application
  6. -
  7. Attribute
  8. -
  9. AuthenticityCheck
  10. -
  11. AuthenticityElement
  12. -
  13. AuthenticityParams
  14. -
  15. AuthenticityResult
  16. -
  17. Authority
  18. -
  19. BackendProcessingConfig
  20. -
  21. BarcodeField
  22. -
  23. BarcodeResult
  24. -
  25. BluetoothServiceCompletion
  26. -
  27. BytesData
  28. -
  29. CameraSize
  30. -
  31. CardProperties
  32. -
  33. CertificateChain
  34. -
  35. CertificateData
  36. -
  37. Comparison
  38. -
  39. Coordinate
  40. -
  41. Customization
  42. -
  43. CustomizationColors
  44. -
  45. CustomizationFonts
  46. -
  47. CustomizationImages
  48. -
  49. DataField
  50. -
  51. DocReaderException
  52. -
  53. DocReaderScenario
  54. -
  55. DocReaderVersion
  56. -
  57. DocumentReader
  58. -
  59. DocumentsDatabase
  60. -
  61. DocumentType
  62. -
  63. EDLDataGroups
  64. -
  65. EIDDataGroups
  66. -
  67. EPassportDataGroups
  68. -
  69. Extension
  70. -
  71. FaceApiParams
  72. -
  73. FaceApiSearchParams
  74. -
  75. File
  76. -
  77. FileData
  78. -
  79. Font
  80. -
  81. Functionality
  82. -
  83. GlaresCheckParams
  84. -
  85. GraphicField
  86. -
  87. GraphicResult
  88. -
  89. ImageInputData
  90. -
  91. ImageQA
  92. -
  93. ImageQuality
  94. -
  95. ImageQualityGroup
  96. -
  97. InitConfig
  98. -
  99. License
  100. -
  101. LivenessParams
  102. -
  103. OnlineProcessingConfig
  104. -
  105. OpticalStatus
  106. -
  107. PAAttribute
  108. -
  109. PAResourcesIssuer
  110. -
  111. PDF417Info
  112. -
  113. PKDCertificate
  114. -
  115. Position
  116. -
  117. PrepareProgress
  118. -
  119. ProcessParams
  120. -
  121. RecognizeConfig
  122. -
  123. RecognizeData
  124. -
  125. Rect
  126. -
  127. Results
  128. -
  129. ResultsStatus
  130. -
  131. RFIDConfig
  132. -
  133. RFIDException
  134. -
  135. RFIDNotification
  136. -
  137. RFIDOrigin
  138. -
  139. RFIDParams
  140. -
  141. RFIDScenario
  142. -
  143. RFIDSessionData
  144. -
  145. RFIDStatus
  146. -
  147. RFIDValidity
  148. -
  149. RFIDValue
  150. -
  151. ScannerConfig
  152. -
  153. SecurityObject
  154. -
  155. SecurityObjectCertificates
  156. -
  157. SignerInfo
  158. -
  159. Symbol
  160. -
  161. TAChallenge
  162. -
  163. TccParams
  164. -
  165. TextField
  166. -
  167. TextResult
  168. -
  169. TextSource
  170. -
  171. TransactionInfo
  172. -
  173. Validity
  174. -
  175. Value
  176. -
  177. VDSNCData
  178. - - - - - - -
  179. Enums
  180. -
  181. Authenticity
  182. -
  183. BarcodeStatus
  184. -
  185. BarcodeType
  186. -
  187. CameraMode
  188. -
  189. CameraPosition
  190. -
  191. Cap
  192. -
  193. CaptureMode
  194. -
  195. CaptureSessionPreset
  196. -
  197. CheckDiagnose
  198. -
  199. CheckResult
  200. -
  201. CustomButtonTag
  202. -
  203. DocFormat
  204. -
  205. DocReaderAction
  206. -
  207. DocReaderFrame
  208. -
  209. DocReaderOrientation
  210. -
  211. DocType
  212. -
  213. ErrorCodes
  214. -
  215. FieldType
  216. -
  217. FontStyle
  218. -
  219. FrameShapeType
  220. -
  221. GraphicFieldType
  222. -
  223. ImageFormat
  224. -
  225. ImageQualityCheckType
  226. -
  227. LCID
  228. -
  229. LDSParsingErrorCodes
  230. -
  231. LDSParsingNotificationCodes
  232. -
  233. Lights
  234. -
  235. MeasureSystem
  236. -
  237. MRZFormat
  238. -
  239. OnlineMode
  240. -
  241. PKDResourceType
  242. -
  243. ProcessingFinishedStatus
  244. -
  245. ResultType
  246. -
  247. RFIDAccessControlProcedureType
  248. -
  249. RFIDAuthenticationProcedureType
  250. -
  251. RFIDCertificateType
  252. -
  253. RFIDDataFileType
  254. -
  255. RFIDErrorCodes
  256. -
  257. RFIDNotificationCodes
  258. -
  259. RFIDPasswordType
  260. -
  261. RFIDSDKProfilerType
  262. -
  263. RFIDTerminalType
  264. -
  265. Scenario
  266. -
  267. SecurityFeatureType
  268. -
  269. SignManagementAction
  270. -
  271. ViewContentMode
  272. - -
  273. Typedefs
  274. -
  275. ChipDetectedCompletion
  276. -
  277. CustomButtonTappedCompletion
  278. -
  279. DocumentReaderCompletion
  280. -
  281. DocumentReaderPrepareCompletion
  282. -
  283. FinalizePackageCompletion
  284. -
  285. PaCertificateCompletion
  286. -
  287. PKDCertificateRequest
  288. -
  289. RetryReadChipCompletion
  290. -
  291. RFIDCompletion
  292. -
  293. RFIDProgressCompletion
  294. -
  295. SuccessOrError
  296. -
  297. TaCertificateCompletion
  298. -
  299. TaSignatureCompletion
  300. -
  301. TASignatureRequest
  302. -
  303. VideoEncoderCompletion
  304. - -
diff --git a/docs/document_reader/document_reader-library.html b/docs/document_reader/document_reader-library.html deleted file mode 100644 index 1858937e9d..0000000000 --- a/docs/document_reader/document_reader-library.html +++ /dev/null @@ -1,1463 +0,0 @@ - - - - - - - - document_reader library - Dart API - - - - - - - - - - - - - - - - - -
- -
- menu - -
document_reader
- -
- -
-
-
- -
- -
-

document_reader library - -

- - -
-

Regula Document Reader SDK

-
- - -
-

Classes

- -
-
- AccessControlProcedureType - -
-
- Structure is used to describe the results of a single authentication -procedure or a procedure of secure data access within the context -of the communication session with electronic document. -
- -
- Application - -
-
- Structure is used to describe the contents of a single LDS applica-tion -and their analysis within the context of the communication session with -electronic document. -
- -
- Attribute - -
-
- -
- -
- AuthenticityCheck - -
-
- -
- -
- AuthenticityElement - -
-
- -
- -
- AuthenticityParams - -
-
- -
- -
- AuthenticityResult - -
-
- -
- -
- Authority - -
-
- -
- -
- BackendProcessingConfig - -
-
- -
- -
- BarcodeField - -
-
- Structure describing single value of the field. -
- -
- BarcodeResult - -
-
- Structure, describing single barcode extracted. -
- -
- BluetoothServiceCompletion - -
-
- Keeps user notified about btDevice`s connection state. -Used in DocumentReader.startBluetoothService -
- -
- BytesData - -
-
- -
- -
- CameraSize - -
-
- -
- -
- CardProperties - -
-
- Structure is used to store extended information about the characteristics -of the RFID-chip located in the scope of the reader. -
- -
- CertificateChain - -
-
- -
- -
- CertificateData - -
-
- -
- -
- Comparison - -
-
- Structure describing single value of the field. -
- -
- Coordinate - -
-
- Structure describing point coordinate. -
- -
- Customization - -
-
- Params that relate to the camera view controller customization and etc. -
- -
- CustomizationColors - -
-
- -
- -
- CustomizationFonts - -
-
- -
- -
- CustomizationImages - -
-
- -
- -
- DataField - -
-
- -
- -
- DocReaderException - -
-
- -
- -
- DocReaderScenario - -
-
- -
- -
- DocReaderVersion - -
-
- Class contains properties to get the information about the SDK. -
- -
- DocumentReader - -
-
- Entry point of the Regula DocumentReader SDK. -
- -
- DocumentsDatabase - -
-
- Class contains properties to get the information about the database. -
- -
- DocumentType - -
-
- -
- -
- EDLDataGroups - -
-
- -
- -
- EIDDataGroups - -
-
- -
- -
- EPassportDataGroups - -
-
- -
- -
- Extension - -
-
- -
- -
- FaceApiParams - -
-
- -
- -
- FaceApiSearchParams - -
-
- -
- -
- File - -
-
- -
- -
- FileData - -
-
- -
- -
- Font - -
-
- -
- -
- Functionality - -
-
- Params that influence the scanning process, camera view controller -customization and etc. -
- -
- GlaresCheckParams - -
-
- -
- -
- GraphicField - -
-
- Structure, describing single graphic field extracted. -
- -
- GraphicResult - -
-
- Structure, containing all graphic fields extracted. -
- -
- ImageInputData - -
-
- -
- -
- ImageQA - -
-
- Class contains properties to configure image quality. -
- -
- ImageQuality - -
-
- Structure, containing information about single image quality check. -
- -
- ImageQualityGroup - -
-
- Structure, containing overall data about quality checks performed. -
- -
- InitConfig - -
-
- A configuration file for DocumentReader initialization. -Controls initialization time properties such as licenseUpdate and delayedNNLoad. -
- -
- License - -
-
- Class contains properties to get the information about the license. -
- -
- LivenessParams - -
-
- -
- -
- OnlineProcessingConfig - -
-
- -
- -
- OpticalStatus - -
-
- Container for an optical related scanning statuses. -
- -
- PAAttribute - -
-
- -
- -
- PAResourcesIssuer - -
-
- -
- -
- PDF417Info - -
-
- -
- -
- PKDCertificate - -
-
- Class contains information about PKD certificate. -
- -
- Position - -
-
- Structure is used for storing element bounds detection result._ -
- -
- PrepareProgress - -
-
- Class contains info about database preparation progress. -
- -
- ProcessParams - -
-
- Params that influence the scanning process. -
- -
- RecognizeConfig - -
-
- Image processing configuration. -
- -
- RecognizeData - -
-
- Insures that RecognizeConfig has exactly one of four parameters set: -image, data, images, imageInputData -
- -
- Rect - -
-
- -
- -
- Results - -
-
- Class describing results returned on completion of Document Reader work. -
- -
- ResultsStatus - -
-
- Provision of document verification status. -
- -
- RFIDConfig - -
-
- A configuration file for the RFID chip processing. -
- -
- RFIDException - -
-
- -
- -
- RFIDNotification - -
-
- Structure containing data of notification about RFID reading process. -
- -
- RFIDOrigin - -
-
- Structure containing rfid origin values. -
- -
- RFIDParams - -
-
- -
- -
- RFIDScenario - -
-
- Params that influence the RFID chip processing. -
- -
- RFIDSessionData - -
-
- Used to describe the results of work with the SDK within the context -of the current communication session with electronic document. -
- -
- RFIDStatus - -
-
- Container for a RFID related scanning statuses. -
- -
- RFIDValidity - -
-
- -
- -
- RFIDValue - -
-
- -
- -
- ScannerConfig - -
-
- -
- -
- SecurityObject - -
-
- Structure is used to describe the contents of a single document -security object (SO) and the results of its check within the context -of the communication session with electronic document. -
- -
- SecurityObjectCertificates - -
-
- -
- -
- SignerInfo - -
-
- Structure is used to store the result of the verification of a single digital -signature of the number present in EF.SOD. -
- -
- Symbol - -
-
- Structure describing single value of the field. -
- -
- TAChallenge - -
-
- -
- -
- TccParams - -
-
- TCC service related parameters for RFID session configuration. -
- -
- TextField - -
-
- Serves for storing information from one text data field. -
- -
- TextResult - -
-
- Structure, containing all text data extracted and recognized from the document. -
- -
- TextSource - -
-
- Structure describing single value of the field. -
- -
- TransactionInfo - -
-
- -
- -
- Validity - -
-
- Structure describing single value of the field. -
- -
- Value - -
-
- Structure describing single value of the field. -
- -
- VDSNCData - -
-
- Visible Digital Seal for Non Constrained environments. -
- -
-
- - - - - - -
-

Enums

- -
-
- Authenticity - -
-
- Enumeration contains identifiers that determine the possibility -of performing different authenticity control procedures -using images for definite lighting schemes. -
- -
- BarcodeStatus - -
-
- -
- -
- BarcodeType - -
-
- Enumeration contains the types of barcodes that can be processed. -
- -
- CameraMode - -
-
- -
- -
- CameraPosition - -
-
- -
- -
- Cap - -
-
- -
- -
- CaptureMode - -
-
- -
- -
- CaptureSessionPreset - -
-
- -
- -
- CheckDiagnose - -
-
- Enumeration contains identificators that determine the result of the -text field comparison from different sources. -
- -
- CheckResult - -
-
- -
- -
- CustomButtonTag - -
-
- Button tags for UI customization. -
- -
- DocFormat - -
-
- Defining the geometric format of documents in accordance with ISO / IEC 7810. -
- -
- DocReaderAction - -
-
- Contains all possible DocumentReaderNotification callback codes -
- -
- DocReaderFrame - -
-
- -
- -
- DocReaderOrientation - -
-
- Contains set of values of the application's orientation. -
- -
- DocType - -
-
- -
- -
- ErrorCodes - -
-
- Enum contains all possible error codes -
- -
- FieldType - -
-
- Enum contains identifiers that determine the logical type of text data -obtained while reading MRZ, document filling fields, and barcodes. -
- -
- FontStyle - -
-
- -
- -
- FrameShapeType - -
-
- -
- -
- GraphicFieldType - -
-
- Enumeration contains identifiers that determine the logical type -of the graphic data obtained while reading the document filling fields or barcodes. -
- -
- ImageFormat - -
-
- -
- -
- ImageQualityCheckType - -
-
- -
- -
- LCID - -
-
- Enumeration contains a language ID that identifies a particular language. -
- -
- LDSParsingErrorCodes - -
-
- -
- -
- LDSParsingNotificationCodes - -
-
- -
- -
- Lights - -
-
- Enumeration contains a set of identifiers used for identifying the -document reader possibilities, specifying lighting schemes for scanning, etc. -
- -
- MeasureSystem - -
-
- The constants of the enumeration identify the system -for measuring distances and weight. -
- -
- MRZFormat - -
-
- -
- -
- OnlineMode - -
-
- -
- -
- PKDResourceType - -
-
- -
- -
- ProcessingFinishedStatus - -
-
- Enumeration contains identifiers that determine the processing finish status. -
- -
- ResultType - -
-
- Enumeration contains a pool of constants that determine the type of resulting -data formed during the data scanning and processing cycle and passed -to the user application. -
- -
- RFIDAccessControlProcedureType - -
-
- -
- -
- RFIDAuthenticationProcedureType - -
-
- -
- -
- RFIDCertificateType - -
-
- -
- -
- RFIDDataFileType - -
-
- Enumeration contains a set of constants that define the file type -(or logical belonging of the data object) within the context of the -communication session with electronic document. -
- -
- RFIDErrorCodes - -
-
- -
- -
- RFIDNotificationCodes - -
-
- Enumeration contains a set of notification returned -to the user application by calling the callback-function. -
- -
- RFIDPasswordType - -
-
- -
- -
- RFIDSDKProfilerType - -
-
- -
- -
- RFIDTerminalType - -
-
- -
- -
- Scenario - -
-
- -
- -
- SecurityFeatureType - -
-
- Enumeration contains identifiers that determine the types of elements -for the document authenticity check. -
- -
- SignManagementAction - -
-
- -
- -
- ViewContentMode - -
-
- Clone of iOS native enum UIViewContentMode -
- -
-
- -
-

Typedefs

- -
- -
- ChipDetectedCompletion - = void Function() - - - -
-
- Callback for receiving signal when RFID chip is recognized -by a phone and chip reading is started. - - -
- - -
- CustomButtonTappedCompletion - = void Function(int tag) - - - -
-
- Callback for receiving signal, when a custom button, -configured in Customization.uiCustomizationLayer, is pressed. - - -
- - -
- DocumentReaderCompletion - = void Function(DocReaderAction action, Results? results, DocReaderException? error) - - - -
-
- Callback for receiving answer from processing engine. - - -
- - -
- DocumentReaderPrepareCompletion - = void Function(PrepareProgress progress) - - - -
-
- Callback for receiving notifications on Documents Database preparation. - - -
- - -
- FinalizePackageCompletion - = (DocReaderAction, TransactionInfo?, DocReaderException?) - - - -
-
- Type for receiving answer after backend processing has finished. - - -
- - - -
- PaCertificateCompletion - = void Function(dynamic serialNumber, PAResourcesIssuer? issuer, PKDCertificateRequest request) - - - -
-
- Callback for receiving RFID request data - - -
- - -
- PKDCertificateRequest - = Future<void> Function(List<PKDCertificate>? certificates) - - - -
-
- Provided to a user for passing PKDCertificates -to the native part of DocumentReader. - - -
- - -
- RetryReadChipCompletion - = void Function(RFIDException error) - - - -
-
- Fires when RFID chip reading was interrupted with no severe reasons -(for example connection to the chip was lost) and will be reestablished automatically. - - -
- - -
- RFIDCompletion - = void Function(DocReaderAction action, Results? results, RFIDException? error) - - - -
-
- Callback for receiving answer from processing engine. - - -
- - -
- RFIDProgressCompletion - = void Function(RFIDNotification notification) - - - -
-
- Completion for reveiving notification about RFID reading process. - - -
- - -
- SuccessOrError - = (bool, DocReaderException?) - - - -
-
- A type specifically made for receiving answer from any function -which does not return anything, but we need to know whether the function -has succeeded or not. - - -
- - - -
- TaCertificateCompletion - = void Function(String? keyCAR, PKDCertificateRequest request) - - - -
-
- Callback for receiving RFID request data - - -
- - -
- TaSignatureCompletion - = void Function(TAChallenge? challenge, TASignatureRequest request) - - - -
-
- Callback for receiving RFID request data - - -
- - -
- TASignatureRequest - = Future<void> Function(dynamic signature) - - - -
-
- Provided to a user for passing TASignature -to the native part of DocumentReader. - - -
- - -
- VideoEncoderCompletion - = void Function(String filePath) - - - -
-
- Callback that allows user to receive a video file of current session. -Called by DocumentReader when recording process finished. - - -
- -
-
- - -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index d4ffe60093..0000000000 --- a/docs/index.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - flutter_document_reader_api - Dart API docs - - - - - - - - - - - - - - - - - -
- -
- menu - -
flutter_document_reader_api
- -
- -
-
-
- -
- -
-

Regula Document Reader plugin for Flutter

- -

pub package

-

Regula Document Reader SDK allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely offline on your device. No any data leaving your device.

-

You can use native camera to scan the documents or image from gallery for extract all data from it.

-

This repository contains the source code of the Document Reader API, and the sample application that demonstrates the API calls you can use to interact with the Document Reader library.

-

Documentation

-

You can find documentation here.

-

License

-

To obtaining the production license or other purchasing information, please submit an inquiry and our sales team will contact you shortly.

-

Support

-

Please do not hesitate to contact us, if you need any assistance or want to report a bug / suggest an improvement.

-
- - -
-

Libraries

-
-
- document_reader - -
-
Regula Document Reader SDK -
- -
-
- -
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/index.json b/docs/index.json deleted file mode 100644 index 10e6b02f26..0000000000 --- a/docs/index.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"document_reader","qualifiedName":"document_reader","href":"document_reader/document_reader-library.html","kind":9,"overriddenDepth":0,"packageRank":0,"desc":"Regula Document Reader SDK"},{"name":"AccessControlProcedureType","qualifiedName":"document_reader.AccessControlProcedureType","href":"document_reader/AccessControlProcedureType-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used to describe the results of a single authentication\nprocedure or a procedure of secure data access within the context\nof the communication session with electronic document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"AccessControlProcedureType","qualifiedName":"document_reader.AccessControlProcedureType.AccessControlProcedureType","href":"document_reader/AccessControlProcedureType/AccessControlProcedureType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"activeOptionIdx","qualifiedName":"document_reader.AccessControlProcedureType.activeOptionIdx","href":"document_reader/AccessControlProcedureType/activeOptionIdx.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Index of the active variant of the procedure.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.AccessControlProcedureType.fromJson","href":"document_reader/AccessControlProcedureType/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"notifications","qualifiedName":"document_reader.AccessControlProcedureType.notifications","href":"document_reader/AccessControlProcedureType/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of remarks arisen during the procedure.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"status","qualifiedName":"document_reader.AccessControlProcedureType.status","href":"document_reader/AccessControlProcedureType/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Procedure status.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"toJson","qualifiedName":"document_reader.AccessControlProcedureType.toJson","href":"document_reader/AccessControlProcedureType/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"type","qualifiedName":"document_reader.AccessControlProcedureType.type","href":"document_reader/AccessControlProcedureType/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Procedure type.","enclosedBy":{"name":"AccessControlProcedureType","kind":3,"href":"document_reader/AccessControlProcedureType-class.html"}},{"name":"Application","qualifiedName":"document_reader.Application","href":"document_reader/Application-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used to describe the contents of a single LDS applica-tion\nand their analysis within the context of the communication session with\nelectronic document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Application","qualifiedName":"document_reader.Application.Application","href":"document_reader/Application/Application.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"applicationID","qualifiedName":"document_reader.Application.applicationID","href":"document_reader/Application/applicationID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Application identifier.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"dataHashAlgorithm","qualifiedName":"document_reader.Application.dataHashAlgorithm","href":"document_reader/Application/dataHashAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Algorithm for calculating hash values for files for the proce-dure of PA.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"files","qualifiedName":"document_reader.Application.files","href":"document_reader/Application/files.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of containers to store information about the read files of the application.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Application.fromJson","href":"document_reader/Application/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"status","qualifiedName":"document_reader.Application.status","href":"document_reader/Application/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Status of the application selection procedure.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Application.toJson","href":"document_reader/Application/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"type","qualifiedName":"document_reader.Application.type","href":"document_reader/Application/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Type of application of electronic document.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"unicodeVersion","qualifiedName":"document_reader.Application.unicodeVersion","href":"document_reader/Application/unicodeVersion.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Unicode version for application.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"version","qualifiedName":"document_reader.Application.version","href":"document_reader/Application/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Application version.","enclosedBy":{"name":"Application","kind":3,"href":"document_reader/Application-class.html"}},{"name":"Attribute","qualifiedName":"document_reader.Attribute","href":"document_reader/Attribute-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Attribute","qualifiedName":"document_reader.Attribute.Attribute","href":"document_reader/Attribute/Attribute.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Attribute","kind":3,"href":"document_reader/Attribute-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Attribute.fromJson","href":"document_reader/Attribute/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Attribute","kind":3,"href":"document_reader/Attribute-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Attribute.toJson","href":"document_reader/Attribute/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Attribute","kind":3,"href":"document_reader/Attribute-class.html"}},{"name":"type","qualifiedName":"document_reader.Attribute.type","href":"document_reader/Attribute/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Attribute","kind":3,"href":"document_reader/Attribute-class.html"}},{"name":"value","qualifiedName":"document_reader.Attribute.value","href":"document_reader/Attribute/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Attribute","kind":3,"href":"document_reader/Attribute-class.html"}},{"name":"Authenticity","qualifiedName":"document_reader.Authenticity","href":"document_reader/Authenticity.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains identifiers that determine the possibility\nof performing different authenticity control procedures\nusing images for definite lighting schemes.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Authenticity","qualifiedName":"document_reader.Authenticity.Authenticity","href":"document_reader/Authenticity/Authenticity.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authenticity","kind":5,"href":"document_reader/Authenticity.html"}},{"name":"value","qualifiedName":"document_reader.Authenticity.value","href":"document_reader/Authenticity/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authenticity","kind":5,"href":"document_reader/Authenticity.html"}},{"name":"values","qualifiedName":"document_reader.Authenticity.values","href":"document_reader/Authenticity/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"Authenticity","kind":5,"href":"document_reader/Authenticity.html"}},{"name":"AuthenticityCheck","qualifiedName":"document_reader.AuthenticityCheck","href":"document_reader/AuthenticityCheck-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"AuthenticityCheck","qualifiedName":"document_reader.AuthenticityCheck.AuthenticityCheck","href":"document_reader/AuthenticityCheck/AuthenticityCheck.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"elements","qualifiedName":"document_reader.AuthenticityCheck.elements","href":"document_reader/AuthenticityCheck/elements.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.AuthenticityCheck.fromJson","href":"document_reader/AuthenticityCheck/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.AuthenticityCheck.pageIndex","href":"document_reader/AuthenticityCheck/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"status","qualifiedName":"document_reader.AuthenticityCheck.status","href":"document_reader/AuthenticityCheck/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates verification result.","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"toJson","qualifiedName":"document_reader.AuthenticityCheck.toJson","href":"document_reader/AuthenticityCheck/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"type","qualifiedName":"document_reader.AuthenticityCheck.type","href":"document_reader/AuthenticityCheck/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates verification type result.","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"typeName","qualifiedName":"document_reader.AuthenticityCheck.typeName","href":"document_reader/AuthenticityCheck/typeName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityCheck","kind":3,"href":"document_reader/AuthenticityCheck-class.html"}},{"name":"AuthenticityElement","qualifiedName":"document_reader.AuthenticityElement","href":"document_reader/AuthenticityElement-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"AuthenticityElement","qualifiedName":"document_reader.AuthenticityElement.AuthenticityElement","href":"document_reader/AuthenticityElement/AuthenticityElement.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"elementDiagnose","qualifiedName":"document_reader.AuthenticityElement.elementDiagnose","href":"document_reader/AuthenticityElement/elementDiagnose.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates element diagnose.","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"elementDiagnoseName","qualifiedName":"document_reader.AuthenticityElement.elementDiagnoseName","href":"document_reader/AuthenticityElement/elementDiagnoseName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"elementType","qualifiedName":"document_reader.AuthenticityElement.elementType","href":"document_reader/AuthenticityElement/elementType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates element type.","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"elementTypeName","qualifiedName":"document_reader.AuthenticityElement.elementTypeName","href":"document_reader/AuthenticityElement/elementTypeName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.AuthenticityElement.fromJson","href":"document_reader/AuthenticityElement/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"status","qualifiedName":"document_reader.AuthenticityElement.status","href":"document_reader/AuthenticityElement/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates verification result of the field.","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"toJson","qualifiedName":"document_reader.AuthenticityElement.toJson","href":"document_reader/AuthenticityElement/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"AuthenticityElement","kind":3,"href":"document_reader/AuthenticityElement-class.html"}},{"name":"AuthenticityParams","qualifiedName":"document_reader.AuthenticityParams","href":"document_reader/AuthenticityParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"AuthenticityParams","qualifiedName":"document_reader.AuthenticityParams.AuthenticityParams","href":"document_reader/AuthenticityParams/AuthenticityParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkAxial","qualifiedName":"document_reader.AuthenticityParams.checkAxial","href":"document_reader/AuthenticityParams/checkAxial.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkBarcodeFormat","qualifiedName":"document_reader.AuthenticityParams.checkBarcodeFormat","href":"document_reader/AuthenticityParams/checkBarcodeFormat.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkExtMRZ","qualifiedName":"document_reader.AuthenticityParams.checkExtMRZ","href":"document_reader/AuthenticityParams/checkExtMRZ.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkExtOCR","qualifiedName":"document_reader.AuthenticityParams.checkExtOCR","href":"document_reader/AuthenticityParams/checkExtOCR.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkFibers","qualifiedName":"document_reader.AuthenticityParams.checkFibers","href":"document_reader/AuthenticityParams/checkFibers.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkIPI","qualifiedName":"document_reader.AuthenticityParams.checkIPI","href":"document_reader/AuthenticityParams/checkIPI.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkIRB900","qualifiedName":"document_reader.AuthenticityParams.checkIRB900","href":"document_reader/AuthenticityParams/checkIRB900.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkIRVisibility","qualifiedName":"document_reader.AuthenticityParams.checkIRVisibility","href":"document_reader/AuthenticityParams/checkIRVisibility.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkImagePatterns","qualifiedName":"document_reader.AuthenticityParams.checkImagePatterns","href":"document_reader/AuthenticityParams/checkImagePatterns.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkLetterScreen","qualifiedName":"document_reader.AuthenticityParams.checkLetterScreen","href":"document_reader/AuthenticityParams/checkLetterScreen.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkPhotoComparison","qualifiedName":"document_reader.AuthenticityParams.checkPhotoComparison","href":"document_reader/AuthenticityParams/checkPhotoComparison.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkPhotoEmbedding","qualifiedName":"document_reader.AuthenticityParams.checkPhotoEmbedding","href":"document_reader/AuthenticityParams/checkPhotoEmbedding.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"checkUVLuminiscence","qualifiedName":"document_reader.AuthenticityParams.checkUVLuminiscence","href":"document_reader/AuthenticityParams/checkUVLuminiscence.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.AuthenticityParams.fromJson","href":"document_reader/AuthenticityParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"livenessParams","qualifiedName":"document_reader.AuthenticityParams.livenessParams","href":"document_reader/AuthenticityParams/livenessParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.AuthenticityParams.testSetters","href":"document_reader/AuthenticityParams/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.AuthenticityParams.toJson","href":"document_reader/AuthenticityParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"useLivenessCheck","qualifiedName":"document_reader.AuthenticityParams.useLivenessCheck","href":"document_reader/AuthenticityParams/useLivenessCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This parameter is used to enable document liveness check.","enclosedBy":{"name":"AuthenticityParams","kind":3,"href":"document_reader/AuthenticityParams-class.html"}},{"name":"AuthenticityResult","qualifiedName":"document_reader.AuthenticityResult","href":"document_reader/AuthenticityResult-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"AuthenticityResult","qualifiedName":"document_reader.AuthenticityResult.AuthenticityResult","href":"document_reader/AuthenticityResult/AuthenticityResult.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityResult","kind":3,"href":"document_reader/AuthenticityResult-class.html"}},{"name":"checks","qualifiedName":"document_reader.AuthenticityResult.checks","href":"document_reader/AuthenticityResult/checks.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityResult","kind":3,"href":"document_reader/AuthenticityResult-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.AuthenticityResult.fromJson","href":"document_reader/AuthenticityResult/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"AuthenticityResult","kind":3,"href":"document_reader/AuthenticityResult-class.html"}},{"name":"status","qualifiedName":"document_reader.AuthenticityResult.status","href":"document_reader/AuthenticityResult/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"AuthenticityResult","kind":3,"href":"document_reader/AuthenticityResult-class.html"}},{"name":"toJson","qualifiedName":"document_reader.AuthenticityResult.toJson","href":"document_reader/AuthenticityResult/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"AuthenticityResult","kind":3,"href":"document_reader/AuthenticityResult-class.html"}},{"name":"Authority","qualifiedName":"document_reader.Authority","href":"document_reader/Authority-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Authority","qualifiedName":"document_reader.Authority.Authority","href":"document_reader/Authority/Authority.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"attributes","qualifiedName":"document_reader.Authority.attributes","href":"document_reader/Authority/attributes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"data","qualifiedName":"document_reader.Authority.data","href":"document_reader/Authority/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"friendlyName","qualifiedName":"document_reader.Authority.friendlyName","href":"document_reader/Authority/friendlyName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Authority.fromJson","href":"document_reader/Authority/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Authority.toJson","href":"document_reader/Authority/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Authority","kind":3,"href":"document_reader/Authority-class.html"}},{"name":"BackendProcessingConfig","qualifiedName":"document_reader.BackendProcessingConfig","href":"document_reader/BackendProcessingConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BackendProcessingConfig","qualifiedName":"document_reader.BackendProcessingConfig.BackendProcessingConfig","href":"document_reader/BackendProcessingConfig/BackendProcessingConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.BackendProcessingConfig.fromJson","href":"document_reader/BackendProcessingConfig/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"httpHeaders","qualifiedName":"document_reader.BackendProcessingConfig.httpHeaders","href":"document_reader/BackendProcessingConfig/httpHeaders.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"rfidServerSideChipVerification","qualifiedName":"document_reader.BackendProcessingConfig.rfidServerSideChipVerification","href":"document_reader/BackendProcessingConfig/rfidServerSideChipVerification.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"toJson","qualifiedName":"document_reader.BackendProcessingConfig.toJson","href":"document_reader/BackendProcessingConfig/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"url","qualifiedName":"document_reader.BackendProcessingConfig.url","href":"document_reader/BackendProcessingConfig/url.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BackendProcessingConfig","kind":3,"href":"document_reader/BackendProcessingConfig-class.html"}},{"name":"BarcodeField","qualifiedName":"document_reader.BarcodeField","href":"document_reader/BarcodeField-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BarcodeField","qualifiedName":"document_reader.BarcodeField.BarcodeField","href":"document_reader/BarcodeField/BarcodeField.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"barcodeType","qualifiedName":"document_reader.BarcodeField.barcodeType","href":"document_reader/BarcodeField/barcodeType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Decoded barcode type.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"data","qualifiedName":"document_reader.BarcodeField.data","href":"document_reader/BarcodeField/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Results of reading data from barcode modules.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.BarcodeField.fromJson","href":"document_reader/BarcodeField/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.BarcodeField.pageIndex","href":"document_reader/BarcodeField/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates an index of the document page, whence the result is received.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"pdf417Info","qualifiedName":"document_reader.BarcodeField.pdf417Info","href":"document_reader/BarcodeField/pdf417Info.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Contains the information about the PDF417 barcode.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"status","qualifiedName":"document_reader.BarcodeField.status","href":"document_reader/BarcodeField/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates barcode reading result.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"toJson","qualifiedName":"document_reader.BarcodeField.toJson","href":"document_reader/BarcodeField/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"BarcodeField","kind":3,"href":"document_reader/BarcodeField-class.html"}},{"name":"BarcodeResult","qualifiedName":"document_reader.BarcodeResult","href":"document_reader/BarcodeResult-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, describing single barcode extracted.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BarcodeResult","qualifiedName":"document_reader.BarcodeResult.BarcodeResult","href":"document_reader/BarcodeResult/BarcodeResult.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeResult","kind":3,"href":"document_reader/BarcodeResult-class.html"}},{"name":"fields","qualifiedName":"document_reader.BarcodeResult.fields","href":"document_reader/BarcodeResult/fields.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeResult","kind":3,"href":"document_reader/BarcodeResult-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.BarcodeResult.fromJson","href":"document_reader/BarcodeResult/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"BarcodeResult","kind":3,"href":"document_reader/BarcodeResult-class.html"}},{"name":"toJson","qualifiedName":"document_reader.BarcodeResult.toJson","href":"document_reader/BarcodeResult/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"BarcodeResult","kind":3,"href":"document_reader/BarcodeResult-class.html"}},{"name":"BarcodeStatus","qualifiedName":"document_reader.BarcodeStatus","href":"document_reader/BarcodeStatus.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BarcodeStatus","qualifiedName":"document_reader.BarcodeStatus.BarcodeStatus","href":"document_reader/BarcodeStatus/BarcodeStatus.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeStatus","kind":5,"href":"document_reader/BarcodeStatus.html"}},{"name":"value","qualifiedName":"document_reader.BarcodeStatus.value","href":"document_reader/BarcodeStatus/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeStatus","kind":5,"href":"document_reader/BarcodeStatus.html"}},{"name":"values","qualifiedName":"document_reader.BarcodeStatus.values","href":"document_reader/BarcodeStatus/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"BarcodeStatus","kind":5,"href":"document_reader/BarcodeStatus.html"}},{"name":"BarcodeType","qualifiedName":"document_reader.BarcodeType","href":"document_reader/BarcodeType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains the types of barcodes that can be processed.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BarcodeType","qualifiedName":"document_reader.BarcodeType.BarcodeType","href":"document_reader/BarcodeType/BarcodeType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeType","kind":5,"href":"document_reader/BarcodeType.html"}},{"name":"value","qualifiedName":"document_reader.BarcodeType.value","href":"document_reader/BarcodeType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BarcodeType","kind":5,"href":"document_reader/BarcodeType.html"}},{"name":"values","qualifiedName":"document_reader.BarcodeType.values","href":"document_reader/BarcodeType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"BarcodeType","kind":5,"href":"document_reader/BarcodeType.html"}},{"name":"BluetoothServiceCompletion","qualifiedName":"document_reader.BluetoothServiceCompletion","href":"document_reader/BluetoothServiceCompletion-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Keeps user notified about btDevice`s connection state.\nUsed in DocumentReader.startBluetoothService","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BluetoothServiceCompletion","qualifiedName":"document_reader.BluetoothServiceCompletion.BluetoothServiceCompletion","href":"document_reader/BluetoothServiceCompletion/BluetoothServiceCompletion.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BluetoothServiceCompletion","kind":3,"href":"document_reader/BluetoothServiceCompletion-class.html"}},{"name":"onDeviceReady","qualifiedName":"document_reader.BluetoothServiceCompletion.onDeviceReady","href":"document_reader/BluetoothServiceCompletion/onDeviceReady.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BluetoothServiceCompletion","kind":3,"href":"document_reader/BluetoothServiceCompletion-class.html"}},{"name":"onServiceConnected","qualifiedName":"document_reader.BluetoothServiceCompletion.onServiceConnected","href":"document_reader/BluetoothServiceCompletion/onServiceConnected.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BluetoothServiceCompletion","kind":3,"href":"document_reader/BluetoothServiceCompletion-class.html"}},{"name":"onServiceDisconnected","qualifiedName":"document_reader.BluetoothServiceCompletion.onServiceDisconnected","href":"document_reader/BluetoothServiceCompletion/onServiceDisconnected.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BluetoothServiceCompletion","kind":3,"href":"document_reader/BluetoothServiceCompletion-class.html"}},{"name":"BytesData","qualifiedName":"document_reader.BytesData","href":"document_reader/BytesData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"BytesData","qualifiedName":"document_reader.BytesData.BytesData","href":"document_reader/BytesData/BytesData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"data","qualifiedName":"document_reader.BytesData.data","href":"document_reader/BytesData/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.BytesData.fromJson","href":"document_reader/BytesData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"length","qualifiedName":"document_reader.BytesData.length","href":"document_reader/BytesData/length.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"status","qualifiedName":"document_reader.BytesData.status","href":"document_reader/BytesData/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.BytesData.toJson","href":"document_reader/BytesData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"type","qualifiedName":"document_reader.BytesData.type","href":"document_reader/BytesData/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"BytesData","kind":3,"href":"document_reader/BytesData-class.html"}},{"name":"CameraMode","qualifiedName":"document_reader.CameraMode","href":"document_reader/CameraMode.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CameraMode","qualifiedName":"document_reader.CameraMode.CameraMode","href":"document_reader/CameraMode/CameraMode.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraMode","kind":5,"href":"document_reader/CameraMode.html"}},{"name":"value","qualifiedName":"document_reader.CameraMode.value","href":"document_reader/CameraMode/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraMode","kind":5,"href":"document_reader/CameraMode.html"}},{"name":"values","qualifiedName":"document_reader.CameraMode.values","href":"document_reader/CameraMode/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CameraMode","kind":5,"href":"document_reader/CameraMode.html"}},{"name":"CameraPosition","qualifiedName":"document_reader.CameraPosition","href":"document_reader/CameraPosition.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CameraPosition","qualifiedName":"document_reader.CameraPosition.CameraPosition","href":"document_reader/CameraPosition/CameraPosition.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraPosition","kind":5,"href":"document_reader/CameraPosition.html"}},{"name":"value","qualifiedName":"document_reader.CameraPosition.value","href":"document_reader/CameraPosition/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraPosition","kind":5,"href":"document_reader/CameraPosition.html"}},{"name":"values","qualifiedName":"document_reader.CameraPosition.values","href":"document_reader/CameraPosition/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CameraPosition","kind":5,"href":"document_reader/CameraPosition.html"}},{"name":"CameraSize","qualifiedName":"document_reader.CameraSize","href":"document_reader/CameraSize-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CameraSize","qualifiedName":"document_reader.CameraSize.CameraSize","href":"document_reader/CameraSize/CameraSize.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraSize","kind":3,"href":"document_reader/CameraSize-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CameraSize.fromJson","href":"document_reader/CameraSize/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CameraSize","kind":3,"href":"document_reader/CameraSize-class.html"}},{"name":"height","qualifiedName":"document_reader.CameraSize.height","href":"document_reader/CameraSize/height.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraSize","kind":3,"href":"document_reader/CameraSize-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CameraSize.toJson","href":"document_reader/CameraSize/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CameraSize","kind":3,"href":"document_reader/CameraSize-class.html"}},{"name":"width","qualifiedName":"document_reader.CameraSize.width","href":"document_reader/CameraSize/width.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CameraSize","kind":3,"href":"document_reader/CameraSize-class.html"}},{"name":"Cap","qualifiedName":"document_reader.Cap","href":"document_reader/Cap.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Cap","qualifiedName":"document_reader.Cap.Cap","href":"document_reader/Cap/Cap.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Cap","kind":5,"href":"document_reader/Cap.html"}},{"name":"value","qualifiedName":"document_reader.Cap.value","href":"document_reader/Cap/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Cap","kind":5,"href":"document_reader/Cap.html"}},{"name":"values","qualifiedName":"document_reader.Cap.values","href":"document_reader/Cap/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"Cap","kind":5,"href":"document_reader/Cap.html"}},{"name":"CaptureMode","qualifiedName":"document_reader.CaptureMode","href":"document_reader/CaptureMode.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CaptureMode","qualifiedName":"document_reader.CaptureMode.CaptureMode","href":"document_reader/CaptureMode/CaptureMode.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CaptureMode","kind":5,"href":"document_reader/CaptureMode.html"}},{"name":"value","qualifiedName":"document_reader.CaptureMode.value","href":"document_reader/CaptureMode/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CaptureMode","kind":5,"href":"document_reader/CaptureMode.html"}},{"name":"values","qualifiedName":"document_reader.CaptureMode.values","href":"document_reader/CaptureMode/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CaptureMode","kind":5,"href":"document_reader/CaptureMode.html"}},{"name":"CaptureSessionPreset","qualifiedName":"document_reader.CaptureSessionPreset","href":"document_reader/CaptureSessionPreset.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CaptureSessionPreset","qualifiedName":"document_reader.CaptureSessionPreset.CaptureSessionPreset","href":"document_reader/CaptureSessionPreset/CaptureSessionPreset.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CaptureSessionPreset","kind":5,"href":"document_reader/CaptureSessionPreset.html"}},{"name":"value","qualifiedName":"document_reader.CaptureSessionPreset.value","href":"document_reader/CaptureSessionPreset/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CaptureSessionPreset","kind":5,"href":"document_reader/CaptureSessionPreset.html"}},{"name":"values","qualifiedName":"document_reader.CaptureSessionPreset.values","href":"document_reader/CaptureSessionPreset/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CaptureSessionPreset","kind":5,"href":"document_reader/CaptureSessionPreset.html"}},{"name":"CardProperties","qualifiedName":"document_reader.CardProperties","href":"document_reader/CardProperties-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used to store extended information about the characteristics\nof the RFID-chip located in the scope of the reader.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CardProperties","qualifiedName":"document_reader.CardProperties.CardProperties","href":"document_reader/CardProperties/CardProperties.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"aTQA","qualifiedName":"document_reader.CardProperties.aTQA","href":"document_reader/CardProperties/aTQA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric ATQ_A value in hexadecimal format (e.g. \"0x0000\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"aTQB","qualifiedName":"document_reader.CardProperties.aTQB","href":"document_reader/CardProperties/aTQB.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"ATQ_B contents in text format. Each byte is represented by its\nhexadecimal value. The individual bytes are sepa-rated by spaces\n(e.g. \"50 F9 4F 41 60 00 00 00 00 77 81 81\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"aTR","qualifiedName":"document_reader.CardProperties.aTR","href":"document_reader/CardProperties/aTR.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"aTR contents in text format. Each byte is represented by its hexadecimal value.\nThe individual bytes are separated by spaces\n(e.g. \"3B 88 81 11 FC 00 00 00 00 77 81 81 00 93\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"baudrate1","qualifiedName":"document_reader.CardProperties.baudrate1","href":"document_reader/CardProperties/baudrate1.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric Baudrate1 value in hexadecimal format (e.g. \"0x0000000F\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"baudrate2","qualifiedName":"document_reader.CardProperties.baudrate2","href":"document_reader/CardProperties/baudrate2.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric Baudrate2 value in hexadecimal format.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"bitRateR","qualifiedName":"document_reader.CardProperties.bitRateR","href":"document_reader/CardProperties/bitRateR.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric BitRateR value in hexadecimal format (e.g. \"0x04\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"bitRateS","qualifiedName":"document_reader.CardProperties.bitRateS","href":"document_reader/CardProperties/bitRateS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric BitRateS value in hexadecimal format (e.g. \"0x04\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"chipTypeA","qualifiedName":"document_reader.CardProperties.chipTypeA","href":"document_reader/CardProperties/chipTypeA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Text abbreviation of ChipType_A value.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CardProperties.fromJson","href":"document_reader/CardProperties/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"mifareMemory","qualifiedName":"document_reader.CardProperties.mifareMemory","href":"document_reader/CardProperties/mifareMemory.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric MifareMemory value.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"rfidType","qualifiedName":"document_reader.CardProperties.rfidType","href":"document_reader/CardProperties/rfidType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Text abbreviation of RFID_Type value.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"sAK","qualifiedName":"document_reader.CardProperties.sAK","href":"document_reader/CardProperties/sAK.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Numeric SAK value in hexadecimal format (e.g. \"0x00\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"support4","qualifiedName":"document_reader.CardProperties.support4","href":"document_reader/CardProperties/support4.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Boolean Support_4 value.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"supportMifare","qualifiedName":"document_reader.CardProperties.supportMifare","href":"document_reader/CardProperties/supportMifare.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Boolean Support_Mifare value.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CardProperties.toJson","href":"document_reader/CardProperties/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"uID","qualifiedName":"document_reader.CardProperties.uID","href":"document_reader/CardProperties/uID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"UID contents in text format. Each byte is represented by its hexadecimal value.\nThe individual bytes are separated by spaces (e.g. \"F9 4F 41 60\").","enclosedBy":{"name":"CardProperties","kind":3,"href":"document_reader/CardProperties-class.html"}},{"name":"CertificateChain","qualifiedName":"document_reader.CertificateChain","href":"document_reader/CertificateChain-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CertificateChain","qualifiedName":"document_reader.CertificateChain.CertificateChain","href":"document_reader/CertificateChain/CertificateChain.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"extensions","qualifiedName":"document_reader.CertificateChain.extensions","href":"document_reader/CertificateChain/extensions.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"fileName","qualifiedName":"document_reader.CertificateChain.fileName","href":"document_reader/CertificateChain/fileName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CertificateChain.fromJson","href":"document_reader/CertificateChain/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"issuer","qualifiedName":"document_reader.CertificateChain.issuer","href":"document_reader/CertificateChain/issuer.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"notifications","qualifiedName":"document_reader.CertificateChain.notifications","href":"document_reader/CertificateChain/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"origin","qualifiedName":"document_reader.CertificateChain.origin","href":"document_reader/CertificateChain/origin.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"paStatus","qualifiedName":"document_reader.CertificateChain.paStatus","href":"document_reader/CertificateChain/paStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"serialNumber","qualifiedName":"document_reader.CertificateChain.serialNumber","href":"document_reader/CertificateChain/serialNumber.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"signatureAlgorithm","qualifiedName":"document_reader.CertificateChain.signatureAlgorithm","href":"document_reader/CertificateChain/signatureAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"subject","qualifiedName":"document_reader.CertificateChain.subject","href":"document_reader/CertificateChain/subject.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"subjectPKAlgorithm","qualifiedName":"document_reader.CertificateChain.subjectPKAlgorithm","href":"document_reader/CertificateChain/subjectPKAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CertificateChain.toJson","href":"document_reader/CertificateChain/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"type","qualifiedName":"document_reader.CertificateChain.type","href":"document_reader/CertificateChain/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Define the type of certificate used in the procedure of document\nsecurity object digital signature verification.","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"validity","qualifiedName":"document_reader.CertificateChain.validity","href":"document_reader/CertificateChain/validity.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"version","qualifiedName":"document_reader.CertificateChain.version","href":"document_reader/CertificateChain/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateChain","kind":3,"href":"document_reader/CertificateChain-class.html"}},{"name":"CertificateData","qualifiedName":"document_reader.CertificateData","href":"document_reader/CertificateData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CertificateData","qualifiedName":"document_reader.CertificateData.CertificateData","href":"document_reader/CertificateData/CertificateData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateData","kind":3,"href":"document_reader/CertificateData-class.html"}},{"name":"data","qualifiedName":"document_reader.CertificateData.data","href":"document_reader/CertificateData/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateData","kind":3,"href":"document_reader/CertificateData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CertificateData.fromJson","href":"document_reader/CertificateData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CertificateData","kind":3,"href":"document_reader/CertificateData-class.html"}},{"name":"length","qualifiedName":"document_reader.CertificateData.length","href":"document_reader/CertificateData/length.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CertificateData","kind":3,"href":"document_reader/CertificateData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CertificateData.toJson","href":"document_reader/CertificateData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CertificateData","kind":3,"href":"document_reader/CertificateData-class.html"}},{"name":"CheckDiagnose","qualifiedName":"document_reader.CheckDiagnose","href":"document_reader/CheckDiagnose.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains identificators that determine the result of the\ntext field comparison from different sources.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CheckDiagnose","qualifiedName":"document_reader.CheckDiagnose.CheckDiagnose","href":"document_reader/CheckDiagnose/CheckDiagnose.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CheckDiagnose","kind":5,"href":"document_reader/CheckDiagnose.html"}},{"name":"value","qualifiedName":"document_reader.CheckDiagnose.value","href":"document_reader/CheckDiagnose/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CheckDiagnose","kind":5,"href":"document_reader/CheckDiagnose.html"}},{"name":"values","qualifiedName":"document_reader.CheckDiagnose.values","href":"document_reader/CheckDiagnose/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CheckDiagnose","kind":5,"href":"document_reader/CheckDiagnose.html"}},{"name":"CheckResult","qualifiedName":"document_reader.CheckResult","href":"document_reader/CheckResult.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CheckResult","qualifiedName":"document_reader.CheckResult.CheckResult","href":"document_reader/CheckResult/CheckResult.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CheckResult","kind":5,"href":"document_reader/CheckResult.html"}},{"name":"value","qualifiedName":"document_reader.CheckResult.value","href":"document_reader/CheckResult/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CheckResult","kind":5,"href":"document_reader/CheckResult.html"}},{"name":"values","qualifiedName":"document_reader.CheckResult.values","href":"document_reader/CheckResult/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CheckResult","kind":5,"href":"document_reader/CheckResult.html"}},{"name":"ChipDetectedCompletion","qualifiedName":"document_reader.ChipDetectedCompletion","href":"document_reader/ChipDetectedCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving signal when RFID chip is recognized\nby a phone and chip reading is started.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Comparison","qualifiedName":"document_reader.Comparison","href":"document_reader/Comparison-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Comparison","qualifiedName":"document_reader.Comparison.Comparison","href":"document_reader/Comparison/Comparison.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Comparison.fromJson","href":"document_reader/Comparison/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"sourceTypeLeft","qualifiedName":"document_reader.Comparison.sourceTypeLeft","href":"document_reader/Comparison/sourceTypeLeft.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The value's origin source.","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"sourceTypeRight","qualifiedName":"document_reader.Comparison.sourceTypeRight","href":"document_reader/Comparison/sourceTypeRight.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The value's origin source.","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"status","qualifiedName":"document_reader.Comparison.status","href":"document_reader/Comparison/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The status of field comparisons.","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Comparison.toJson","href":"document_reader/Comparison/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Comparison","kind":3,"href":"document_reader/Comparison-class.html"}},{"name":"Coordinate","qualifiedName":"document_reader.Coordinate","href":"document_reader/Coordinate-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing point coordinate.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Coordinate","qualifiedName":"document_reader.Coordinate.Coordinate","href":"document_reader/Coordinate/Coordinate.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Coordinate","kind":3,"href":"document_reader/Coordinate-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Coordinate.fromJson","href":"document_reader/Coordinate/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Coordinate","kind":3,"href":"document_reader/Coordinate-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Coordinate.toJson","href":"document_reader/Coordinate/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Coordinate","kind":3,"href":"document_reader/Coordinate-class.html"}},{"name":"x","qualifiedName":"document_reader.Coordinate.x","href":"document_reader/Coordinate/x.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Coordinate","kind":3,"href":"document_reader/Coordinate-class.html"}},{"name":"y","qualifiedName":"document_reader.Coordinate.y","href":"document_reader/Coordinate/y.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Coordinate","kind":3,"href":"document_reader/Coordinate-class.html"}},{"name":"CustomButtonTag","qualifiedName":"document_reader.CustomButtonTag","href":"document_reader/CustomButtonTag.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Button tags for UI customization.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CustomButtonTag","qualifiedName":"document_reader.CustomButtonTag.CustomButtonTag","href":"document_reader/CustomButtonTag/CustomButtonTag.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomButtonTag","kind":5,"href":"document_reader/CustomButtonTag.html"}},{"name":"value","qualifiedName":"document_reader.CustomButtonTag.value","href":"document_reader/CustomButtonTag/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomButtonTag","kind":5,"href":"document_reader/CustomButtonTag.html"}},{"name":"values","qualifiedName":"document_reader.CustomButtonTag.values","href":"document_reader/CustomButtonTag/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"CustomButtonTag","kind":5,"href":"document_reader/CustomButtonTag.html"}},{"name":"CustomButtonTappedCompletion","qualifiedName":"document_reader.CustomButtonTappedCompletion","href":"document_reader/CustomButtonTappedCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving signal, when a custom button,\nconfigured in Customization.uiCustomizationLayer, is pressed.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Customization","qualifiedName":"document_reader.Customization","href":"document_reader/Customization-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Params that relate to the camera view controller customization and etc.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Customization","qualifiedName":"document_reader.Customization.Customization","href":"document_reader/Customization/Customization.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"activityIndicatorColor","qualifiedName":"document_reader.Customization.activityIndicatorColor","href":"document_reader/Customization/activityIndicatorColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the activity indicator.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"backgroundMaskAlpha","qualifiedName":"document_reader.Customization.backgroundMaskAlpha","href":"document_reader/Customization/backgroundMaskAlpha.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set intensity of the background mask.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"borderBackgroundImage","qualifiedName":"document_reader.Customization.borderBackgroundImage","href":"document_reader/Customization/borderBackgroundImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image within the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"borderBackgroundImageTransformsAndroid","qualifiedName":"document_reader.Customization.borderBackgroundImageTransformsAndroid","href":"document_reader/Customization/borderBackgroundImageTransformsAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Matrix used to scale the view within the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"borderBackgroundImageTransformsIOS","qualifiedName":"document_reader.Customization.borderBackgroundImageTransformsIOS","href":"document_reader/Customization/borderBackgroundImageTransformsIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify how a view within the camera frame adjusts\nits content when its size changes.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameActiveColor","qualifiedName":"document_reader.Customization.cameraFrameActiveColor","href":"document_reader/Customization/cameraFrameActiveColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the camera frame when a document is detected.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameBorderWidth","qualifiedName":"document_reader.Customization.cameraFrameBorderWidth","href":"document_reader/Customization/cameraFrameBorderWidth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set thickness of the camera frame borders.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameCornerRadius","qualifiedName":"document_reader.Customization.cameraFrameCornerRadius","href":"document_reader/Customization/cameraFrameCornerRadius.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a corner radius of the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameDefaultColor","qualifiedName":"document_reader.Customization.cameraFrameDefaultColor","href":"document_reader/Customization/cameraFrameDefaultColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the camera frame when a document is out\nof the camera frame or is not detected.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameLandscapeAspectRatio","qualifiedName":"document_reader.Customization.cameraFrameLandscapeAspectRatio","href":"document_reader/Customization/cameraFrameLandscapeAspectRatio.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set an aspect ratio of the camera frame (landscape orientation).\nDefault: 0.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameLineCap","qualifiedName":"document_reader.Customization.cameraFrameLineCap","href":"document_reader/Customization/cameraFrameLineCap.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to customize the beginning and ending of stroked lines\nof the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameLineLength","qualifiedName":"document_reader.Customization.cameraFrameLineLength","href":"document_reader/Customization/cameraFrameLineLength.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set length of the lines of the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameOffsetWidth","qualifiedName":"document_reader.Customization.cameraFrameOffsetWidth","href":"document_reader/Customization/cameraFrameOffsetWidth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set an offset for the camera frame (portrait orientation).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFramePortraitAspectRatio","qualifiedName":"document_reader.Customization.cameraFramePortraitAspectRatio","href":"document_reader/Customization/cameraFramePortraitAspectRatio.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set an aspect ratio of the camera frame (portrait orientation).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameShapeType","qualifiedName":"document_reader.Customization.cameraFrameShapeType","href":"document_reader/Customization/cameraFrameShapeType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a shape type for the camera frame.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraFrameVerticalPositionMultiplier","qualifiedName":"document_reader.Customization.cameraFrameVerticalPositionMultiplier","href":"document_reader/Customization/cameraFrameVerticalPositionMultiplier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to change the location of the camera frame vertically.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraPreviewBackgroundColor","qualifiedName":"document_reader.Customization.cameraPreviewBackgroundColor","href":"document_reader/Customization/cameraPreviewBackgroundColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a background color for the camera preview\n(top and bottom frames).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"cameraSwitchButtonImage","qualifiedName":"document_reader.Customization.cameraSwitchButtonImage","href":"document_reader/Customization/cameraSwitchButtonImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the button that allows\nchanging positions of the capture device.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"captureButtonImage","qualifiedName":"document_reader.Customization.captureButtonImage","href":"document_reader/Customization/captureButtonImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the capture button.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"changeFrameButtonCollapseImage","qualifiedName":"document_reader.Customization.changeFrameButtonCollapseImage","href":"document_reader/Customization/changeFrameButtonCollapseImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the button that allows changing\nshapes of the camera (collapsed state).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"changeFrameButtonExpandImage","qualifiedName":"document_reader.Customization.changeFrameButtonExpandImage","href":"document_reader/Customization/changeFrameButtonExpandImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the button that allows changing\nshapes of the camera (expanded state).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"closeButtonImage","qualifiedName":"document_reader.Customization.closeButtonImage","href":"document_reader/Customization/closeButtonImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the close button.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"colors","qualifiedName":"document_reader.Customization.colors","href":"document_reader/Customization/colors.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"customLabelStatus","qualifiedName":"document_reader.Customization.customLabelStatus","href":"document_reader/Customization/customLabelStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to create a custom status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"customStatusPositionMultiplier","qualifiedName":"document_reader.Customization.customStatusPositionMultiplier","href":"document_reader/Customization/customStatusPositionMultiplier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to change the location of the custom status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"fonts","qualifiedName":"document_reader.Customization.fonts","href":"document_reader/Customization/fonts.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Customization.fromJson","href":"document_reader/Customization/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"helpAnimationImage","qualifiedName":"document_reader.Customization.helpAnimationImage","href":"document_reader/Customization/helpAnimationImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the help animation.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"helpAnimationImageTransformsAndroid","qualifiedName":"document_reader.Customization.helpAnimationImageTransformsAndroid","href":"document_reader/Customization/helpAnimationImageTransformsAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Matrix used to scale help animation.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"helpAnimationImageTransformsIOS","qualifiedName":"document_reader.Customization.helpAnimationImageTransformsIOS","href":"document_reader/Customization/helpAnimationImageTransformsIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify how a view of the help animation adjusts\nits content when its size changes.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"images","qualifiedName":"document_reader.Customization.images","href":"document_reader/Customization/images.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"livenessAnimationImage","qualifiedName":"document_reader.Customization.livenessAnimationImage","href":"document_reader/Customization/livenessAnimationImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the liveness animation.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"livenessAnimationImageTransformsAndroid","qualifiedName":"document_reader.Customization.livenessAnimationImageTransformsAndroid","href":"document_reader/Customization/livenessAnimationImageTransformsAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Matrix used to scale liveness animation.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"livenessAnimationImageTransformsIOS","qualifiedName":"document_reader.Customization.livenessAnimationImageTransformsIOS","href":"document_reader/Customization/livenessAnimationImageTransformsIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify how a view of the liveness animation\nadjusts its content when its size changes.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"livenessAnimationPositionMultiplier","qualifiedName":"document_reader.Customization.livenessAnimationPositionMultiplier","href":"document_reader/Customization/livenessAnimationPositionMultiplier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to change the location of the liveness animation.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationBackImage","qualifiedName":"document_reader.Customization.multipageAnimationBackImage","href":"document_reader/Customization/multipageAnimationBackImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the multipage animation (back side).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationBackImageTransformsAndroid","qualifiedName":"document_reader.Customization.multipageAnimationBackImageTransformsAndroid","href":"document_reader/Customization/multipageAnimationBackImageTransformsAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Matrix used to scale multipage animation (back side).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationBackImageTransformsIOS","qualifiedName":"document_reader.Customization.multipageAnimationBackImageTransformsIOS","href":"document_reader/Customization/multipageAnimationBackImageTransformsIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify how a view of the multipage animation (back side)\nadjusts its content when its size changes.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationFrontImage","qualifiedName":"document_reader.Customization.multipageAnimationFrontImage","href":"document_reader/Customization/multipageAnimationFrontImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the multipage animation (front side).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationFrontImageTransformsAndroid","qualifiedName":"document_reader.Customization.multipageAnimationFrontImageTransformsAndroid","href":"document_reader/Customization/multipageAnimationFrontImageTransformsAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Matrix used to scale multipage animation (front side).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageAnimationFrontImageTransformsIOS","qualifiedName":"document_reader.Customization.multipageAnimationFrontImageTransformsIOS","href":"document_reader/Customization/multipageAnimationFrontImageTransformsIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify how a view of the multipage animation (front side)\nadjusts its content when its size changes.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"multipageButtonBackgroundColor","qualifiedName":"document_reader.Customization.multipageButtonBackgroundColor","href":"document_reader/Customization/multipageButtonBackgroundColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the \"Skip next page\" button.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"resultStatus","qualifiedName":"document_reader.Customization.resultStatus","href":"document_reader/Customization/resultStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any string to the result status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"resultStatusBackgroundColor","qualifiedName":"document_reader.Customization.resultStatusBackgroundColor","href":"document_reader/Customization/resultStatusBackgroundColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color of the background for the result status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"resultStatusPositionMultiplier","qualifiedName":"document_reader.Customization.resultStatusPositionMultiplier","href":"document_reader/Customization/resultStatusPositionMultiplier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to change the location of the result status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"resultStatusTextColor","qualifiedName":"document_reader.Customization.resultStatusTextColor","href":"document_reader/Customization/resultStatusTextColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the result status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"resultStatusTextFont","qualifiedName":"document_reader.Customization.resultStatusTextFont","href":"document_reader/Customization/resultStatusTextFont.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a font for the result status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"showBackgroundMask","qualifiedName":"document_reader.Customization.showBackgroundMask","href":"document_reader/Customization/showBackgroundMask.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the background mask next to the camera frame\nwill be displayed.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"showHelpAnimation","qualifiedName":"document_reader.Customization.showHelpAnimation","href":"document_reader/Customization/showHelpAnimation.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the animation showing how to position a document\nwill be displayed.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"showNextPageAnimation","qualifiedName":"document_reader.Customization.showNextPageAnimation","href":"document_reader/Customization/showNextPageAnimation.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the animation asking for processing\nthe next page will be displayed.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"showResultStatusMessages","qualifiedName":"document_reader.Customization.showResultStatusMessages","href":"document_reader/Customization/showResultStatusMessages.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, result status messages during the document processing\nwill be shown.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"showStatusMessages","qualifiedName":"document_reader.Customization.showStatusMessages","href":"document_reader/Customization/showStatusMessages.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, status messages during the document processing\nwill be shown.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"status","qualifiedName":"document_reader.Customization.status","href":"document_reader/Customization/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any string to the status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"statusBackgroundColor","qualifiedName":"document_reader.Customization.statusBackgroundColor","href":"document_reader/Customization/statusBackgroundColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a background color for the status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"statusPositionMultiplier","qualifiedName":"document_reader.Customization.statusPositionMultiplier","href":"document_reader/Customization/statusPositionMultiplier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to change the location of the status.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"statusTextColor","qualifiedName":"document_reader.Customization.statusTextColor","href":"document_reader/Customization/statusTextColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for the status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"statusTextFont","qualifiedName":"document_reader.Customization.statusTextFont","href":"document_reader/Customization/statusTextFont.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a font for the status messages.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.Customization.testSetters","href":"document_reader/Customization/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"tintColor","qualifiedName":"document_reader.Customization.tintColor","href":"document_reader/Customization/tintColor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a color for all visual elements.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Customization.toJson","href":"document_reader/Customization/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"toolbarSize","qualifiedName":"document_reader.Customization.toolbarSize","href":"document_reader/Customization/toolbarSize.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set a size for the toolbar\n(it's where all buttons are located).","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"torchButtonOffImage","qualifiedName":"document_reader.Customization.torchButtonOffImage","href":"document_reader/Customization/torchButtonOffImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the torch button when its state is OFF.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"torchButtonOnImage","qualifiedName":"document_reader.Customization.torchButtonOnImage","href":"document_reader/Customization/torchButtonOnImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set any image for the torch button when its state is ON.","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"uiCustomizationLayer","qualifiedName":"document_reader.Customization.uiCustomizationLayer","href":"document_reader/Customization/uiCustomizationLayer.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"JSON structure defining labels and graphic elements\nto be added to the Camera UI","enclosedBy":{"name":"Customization","kind":3,"href":"document_reader/Customization-class.html"}},{"name":"CustomizationColors","qualifiedName":"document_reader.CustomizationColors","href":"document_reader/CustomizationColors-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CustomizationColors","qualifiedName":"document_reader.CustomizationColors.CustomizationColors","href":"document_reader/CustomizationColors/CustomizationColors.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CustomizationColors.fromJson","href":"document_reader/CustomizationColors/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenBackground","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenBackground","href":"document_reader/CustomizationColors/rfidProcessingScreenBackground.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenHintLabelBackground","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenHintLabelBackground","href":"document_reader/CustomizationColors/rfidProcessingScreenHintLabelBackground.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenHintLabelText","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenHintLabelText","href":"document_reader/CustomizationColors/rfidProcessingScreenHintLabelText.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenProgressBar","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenProgressBar","href":"document_reader/CustomizationColors/rfidProcessingScreenProgressBar.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenProgressBarBackground","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenProgressBarBackground","href":"document_reader/CustomizationColors/rfidProcessingScreenProgressBarBackground.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenProgressLabelText","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenProgressLabelText","href":"document_reader/CustomizationColors/rfidProcessingScreenProgressLabelText.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"rfidProcessingScreenResultLabelText","qualifiedName":"document_reader.CustomizationColors.rfidProcessingScreenResultLabelText","href":"document_reader/CustomizationColors/rfidProcessingScreenResultLabelText.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.CustomizationColors.testSetters","href":"document_reader/CustomizationColors/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CustomizationColors.toJson","href":"document_reader/CustomizationColors/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CustomizationColors","kind":3,"href":"document_reader/CustomizationColors-class.html"}},{"name":"CustomizationFonts","qualifiedName":"document_reader.CustomizationFonts","href":"document_reader/CustomizationFonts-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CustomizationFonts","qualifiedName":"document_reader.CustomizationFonts.CustomizationFonts","href":"document_reader/CustomizationFonts/CustomizationFonts.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CustomizationFonts.fromJson","href":"document_reader/CustomizationFonts/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"rfidProcessingScreenHintLabel","qualifiedName":"document_reader.CustomizationFonts.rfidProcessingScreenHintLabel","href":"document_reader/CustomizationFonts/rfidProcessingScreenHintLabel.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"rfidProcessingScreenProgressLabel","qualifiedName":"document_reader.CustomizationFonts.rfidProcessingScreenProgressLabel","href":"document_reader/CustomizationFonts/rfidProcessingScreenProgressLabel.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"rfidProcessingScreenResultLabel","qualifiedName":"document_reader.CustomizationFonts.rfidProcessingScreenResultLabel","href":"document_reader/CustomizationFonts/rfidProcessingScreenResultLabel.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.CustomizationFonts.testSetters","href":"document_reader/CustomizationFonts/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CustomizationFonts.toJson","href":"document_reader/CustomizationFonts/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CustomizationFonts","kind":3,"href":"document_reader/CustomizationFonts-class.html"}},{"name":"CustomizationImages","qualifiedName":"document_reader.CustomizationImages","href":"document_reader/CustomizationImages-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"CustomizationImages","qualifiedName":"document_reader.CustomizationImages.CustomizationImages","href":"document_reader/CustomizationImages/CustomizationImages.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationImages","kind":3,"href":"document_reader/CustomizationImages-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.CustomizationImages.fromJson","href":"document_reader/CustomizationImages/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"CustomizationImages","kind":3,"href":"document_reader/CustomizationImages-class.html"}},{"name":"rfidProcessingScreenFailureImage","qualifiedName":"document_reader.CustomizationImages.rfidProcessingScreenFailureImage","href":"document_reader/CustomizationImages/rfidProcessingScreenFailureImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationImages","kind":3,"href":"document_reader/CustomizationImages-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.CustomizationImages.testSetters","href":"document_reader/CustomizationImages/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"CustomizationImages","kind":3,"href":"document_reader/CustomizationImages-class.html"}},{"name":"toJson","qualifiedName":"document_reader.CustomizationImages.toJson","href":"document_reader/CustomizationImages/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"CustomizationImages","kind":3,"href":"document_reader/CustomizationImages-class.html"}},{"name":"DataField","qualifiedName":"document_reader.DataField","href":"document_reader/DataField-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DataField","qualifiedName":"document_reader.DataField.DataField","href":"document_reader/DataField/DataField.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DataField","kind":3,"href":"document_reader/DataField-class.html"}},{"name":"data","qualifiedName":"document_reader.DataField.data","href":"document_reader/DataField/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DataField","kind":3,"href":"document_reader/DataField-class.html"}},{"name":"fieldType","qualifiedName":"document_reader.DataField.fieldType","href":"document_reader/DataField/fieldType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DataField","kind":3,"href":"document_reader/DataField-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DataField.fromJson","href":"document_reader/DataField/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"DataField","kind":3,"href":"document_reader/DataField-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DataField.toJson","href":"document_reader/DataField/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"DataField","kind":3,"href":"document_reader/DataField-class.html"}},{"name":"DocFormat","qualifiedName":"document_reader.DocFormat","href":"document_reader/DocFormat.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Defining the geometric format of documents in accordance with ISO / IEC 7810.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocFormat","qualifiedName":"document_reader.DocFormat.DocFormat","href":"document_reader/DocFormat/DocFormat.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocFormat","kind":5,"href":"document_reader/DocFormat.html"}},{"name":"value","qualifiedName":"document_reader.DocFormat.value","href":"document_reader/DocFormat/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocFormat","kind":5,"href":"document_reader/DocFormat.html"}},{"name":"values","qualifiedName":"document_reader.DocFormat.values","href":"document_reader/DocFormat/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"DocFormat","kind":5,"href":"document_reader/DocFormat.html"}},{"name":"DocReaderAction","qualifiedName":"document_reader.DocReaderAction","href":"document_reader/DocReaderAction.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Contains all possible DocumentReaderNotification callback codes","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderAction","qualifiedName":"document_reader.DocReaderAction.DocReaderAction","href":"document_reader/DocReaderAction/DocReaderAction.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"finished","qualifiedName":"document_reader.DocReaderAction.finished","href":"document_reader/DocReaderAction/finished.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"interrupted","qualifiedName":"document_reader.DocReaderAction.interrupted","href":"document_reader/DocReaderAction/interrupted.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"stopped","qualifiedName":"document_reader.DocReaderAction.stopped","href":"document_reader/DocReaderAction/stopped.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"value","qualifiedName":"document_reader.DocReaderAction.value","href":"document_reader/DocReaderAction/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"values","qualifiedName":"document_reader.DocReaderAction.values","href":"document_reader/DocReaderAction/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"DocReaderAction","kind":5,"href":"document_reader/DocReaderAction.html"}},{"name":"DocReaderException","qualifiedName":"document_reader.DocReaderException","href":"document_reader/DocReaderException-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderException","qualifiedName":"document_reader.DocReaderException.DocReaderException","href":"document_reader/DocReaderException/DocReaderException.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderException","kind":3,"href":"document_reader/DocReaderException-class.html"}},{"name":"code","qualifiedName":"document_reader.DocReaderException.code","href":"document_reader/DocReaderException/code.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderException","kind":3,"href":"document_reader/DocReaderException-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DocReaderException.fromJson","href":"document_reader/DocReaderException/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderException","kind":3,"href":"document_reader/DocReaderException-class.html"}},{"name":"message","qualifiedName":"document_reader.DocReaderException.message","href":"document_reader/DocReaderException/message.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderException","kind":3,"href":"document_reader/DocReaderException-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DocReaderException.toJson","href":"document_reader/DocReaderException/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderException","kind":3,"href":"document_reader/DocReaderException-class.html"}},{"name":"DocReaderFrame","qualifiedName":"document_reader.DocReaderFrame","href":"document_reader/DocReaderFrame.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderFrame","qualifiedName":"document_reader.DocReaderFrame.DocReaderFrame","href":"document_reader/DocReaderFrame/DocReaderFrame.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderFrame","kind":5,"href":"document_reader/DocReaderFrame.html"}},{"name":"value","qualifiedName":"document_reader.DocReaderFrame.value","href":"document_reader/DocReaderFrame/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderFrame","kind":5,"href":"document_reader/DocReaderFrame.html"}},{"name":"values","qualifiedName":"document_reader.DocReaderFrame.values","href":"document_reader/DocReaderFrame/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"DocReaderFrame","kind":5,"href":"document_reader/DocReaderFrame.html"}},{"name":"DocReaderOrientation","qualifiedName":"document_reader.DocReaderOrientation","href":"document_reader/DocReaderOrientation.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Contains set of values of the application's orientation.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderOrientation","qualifiedName":"document_reader.DocReaderOrientation.DocReaderOrientation","href":"document_reader/DocReaderOrientation/DocReaderOrientation.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderOrientation","kind":5,"href":"document_reader/DocReaderOrientation.html"}},{"name":"value","qualifiedName":"document_reader.DocReaderOrientation.value","href":"document_reader/DocReaderOrientation/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderOrientation","kind":5,"href":"document_reader/DocReaderOrientation.html"}},{"name":"values","qualifiedName":"document_reader.DocReaderOrientation.values","href":"document_reader/DocReaderOrientation/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"DocReaderOrientation","kind":5,"href":"document_reader/DocReaderOrientation.html"}},{"name":"DocReaderScenario","qualifiedName":"document_reader.DocReaderScenario","href":"document_reader/DocReaderScenario-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderScenario","qualifiedName":"document_reader.DocReaderScenario.DocReaderScenario","href":"document_reader/DocReaderScenario/DocReaderScenario.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"caption","qualifiedName":"document_reader.DocReaderScenario.caption","href":"document_reader/DocReaderScenario/caption.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"string representation of scenario ID.","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"description","qualifiedName":"document_reader.DocReaderScenario.description","href":"document_reader/DocReaderScenario/description.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Description of the scenario.","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"faceExt","qualifiedName":"document_reader.DocReaderScenario.faceExt","href":"document_reader/DocReaderScenario/faceExt.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"frameKWHDoublePageSpreadLandscape","qualifiedName":"document_reader.DocReaderScenario.frameKWHDoublePageSpreadLandscape","href":"document_reader/DocReaderScenario/frameKWHDoublePageSpreadLandscape.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"frameKWHDoublePageSpreadPortrait","qualifiedName":"document_reader.DocReaderScenario.frameKWHDoublePageSpreadPortrait","href":"document_reader/DocReaderScenario/frameKWHDoublePageSpreadPortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"frameKWHLandscape","qualifiedName":"document_reader.DocReaderScenario.frameKWHLandscape","href":"document_reader/DocReaderScenario/frameKWHLandscape.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"frameKWHPortrait","qualifiedName":"document_reader.DocReaderScenario.frameKWHPortrait","href":"document_reader/DocReaderScenario/frameKWHPortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"frameOrientation","qualifiedName":"document_reader.DocReaderScenario.frameOrientation","href":"document_reader/DocReaderScenario/frameOrientation.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Available orientation for scenario.","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DocReaderScenario.fromJson","href":"document_reader/DocReaderScenario/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"manualCrop","qualifiedName":"document_reader.DocReaderScenario.manualCrop","href":"document_reader/DocReaderScenario/manualCrop.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"multiPageOff","qualifiedName":"document_reader.DocReaderScenario.multiPageOff","href":"document_reader/DocReaderScenario/multiPageOff.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"name","qualifiedName":"document_reader.DocReaderScenario.name","href":"document_reader/DocReaderScenario/name.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"ID of the scenario.","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"seriesProcessMode","qualifiedName":"document_reader.DocReaderScenario.seriesProcessMode","href":"document_reader/DocReaderScenario/seriesProcessMode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DocReaderScenario.toJson","href":"document_reader/DocReaderScenario/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"uvTorch","qualifiedName":"document_reader.DocReaderScenario.uvTorch","href":"document_reader/DocReaderScenario/uvTorch.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderScenario","kind":3,"href":"document_reader/DocReaderScenario-class.html"}},{"name":"DocReaderVersion","qualifiedName":"document_reader.DocReaderVersion","href":"document_reader/DocReaderVersion-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains properties to get the information about the SDK.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocReaderVersion","qualifiedName":"document_reader.DocReaderVersion.DocReaderVersion","href":"document_reader/DocReaderVersion/DocReaderVersion.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"api","qualifiedName":"document_reader.DocReaderVersion.api","href":"document_reader/DocReaderVersion/api.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A version of the API framework.","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"core","qualifiedName":"document_reader.DocReaderVersion.core","href":"document_reader/DocReaderVersion/core.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A version of the Core framework.","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"coreMode","qualifiedName":"document_reader.DocReaderVersion.coreMode","href":"document_reader/DocReaderVersion/coreMode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A type of the Core framework.","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"database","qualifiedName":"document_reader.DocReaderVersion.database","href":"document_reader/DocReaderVersion/database.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A version of the database.","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DocReaderVersion.fromJson","href":"document_reader/DocReaderVersion/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DocReaderVersion.toJson","href":"document_reader/DocReaderVersion/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocReaderVersion","kind":3,"href":"document_reader/DocReaderVersion-class.html"}},{"name":"DocType","qualifiedName":"document_reader.DocType","href":"document_reader/DocType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocType","qualifiedName":"document_reader.DocType.DocType","href":"document_reader/DocType/DocType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocType","kind":5,"href":"document_reader/DocType.html"}},{"name":"value","qualifiedName":"document_reader.DocType.value","href":"document_reader/DocType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocType","kind":5,"href":"document_reader/DocType.html"}},{"name":"values","qualifiedName":"document_reader.DocType.values","href":"document_reader/DocType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"DocType","kind":5,"href":"document_reader/DocType.html"}},{"name":"DocumentReader","qualifiedName":"document_reader.DocumentReader","href":"document_reader/DocumentReader-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Entry point of the Regula DocumentReader SDK.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"addPKDCertificates","qualifiedName":"document_reader.DocumentReader.addPKDCertificates","href":"document_reader/DocumentReader/addPKDCertificates.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to pass certificates to Document Reader that will be used during the\nRFID chip processing.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"availableScenarios","qualifiedName":"document_reader.DocumentReader.availableScenarios","href":"document_reader/DocumentReader/availableScenarios.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A list of scenarios that can be used for documents recognition based on\nyour license and Core framework capabilities.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"cancelDBUpdate","qualifiedName":"document_reader.DocumentReader.cancelDBUpdate","href":"document_reader/DocumentReader/cancelDBUpdate.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to cancel the database update.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"checkDatabaseUpdate","qualifiedName":"document_reader.DocumentReader.checkDatabaseUpdate","href":"document_reader/DocumentReader/checkDatabaseUpdate.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to to check database update.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"clearPKDCertificates","qualifiedName":"document_reader.DocumentReader.clearPKDCertificates","href":"document_reader/DocumentReader/clearPKDCertificates.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"It's used to remove certificates from your app that are used during the\nRFID chip processing.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"customization","qualifiedName":"document_reader.DocumentReader.customization","href":"document_reader/DocumentReader/customization.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Params that relate to the camera view controller customization and etc.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"deinitializeReader","qualifiedName":"document_reader.DocumentReader.deinitializeReader","href":"document_reader/DocumentReader/deinitializeReader.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to deinitialize Document Reader and free up RAM as a\nconsequence of this.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"finalizePackage","qualifiedName":"document_reader.DocumentReader.finalizePackage","href":"document_reader/DocumentReader/finalizePackage.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"functionality","qualifiedName":"document_reader.DocumentReader.functionality","href":"document_reader/DocumentReader/functionality.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the scanning process, camera view controller\ncustomization and etc.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"initializeReader","qualifiedName":"document_reader.DocumentReader.initializeReader","href":"document_reader/DocumentReader/initializeReader.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to initialize Document Reader.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"instance","qualifiedName":"document_reader.DocumentReader.instance","href":"document_reader/DocumentReader/instance.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The only instanse of singleton class DocumentReader.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"isAuthenticatorAvailableForUse","qualifiedName":"document_reader.DocumentReader.isAuthenticatorAvailableForUse","href":"document_reader/DocumentReader/isAuthenticatorAvailableForUse.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to check if you can use external Regula Bluetooth devices based\non your license and Core framework capabilities.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"isBlePermissionsGranted","qualifiedName":"document_reader.DocumentReader.isBlePermissionsGranted","href":"document_reader/DocumentReader/isBlePermissionsGranted.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Checks if the app has all the required bluetooth permissions.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"isRFIDAvailableForUse","qualifiedName":"document_reader.DocumentReader.isRFIDAvailableForUse","href":"document_reader/DocumentReader/isRFIDAvailableForUse.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to check if RFID chip reading can be performed based on your\nlicense and Core framework capabilities.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"isReady","qualifiedName":"document_reader.DocumentReader.isReady","href":"document_reader/DocumentReader/isReady.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to check if Document Reader is ready for use.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"license","qualifiedName":"document_reader.DocumentReader.license","href":"document_reader/DocumentReader/license.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Information about your license.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"localizationDictionary","qualifiedName":"document_reader.DocumentReader.localizationDictionary","href":"document_reader/DocumentReader/localizationDictionary.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A localization dictionary to override default localization logic.\nAllows to replace any string of DocumentReader SDK with an arbitrary string.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"onCustomButtonTapped","qualifiedName":"document_reader.DocumentReader.onCustomButtonTapped","href":"document_reader/DocumentReader/onCustomButtonTapped.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"prepareDatabase","qualifiedName":"document_reader.DocumentReader.prepareDatabase","href":"document_reader/DocumentReader/prepareDatabase.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to download a database from the Regula server. If it exists\nin your app and compatible with the SDK, it won't be downloaded.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"processParams","qualifiedName":"document_reader.DocumentReader.processParams","href":"document_reader/DocumentReader/processParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the scanning process.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"recognize","qualifiedName":"document_reader.DocumentReader.recognize","href":"document_reader/DocumentReader/recognize.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used for proccessing predefined images.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"removeDatabase","qualifiedName":"document_reader.DocumentReader.removeDatabase","href":"document_reader/DocumentReader/removeDatabase.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to remove the database from your app.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"resetConfiguration","qualifiedName":"document_reader.DocumentReader.resetConfiguration","href":"document_reader/DocumentReader/resetConfiguration.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Use this method to reset all parameters to their default values.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"rfid","qualifiedName":"document_reader.DocumentReader.rfid","href":"document_reader/DocumentReader/rfid.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used for the RFID chip processing.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"rfidScenario","qualifiedName":"document_reader.DocumentReader.rfidScenario","href":"document_reader/DocumentReader/rfidScenario.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the RFID chip processing.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"rfidSessionStatus","qualifiedName":"document_reader.DocumentReader.rfidSessionStatus","href":"document_reader/DocumentReader/rfidSessionStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a status of the RFID chip reading process.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"runAutoUpdate","qualifiedName":"document_reader.DocumentReader.runAutoUpdate","href":"document_reader/DocumentReader/runAutoUpdate.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to download a database from the Regula server.\nEach new update of the database will be downloaded.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"scan","qualifiedName":"document_reader.DocumentReader.scan","href":"document_reader/DocumentReader/scan.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used for multiple frames processing which are captured from the camera.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"setTCCParams","qualifiedName":"document_reader.DocumentReader.setTCCParams","href":"document_reader/DocumentReader/setTCCParams.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Sets the given TCCParams to the RFID session.\nThe parameters are required to be set before starting RFID session.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"startBluetoothService","qualifiedName":"document_reader.DocumentReader.startBluetoothService","href":"document_reader/DocumentReader/startBluetoothService.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to connect to the ble device.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"startNewPage","qualifiedName":"document_reader.DocumentReader.startNewPage","href":"document_reader/DocumentReader/startNewPage.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to start the processing of the next page of the document once the\ncurrent one is processed.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"startNewSession","qualifiedName":"document_reader.DocumentReader.startNewSession","href":"document_reader/DocumentReader/startNewSession.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to start a scanning process.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"status","qualifiedName":"document_reader.DocumentReader.status","href":"document_reader/DocumentReader/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a status of Document Reader.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"stopRFIDReader","qualifiedName":"document_reader.DocumentReader.stopRFIDReader","href":"document_reader/DocumentReader/stopRFIDReader.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to stop the scanning process.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"stopScanner","qualifiedName":"document_reader.DocumentReader.stopScanner","href":"document_reader/DocumentReader/stopScanner.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Used to stop the scanning process.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"tag","qualifiedName":"document_reader.DocumentReader.tag","href":"document_reader/DocumentReader/tag.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Current Session identifier.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"version","qualifiedName":"document_reader.DocumentReader.version","href":"document_reader/DocumentReader/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Information about the SDK.","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"videoEncoderCompletion","qualifiedName":"document_reader.DocumentReader.videoEncoderCompletion","href":"document_reader/DocumentReader/videoEncoderCompletion.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows user to receive a video file of current session","enclosedBy":{"name":"DocumentReader","kind":3,"href":"document_reader/DocumentReader-class.html"}},{"name":"DocumentReaderCompletion","qualifiedName":"document_reader.DocumentReaderCompletion","href":"document_reader/DocumentReaderCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving answer from processing engine.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocumentReaderPrepareCompletion","qualifiedName":"document_reader.DocumentReaderPrepareCompletion","href":"document_reader/DocumentReaderPrepareCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving notifications on Documents Database preparation.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocumentType","qualifiedName":"document_reader.DocumentType","href":"document_reader/DocumentType-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocumentType","qualifiedName":"document_reader.DocumentType.DocumentType","href":"document_reader/DocumentType/DocumentType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"countryName","qualifiedName":"document_reader.DocumentType.countryName","href":"document_reader/DocumentType/countryName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document issuing country name.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"description","qualifiedName":"document_reader.DocumentType.description","href":"document_reader/DocumentType/description.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document description text.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"fDSID","qualifiedName":"document_reader.DocumentType.fDSID","href":"document_reader/DocumentType/fDSID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An array of IRS document identifiers.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"format","qualifiedName":"document_reader.DocumentType.format","href":"document_reader/DocumentType/format.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document format.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DocumentType.fromJson","href":"document_reader/DocumentType/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"iCAOCode","qualifiedName":"document_reader.DocumentType.iCAOCode","href":"document_reader/DocumentType/iCAOCode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document issuing country ICAO code.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"id","qualifiedName":"document_reader.DocumentType.id","href":"document_reader/DocumentType/id.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document type numeric code.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"isDeprecated","qualifiedName":"document_reader.DocumentType.isDeprecated","href":"document_reader/DocumentType/isDeprecated.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document deprecation.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"mrz","qualifiedName":"document_reader.DocumentType.mrz","href":"document_reader/DocumentType/mrz.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Flag for MRZ presence on a document.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"name","qualifiedName":"document_reader.DocumentType.name","href":"document_reader/DocumentType/name.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document type name.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.DocumentType.pageIndex","href":"document_reader/DocumentType/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An index of the document page whence results are received.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DocumentType.toJson","href":"document_reader/DocumentType/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"type","qualifiedName":"document_reader.DocumentType.type","href":"document_reader/DocumentType/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document type.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"year","qualifiedName":"document_reader.DocumentType.year","href":"document_reader/DocumentType/year.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document issue year.","enclosedBy":{"name":"DocumentType","kind":3,"href":"document_reader/DocumentType-class.html"}},{"name":"DocumentsDatabase","qualifiedName":"document_reader.DocumentsDatabase","href":"document_reader/DocumentsDatabase-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains properties to get the information about the database.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"DocumentsDatabase","qualifiedName":"document_reader.DocumentsDatabase.DocumentsDatabase","href":"document_reader/DocumentsDatabase/DocumentsDatabase.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"countriesNumber","qualifiedName":"document_reader.DocumentsDatabase.countriesNumber","href":"document_reader/DocumentsDatabase/countriesNumber.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A number of countries included in the database.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"databaseDescription","qualifiedName":"document_reader.DocumentsDatabase.databaseDescription","href":"document_reader/DocumentsDatabase/databaseDescription.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A list of supported documents in the database.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"databaseID","qualifiedName":"document_reader.DocumentsDatabase.databaseID","href":"document_reader/DocumentsDatabase/databaseID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An ID of the database, e.g. BLR, RUS.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"date","qualifiedName":"document_reader.DocumentsDatabase.date","href":"document_reader/DocumentsDatabase/date.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A date when the database was created.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"documentsNumber","qualifiedName":"document_reader.DocumentsDatabase.documentsNumber","href":"document_reader/DocumentsDatabase/documentsNumber.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A number of documents included in the database.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.DocumentsDatabase.fromJson","href":"document_reader/DocumentsDatabase/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"size","qualifiedName":"document_reader.DocumentsDatabase.size","href":"document_reader/DocumentsDatabase/size.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Database size. In bytes.\nAvailable for database update check.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"toJson","qualifiedName":"document_reader.DocumentsDatabase.toJson","href":"document_reader/DocumentsDatabase/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"version","qualifiedName":"document_reader.DocumentsDatabase.version","href":"document_reader/DocumentsDatabase/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A version of the database.","enclosedBy":{"name":"DocumentsDatabase","kind":3,"href":"document_reader/DocumentsDatabase-class.html"}},{"name":"EDLDataGroups","qualifiedName":"document_reader.EDLDataGroups","href":"document_reader/EDLDataGroups-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"EDLDataGroups","qualifiedName":"document_reader.EDLDataGroups.EDLDataGroups","href":"document_reader/EDLDataGroups/EDLDataGroups.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg1","qualifiedName":"document_reader.EDLDataGroups.dg1","href":"document_reader/EDLDataGroups/dg1.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg2","qualifiedName":"document_reader.EDLDataGroups.dg2","href":"document_reader/EDLDataGroups/dg2.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg3","qualifiedName":"document_reader.EDLDataGroups.dg3","href":"document_reader/EDLDataGroups/dg3.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg4","qualifiedName":"document_reader.EDLDataGroups.dg4","href":"document_reader/EDLDataGroups/dg4.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg5","qualifiedName":"document_reader.EDLDataGroups.dg5","href":"document_reader/EDLDataGroups/dg5.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg6","qualifiedName":"document_reader.EDLDataGroups.dg6","href":"document_reader/EDLDataGroups/dg6.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg7","qualifiedName":"document_reader.EDLDataGroups.dg7","href":"document_reader/EDLDataGroups/dg7.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg8","qualifiedName":"document_reader.EDLDataGroups.dg8","href":"document_reader/EDLDataGroups/dg8.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg9","qualifiedName":"document_reader.EDLDataGroups.dg9","href":"document_reader/EDLDataGroups/dg9.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg10","qualifiedName":"document_reader.EDLDataGroups.dg10","href":"document_reader/EDLDataGroups/dg10.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg11","qualifiedName":"document_reader.EDLDataGroups.dg11","href":"document_reader/EDLDataGroups/dg11.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg12","qualifiedName":"document_reader.EDLDataGroups.dg12","href":"document_reader/EDLDataGroups/dg12.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg13","qualifiedName":"document_reader.EDLDataGroups.dg13","href":"document_reader/EDLDataGroups/dg13.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"dg14","qualifiedName":"document_reader.EDLDataGroups.dg14","href":"document_reader/EDLDataGroups/dg14.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.EDLDataGroups.fromJson","href":"document_reader/EDLDataGroups/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.EDLDataGroups.testSetters","href":"document_reader/EDLDataGroups/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"toJson","qualifiedName":"document_reader.EDLDataGroups.toJson","href":"document_reader/EDLDataGroups/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"EDLDataGroups","kind":3,"href":"document_reader/EDLDataGroups-class.html"}},{"name":"EIDDataGroups","qualifiedName":"document_reader.EIDDataGroups","href":"document_reader/EIDDataGroups-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"EIDDataGroups","qualifiedName":"document_reader.EIDDataGroups.EIDDataGroups","href":"document_reader/EIDDataGroups/EIDDataGroups.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg1","qualifiedName":"document_reader.EIDDataGroups.dg1","href":"document_reader/EIDDataGroups/dg1.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg2","qualifiedName":"document_reader.EIDDataGroups.dg2","href":"document_reader/EIDDataGroups/dg2.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg3","qualifiedName":"document_reader.EIDDataGroups.dg3","href":"document_reader/EIDDataGroups/dg3.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg4","qualifiedName":"document_reader.EIDDataGroups.dg4","href":"document_reader/EIDDataGroups/dg4.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg5","qualifiedName":"document_reader.EIDDataGroups.dg5","href":"document_reader/EIDDataGroups/dg5.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg6","qualifiedName":"document_reader.EIDDataGroups.dg6","href":"document_reader/EIDDataGroups/dg6.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg7","qualifiedName":"document_reader.EIDDataGroups.dg7","href":"document_reader/EIDDataGroups/dg7.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg8","qualifiedName":"document_reader.EIDDataGroups.dg8","href":"document_reader/EIDDataGroups/dg8.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg9","qualifiedName":"document_reader.EIDDataGroups.dg9","href":"document_reader/EIDDataGroups/dg9.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg10","qualifiedName":"document_reader.EIDDataGroups.dg10","href":"document_reader/EIDDataGroups/dg10.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg11","qualifiedName":"document_reader.EIDDataGroups.dg11","href":"document_reader/EIDDataGroups/dg11.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg12","qualifiedName":"document_reader.EIDDataGroups.dg12","href":"document_reader/EIDDataGroups/dg12.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg13","qualifiedName":"document_reader.EIDDataGroups.dg13","href":"document_reader/EIDDataGroups/dg13.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg14","qualifiedName":"document_reader.EIDDataGroups.dg14","href":"document_reader/EIDDataGroups/dg14.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg15","qualifiedName":"document_reader.EIDDataGroups.dg15","href":"document_reader/EIDDataGroups/dg15.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg16","qualifiedName":"document_reader.EIDDataGroups.dg16","href":"document_reader/EIDDataGroups/dg16.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg17","qualifiedName":"document_reader.EIDDataGroups.dg17","href":"document_reader/EIDDataGroups/dg17.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg18","qualifiedName":"document_reader.EIDDataGroups.dg18","href":"document_reader/EIDDataGroups/dg18.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg19","qualifiedName":"document_reader.EIDDataGroups.dg19","href":"document_reader/EIDDataGroups/dg19.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg20","qualifiedName":"document_reader.EIDDataGroups.dg20","href":"document_reader/EIDDataGroups/dg20.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"dg21","qualifiedName":"document_reader.EIDDataGroups.dg21","href":"document_reader/EIDDataGroups/dg21.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.EIDDataGroups.fromJson","href":"document_reader/EIDDataGroups/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.EIDDataGroups.testSetters","href":"document_reader/EIDDataGroups/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"toJson","qualifiedName":"document_reader.EIDDataGroups.toJson","href":"document_reader/EIDDataGroups/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"EIDDataGroups","kind":3,"href":"document_reader/EIDDataGroups-class.html"}},{"name":"EPassportDataGroups","qualifiedName":"document_reader.EPassportDataGroups","href":"document_reader/EPassportDataGroups-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"EPassportDataGroups","qualifiedName":"document_reader.EPassportDataGroups.EPassportDataGroups","href":"document_reader/EPassportDataGroups/EPassportDataGroups.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg1","qualifiedName":"document_reader.EPassportDataGroups.dg1","href":"document_reader/EPassportDataGroups/dg1.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg2","qualifiedName":"document_reader.EPassportDataGroups.dg2","href":"document_reader/EPassportDataGroups/dg2.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg3","qualifiedName":"document_reader.EPassportDataGroups.dg3","href":"document_reader/EPassportDataGroups/dg3.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg4","qualifiedName":"document_reader.EPassportDataGroups.dg4","href":"document_reader/EPassportDataGroups/dg4.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg5","qualifiedName":"document_reader.EPassportDataGroups.dg5","href":"document_reader/EPassportDataGroups/dg5.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg6","qualifiedName":"document_reader.EPassportDataGroups.dg6","href":"document_reader/EPassportDataGroups/dg6.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg7","qualifiedName":"document_reader.EPassportDataGroups.dg7","href":"document_reader/EPassportDataGroups/dg7.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg8","qualifiedName":"document_reader.EPassportDataGroups.dg8","href":"document_reader/EPassportDataGroups/dg8.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg9","qualifiedName":"document_reader.EPassportDataGroups.dg9","href":"document_reader/EPassportDataGroups/dg9.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg10","qualifiedName":"document_reader.EPassportDataGroups.dg10","href":"document_reader/EPassportDataGroups/dg10.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg11","qualifiedName":"document_reader.EPassportDataGroups.dg11","href":"document_reader/EPassportDataGroups/dg11.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg12","qualifiedName":"document_reader.EPassportDataGroups.dg12","href":"document_reader/EPassportDataGroups/dg12.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg13","qualifiedName":"document_reader.EPassportDataGroups.dg13","href":"document_reader/EPassportDataGroups/dg13.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg14","qualifiedName":"document_reader.EPassportDataGroups.dg14","href":"document_reader/EPassportDataGroups/dg14.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg15","qualifiedName":"document_reader.EPassportDataGroups.dg15","href":"document_reader/EPassportDataGroups/dg15.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"dg16","qualifiedName":"document_reader.EPassportDataGroups.dg16","href":"document_reader/EPassportDataGroups/dg16.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.EPassportDataGroups.fromJson","href":"document_reader/EPassportDataGroups/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.EPassportDataGroups.testSetters","href":"document_reader/EPassportDataGroups/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"toJson","qualifiedName":"document_reader.EPassportDataGroups.toJson","href":"document_reader/EPassportDataGroups/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"EPassportDataGroups","kind":3,"href":"document_reader/EPassportDataGroups-class.html"}},{"name":"ErrorCodes","qualifiedName":"document_reader.ErrorCodes","href":"document_reader/ErrorCodes.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enum contains all possible error codes","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ErrorCodes","qualifiedName":"document_reader.ErrorCodes.ErrorCodes","href":"document_reader/ErrorCodes/ErrorCodes.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ErrorCodes","kind":5,"href":"document_reader/ErrorCodes.html"}},{"name":"value","qualifiedName":"document_reader.ErrorCodes.value","href":"document_reader/ErrorCodes/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ErrorCodes","kind":5,"href":"document_reader/ErrorCodes.html"}},{"name":"values","qualifiedName":"document_reader.ErrorCodes.values","href":"document_reader/ErrorCodes/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ErrorCodes","kind":5,"href":"document_reader/ErrorCodes.html"}},{"name":"Extension","qualifiedName":"document_reader.Extension","href":"document_reader/Extension-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Extension","qualifiedName":"document_reader.Extension.Extension","href":"document_reader/Extension/Extension.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Extension","kind":3,"href":"document_reader/Extension-class.html"}},{"name":"data","qualifiedName":"document_reader.Extension.data","href":"document_reader/Extension/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Extension","kind":3,"href":"document_reader/Extension-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Extension.fromJson","href":"document_reader/Extension/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Extension","kind":3,"href":"document_reader/Extension-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Extension.toJson","href":"document_reader/Extension/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Extension","kind":3,"href":"document_reader/Extension-class.html"}},{"name":"type","qualifiedName":"document_reader.Extension.type","href":"document_reader/Extension/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Extension","kind":3,"href":"document_reader/Extension-class.html"}},{"name":"FaceApiParams","qualifiedName":"document_reader.FaceApiParams","href":"document_reader/FaceApiParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FaceApiParams","qualifiedName":"document_reader.FaceApiParams.FaceApiParams","href":"document_reader/FaceApiParams/FaceApiParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.FaceApiParams.fromJson","href":"document_reader/FaceApiParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"mode","qualifiedName":"document_reader.FaceApiParams.mode","href":"document_reader/FaceApiParams/mode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The processing mode: \"match\" or \"match+search\".","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"proxy","qualifiedName":"document_reader.FaceApiParams.proxy","href":"document_reader/FaceApiParams/proxy.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Proxy to use, should be set according to the cURL standart.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"proxyPassword","qualifiedName":"document_reader.FaceApiParams.proxyPassword","href":"document_reader/FaceApiParams/proxyPassword.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Username and password to use for proxy authentication,\nshould be set according to the cURL standart.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"proxyType","qualifiedName":"document_reader.FaceApiParams.proxyType","href":"document_reader/FaceApiParams/proxyType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Proxy protocol type, should be set according to the cURL standart.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"searchParams","qualifiedName":"document_reader.FaceApiParams.searchParams","href":"document_reader/FaceApiParams/searchParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A search filter that can be applied if the \"match+search\" mode is enabled.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"serviceTimeout","qualifiedName":"document_reader.FaceApiParams.serviceTimeout","href":"document_reader/FaceApiParams/serviceTimeout.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The service request timeout, ms.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"threshold","qualifiedName":"document_reader.FaceApiParams.threshold","href":"document_reader/FaceApiParams/threshold.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The similarity threshold, 0-100. Above 75 means that the faces' similarity\nis verified, below 75 is not.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.FaceApiParams.toJson","href":"document_reader/FaceApiParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"url","qualifiedName":"document_reader.FaceApiParams.url","href":"document_reader/FaceApiParams/url.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The URL of the Regula Face SDK service instance to be used.","enclosedBy":{"name":"FaceApiParams","kind":3,"href":"document_reader/FaceApiParams-class.html"}},{"name":"FaceApiSearchParams","qualifiedName":"document_reader.FaceApiSearchParams","href":"document_reader/FaceApiSearchParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FaceApiSearchParams","qualifiedName":"document_reader.FaceApiSearchParams.FaceApiSearchParams","href":"document_reader/FaceApiSearchParams/FaceApiSearchParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.FaceApiSearchParams.fromJson","href":"document_reader/FaceApiSearchParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"groupIds","qualifiedName":"document_reader.FaceApiSearchParams.groupIds","href":"document_reader/FaceApiSearchParams/groupIds.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The IDs of the groups in which the search is performed.","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"limit","qualifiedName":"document_reader.FaceApiSearchParams.limit","href":"document_reader/FaceApiSearchParams/limit.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The number of returned Persons limit.","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"threshold","qualifiedName":"document_reader.FaceApiSearchParams.threshold","href":"document_reader/FaceApiSearchParams/threshold.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The similarity distance threshold, should be between 0.0 and 2.0,\nwhere 0.0 is for returning results for only the most similar persons\nand 2.0 is for all the persons, even the dissimilar ones.\nIf not set, the default 1.0 value is used.","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.FaceApiSearchParams.toJson","href":"document_reader/FaceApiSearchParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"FaceApiSearchParams","kind":3,"href":"document_reader/FaceApiSearchParams-class.html"}},{"name":"FieldType","qualifiedName":"document_reader.FieldType","href":"document_reader/FieldType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enum contains identifiers that determine the logical type of text data\nobtained while reading MRZ, document filling fields, and barcodes.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FieldType","qualifiedName":"document_reader.FieldType.FieldType","href":"document_reader/FieldType/FieldType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FieldType","kind":5,"href":"document_reader/FieldType.html"}},{"name":"getTranslation","qualifiedName":"document_reader.FieldType.getTranslation","href":"document_reader/FieldType/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FieldType","kind":5,"href":"document_reader/FieldType.html"}},{"name":"value","qualifiedName":"document_reader.FieldType.value","href":"document_reader/FieldType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FieldType","kind":5,"href":"document_reader/FieldType.html"}},{"name":"values","qualifiedName":"document_reader.FieldType.values","href":"document_reader/FieldType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"FieldType","kind":5,"href":"document_reader/FieldType.html"}},{"name":"File","qualifiedName":"document_reader.File","href":"document_reader/File-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"File","qualifiedName":"document_reader.File.File","href":"document_reader/File/File.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"certificates","qualifiedName":"document_reader.File.certificates","href":"document_reader/File/certificates.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"docFieldsGraphics","qualifiedName":"document_reader.File.docFieldsGraphics","href":"document_reader/File/docFieldsGraphics.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"docFieldsOriginals","qualifiedName":"document_reader.File.docFieldsOriginals","href":"document_reader/File/docFieldsOriginals.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"docFieldsText","qualifiedName":"document_reader.File.docFieldsText","href":"document_reader/File/docFieldsText.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"fileData","qualifiedName":"document_reader.File.fileData","href":"document_reader/File/fileData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"fileID","qualifiedName":"document_reader.File.fileID","href":"document_reader/File/fileID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.File.fromJson","href":"document_reader/File/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"notifications","qualifiedName":"document_reader.File.notifications","href":"document_reader/File/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"pAStatus","qualifiedName":"document_reader.File.pAStatus","href":"document_reader/File/pAStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"readingStatus","qualifiedName":"document_reader.File.readingStatus","href":"document_reader/File/readingStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"readingTime","qualifiedName":"document_reader.File.readingTime","href":"document_reader/File/readingTime.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"toJson","qualifiedName":"document_reader.File.toJson","href":"document_reader/File/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"type","qualifiedName":"document_reader.File.type","href":"document_reader/File/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"typeName","qualifiedName":"document_reader.File.typeName","href":"document_reader/File/typeName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"File","kind":3,"href":"document_reader/File-class.html"}},{"name":"FileData","qualifiedName":"document_reader.FileData","href":"document_reader/FileData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FileData","qualifiedName":"document_reader.FileData.FileData","href":"document_reader/FileData/FileData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"data","qualifiedName":"document_reader.FileData.data","href":"document_reader/FileData/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.FileData.fromJson","href":"document_reader/FileData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"length","qualifiedName":"document_reader.FileData.length","href":"document_reader/FileData/length.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"status","qualifiedName":"document_reader.FileData.status","href":"document_reader/FileData/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.FileData.toJson","href":"document_reader/FileData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"type","qualifiedName":"document_reader.FileData.type","href":"document_reader/FileData/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FileData","kind":3,"href":"document_reader/FileData-class.html"}},{"name":"FinalizePackageCompletion","qualifiedName":"document_reader.FinalizePackageCompletion","href":"document_reader/FinalizePackageCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Type for receiving answer after backend processing has finished.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Font","qualifiedName":"document_reader.Font","href":"document_reader/Font-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Font","qualifiedName":"document_reader.Font.Font","href":"document_reader/Font/Font.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Font.fromJson","href":"document_reader/Font/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"name","qualifiedName":"document_reader.Font.name","href":"document_reader/Font/name.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Font family.","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"size","qualifiedName":"document_reader.Font.size","href":"document_reader/Font/size.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Font size.","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"style","qualifiedName":"document_reader.Font.style","href":"document_reader/Font/style.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Font style.","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Font.toJson","href":"document_reader/Font/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Font","kind":3,"href":"document_reader/Font-class.html"}},{"name":"FontStyle","qualifiedName":"document_reader.FontStyle","href":"document_reader/FontStyle.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FontStyle","qualifiedName":"document_reader.FontStyle.FontStyle","href":"document_reader/FontStyle/FontStyle.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FontStyle","kind":5,"href":"document_reader/FontStyle.html"}},{"name":"value","qualifiedName":"document_reader.FontStyle.value","href":"document_reader/FontStyle/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FontStyle","kind":5,"href":"document_reader/FontStyle.html"}},{"name":"values","qualifiedName":"document_reader.FontStyle.values","href":"document_reader/FontStyle/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"FontStyle","kind":5,"href":"document_reader/FontStyle.html"}},{"name":"FrameShapeType","qualifiedName":"document_reader.FrameShapeType","href":"document_reader/FrameShapeType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"FrameShapeType","qualifiedName":"document_reader.FrameShapeType.FrameShapeType","href":"document_reader/FrameShapeType/FrameShapeType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FrameShapeType","kind":5,"href":"document_reader/FrameShapeType.html"}},{"name":"value","qualifiedName":"document_reader.FrameShapeType.value","href":"document_reader/FrameShapeType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"FrameShapeType","kind":5,"href":"document_reader/FrameShapeType.html"}},{"name":"values","qualifiedName":"document_reader.FrameShapeType.values","href":"document_reader/FrameShapeType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"FrameShapeType","kind":5,"href":"document_reader/FrameShapeType.html"}},{"name":"Functionality","qualifiedName":"document_reader.Functionality","href":"document_reader/Functionality-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the scanning process, camera view controller\ncustomization and etc.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Functionality","qualifiedName":"document_reader.Functionality.Functionality","href":"document_reader/Functionality/Functionality.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"btDeviceName","qualifiedName":"document_reader.Functionality.btDeviceName","href":"document_reader/Functionality/btDeviceName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify a name of a Regula device that will be used\nwith Document Reader SDK.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"cameraFrame","qualifiedName":"document_reader.Functionality.cameraFrame","href":"document_reader/Functionality/cameraFrame.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set this setting to override the default cropping frame provided by scenarios.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"cameraMode","qualifiedName":"document_reader.Functionality.cameraMode","href":"document_reader/Functionality/cameraMode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify the camera API.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"cameraPositionIOS","qualifiedName":"document_reader.Functionality.cameraPositionIOS","href":"document_reader/Functionality/cameraPositionIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify a position of a capture device for the video session.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"cameraResolutionAndroid","qualifiedName":"document_reader.Functionality.cameraResolutionAndroid","href":"document_reader/Functionality/cameraResolutionAndroid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify the frame resolution.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"cameraResolutionIOS","qualifiedName":"document_reader.Functionality.cameraResolutionIOS","href":"document_reader/Functionality/cameraResolutionIOS.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify the frame resolution.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"captureMode","qualifiedName":"document_reader.Functionality.captureMode","href":"document_reader/Functionality/captureMode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify the video processing mode.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"displayMetadata","qualifiedName":"document_reader.Functionality.displayMetadata","href":"document_reader/Functionality/displayMetadata.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the metadata will be displayed over the camera\npreview during document processing, namely the perspective angle value.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"excludedCamera2Models","qualifiedName":"document_reader.Functionality.excludedCamera2Models","href":"document_reader/Functionality/excludedCamera2Models.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A list of devices that must not use the camera2 API.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"exposure","qualifiedName":"document_reader.Functionality.exposure","href":"document_reader/Functionality/exposure.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to control exposure.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"forcePagesCount","qualifiedName":"document_reader.Functionality.forcePagesCount","href":"document_reader/Functionality/forcePagesCount.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Sets a limit on the number of pages to be processed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Functionality.fromJson","href":"document_reader/Functionality/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"isCameraTorchCheckDisabled","qualifiedName":"document_reader.Functionality.isCameraTorchCheckDisabled","href":"document_reader/Functionality/isCameraTorchCheckDisabled.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to disable all validations of having a torch in case Android\nreturns that it's not available, but it can be used when checks are skipped.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"isZoomEnabled","qualifiedName":"document_reader.Functionality.isZoomEnabled","href":"document_reader/Functionality/isZoomEnabled.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, allows you to adjust a zoom level using the pinch\ngesture (its range is from 1x to 10x).","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"manualMultipageMode","qualifiedName":"document_reader.Functionality.manualMultipageMode","href":"document_reader/Functionality/manualMultipageMode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, scanner operate in manual multipage scanning mode.\nSet this flag to true, if you wanna create for example, custom logic\n(or UI) between scanning document pages.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"orientation","qualifiedName":"document_reader.Functionality.orientation","href":"document_reader/Functionality/orientation.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify an orientation of the camera view controller.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"pictureOnBoundsReady","qualifiedName":"document_reader.Functionality.pictureOnBoundsReady","href":"document_reader/Functionality/pictureOnBoundsReady.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, as soon as document is located during video mode,\npicture wil be taken and processed as single frame.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"recordScanningProcess","qualifiedName":"document_reader.Functionality.recordScanningProcess","href":"document_reader/Functionality/recordScanningProcess.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, video during processing of the document will be recorded.\nThis can be used later for debugging and troubleshooting.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"rfidTimeout","qualifiedName":"document_reader.Functionality.rfidTimeout","href":"document_reader/Functionality/rfidTimeout.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Use the parameter to set the time limit (in seconds) for the RFID chip reading,\nbeyond which it does not continue regardless of its result.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showCameraSwitchButton","qualifiedName":"document_reader.Functionality.showCameraSwitchButton","href":"document_reader/Functionality/showCameraSwitchButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to change a position\nof a capture device for the video session will be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showCaptureButton","qualifiedName":"document_reader.Functionality.showCaptureButton","href":"document_reader/Functionality/showCaptureButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to take a picture\nand process it as a single frame will be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showCaptureButtonDelayFromDetect","qualifiedName":"document_reader.Functionality.showCaptureButtonDelayFromDetect","href":"document_reader/Functionality/showCaptureButtonDelayFromDetect.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify a time interval when the Capture button\nhas to be displayed after the document is detected.\nDon't forget to set the showCaptureButton to true,\notherwise, it won't be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showCaptureButtonDelayFromStart","qualifiedName":"document_reader.Functionality.showCaptureButtonDelayFromStart","href":"document_reader/Functionality/showCaptureButtonDelayFromStart.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to specify a time interval when the Capture button\nhas to be displayed after the scanning process is started.\nDon't forget to set the showCaptureButton to true,\notherwise, it won't be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showChangeFrameButton","qualifiedName":"document_reader.Functionality.showChangeFrameButton","href":"document_reader/Functionality/showChangeFrameButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to change the camera\nframe type will be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showCloseButton","qualifiedName":"document_reader.Functionality.showCloseButton","href":"document_reader/Functionality/showCloseButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to close the scanner\nwill be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showSkipNextPageButton","qualifiedName":"document_reader.Functionality.showSkipNextPageButton","href":"document_reader/Functionality/showSkipNextPageButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to skip processing\nof the next page of a document will be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"showTorchButton","qualifiedName":"document_reader.Functionality.showTorchButton","href":"document_reader/Functionality/showTorchButton.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, the button that allows you to turn on/off\nthe torch will be displayed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"singleResult","qualifiedName":"document_reader.Functionality.singleResult","href":"document_reader/Functionality/singleResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, once the scanning process is finished,\nthe scanner will be dismissed.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"skipFocusingFrames","qualifiedName":"document_reader.Functionality.skipFocusingFrames","href":"document_reader/Functionality/skipFocusingFrames.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, camera frames won't be taken for recognition\nwhile a camera is focusing.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.Functionality.testSetters","href":"document_reader/Functionality/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Functionality.toJson","href":"document_reader/Functionality/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"useAuthenticator","qualifiedName":"document_reader.Functionality.useAuthenticator","href":"document_reader/Functionality/useAuthenticator.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, allows you to connect to the external\nRegula Bluetooth devices like Regula 1120 and others.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"videoCaptureMotionControl","qualifiedName":"document_reader.Functionality.videoCaptureMotionControl","href":"document_reader/Functionality/videoCaptureMotionControl.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If it's set to true, camera frames won't be taken for recognition\nwhile a device is moving based on motion sensors.","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"zoomFactor","qualifiedName":"document_reader.Functionality.zoomFactor","href":"document_reader/Functionality/zoomFactor.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the desired zoom level (its range from 1x to 10x).","enclosedBy":{"name":"Functionality","kind":3,"href":"document_reader/Functionality-class.html"}},{"name":"GlaresCheckParams","qualifiedName":"document_reader.GlaresCheckParams","href":"document_reader/GlaresCheckParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"GlaresCheckParams","qualifiedName":"document_reader.GlaresCheckParams.GlaresCheckParams","href":"document_reader/GlaresCheckParams/GlaresCheckParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"GlaresCheckParams","kind":3,"href":"document_reader/GlaresCheckParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.GlaresCheckParams.fromJson","href":"document_reader/GlaresCheckParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"GlaresCheckParams","kind":3,"href":"document_reader/GlaresCheckParams-class.html"}},{"name":"imgMarginPart","qualifiedName":"document_reader.GlaresCheckParams.imgMarginPart","href":"document_reader/GlaresCheckParams/imgMarginPart.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Part of margin from the edges of the image that is ignored by glares check.\nExample: value 0.07 is 7% of image area is ignored.","enclosedBy":{"name":"GlaresCheckParams","kind":3,"href":"document_reader/GlaresCheckParams-class.html"}},{"name":"maxGlaringPart","qualifiedName":"document_reader.GlaresCheckParams.maxGlaringPart","href":"document_reader/GlaresCheckParams/maxGlaringPart.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The maximum allowable part of glared area.\nExample: value 0.1 is 10% allowed.","enclosedBy":{"name":"GlaresCheckParams","kind":3,"href":"document_reader/GlaresCheckParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.GlaresCheckParams.toJson","href":"document_reader/GlaresCheckParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"GlaresCheckParams","kind":3,"href":"document_reader/GlaresCheckParams-class.html"}},{"name":"GraphicField","qualifiedName":"document_reader.GraphicField","href":"document_reader/GraphicField-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, describing single graphic field extracted.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"GraphicField","qualifiedName":"document_reader.GraphicField.GraphicField","href":"document_reader/GraphicField/GraphicField.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"fieldName","qualifiedName":"document_reader.GraphicField.fieldName","href":"document_reader/GraphicField/fieldName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Graphic field symbolic name.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"fieldRect","qualifiedName":"document_reader.GraphicField.fieldRect","href":"document_reader/GraphicField/fieldRect.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Field area coordinates on the general image.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"fieldType","qualifiedName":"document_reader.GraphicField.fieldType","href":"document_reader/GraphicField/fieldType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Graphic field logical type.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.GraphicField.fromJson","href":"document_reader/GraphicField/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"light","qualifiedName":"document_reader.GraphicField.light","href":"document_reader/GraphicField/light.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Light type.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"lightName","qualifiedName":"document_reader.GraphicField.lightName","href":"document_reader/GraphicField/lightName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Light symbolic name.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"originalPageIndex","qualifiedName":"document_reader.GraphicField.originalPageIndex","href":"document_reader/GraphicField/originalPageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Original page index.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.GraphicField.pageIndex","href":"document_reader/GraphicField/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An index of the document page whence the graphic field is extracted.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"sourceType","qualifiedName":"document_reader.GraphicField.sourceType","href":"document_reader/GraphicField/sourceType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Identifies zone whence data is extracted.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"toJson","qualifiedName":"document_reader.GraphicField.toJson","href":"document_reader/GraphicField/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"value","qualifiedName":"document_reader.GraphicField.value","href":"document_reader/GraphicField/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An image.","enclosedBy":{"name":"GraphicField","kind":3,"href":"document_reader/GraphicField-class.html"}},{"name":"GraphicFieldType","qualifiedName":"document_reader.GraphicFieldType","href":"document_reader/GraphicFieldType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains identifiers that determine the logical type\nof the graphic data obtained while reading the document filling fields or barcodes.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"GraphicFieldType","qualifiedName":"document_reader.GraphicFieldType.GraphicFieldType","href":"document_reader/GraphicFieldType/GraphicFieldType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"GraphicFieldType","kind":5,"href":"document_reader/GraphicFieldType.html"}},{"name":"value","qualifiedName":"document_reader.GraphicFieldType.value","href":"document_reader/GraphicFieldType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"GraphicFieldType","kind":5,"href":"document_reader/GraphicFieldType.html"}},{"name":"values","qualifiedName":"document_reader.GraphicFieldType.values","href":"document_reader/GraphicFieldType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"GraphicFieldType","kind":5,"href":"document_reader/GraphicFieldType.html"}},{"name":"GraphicResult","qualifiedName":"document_reader.GraphicResult","href":"document_reader/GraphicResult-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, containing all graphic fields extracted.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"GraphicResult","qualifiedName":"document_reader.GraphicResult.GraphicResult","href":"document_reader/GraphicResult/GraphicResult.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"GraphicResult","kind":3,"href":"document_reader/GraphicResult-class.html"}},{"name":"fields","qualifiedName":"document_reader.GraphicResult.fields","href":"document_reader/GraphicResult/fields.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An array of graphic results.","enclosedBy":{"name":"GraphicResult","kind":3,"href":"document_reader/GraphicResult-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.GraphicResult.fromJson","href":"document_reader/GraphicResult/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"GraphicResult","kind":3,"href":"document_reader/GraphicResult-class.html"}},{"name":"toJson","qualifiedName":"document_reader.GraphicResult.toJson","href":"document_reader/GraphicResult/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"GraphicResult","kind":3,"href":"document_reader/GraphicResult-class.html"}},{"name":"ImageFormat","qualifiedName":"document_reader.ImageFormat","href":"document_reader/ImageFormat.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageFormat","qualifiedName":"document_reader.ImageFormat.ImageFormat","href":"document_reader/ImageFormat/ImageFormat.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageFormat","kind":5,"href":"document_reader/ImageFormat.html"}},{"name":"value","qualifiedName":"document_reader.ImageFormat.value","href":"document_reader/ImageFormat/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageFormat","kind":5,"href":"document_reader/ImageFormat.html"}},{"name":"values","qualifiedName":"document_reader.ImageFormat.values","href":"document_reader/ImageFormat/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ImageFormat","kind":5,"href":"document_reader/ImageFormat.html"}},{"name":"ImageInputData","qualifiedName":"document_reader.ImageInputData","href":"document_reader/ImageInputData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageInputData","qualifiedName":"document_reader.ImageInputData.ImageInputData","href":"document_reader/ImageInputData/ImageInputData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ImageInputData.fromJson","href":"document_reader/ImageInputData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"image","qualifiedName":"document_reader.ImageInputData.image","href":"document_reader/ImageInputData/image.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An image.","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"light","qualifiedName":"document_reader.ImageInputData.light","href":"document_reader/ImageInputData/light.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Light type, one of RGLGraphicFieldLight values.","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.ImageInputData.pageIndex","href":"document_reader/ImageInputData/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An index of the document page whence the graphic field is extracted.","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ImageInputData.toJson","href":"document_reader/ImageInputData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageInputData","kind":3,"href":"document_reader/ImageInputData-class.html"}},{"name":"ImageQA","qualifiedName":"document_reader.ImageQA","href":"document_reader/ImageQA-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains properties to configure image quality.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageQA","qualifiedName":"document_reader.ImageQA.ImageQA","href":"document_reader/ImageQA/ImageQA.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"angleThreshold","qualifiedName":"document_reader.ImageQA.angleThreshold","href":"document_reader/ImageQA/angleThreshold.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This parameter sets threshold for Image QA check of the presented\ndocument perspective angle in degrees. If actual document perspective\nangle is above this threshold, check will fail.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"brightnessThreshold","qualifiedName":"document_reader.ImageQA.brightnessThreshold","href":"document_reader/ImageQA/brightnessThreshold.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set the threshold for an actual document brightness below which the check fails.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"colornessCheck","qualifiedName":"document_reader.ImageQA.colornessCheck","href":"document_reader/ImageQA/colornessCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option disabled colorness check during performing image quality validation.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"documentPositionIndent","qualifiedName":"document_reader.ImageQA.documentPositionIndent","href":"document_reader/ImageQA/documentPositionIndent.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Specify the minimum indent from the corners of the document to the borders\nof the image. The value reflects the allowed percentage for the indent\nrelative to the width of the document. If it is detected that the corners\nof the document are closer than the specified value, the status will contain\nan error in the DocumentReaderResults.imageQuality.imageQualityList.result field.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"dpiThreshold","qualifiedName":"document_reader.ImageQA.dpiThreshold","href":"document_reader/ImageQA/dpiThreshold.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This parameter sets threshold for Image QA check of the presented\ndocument physical dpi. If actual document dpi is below this threshold,\ncheck will fail.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"expectedPass","qualifiedName":"document_reader.ImageQA.expectedPass","href":"document_reader/ImageQA/expectedPass.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option controls the quality checks that the image should pass\nin order to be considered a valid input during the scanning process.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"focusCheck","qualifiedName":"document_reader.ImageQA.focusCheck","href":"document_reader/ImageQA/focusCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option disabled focus check during performing image quality validation.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ImageQA.fromJson","href":"document_reader/ImageQA/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"glaresCheck","qualifiedName":"document_reader.ImageQA.glaresCheck","href":"document_reader/ImageQA/glaresCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option disabled glares check during performing image quality validation.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"glaresCheckParams","qualifiedName":"document_reader.ImageQA.glaresCheckParams","href":"document_reader/ImageQA/glaresCheckParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Parameters for glares image quality validation.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"screenCapture","qualifiedName":"document_reader.ImageQA.screenCapture","href":"document_reader/ImageQA/screenCapture.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option disabled moire patterns check during performing image quality validation.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.ImageQA.testSetters","href":"document_reader/ImageQA/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ImageQA.toJson","href":"document_reader/ImageQA/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"ImageQA","kind":3,"href":"document_reader/ImageQA-class.html"}},{"name":"ImageQuality","qualifiedName":"document_reader.ImageQuality","href":"document_reader/ImageQuality-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, containing information about single image quality check.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageQuality","qualifiedName":"document_reader.ImageQuality.ImageQuality","href":"document_reader/ImageQuality/ImageQuality.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"boundRects","qualifiedName":"document_reader.ImageQuality.boundRects","href":"document_reader/ImageQuality/boundRects.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Coordinates of glares.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"featureType","qualifiedName":"document_reader.ImageQuality.featureType","href":"document_reader/ImageQuality/featureType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Check result.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ImageQuality.fromJson","href":"document_reader/ImageQuality/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"result","qualifiedName":"document_reader.ImageQuality.result","href":"document_reader/ImageQuality/result.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Check result.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ImageQuality.toJson","href":"document_reader/ImageQuality/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"type","qualifiedName":"document_reader.ImageQuality.type","href":"document_reader/ImageQuality/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Check result type.","enclosedBy":{"name":"ImageQuality","kind":3,"href":"document_reader/ImageQuality-class.html"}},{"name":"ImageQualityCheckType","qualifiedName":"document_reader.ImageQualityCheckType","href":"document_reader/ImageQualityCheckType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageQualityCheckType","qualifiedName":"document_reader.ImageQualityCheckType.ImageQualityCheckType","href":"document_reader/ImageQualityCheckType/ImageQualityCheckType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQualityCheckType","kind":5,"href":"document_reader/ImageQualityCheckType.html"}},{"name":"getTranslation","qualifiedName":"document_reader.ImageQualityCheckType.getTranslation","href":"document_reader/ImageQualityCheckType/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQualityCheckType","kind":5,"href":"document_reader/ImageQualityCheckType.html"}},{"name":"value","qualifiedName":"document_reader.ImageQualityCheckType.value","href":"document_reader/ImageQualityCheckType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQualityCheckType","kind":5,"href":"document_reader/ImageQualityCheckType.html"}},{"name":"values","qualifiedName":"document_reader.ImageQualityCheckType.values","href":"document_reader/ImageQualityCheckType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ImageQualityCheckType","kind":5,"href":"document_reader/ImageQualityCheckType.html"}},{"name":"ImageQualityGroup","qualifiedName":"document_reader.ImageQualityGroup","href":"document_reader/ImageQualityGroup-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, containing overall data about quality checks performed.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ImageQualityGroup","qualifiedName":"document_reader.ImageQualityGroup.ImageQualityGroup","href":"document_reader/ImageQualityGroup/ImageQualityGroup.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"count","qualifiedName":"document_reader.ImageQualityGroup.count","href":"document_reader/ImageQualityGroup/count.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Number of results.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ImageQualityGroup.fromJson","href":"document_reader/ImageQualityGroup/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"imageQualityList","qualifiedName":"document_reader.ImageQualityGroup.imageQualityList","href":"document_reader/ImageQualityGroup/imageQualityList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An array of single check result pointers.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.ImageQualityGroup.pageIndex","href":"document_reader/ImageQualityGroup/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Index of the document page, whence the result is received.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"result","qualifiedName":"document_reader.ImageQualityGroup.result","href":"document_reader/ImageQualityGroup/result.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Overall check result for document page.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ImageQualityGroup.toJson","href":"document_reader/ImageQualityGroup/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"ImageQualityGroup","kind":3,"href":"document_reader/ImageQualityGroup-class.html"}},{"name":"InitConfig","qualifiedName":"document_reader.InitConfig","href":"document_reader/InitConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"A configuration file for DocumentReader initialization.\nControls initialization time properties such as licenseUpdate and delayedNNLoad.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"InitConfig","qualifiedName":"document_reader.InitConfig.InitConfig","href":"document_reader/InitConfig/InitConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"Constructor for initialization using a license binary.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"blackList","qualifiedName":"document_reader.InitConfig.blackList","href":"document_reader/InitConfig/blackList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Android only.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"customDb","qualifiedName":"document_reader.InitConfig.customDb","href":"document_reader/InitConfig/customDb.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Custom database binary.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"databasePath","qualifiedName":"document_reader.InitConfig.databasePath","href":"document_reader/InitConfig/databasePath.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The path to the database file.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"delayedNNLoad","qualifiedName":"document_reader.InitConfig.delayedNNLoad","href":"document_reader/InitConfig/delayedNNLoad.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Defines whether the DocumentReader delays loading of neural networks.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.InitConfig.fromJson","href":"document_reader/InitConfig/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"license","qualifiedName":"document_reader.InitConfig.license","href":"document_reader/InitConfig/license.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The license binary file.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"licenseUpdate","qualifiedName":"document_reader.InitConfig.licenseUpdate","href":"document_reader/InitConfig/licenseUpdate.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Enables automatic license update check during DocumentReader initialization.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"toJson","qualifiedName":"document_reader.InitConfig.toJson","href":"document_reader/InitConfig/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"InitConfig.withBleDevice","qualifiedName":"document_reader.InitConfig.withBleDevice","href":"document_reader/InitConfig/InitConfig.withBleDevice.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"Constructor for initialization using a ble device.\nDoesn't need a license file, it will be fetched automatically from your ble device.","enclosedBy":{"name":"InitConfig","kind":3,"href":"document_reader/InitConfig-class.html"}},{"name":"LCID","qualifiedName":"document_reader.LCID","href":"document_reader/LCID.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains a language ID that identifies a particular language.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"LCID","qualifiedName":"document_reader.LCID.LCID","href":"document_reader/LCID/LCID.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LCID","kind":5,"href":"document_reader/LCID.html"}},{"name":"getTranslation","qualifiedName":"document_reader.LCID.getTranslation","href":"document_reader/LCID/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LCID","kind":5,"href":"document_reader/LCID.html"}},{"name":"value","qualifiedName":"document_reader.LCID.value","href":"document_reader/LCID/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LCID","kind":5,"href":"document_reader/LCID.html"}},{"name":"values","qualifiedName":"document_reader.LCID.values","href":"document_reader/LCID/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"LCID","kind":5,"href":"document_reader/LCID.html"}},{"name":"LDSParsingErrorCodes","qualifiedName":"document_reader.LDSParsingErrorCodes","href":"document_reader/LDSParsingErrorCodes.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"LDSParsingErrorCodes","qualifiedName":"document_reader.LDSParsingErrorCodes.LDSParsingErrorCodes","href":"document_reader/LDSParsingErrorCodes/LDSParsingErrorCodes.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingErrorCodes","kind":5,"href":"document_reader/LDSParsingErrorCodes.html"}},{"name":"getTranslation","qualifiedName":"document_reader.LDSParsingErrorCodes.getTranslation","href":"document_reader/LDSParsingErrorCodes/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingErrorCodes","kind":5,"href":"document_reader/LDSParsingErrorCodes.html"}},{"name":"value","qualifiedName":"document_reader.LDSParsingErrorCodes.value","href":"document_reader/LDSParsingErrorCodes/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingErrorCodes","kind":5,"href":"document_reader/LDSParsingErrorCodes.html"}},{"name":"values","qualifiedName":"document_reader.LDSParsingErrorCodes.values","href":"document_reader/LDSParsingErrorCodes/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"LDSParsingErrorCodes","kind":5,"href":"document_reader/LDSParsingErrorCodes.html"}},{"name":"LDSParsingNotificationCodes","qualifiedName":"document_reader.LDSParsingNotificationCodes","href":"document_reader/LDSParsingNotificationCodes.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"LDSParsingNotificationCodes","qualifiedName":"document_reader.LDSParsingNotificationCodes.LDSParsingNotificationCodes","href":"document_reader/LDSParsingNotificationCodes/LDSParsingNotificationCodes.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingNotificationCodes","kind":5,"href":"document_reader/LDSParsingNotificationCodes.html"}},{"name":"getTranslation","qualifiedName":"document_reader.LDSParsingNotificationCodes.getTranslation","href":"document_reader/LDSParsingNotificationCodes/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingNotificationCodes","kind":5,"href":"document_reader/LDSParsingNotificationCodes.html"}},{"name":"value","qualifiedName":"document_reader.LDSParsingNotificationCodes.value","href":"document_reader/LDSParsingNotificationCodes/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LDSParsingNotificationCodes","kind":5,"href":"document_reader/LDSParsingNotificationCodes.html"}},{"name":"values","qualifiedName":"document_reader.LDSParsingNotificationCodes.values","href":"document_reader/LDSParsingNotificationCodes/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"LDSParsingNotificationCodes","kind":5,"href":"document_reader/LDSParsingNotificationCodes.html"}},{"name":"License","qualifiedName":"document_reader.License","href":"document_reader/License-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains properties to get the information about the license.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"License","qualifiedName":"document_reader.License.License","href":"document_reader/License/License.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"countryFilter","qualifiedName":"document_reader.License.countryFilter","href":"document_reader/License/countryFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a list of country identifiers which are defined for\nprocessing in the license. If the array is empty, there are no\nrestrictions for processing.","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"expiryDate","qualifiedName":"document_reader.License.expiryDate","href":"document_reader/License/expiryDate.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an expiration date of your license.","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.License.fromJson","href":"document_reader/License/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"isRfidAvailable","qualifiedName":"document_reader.License.isRfidAvailable","href":"document_reader/License/isRfidAvailable.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to verify that RFID chip reading capabilities are added to your license.","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"toJson","qualifiedName":"document_reader.License.toJson","href":"document_reader/License/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"License","kind":3,"href":"document_reader/License-class.html"}},{"name":"Lights","qualifiedName":"document_reader.Lights","href":"document_reader/Lights.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains a set of identifiers used for identifying the\ndocument reader possibilities, specifying lighting schemes for scanning, etc.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Lights","qualifiedName":"document_reader.Lights.Lights","href":"document_reader/Lights/Lights.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Lights","kind":5,"href":"document_reader/Lights.html"}},{"name":"value","qualifiedName":"document_reader.Lights.value","href":"document_reader/Lights/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Lights","kind":5,"href":"document_reader/Lights.html"}},{"name":"values","qualifiedName":"document_reader.Lights.values","href":"document_reader/Lights/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"Lights","kind":5,"href":"document_reader/Lights.html"}},{"name":"LivenessParams","qualifiedName":"document_reader.LivenessParams","href":"document_reader/LivenessParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"LivenessParams","qualifiedName":"document_reader.LivenessParams.LivenessParams","href":"document_reader/LivenessParams/LivenessParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"checkED","qualifiedName":"document_reader.LivenessParams.checkED","href":"document_reader/LivenessParams/checkED.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"checkHolo","qualifiedName":"document_reader.LivenessParams.checkHolo","href":"document_reader/LivenessParams/checkHolo.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"checkMLI","qualifiedName":"document_reader.LivenessParams.checkMLI","href":"document_reader/LivenessParams/checkMLI.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"checkOVI","qualifiedName":"document_reader.LivenessParams.checkOVI","href":"document_reader/LivenessParams/checkOVI.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.LivenessParams.fromJson","href":"document_reader/LivenessParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.LivenessParams.testSetters","href":"document_reader/LivenessParams/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.LivenessParams.toJson","href":"document_reader/LivenessParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"LivenessParams","kind":3,"href":"document_reader/LivenessParams-class.html"}},{"name":"MRZFormat","qualifiedName":"document_reader.MRZFormat","href":"document_reader/MRZFormat.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"MRZFormat","qualifiedName":"document_reader.MRZFormat.MRZFormat","href":"document_reader/MRZFormat/MRZFormat.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"MRZFormat","kind":5,"href":"document_reader/MRZFormat.html"}},{"name":"value","qualifiedName":"document_reader.MRZFormat.value","href":"document_reader/MRZFormat/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"MRZFormat","kind":5,"href":"document_reader/MRZFormat.html"}},{"name":"values","qualifiedName":"document_reader.MRZFormat.values","href":"document_reader/MRZFormat/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"MRZFormat","kind":5,"href":"document_reader/MRZFormat.html"}},{"name":"MeasureSystem","qualifiedName":"document_reader.MeasureSystem","href":"document_reader/MeasureSystem.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"The constants of the enumeration identify the system\nfor measuring distances and weight.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"MeasureSystem","qualifiedName":"document_reader.MeasureSystem.MeasureSystem","href":"document_reader/MeasureSystem/MeasureSystem.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"MeasureSystem","kind":5,"href":"document_reader/MeasureSystem.html"}},{"name":"value","qualifiedName":"document_reader.MeasureSystem.value","href":"document_reader/MeasureSystem/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"MeasureSystem","kind":5,"href":"document_reader/MeasureSystem.html"}},{"name":"values","qualifiedName":"document_reader.MeasureSystem.values","href":"document_reader/MeasureSystem/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"MeasureSystem","kind":5,"href":"document_reader/MeasureSystem.html"}},{"name":"OnlineMode","qualifiedName":"document_reader.OnlineMode","href":"document_reader/OnlineMode.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"OnlineMode","qualifiedName":"document_reader.OnlineMode.OnlineMode","href":"document_reader/OnlineMode/OnlineMode.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineMode","kind":5,"href":"document_reader/OnlineMode.html"}},{"name":"value","qualifiedName":"document_reader.OnlineMode.value","href":"document_reader/OnlineMode/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineMode","kind":5,"href":"document_reader/OnlineMode.html"}},{"name":"values","qualifiedName":"document_reader.OnlineMode.values","href":"document_reader/OnlineMode/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"OnlineMode","kind":5,"href":"document_reader/OnlineMode.html"}},{"name":"OnlineProcessingConfig","qualifiedName":"document_reader.OnlineProcessingConfig","href":"document_reader/OnlineProcessingConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"OnlineProcessingConfig","qualifiedName":"document_reader.OnlineProcessingConfig.OnlineProcessingConfig","href":"document_reader/OnlineProcessingConfig/OnlineProcessingConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.OnlineProcessingConfig.fromJson","href":"document_reader/OnlineProcessingConfig/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"imageCompressionQuality","qualifiedName":"document_reader.OnlineProcessingConfig.imageCompressionQuality","href":"document_reader/OnlineProcessingConfig/imageCompressionQuality.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"imageFormat","qualifiedName":"document_reader.OnlineProcessingConfig.imageFormat","href":"document_reader/OnlineProcessingConfig/imageFormat.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"mode","qualifiedName":"document_reader.OnlineProcessingConfig.mode","href":"document_reader/OnlineProcessingConfig/mode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"processParams","qualifiedName":"document_reader.OnlineProcessingConfig.processParams","href":"document_reader/OnlineProcessingConfig/processParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"toJson","qualifiedName":"document_reader.OnlineProcessingConfig.toJson","href":"document_reader/OnlineProcessingConfig/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"url","qualifiedName":"document_reader.OnlineProcessingConfig.url","href":"document_reader/OnlineProcessingConfig/url.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OnlineProcessingConfig","kind":3,"href":"document_reader/OnlineProcessingConfig-class.html"}},{"name":"OpticalStatus","qualifiedName":"document_reader.OpticalStatus","href":"document_reader/OpticalStatus-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Container for an optical related scanning statuses.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"OpticalStatus","qualifiedName":"document_reader.OpticalStatus.OpticalStatus","href":"document_reader/OpticalStatus/OpticalStatus.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"docType","qualifiedName":"document_reader.OpticalStatus.docType","href":"document_reader/OpticalStatus/docType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Check status if document type was recognized or not.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"expiry","qualifiedName":"document_reader.OpticalStatus.expiry","href":"document_reader/OpticalStatus/expiry.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document validity period verification status.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.OpticalStatus.fromJson","href":"document_reader/OpticalStatus/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"imageQA","qualifiedName":"document_reader.OpticalStatus.imageQA","href":"document_reader/OpticalStatus/imageQA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Input images quality verification status.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"mrz","qualifiedName":"document_reader.OpticalStatus.mrz","href":"document_reader/OpticalStatus/mrz.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"MRZ verification: values validity, dates, checkdigits verification.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"overallStatus","qualifiedName":"document_reader.OpticalStatus.overallStatus","href":"document_reader/OpticalStatus/overallStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Summary of all optical results.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"pagesCount","qualifiedName":"document_reader.OpticalStatus.pagesCount","href":"document_reader/OpticalStatus/pagesCount.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Number of scanned document pages.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"security","qualifiedName":"document_reader.OpticalStatus.security","href":"document_reader/OpticalStatus/security.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Authenticity verification status.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"text","qualifiedName":"document_reader.OpticalStatus.text","href":"document_reader/OpticalStatus/text.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Text fields valitity: values validity for specific fields, cross-comparison\nof values from different sources, dates & checkdigits verification.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"toJson","qualifiedName":"document_reader.OpticalStatus.toJson","href":"document_reader/OpticalStatus/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"vds","qualifiedName":"document_reader.OpticalStatus.vds","href":"document_reader/OpticalStatus/vds.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Visible Digital Seal verification status.","enclosedBy":{"name":"OpticalStatus","kind":3,"href":"document_reader/OpticalStatus-class.html"}},{"name":"PAAttribute","qualifiedName":"document_reader.PAAttribute","href":"document_reader/PAAttribute-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PAAttribute","qualifiedName":"document_reader.PAAttribute.PAAttribute","href":"document_reader/PAAttribute/PAAttribute.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAAttribute","kind":3,"href":"document_reader/PAAttribute-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.PAAttribute.fromJson","href":"document_reader/PAAttribute/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAAttribute","kind":3,"href":"document_reader/PAAttribute-class.html"}},{"name":"toJson","qualifiedName":"document_reader.PAAttribute.toJson","href":"document_reader/PAAttribute/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAAttribute","kind":3,"href":"document_reader/PAAttribute-class.html"}},{"name":"type","qualifiedName":"document_reader.PAAttribute.type","href":"document_reader/PAAttribute/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAAttribute","kind":3,"href":"document_reader/PAAttribute-class.html"}},{"name":"value","qualifiedName":"document_reader.PAAttribute.value","href":"document_reader/PAAttribute/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAAttribute","kind":3,"href":"document_reader/PAAttribute-class.html"}},{"name":"PAResourcesIssuer","qualifiedName":"document_reader.PAResourcesIssuer","href":"document_reader/PAResourcesIssuer-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PAResourcesIssuer","qualifiedName":"document_reader.PAResourcesIssuer.PAResourcesIssuer","href":"document_reader/PAResourcesIssuer/PAResourcesIssuer.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"attributes","qualifiedName":"document_reader.PAResourcesIssuer.attributes","href":"document_reader/PAResourcesIssuer/attributes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"data","qualifiedName":"document_reader.PAResourcesIssuer.data","href":"document_reader/PAResourcesIssuer/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"friendlyName","qualifiedName":"document_reader.PAResourcesIssuer.friendlyName","href":"document_reader/PAResourcesIssuer/friendlyName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.PAResourcesIssuer.fromJson","href":"document_reader/PAResourcesIssuer/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"toJson","qualifiedName":"document_reader.PAResourcesIssuer.toJson","href":"document_reader/PAResourcesIssuer/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PAResourcesIssuer","kind":3,"href":"document_reader/PAResourcesIssuer-class.html"}},{"name":"PDF417Info","qualifiedName":"document_reader.PDF417Info","href":"document_reader/PDF417Info-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PDF417Info","qualifiedName":"document_reader.PDF417Info.PDF417Info","href":"document_reader/PDF417Info/PDF417Info.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"columns","qualifiedName":"document_reader.PDF417Info.columns","href":"document_reader/PDF417Info/columns.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Number of columns in a barcode.","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"errorLevel","qualifiedName":"document_reader.PDF417Info.errorLevel","href":"document_reader/PDF417Info/errorLevel.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Barcode error correction level.","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.PDF417Info.fromJson","href":"document_reader/PDF417Info/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"rows","qualifiedName":"document_reader.PDF417Info.rows","href":"document_reader/PDF417Info/rows.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Number of rows in a barcode.","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"toJson","qualifiedName":"document_reader.PDF417Info.toJson","href":"document_reader/PDF417Info/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"PDF417Info","kind":3,"href":"document_reader/PDF417Info-class.html"}},{"name":"PKDCertificate","qualifiedName":"document_reader.PKDCertificate","href":"document_reader/PKDCertificate-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains information about PKD certificate.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PKDCertificate","qualifiedName":"document_reader.PKDCertificate.PKDCertificate","href":"document_reader/PKDCertificate/PKDCertificate.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"binaryData","qualifiedName":"document_reader.PKDCertificate.binaryData","href":"document_reader/PKDCertificate/binaryData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Certificate in binary type.","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.PKDCertificate.fromJson","href":"document_reader/PKDCertificate/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"privateKey","qualifiedName":"document_reader.PKDCertificate.privateKey","href":"document_reader/PKDCertificate/privateKey.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Private key in binary type.","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"resourceType","qualifiedName":"document_reader.PKDCertificate.resourceType","href":"document_reader/PKDCertificate/resourceType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates type of certificate.","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"toJson","qualifiedName":"document_reader.PKDCertificate.toJson","href":"document_reader/PKDCertificate/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PKDCertificate","kind":3,"href":"document_reader/PKDCertificate-class.html"}},{"name":"PKDCertificateRequest","qualifiedName":"document_reader.PKDCertificateRequest","href":"document_reader/PKDCertificateRequest.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Provided to a user for passing PKDCertificates\nto the native part of DocumentReader.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PKDResourceType","qualifiedName":"document_reader.PKDResourceType","href":"document_reader/PKDResourceType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PKDResourceType","qualifiedName":"document_reader.PKDResourceType.PKDResourceType","href":"document_reader/PKDResourceType/PKDResourceType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PKDResourceType","kind":5,"href":"document_reader/PKDResourceType.html"}},{"name":"value","qualifiedName":"document_reader.PKDResourceType.value","href":"document_reader/PKDResourceType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PKDResourceType","kind":5,"href":"document_reader/PKDResourceType.html"}},{"name":"values","qualifiedName":"document_reader.PKDResourceType.values","href":"document_reader/PKDResourceType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"PKDResourceType","kind":5,"href":"document_reader/PKDResourceType.html"}},{"name":"PaCertificateCompletion","qualifiedName":"document_reader.PaCertificateCompletion","href":"document_reader/PaCertificateCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Position","qualifiedName":"document_reader.Position","href":"document_reader/Position-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used for storing element bounds detection result._","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Position","qualifiedName":"document_reader.Position.Position","href":"document_reader/Position/Position.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"angle","qualifiedName":"document_reader.Position.angle","href":"document_reader/Position/angle.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document rotation angle.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"center","qualifiedName":"document_reader.Position.center","href":"document_reader/Position/center.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document center coordinates.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"docFormat","qualifiedName":"document_reader.Position.docFormat","href":"document_reader/Position/docFormat.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document format.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"dpi","qualifiedName":"document_reader.Position.dpi","href":"document_reader/Position/dpi.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Resolution in dots per inch.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Position.fromJson","href":"document_reader/Position/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"height","qualifiedName":"document_reader.Position.height","href":"document_reader/Position/height.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document height.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"inverse","qualifiedName":"document_reader.Position.inverse","href":"document_reader/Position/inverse.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Internal use parameter.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"leftBottom","qualifiedName":"document_reader.Position.leftBottom","href":"document_reader/Position/leftBottom.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document left bottom corner coordinates.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"leftTop","qualifiedName":"document_reader.Position.leftTop","href":"document_reader/Position/leftTop.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document left top corner coordinates.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"objArea","qualifiedName":"document_reader.Position.objArea","href":"document_reader/Position/objArea.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Internal use parameter.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"objIntAngleDev","qualifiedName":"document_reader.Position.objIntAngleDev","href":"document_reader/Position/objIntAngleDev.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Internal use parameter.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.Position.pageIndex","href":"document_reader/Position/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Index of the document page, whence the result is received.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"perspectiveTr","qualifiedName":"document_reader.Position.perspectiveTr","href":"document_reader/Position/perspectiveTr.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Internal use parameter.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"resultStatus","qualifiedName":"document_reader.Position.resultStatus","href":"document_reader/Position/resultStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Internal use parameter.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"rightBottom","qualifiedName":"document_reader.Position.rightBottom","href":"document_reader/Position/rightBottom.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document right bottom corner coordinates.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"rightTop","qualifiedName":"document_reader.Position.rightTop","href":"document_reader/Position/rightTop.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document right top corner coordinates.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Position.toJson","href":"document_reader/Position/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"width","qualifiedName":"document_reader.Position.width","href":"document_reader/Position/width.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document width.","enclosedBy":{"name":"Position","kind":3,"href":"document_reader/Position-class.html"}},{"name":"PrepareProgress","qualifiedName":"document_reader.PrepareProgress","href":"document_reader/PrepareProgress-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class contains info about database preparation progress.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"PrepareProgress","qualifiedName":"document_reader.PrepareProgress.PrepareProgress","href":"document_reader/PrepareProgress/PrepareProgress.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"downloadedBytes","qualifiedName":"document_reader.PrepareProgress.downloadedBytes","href":"document_reader/PrepareProgress/downloadedBytes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.PrepareProgress.fromJson","href":"document_reader/PrepareProgress/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"progress","qualifiedName":"document_reader.PrepareProgress.progress","href":"document_reader/PrepareProgress/progress.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"toJson","qualifiedName":"document_reader.PrepareProgress.toJson","href":"document_reader/PrepareProgress/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"totalBytes","qualifiedName":"document_reader.PrepareProgress.totalBytes","href":"document_reader/PrepareProgress/totalBytes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"PrepareProgress","kind":3,"href":"document_reader/PrepareProgress-class.html"}},{"name":"ProcessParams","qualifiedName":"document_reader.ProcessParams","href":"document_reader/ProcessParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the scanning process.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ProcessParams","qualifiedName":"document_reader.ProcessParams.ProcessParams","href":"document_reader/ProcessParams/ProcessParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"alreadyCropped","qualifiedName":"document_reader.ProcessParams.alreadyCropped","href":"document_reader/ProcessParams/alreadyCropped.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option can be set to true if you know for sure that the image you\nprovide contains already cropped document by its edges. This was designed\nto process on the server side images captured and cropped on mobile.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"authenticityParams","qualifiedName":"document_reader.ProcessParams.authenticityParams","href":"document_reader/ProcessParams/authenticityParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"backendProcessingConfig","qualifiedName":"document_reader.ProcessParams.backendProcessingConfig","href":"document_reader/ProcessParams/backendProcessingConfig.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set up the backend processing service parameters.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"barcodeParserType","qualifiedName":"document_reader.ProcessParams.barcodeParserType","href":"document_reader/ProcessParams/barcodeParserType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"There are documents that contain barcodes which data can be parsed only\nif document type verification is performed. The following property allows\nsetting the barcode parser type which should be used during recognition.\nIt allows parsing barcode data without performing document type verification.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"barcodeTypes","qualifiedName":"document_reader.ProcessParams.barcodeTypes","href":"document_reader/ProcessParams/barcodeTypes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set types of barcodes that you wish to recognize.\nAll barcodes will be recognized if it's empty.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"captureButtonScenario","qualifiedName":"document_reader.ProcessParams.captureButtonScenario","href":"document_reader/ProcessParams/captureButtonScenario.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Documents processing scenario for the Capture button.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"checkHologram","qualifiedName":"document_reader.ProcessParams.checkHologram","href":"document_reader/ProcessParams/checkHologram.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"checkRequiredTextFields","qualifiedName":"document_reader.ProcessParams.checkRequiredTextFields","href":"document_reader/ProcessParams/checkRequiredTextFields.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, in case required fields are not read, their values\nwill be empty.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"convertCase","qualifiedName":"document_reader.ProcessParams.convertCase","href":"document_reader/ProcessParams/convertCase.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option allows output text case transformation.\nNo changes applied by default to original values.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"customParams","qualifiedName":"document_reader.ProcessParams.customParams","href":"document_reader/ProcessParams/customParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Takes JSON with parameters that are not presented in the DocumentReader.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"dateFormat","qualifiedName":"document_reader.ProcessParams.dateFormat","href":"document_reader/ProcessParams/dateFormat.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Change the format string of displayed dates in the results.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"debugSaveCroppedImages","qualifiedName":"document_reader.ProcessParams.debugSaveCroppedImages","href":"document_reader/ProcessParams/debugSaveCroppedImages.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, cropped images will be saved to the application's directory.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"debugSaveImages","qualifiedName":"document_reader.ProcessParams.debugSaveImages","href":"document_reader/ProcessParams/debugSaveImages.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, images will be saved to the application's directory.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"debugSaveLogs","qualifiedName":"document_reader.ProcessParams.debugSaveLogs","href":"document_reader/ProcessParams/debugSaveLogs.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, text logs will be saved to the application's directory.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"debugSaveRFIDSession","qualifiedName":"document_reader.ProcessParams.debugSaveRFIDSession","href":"document_reader/ProcessParams/debugSaveRFIDSession.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, RFID sessions will be saved to the application's directory.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"depersonalizeLog","qualifiedName":"document_reader.ProcessParams.depersonalizeLog","href":"document_reader/ProcessParams/depersonalizeLog.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, personal information will be removed from logs.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"disableFocusingCheck","qualifiedName":"document_reader.ProcessParams.disableFocusingCheck","href":"document_reader/ProcessParams/disableFocusingCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, document focus check will be omitted.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"disablePerforationOCR","qualifiedName":"document_reader.ProcessParams.disablePerforationOCR","href":"document_reader/ProcessParams/disablePerforationOCR.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled, OCR of perforated fields in the document template\nwill not be performed.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"documentAreaMin","qualifiedName":"document_reader.ProcessParams.documentAreaMin","href":"document_reader/ProcessParams/documentAreaMin.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Specifies minimal area of the image that document should cover to be treated\nas candidate when locating. Value should be in range from 0 to 1,\nwhere 1 is when document should fully cover the image.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"documentGroupFilter","qualifiedName":"document_reader.ProcessParams.documentGroupFilter","href":"document_reader/ProcessParams/documentGroupFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Array of specific eligible document types to recognize from. You may,\nfor example, specify only passports to be recognized by setting this property.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"documentIDList","qualifiedName":"document_reader.ProcessParams.documentIDList","href":"document_reader/ProcessParams/documentIDList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Takes the list of the document IDs to process.\nAll documents will be processed if it's empty.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"doublePageSpread","qualifiedName":"document_reader.ProcessParams.doublePageSpread","href":"document_reader/ProcessParams/doublePageSpread.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, allows to process up to two pages of the document\n(so-called \"a double-page spread\") for one-shot if they are presented\non the frame (image).","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"faceApiParams","qualifiedName":"document_reader.ProcessParams.faceApiParams","href":"document_reader/ProcessParams/faceApiParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Custom Face API integration params.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"fieldTypesFilter","qualifiedName":"document_reader.ProcessParams.fieldTypesFilter","href":"document_reader/ProcessParams/fieldTypesFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If you recognize the MRZ of documents, all fields will be extracted.\nIf you recognize the Visual zone of documents, you can set the list\nof field types that you wish to extract, other fields will be skipped\nduring processing. All fields will be extracted if it is empty.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"forceDocFormat","qualifiedName":"document_reader.ProcessParams.forceDocFormat","href":"document_reader/ProcessParams/forceDocFormat.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Force use of specified document format when locating and recognizing\ndocument to reduce the number of candidates.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"forceDocID","qualifiedName":"document_reader.ProcessParams.forceDocID","href":"document_reader/ProcessParams/forceDocID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Force use of specific template ID and skip document type identification step.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"forceReadMrzBeforeLocate","qualifiedName":"document_reader.ProcessParams.forceReadMrzBeforeLocate","href":"document_reader/ProcessParams/forceReadMrzBeforeLocate.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option can be set to true to make sure that in series processing\nMRZ is located fully inside the result document image, if present\non the document. Enabling this option may add extra processing time,\nby disabling optimizations, but allows more stability in output image quality.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ProcessParams.fromJson","href":"document_reader/ProcessParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"generateDoublePageSpreadImage","qualifiedName":"document_reader.ProcessParams.generateDoublePageSpreadImage","href":"document_reader/ProcessParams/generateDoublePageSpreadImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled together with doublePageSpread and there is a passport\nwith two pages spread in the image, pages will be cropped, straightened\nand aligned together, as if the document was captured on a flatbed scanner.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"imageDpiOutMax","qualifiedName":"document_reader.ProcessParams.imageDpiOutMax","href":"document_reader/ProcessParams/imageDpiOutMax.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option controls maximum resolution in dpi of output images.\nResolution will remain original in case 0 is set.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"imageOutputMaxHeight","qualifiedName":"document_reader.ProcessParams.imageOutputMaxHeight","href":"document_reader/ProcessParams/imageOutputMaxHeight.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Maximum height of output images. In pixels.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"imageOutputMaxWidth","qualifiedName":"document_reader.ProcessParams.imageOutputMaxWidth","href":"document_reader/ProcessParams/imageOutputMaxWidth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Maximum width of output images. In pixels.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"imageQA","qualifiedName":"document_reader.ProcessParams.imageQA","href":"document_reader/ProcessParams/imageQA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Controls properties of ImageQA checks.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"integralImage","qualifiedName":"document_reader.ProcessParams.integralImage","href":"document_reader/ProcessParams/integralImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows to build an integral image, taking into account the quality of\nfixation of each of the individual images.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"lcidFilter","qualifiedName":"document_reader.ProcessParams.lcidFilter","href":"document_reader/ProcessParams/lcidFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The whitelist of LCID types to use during the recognition.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"lcidIgnoreFilter","qualifiedName":"document_reader.ProcessParams.lcidIgnoreFilter","href":"document_reader/ProcessParams/lcidIgnoreFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The list of LCID types to ignore during the recognition.\nIf empty, values with all LCID types will be extracted.\nNarrowing down the list can reduce processing time.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"logs","qualifiedName":"document_reader.ProcessParams.logs","href":"document_reader/ProcessParams/logs.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, the DocumentReader logs will be shown in the console.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"manualCrop","qualifiedName":"document_reader.ProcessParams.manualCrop","href":"document_reader/ProcessParams/manualCrop.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, allows you to manually set the document's bounds\nafter it is detected.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"matchTextFieldMask","qualifiedName":"document_reader.ProcessParams.matchTextFieldMask","href":"document_reader/ProcessParams/matchTextFieldMask.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When disabled, text field OCR will be done as is and then the recognized\nvalue will be matched to the field mask for validity. If enabled, we\nare trying to read a field value with maximum efforts to match the mask\nand provide a correctly formatted value, making assumptions based on the\nprovided field mask in the template.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"measureSystem","qualifiedName":"document_reader.ProcessParams.measureSystem","href":"document_reader/ProcessParams/measureSystem.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Measure system of fields' values that are presented in results.\nDefault: If the country code is US or LR or MM, the\nMeasureSystem.IMPERIAL system of measurement, otherwise, the MeasureSystem.METRIC.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"minDPI","qualifiedName":"document_reader.ProcessParams.minDPI","href":"document_reader/ProcessParams/minDPI.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the minimum acceptable DPI value of the camera frame\nthat is passed for recognition. Camera frames the DPI of which are less\nthan you set won't be passed for recognition.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"minimalHolderAge","qualifiedName":"document_reader.ProcessParams.minimalHolderAge","href":"document_reader/ProcessParams/minimalHolderAge.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This options allows specifying the minimal age in years of the document\nholder for the document to be considered valid.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"mrzFormatsFilter","qualifiedName":"document_reader.ProcessParams.mrzFormatsFilter","href":"document_reader/ProcessParams/mrzFormatsFilter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option allows limiting MRZ formats to be recognized by specifying\nthem in array.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"multiDocOnImage","qualifiedName":"document_reader.ProcessParams.multiDocOnImage","href":"document_reader/ProcessParams/multiDocOnImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option allows locating and cropping multiple documents\nfrom one image if enabled.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"multipageProcessing","qualifiedName":"document_reader.ProcessParams.multipageProcessing","href":"document_reader/ProcessParams/multipageProcessing.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, processing of more than one page of the document\n(if they exist) will be triggered, otherwise, only one page will be processed.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"noGraphics","qualifiedName":"document_reader.ProcessParams.noGraphics","href":"document_reader/ProcessParams/noGraphics.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled no graphic fields will be cropped from document image.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"parseBarcodes","qualifiedName":"document_reader.ProcessParams.parseBarcodes","href":"document_reader/ProcessParams/parseBarcodes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When set to false, the Barcode code parsing will be skipped\nand the raw information from the code will be returned instead.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"perspectiveAngle","qualifiedName":"document_reader.ProcessParams.perspectiveAngle","href":"document_reader/ProcessParams/perspectiveAngle.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the maximum value of the deviation of the corners\nof the document from the value of 90 degrees.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"processAuth","qualifiedName":"document_reader.ProcessParams.processAuth","href":"document_reader/ProcessParams/processAuth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Accepts sum of Authenticity values.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"respectImageQuality","qualifiedName":"document_reader.ProcessParams.respectImageQuality","href":"document_reader/ProcessParams/respectImageQuality.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled, image quality checks status affects document optical\nand overall status.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"resultTypeOutput","qualifiedName":"document_reader.ProcessParams.resultTypeOutput","href":"document_reader/ProcessParams/resultTypeOutput.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Types of results to return in response.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"returnCroppedBarcode","qualifiedName":"document_reader.ProcessParams.returnCroppedBarcode","href":"document_reader/ProcessParams/returnCroppedBarcode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, an image with cropped barcode will be returned.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"returnUncroppedImage","qualifiedName":"document_reader.ProcessParams.returnUncroppedImage","href":"document_reader/ProcessParams/returnUncroppedImage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"If set to true, an original (uncropped) image will be received,\n which is sent for recognition.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"rfidParams","qualifiedName":"document_reader.ProcessParams.rfidParams","href":"document_reader/ProcessParams/rfidParams.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Custom RFID params.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"scenario","qualifiedName":"document_reader.ProcessParams.scenario","href":"document_reader/ProcessParams/scenario.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Documents processing scenario.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"sessionLogFolder","qualifiedName":"document_reader.ProcessParams.sessionLogFolder","href":"document_reader/ProcessParams/sessionLogFolder.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The path to the folder of the current session. Before using this, save logs.\nEach new session provides a different path.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"shiftExpiryDate","qualifiedName":"document_reader.ProcessParams.shiftExpiryDate","href":"document_reader/ProcessParams/shiftExpiryDate.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This option allows shifting the date of expiry into the future or past\nfor number of months specified. This is useful, for example, in some cases\nwhen document might be still valid for some period after original\nexpiration date to prevent negative validity status for such documents.\nOr by shifting the date to the past will set negative validity\nfor the documents that is about to expire in a specified number of months.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"shouldReturnPackageForReprocess","qualifiedName":"document_reader.ProcessParams.shouldReturnPackageForReprocess","href":"document_reader/ProcessParams/shouldReturnPackageForReprocess.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When set to true, the rawResults property of the Results\nwill contain the encrypted containers of scanning results\nthat may be used for later reprocessing.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"splitNames","qualifiedName":"document_reader.ProcessParams.splitNames","href":"document_reader/ProcessParams/splitNames.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled, the Surname and GivenNames field (TextField)\nwill be divided into fields with fieldTypes FieldType.FIRST_NAME,\nFieldType.SECOND_NAME, FieldType.THIRD_NAME, FieldType.LAST_NAME.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.ProcessParams.testSetters","href":"document_reader/ProcessParams/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"timeout","qualifiedName":"document_reader.ProcessParams.timeout","href":"document_reader/ProcessParams/timeout.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the time limit for document recognition (in seconds),\nbeyond which the recognition does not continue regardless of its result.\nThe countdown starts from the moment the scenario starts.\nSetting value to 0 means infinity.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"timeoutFromFirstDetect","qualifiedName":"document_reader.ProcessParams.timeoutFromFirstDetect","href":"document_reader/ProcessParams/timeoutFromFirstDetect.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the time limit for document recognition (in seconds),\nbeyond which the recognition does not continue regardless of its result.\nThe countdown starts from the moment the document is detected.\nSetting value to 0 means infinity.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"timeoutFromFirstDocType","qualifiedName":"document_reader.ProcessParams.timeoutFromFirstDocType","href":"document_reader/ProcessParams/timeoutFromFirstDocType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to set the time limit for document recognition (in seconds),\nbeyond which the recognition does not continue regardless of its result.\nThe countdown starts from the moment the document type is recognized.\nSetting value to 0 means infinity.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ProcessParams.toJson","href":"document_reader/ProcessParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"updateOCRValidityByGlare","qualifiedName":"document_reader.ProcessParams.updateOCRValidityByGlare","href":"document_reader/ProcessParams/updateOCRValidityByGlare.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"When enabled, fail OCR field validity, if there is a glare over the text\nƒfield on the image.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"useAuthenticityCheck","qualifiedName":"document_reader.ProcessParams.useAuthenticityCheck","href":"document_reader/ProcessParams/useAuthenticityCheck.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This parameter is used to enable document authenticity check.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"useFaceApi","qualifiedName":"document_reader.ProcessParams.useFaceApi","href":"document_reader/ProcessParams/useFaceApi.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Use this property to set up the Face API integration.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"uvTorchEnabled","qualifiedName":"document_reader.ProcessParams.uvTorchEnabled","href":"document_reader/ProcessParams/uvTorchEnabled.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set to true when torch is connected and enabled by user.","enclosedBy":{"name":"ProcessParams","kind":3,"href":"document_reader/ProcessParams-class.html"}},{"name":"ProcessingFinishedStatus","qualifiedName":"document_reader.ProcessingFinishedStatus","href":"document_reader/ProcessingFinishedStatus.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains identifiers that determine the processing finish status.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ProcessingFinishedStatus","qualifiedName":"document_reader.ProcessingFinishedStatus.ProcessingFinishedStatus","href":"document_reader/ProcessingFinishedStatus/ProcessingFinishedStatus.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessingFinishedStatus","kind":5,"href":"document_reader/ProcessingFinishedStatus.html"}},{"name":"value","qualifiedName":"document_reader.ProcessingFinishedStatus.value","href":"document_reader/ProcessingFinishedStatus/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ProcessingFinishedStatus","kind":5,"href":"document_reader/ProcessingFinishedStatus.html"}},{"name":"values","qualifiedName":"document_reader.ProcessingFinishedStatus.values","href":"document_reader/ProcessingFinishedStatus/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ProcessingFinishedStatus","kind":5,"href":"document_reader/ProcessingFinishedStatus.html"}},{"name":"RFIDAccessControlProcedureType","qualifiedName":"document_reader.RFIDAccessControlProcedureType","href":"document_reader/RFIDAccessControlProcedureType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDAccessControlProcedureType","qualifiedName":"document_reader.RFIDAccessControlProcedureType.RFIDAccessControlProcedureType","href":"document_reader/RFIDAccessControlProcedureType/RFIDAccessControlProcedureType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDAccessControlProcedureType","kind":5,"href":"document_reader/RFIDAccessControlProcedureType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDAccessControlProcedureType.value","href":"document_reader/RFIDAccessControlProcedureType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDAccessControlProcedureType","kind":5,"href":"document_reader/RFIDAccessControlProcedureType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDAccessControlProcedureType.values","href":"document_reader/RFIDAccessControlProcedureType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDAccessControlProcedureType","kind":5,"href":"document_reader/RFIDAccessControlProcedureType.html"}},{"name":"RFIDAuthenticationProcedureType","qualifiedName":"document_reader.RFIDAuthenticationProcedureType","href":"document_reader/RFIDAuthenticationProcedureType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDAuthenticationProcedureType","qualifiedName":"document_reader.RFIDAuthenticationProcedureType.RFIDAuthenticationProcedureType","href":"document_reader/RFIDAuthenticationProcedureType/RFIDAuthenticationProcedureType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDAuthenticationProcedureType","kind":5,"href":"document_reader/RFIDAuthenticationProcedureType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDAuthenticationProcedureType.value","href":"document_reader/RFIDAuthenticationProcedureType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDAuthenticationProcedureType","kind":5,"href":"document_reader/RFIDAuthenticationProcedureType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDAuthenticationProcedureType.values","href":"document_reader/RFIDAuthenticationProcedureType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDAuthenticationProcedureType","kind":5,"href":"document_reader/RFIDAuthenticationProcedureType.html"}},{"name":"RFIDCertificateType","qualifiedName":"document_reader.RFIDCertificateType","href":"document_reader/RFIDCertificateType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDCertificateType","qualifiedName":"document_reader.RFIDCertificateType.RFIDCertificateType","href":"document_reader/RFIDCertificateType/RFIDCertificateType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDCertificateType","kind":5,"href":"document_reader/RFIDCertificateType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDCertificateType.value","href":"document_reader/RFIDCertificateType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDCertificateType","kind":5,"href":"document_reader/RFIDCertificateType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDCertificateType.values","href":"document_reader/RFIDCertificateType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDCertificateType","kind":5,"href":"document_reader/RFIDCertificateType.html"}},{"name":"RFIDCompletion","qualifiedName":"document_reader.RFIDCompletion","href":"document_reader/RFIDCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving answer from processing engine.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDConfig","qualifiedName":"document_reader.RFIDConfig","href":"document_reader/RFIDConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"A configuration file for the RFID chip processing.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDConfig","qualifiedName":"document_reader.RFIDConfig.RFIDConfig","href":"document_reader/RFIDConfig/RFIDConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"Regular RFID chip reading.","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onChipDetected","qualifiedName":"document_reader.RFIDConfig.onChipDetected","href":"document_reader/RFIDConfig/onChipDetected.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving signal when RFID chip is recognized\nby a phone and chip reading is started.","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onProgress","qualifiedName":"document_reader.RFIDConfig.onProgress","href":"document_reader/RFIDConfig/onProgress.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Callback for reveiving notification about RFID reading process.","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onRequestPACertificates","qualifiedName":"document_reader.RFIDConfig.onRequestPACertificates","href":"document_reader/RFIDConfig/onRequestPACertificates.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onRequestTACertificates","qualifiedName":"document_reader.RFIDConfig.onRequestTACertificates","href":"document_reader/RFIDConfig/onRequestTACertificates.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onRequestTASignature","qualifiedName":"document_reader.RFIDConfig.onRequestTASignature","href":"document_reader/RFIDConfig/onRequestTASignature.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"onRetryReadChip","qualifiedName":"document_reader.RFIDConfig.onRetryReadChip","href":"document_reader/RFIDConfig/onRetryReadChip.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Fires when RFID chip reading was interrupted with no severe reasons\n(for example connection to the chip was lost) and will be reestablished automatically.","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"RFIDConfig.withoutUI","qualifiedName":"document_reader.RFIDConfig.withoutUI","href":"document_reader/RFIDConfig/RFIDConfig.withoutUI.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"RFID chip reading with no UI.","enclosedBy":{"name":"RFIDConfig","kind":3,"href":"document_reader/RFIDConfig-class.html"}},{"name":"RFIDDataFileType","qualifiedName":"document_reader.RFIDDataFileType","href":"document_reader/RFIDDataFileType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains a set of constants that define the file type\n(or logical belonging of the data object) within the context of the\ncommunication session with electronic document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDDataFileType","qualifiedName":"document_reader.RFIDDataFileType.RFIDDataFileType","href":"document_reader/RFIDDataFileType/RFIDDataFileType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDDataFileType","kind":5,"href":"document_reader/RFIDDataFileType.html"}},{"name":"getTranslation","qualifiedName":"document_reader.RFIDDataFileType.getTranslation","href":"document_reader/RFIDDataFileType/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDDataFileType","kind":5,"href":"document_reader/RFIDDataFileType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDDataFileType.value","href":"document_reader/RFIDDataFileType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDDataFileType","kind":5,"href":"document_reader/RFIDDataFileType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDDataFileType.values","href":"document_reader/RFIDDataFileType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDDataFileType","kind":5,"href":"document_reader/RFIDDataFileType.html"}},{"name":"RFIDErrorCodes","qualifiedName":"document_reader.RFIDErrorCodes","href":"document_reader/RFIDErrorCodes.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDErrorCodes","qualifiedName":"document_reader.RFIDErrorCodes.RFIDErrorCodes","href":"document_reader/RFIDErrorCodes/RFIDErrorCodes.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDErrorCodes","kind":5,"href":"document_reader/RFIDErrorCodes.html"}},{"name":"getTranslation","qualifiedName":"document_reader.RFIDErrorCodes.getTranslation","href":"document_reader/RFIDErrorCodes/getTranslation.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDErrorCodes","kind":5,"href":"document_reader/RFIDErrorCodes.html"}},{"name":"value","qualifiedName":"document_reader.RFIDErrorCodes.value","href":"document_reader/RFIDErrorCodes/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDErrorCodes","kind":5,"href":"document_reader/RFIDErrorCodes.html"}},{"name":"values","qualifiedName":"document_reader.RFIDErrorCodes.values","href":"document_reader/RFIDErrorCodes/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDErrorCodes","kind":5,"href":"document_reader/RFIDErrorCodes.html"}},{"name":"RFIDException","qualifiedName":"document_reader.RFIDException","href":"document_reader/RFIDException-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDException","qualifiedName":"document_reader.RFIDException.RFIDException","href":"document_reader/RFIDException/RFIDException.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDException","kind":3,"href":"document_reader/RFIDException-class.html"}},{"name":"code","qualifiedName":"document_reader.RFIDException.code","href":"document_reader/RFIDException/code.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDException","kind":3,"href":"document_reader/RFIDException-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDException.fromJson","href":"document_reader/RFIDException/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDException","kind":3,"href":"document_reader/RFIDException-class.html"}},{"name":"message","qualifiedName":"document_reader.RFIDException.message","href":"document_reader/RFIDException/message.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDException","kind":3,"href":"document_reader/RFIDException-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDException.toJson","href":"document_reader/RFIDException/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDException","kind":3,"href":"document_reader/RFIDException-class.html"}},{"name":"RFIDNotification","qualifiedName":"document_reader.RFIDNotification","href":"document_reader/RFIDNotification-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure containing data of notification about RFID reading process.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDNotification","qualifiedName":"document_reader.RFIDNotification.RFIDNotification","href":"document_reader/RFIDNotification/RFIDNotification.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"dataFileType","qualifiedName":"document_reader.RFIDNotification.dataFileType","href":"document_reader/RFIDNotification/dataFileType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Defines the file type (or logical belonging of the data object) within\nthe context of the communication session with electronic document.","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDNotification.fromJson","href":"document_reader/RFIDNotification/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"notificationCode","qualifiedName":"document_reader.RFIDNotification.notificationCode","href":"document_reader/RFIDNotification/notificationCode.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"RFID notification code.","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"progress","qualifiedName":"document_reader.RFIDNotification.progress","href":"document_reader/RFIDNotification/progress.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"RFID progress.","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDNotification.toJson","href":"document_reader/RFIDNotification/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDNotification","kind":3,"href":"document_reader/RFIDNotification-class.html"}},{"name":"RFIDNotificationCodes","qualifiedName":"document_reader.RFIDNotificationCodes","href":"document_reader/RFIDNotificationCodes.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains a set of notification returned\nto the user application by calling the callback-function.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDNotificationCodes","qualifiedName":"document_reader.RFIDNotificationCodes.RFIDNotificationCodes","href":"document_reader/RFIDNotificationCodes/RFIDNotificationCodes.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDNotificationCodes","kind":5,"href":"document_reader/RFIDNotificationCodes.html"}},{"name":"value","qualifiedName":"document_reader.RFIDNotificationCodes.value","href":"document_reader/RFIDNotificationCodes/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDNotificationCodes","kind":5,"href":"document_reader/RFIDNotificationCodes.html"}},{"name":"values","qualifiedName":"document_reader.RFIDNotificationCodes.values","href":"document_reader/RFIDNotificationCodes/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDNotificationCodes","kind":5,"href":"document_reader/RFIDNotificationCodes.html"}},{"name":"RFIDOrigin","qualifiedName":"document_reader.RFIDOrigin","href":"document_reader/RFIDOrigin-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure containing rfid origin values.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDOrigin","qualifiedName":"document_reader.RFIDOrigin.RFIDOrigin","href":"document_reader/RFIDOrigin/RFIDOrigin.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"dg","qualifiedName":"document_reader.RFIDOrigin.dg","href":"document_reader/RFIDOrigin/dg.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"dgTag","qualifiedName":"document_reader.RFIDOrigin.dgTag","href":"document_reader/RFIDOrigin/dgTag.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"entryView","qualifiedName":"document_reader.RFIDOrigin.entryView","href":"document_reader/RFIDOrigin/entryView.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDOrigin.fromJson","href":"document_reader/RFIDOrigin/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"tagEntry","qualifiedName":"document_reader.RFIDOrigin.tagEntry","href":"document_reader/RFIDOrigin/tagEntry.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDOrigin.toJson","href":"document_reader/RFIDOrigin/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDOrigin","kind":3,"href":"document_reader/RFIDOrigin-class.html"}},{"name":"RFIDParams","qualifiedName":"document_reader.RFIDParams","href":"document_reader/RFIDParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDParams","qualifiedName":"document_reader.RFIDParams.RFIDParams","href":"document_reader/RFIDParams/RFIDParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDParams","kind":3,"href":"document_reader/RFIDParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDParams.fromJson","href":"document_reader/RFIDParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDParams","kind":3,"href":"document_reader/RFIDParams-class.html"}},{"name":"paIgnoreNotificationCodes","qualifiedName":"document_reader.RFIDParams.paIgnoreNotificationCodes","href":"document_reader/RFIDParams/paIgnoreNotificationCodes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A list of notification codes that should be ignored during\npassive authentication (PA).","enclosedBy":{"name":"RFIDParams","kind":3,"href":"document_reader/RFIDParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDParams.toJson","href":"document_reader/RFIDParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDParams","kind":3,"href":"document_reader/RFIDParams-class.html"}},{"name":"RFIDPasswordType","qualifiedName":"document_reader.RFIDPasswordType","href":"document_reader/RFIDPasswordType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDPasswordType","qualifiedName":"document_reader.RFIDPasswordType.RFIDPasswordType","href":"document_reader/RFIDPasswordType/RFIDPasswordType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDPasswordType","kind":5,"href":"document_reader/RFIDPasswordType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDPasswordType.value","href":"document_reader/RFIDPasswordType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDPasswordType","kind":5,"href":"document_reader/RFIDPasswordType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDPasswordType.values","href":"document_reader/RFIDPasswordType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDPasswordType","kind":5,"href":"document_reader/RFIDPasswordType.html"}},{"name":"RFIDProgressCompletion","qualifiedName":"document_reader.RFIDProgressCompletion","href":"document_reader/RFIDProgressCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Completion for reveiving notification about RFID reading process.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDSDKProfilerType","qualifiedName":"document_reader.RFIDSDKProfilerType","href":"document_reader/RFIDSDKProfilerType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDSDKProfilerType","qualifiedName":"document_reader.RFIDSDKProfilerType.RFIDSDKProfilerType","href":"document_reader/RFIDSDKProfilerType/RFIDSDKProfilerType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDSDKProfilerType","kind":5,"href":"document_reader/RFIDSDKProfilerType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDSDKProfilerType.value","href":"document_reader/RFIDSDKProfilerType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDSDKProfilerType","kind":5,"href":"document_reader/RFIDSDKProfilerType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDSDKProfilerType.values","href":"document_reader/RFIDSDKProfilerType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDSDKProfilerType","kind":5,"href":"document_reader/RFIDSDKProfilerType.html"}},{"name":"RFIDScenario","qualifiedName":"document_reader.RFIDScenario","href":"document_reader/RFIDScenario-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Params that influence the RFID chip processing.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDScenario","qualifiedName":"document_reader.RFIDScenario.RFIDScenario","href":"document_reader/RFIDScenario/RFIDScenario.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"applyAmendments","qualifiedName":"document_reader.RFIDScenario.applyAmendments","href":"document_reader/RFIDScenario/applyAmendments.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authProcType","qualifiedName":"document_reader.RFIDScenario.authProcType","href":"document_reader/RFIDScenario/authProcType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedCANAllowed","qualifiedName":"document_reader.RFIDScenario.authorizedCANAllowed","href":"document_reader/RFIDScenario/authorizedCANAllowed.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedInstallCert","qualifiedName":"document_reader.RFIDScenario.authorizedInstallCert","href":"document_reader/RFIDScenario/authorizedInstallCert.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedInstallQCert","qualifiedName":"document_reader.RFIDScenario.authorizedInstallQCert","href":"document_reader/RFIDScenario/authorizedInstallQCert.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedPINManagement","qualifiedName":"document_reader.RFIDScenario.authorizedPINManagement","href":"document_reader/RFIDScenario/authorizedPINManagement.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedPrivilegedTerminal","qualifiedName":"document_reader.RFIDScenario.authorizedPrivilegedTerminal","href":"document_reader/RFIDScenario/authorizedPrivilegedTerminal.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedRestrictedIdentification","qualifiedName":"document_reader.RFIDScenario.authorizedRestrictedIdentification","href":"document_reader/RFIDScenario/authorizedRestrictedIdentification.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedSTQSignature","qualifiedName":"document_reader.RFIDScenario.authorizedSTQSignature","href":"document_reader/RFIDScenario/authorizedSTQSignature.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedSTSignature","qualifiedName":"document_reader.RFIDScenario.authorizedSTSignature","href":"document_reader/RFIDScenario/authorizedSTSignature.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedVerifyAge","qualifiedName":"document_reader.RFIDScenario.authorizedVerifyAge","href":"document_reader/RFIDScenario/authorizedVerifyAge.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedVerifyCommunityID","qualifiedName":"document_reader.RFIDScenario.authorizedVerifyCommunityID","href":"document_reader/RFIDScenario/authorizedVerifyCommunityID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedWriteDG17","qualifiedName":"document_reader.RFIDScenario.authorizedWriteDG17","href":"document_reader/RFIDScenario/authorizedWriteDG17.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedWriteDG18","qualifiedName":"document_reader.RFIDScenario.authorizedWriteDG18","href":"document_reader/RFIDScenario/authorizedWriteDG18.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedWriteDG19","qualifiedName":"document_reader.RFIDScenario.authorizedWriteDG19","href":"document_reader/RFIDScenario/authorizedWriteDG19.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedWriteDG20","qualifiedName":"document_reader.RFIDScenario.authorizedWriteDG20","href":"document_reader/RFIDScenario/authorizedWriteDG20.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"authorizedWriteDG21","qualifiedName":"document_reader.RFIDScenario.authorizedWriteDG21","href":"document_reader/RFIDScenario/authorizedWriteDG21.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"autoSettings","qualifiedName":"document_reader.RFIDScenario.autoSettings","href":"document_reader/RFIDScenario/autoSettings.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"auxVerificationCommunityID","qualifiedName":"document_reader.RFIDScenario.auxVerificationCommunityID","href":"document_reader/RFIDScenario/auxVerificationCommunityID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"auxVerificationDateOfBirth","qualifiedName":"document_reader.RFIDScenario.auxVerificationDateOfBirth","href":"document_reader/RFIDScenario/auxVerificationDateOfBirth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"baseSMProcedure","qualifiedName":"document_reader.RFIDScenario.baseSMProcedure","href":"document_reader/RFIDScenario/baseSMProcedure.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"defaultReadingBufferSize","qualifiedName":"document_reader.RFIDScenario.defaultReadingBufferSize","href":"document_reader/RFIDScenario/defaultReadingBufferSize.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"eDLDataGroups","qualifiedName":"document_reader.RFIDScenario.eDLDataGroups","href":"document_reader/RFIDScenario/eDLDataGroups.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"eIDDataGroups","qualifiedName":"document_reader.RFIDScenario.eIDDataGroups","href":"document_reader/RFIDScenario/eIDDataGroups.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"ePassportDataGroups","qualifiedName":"document_reader.RFIDScenario.ePassportDataGroups","href":"document_reader/RFIDScenario/ePassportDataGroups.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"eSignPINDefault","qualifiedName":"document_reader.RFIDScenario.eSignPINDefault","href":"document_reader/RFIDScenario/eSignPINDefault.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"eSignPINNewValue","qualifiedName":"document_reader.RFIDScenario.eSignPINNewValue","href":"document_reader/RFIDScenario/eSignPINNewValue.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDScenario.fromJson","href":"document_reader/RFIDScenario/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"mrz","qualifiedName":"document_reader.RFIDScenario.mrz","href":"document_reader/RFIDScenario/mrz.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"onlineTA","qualifiedName":"document_reader.RFIDScenario.onlineTA","href":"document_reader/RFIDScenario/onlineTA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"onlineTAToSignDataType","qualifiedName":"document_reader.RFIDScenario.onlineTAToSignDataType","href":"document_reader/RFIDScenario/onlineTAToSignDataType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"pacePasswordType","qualifiedName":"document_reader.RFIDScenario.pacePasswordType","href":"document_reader/RFIDScenario/pacePasswordType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"paceStaticBinding","qualifiedName":"document_reader.RFIDScenario.paceStaticBinding","href":"document_reader/RFIDScenario/paceStaticBinding.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"passiveAuth","qualifiedName":"document_reader.RFIDScenario.passiveAuth","href":"document_reader/RFIDScenario/passiveAuth.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"password","qualifiedName":"document_reader.RFIDScenario.password","href":"document_reader/RFIDScenario/password.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"pkdDSCertPriority","qualifiedName":"document_reader.RFIDScenario.pkdDSCertPriority","href":"document_reader/RFIDScenario/pkdDSCertPriority.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"pkdEAC","qualifiedName":"document_reader.RFIDScenario.pkdEAC","href":"document_reader/RFIDScenario/pkdEAC.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"pkdPA","qualifiedName":"document_reader.RFIDScenario.pkdPA","href":"document_reader/RFIDScenario/pkdPA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"pkdUseExternalCSCA","qualifiedName":"document_reader.RFIDScenario.pkdUseExternalCSCA","href":"document_reader/RFIDScenario/pkdUseExternalCSCA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"proceedReadingAlways","qualifiedName":"document_reader.RFIDScenario.proceedReadingAlways","href":"document_reader/RFIDScenario/proceedReadingAlways.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"profilerType","qualifiedName":"document_reader.RFIDScenario.profilerType","href":"document_reader/RFIDScenario/profilerType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"readEDL","qualifiedName":"document_reader.RFIDScenario.readEDL","href":"document_reader/RFIDScenario/readEDL.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"readEID","qualifiedName":"document_reader.RFIDScenario.readEID","href":"document_reader/RFIDScenario/readEID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"readEPassport","qualifiedName":"document_reader.RFIDScenario.readEPassport","href":"document_reader/RFIDScenario/readEPassport.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"readingBuffer","qualifiedName":"document_reader.RFIDScenario.readingBuffer","href":"document_reader/RFIDScenario/readingBuffer.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"signManagementAction","qualifiedName":"document_reader.RFIDScenario.signManagementAction","href":"document_reader/RFIDScenario/signManagementAction.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"skipAA","qualifiedName":"document_reader.RFIDScenario.skipAA","href":"document_reader/RFIDScenario/skipAA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"strictProcessing","qualifiedName":"document_reader.RFIDScenario.strictProcessing","href":"document_reader/RFIDScenario/strictProcessing.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"terminalType","qualifiedName":"document_reader.RFIDScenario.terminalType","href":"document_reader/RFIDScenario/terminalType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"testSetters","qualifiedName":"document_reader.RFIDScenario.testSetters","href":"document_reader/RFIDScenario/testSetters.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDScenario.toJson","href":"document_reader/RFIDScenario/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"trustedPKD","qualifiedName":"document_reader.RFIDScenario.trustedPKD","href":"document_reader/RFIDScenario/trustedPKD.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"universalAccessRights","qualifiedName":"document_reader.RFIDScenario.universalAccessRights","href":"document_reader/RFIDScenario/universalAccessRights.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"useSFI","qualifiedName":"document_reader.RFIDScenario.useSFI","href":"document_reader/RFIDScenario/useSFI.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"writeEid","qualifiedName":"document_reader.RFIDScenario.writeEid","href":"document_reader/RFIDScenario/writeEid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDScenario","kind":3,"href":"document_reader/RFIDScenario-class.html"}},{"name":"RFIDSessionData","qualifiedName":"document_reader.RFIDSessionData","href":"document_reader/RFIDSessionData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Used to describe the results of work with the SDK within the context\nof the current communication session with electronic document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDSessionData","qualifiedName":"document_reader.RFIDSessionData.RFIDSessionData","href":"document_reader/RFIDSessionData/RFIDSessionData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"accessControls","qualifiedName":"document_reader.RFIDSessionData.accessControls","href":"document_reader/RFIDSessionData/accessControls.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of containers to store information about the supported procedures\nof authentication and secure data access within the context of the session.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"applications","qualifiedName":"document_reader.RFIDSessionData.applications","href":"document_reader/RFIDSessionData/applications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of containers to store information about the involved ap-plications\nof electronic document.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"cardProperties","qualifiedName":"document_reader.RFIDSessionData.cardProperties","href":"document_reader/RFIDSessionData/cardProperties.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Set of electronic document chip characteristics.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"dataFields","qualifiedName":"document_reader.RFIDSessionData.dataFields","href":"document_reader/RFIDSessionData/dataFields.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of data fields","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"dataGroups","qualifiedName":"document_reader.RFIDSessionData.dataGroups","href":"document_reader/RFIDSessionData/dataGroups.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of data groups.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"extLeSupport","qualifiedName":"document_reader.RFIDSessionData.extLeSupport","href":"document_reader/RFIDSessionData/extLeSupport.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Sign of support of RFID-chip for extended length commands of reading.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDSessionData.fromJson","href":"document_reader/RFIDSessionData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"processTime","qualifiedName":"document_reader.RFIDSessionData.processTime","href":"document_reader/RFIDSessionData/processTime.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Total time of all operations performed during the session, ms.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"securityObjects","qualifiedName":"document_reader.RFIDSessionData.securityObjects","href":"document_reader/RFIDSessionData/securityObjects.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"ist of containers to store information about the detected\ndocument security objects.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"status","qualifiedName":"document_reader.RFIDSessionData.status","href":"document_reader/RFIDSessionData/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Status.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDSessionData.toJson","href":"document_reader/RFIDSessionData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"totalBytesReceived","qualifiedName":"document_reader.RFIDSessionData.totalBytesReceived","href":"document_reader/RFIDSessionData/totalBytesReceived.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Total number of bytes received from the RFID-chip during the whole session.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"totalBytesSent","qualifiedName":"document_reader.RFIDSessionData.totalBytesSent","href":"document_reader/RFIDSessionData/totalBytesSent.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Total number of bytes transmitted to the RFID-chip during the whole session.","enclosedBy":{"name":"RFIDSessionData","kind":3,"href":"document_reader/RFIDSessionData-class.html"}},{"name":"RFIDStatus","qualifiedName":"document_reader.RFIDStatus","href":"document_reader/RFIDStatus-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Container for a RFID related scanning statuses.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDStatus","qualifiedName":"document_reader.RFIDStatus.RFIDStatus","href":"document_reader/RFIDStatus/RFIDStatus.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"aa","qualifiedName":"document_reader.RFIDStatus.aa","href":"document_reader/RFIDStatus/aa.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Acitve authentication status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"bac","qualifiedName":"document_reader.RFIDStatus.bac","href":"document_reader/RFIDStatus/bac.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Basics access control status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"ca","qualifiedName":"document_reader.RFIDStatus.ca","href":"document_reader/RFIDStatus/ca.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Chip authentication status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDStatus.fromJson","href":"document_reader/RFIDStatus/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"overallStatus","qualifiedName":"document_reader.RFIDStatus.overallStatus","href":"document_reader/RFIDStatus/overallStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Summary of all RFID results.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"pa","qualifiedName":"document_reader.RFIDStatus.pa","href":"document_reader/RFIDStatus/pa.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Passive authentication status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"pace","qualifiedName":"document_reader.RFIDStatus.pace","href":"document_reader/RFIDStatus/pace.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Password authenticated connection establishment status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"ta","qualifiedName":"document_reader.RFIDStatus.ta","href":"document_reader/RFIDStatus/ta.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Terminal authentication status.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDStatus.toJson","href":"document_reader/RFIDStatus/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDStatus","kind":3,"href":"document_reader/RFIDStatus-class.html"}},{"name":"RFIDTerminalType","qualifiedName":"document_reader.RFIDTerminalType","href":"document_reader/RFIDTerminalType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDTerminalType","qualifiedName":"document_reader.RFIDTerminalType.RFIDTerminalType","href":"document_reader/RFIDTerminalType/RFIDTerminalType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDTerminalType","kind":5,"href":"document_reader/RFIDTerminalType.html"}},{"name":"value","qualifiedName":"document_reader.RFIDTerminalType.value","href":"document_reader/RFIDTerminalType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDTerminalType","kind":5,"href":"document_reader/RFIDTerminalType.html"}},{"name":"values","qualifiedName":"document_reader.RFIDTerminalType.values","href":"document_reader/RFIDTerminalType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"RFIDTerminalType","kind":5,"href":"document_reader/RFIDTerminalType.html"}},{"name":"RFIDValidity","qualifiedName":"document_reader.RFIDValidity","href":"document_reader/RFIDValidity-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDValidity","qualifiedName":"document_reader.RFIDValidity.RFIDValidity","href":"document_reader/RFIDValidity/RFIDValidity.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValidity","kind":3,"href":"document_reader/RFIDValidity-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDValidity.fromJson","href":"document_reader/RFIDValidity/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDValidity","kind":3,"href":"document_reader/RFIDValidity-class.html"}},{"name":"notAfter","qualifiedName":"document_reader.RFIDValidity.notAfter","href":"document_reader/RFIDValidity/notAfter.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValidity","kind":3,"href":"document_reader/RFIDValidity-class.html"}},{"name":"notBefore","qualifiedName":"document_reader.RFIDValidity.notBefore","href":"document_reader/RFIDValidity/notBefore.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValidity","kind":3,"href":"document_reader/RFIDValidity-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDValidity.toJson","href":"document_reader/RFIDValidity/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDValidity","kind":3,"href":"document_reader/RFIDValidity-class.html"}},{"name":"RFIDValue","qualifiedName":"document_reader.RFIDValue","href":"document_reader/RFIDValue-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"RFIDValue","qualifiedName":"document_reader.RFIDValue.RFIDValue","href":"document_reader/RFIDValue/RFIDValue.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"data","qualifiedName":"document_reader.RFIDValue.data","href":"document_reader/RFIDValue/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"format","qualifiedName":"document_reader.RFIDValue.format","href":"document_reader/RFIDValue/format.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RFIDValue.fromJson","href":"document_reader/RFIDValue/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"length","qualifiedName":"document_reader.RFIDValue.length","href":"document_reader/RFIDValue/length.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"status","qualifiedName":"document_reader.RFIDValue.status","href":"document_reader/RFIDValue/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RFIDValue.toJson","href":"document_reader/RFIDValue/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"type","qualifiedName":"document_reader.RFIDValue.type","href":"document_reader/RFIDValue/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RFIDValue","kind":3,"href":"document_reader/RFIDValue-class.html"}},{"name":"RecognizeConfig","qualifiedName":"document_reader.RecognizeConfig","href":"document_reader/RecognizeConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Image processing configuration.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"data","qualifiedName":"document_reader.RecognizeConfig.data","href":"document_reader/RecognizeConfig/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Binary for processing","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"extPortrait","qualifiedName":"document_reader.RecognizeConfig.extPortrait","href":"document_reader/RecognizeConfig/extPortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Portrait photo from an external source.","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.RecognizeConfig.fromJson","href":"document_reader/RecognizeConfig/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"image","qualifiedName":"document_reader.RecognizeConfig.image","href":"document_reader/RecognizeConfig/image.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Image for processing","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"imageInputData","qualifiedName":"document_reader.RecognizeConfig.imageInputData","href":"document_reader/RecognizeConfig/imageInputData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Images(with input data) for processing","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"images","qualifiedName":"document_reader.RecognizeConfig.images","href":"document_reader/RecognizeConfig/images.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Images for processing","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"livePortrait","qualifiedName":"document_reader.RecognizeConfig.livePortrait","href":"document_reader/RecognizeConfig/livePortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Live portrait photo.","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"oneShotIdentification","qualifiedName":"document_reader.RecognizeConfig.oneShotIdentification","href":"document_reader/RecognizeConfig/oneShotIdentification.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"This parameter is for processing an image that contains a person and\na document and compare the portrait photo from the document with\nthe person's face. It works only in the single-frame processing,\nbut not in the video frame processing. Requires network connection.","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"onlineProcessingConfig","qualifiedName":"document_reader.RecognizeConfig.onlineProcessingConfig","href":"document_reader/RecognizeConfig/onlineProcessingConfig.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Configuration class for online processing.","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"scenario","qualifiedName":"document_reader.RecognizeConfig.scenario","href":"document_reader/RecognizeConfig/scenario.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Documents processing scenario.","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"toJson","qualifiedName":"document_reader.RecognizeConfig.toJson","href":"document_reader/RecognizeConfig/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"RecognizeConfig.withOnlineProcessingConfig","qualifiedName":"document_reader.RecognizeConfig.withOnlineProcessingConfig","href":"document_reader/RecognizeConfig/RecognizeConfig.withOnlineProcessingConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"RecognizeConfig.withScenario","qualifiedName":"document_reader.RecognizeConfig.withScenario","href":"document_reader/RecognizeConfig/RecognizeConfig.withScenario.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeConfig","kind":3,"href":"document_reader/RecognizeConfig-class.html"}},{"name":"RecognizeData","qualifiedName":"document_reader.RecognizeData","href":"document_reader/RecognizeData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Insures that RecognizeConfig has exactly one of four parameters set:\nimage, data, images, imageInputData","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"data","qualifiedName":"document_reader.RecognizeData.data","href":"document_reader/RecognizeData/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"image","qualifiedName":"document_reader.RecognizeData.image","href":"document_reader/RecognizeData/image.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"imageInputData","qualifiedName":"document_reader.RecognizeData.imageInputData","href":"document_reader/RecognizeData/imageInputData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"images","qualifiedName":"document_reader.RecognizeData.images","href":"document_reader/RecognizeData/images.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"RecognizeData.withData","qualifiedName":"document_reader.RecognizeData.withData","href":"document_reader/RecognizeData/RecognizeData.withData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"RecognizeData.withImage","qualifiedName":"document_reader.RecognizeData.withImage","href":"document_reader/RecognizeData/RecognizeData.withImage.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"RecognizeData.withImageInputData","qualifiedName":"document_reader.RecognizeData.withImageInputData","href":"document_reader/RecognizeData/RecognizeData.withImageInputData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"RecognizeData.withImages","qualifiedName":"document_reader.RecognizeData.withImages","href":"document_reader/RecognizeData/RecognizeData.withImages.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"RecognizeData","kind":3,"href":"document_reader/RecognizeData-class.html"}},{"name":"Rect","qualifiedName":"document_reader.Rect","href":"document_reader/Rect-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Rect","qualifiedName":"document_reader.Rect.Rect","href":"document_reader/Rect/Rect.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"bottom","qualifiedName":"document_reader.Rect.bottom","href":"document_reader/Rect/bottom.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Rect.fromJson","href":"document_reader/Rect/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"left","qualifiedName":"document_reader.Rect.left","href":"document_reader/Rect/left.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"right","qualifiedName":"document_reader.Rect.right","href":"document_reader/Rect/right.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Rect.toJson","href":"document_reader/Rect/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"top","qualifiedName":"document_reader.Rect.top","href":"document_reader/Rect/top.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Rect","kind":3,"href":"document_reader/Rect-class.html"}},{"name":"ResultType","qualifiedName":"document_reader.ResultType","href":"document_reader/ResultType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains a pool of constants that determine the type of resulting\ndata formed during the data scanning and processing cycle and passed\nto the user application.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ResultType","qualifiedName":"document_reader.ResultType.ResultType","href":"document_reader/ResultType/ResultType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ResultType","kind":5,"href":"document_reader/ResultType.html"}},{"name":"value","qualifiedName":"document_reader.ResultType.value","href":"document_reader/ResultType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ResultType","kind":5,"href":"document_reader/ResultType.html"}},{"name":"values","qualifiedName":"document_reader.ResultType.values","href":"document_reader/ResultType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ResultType","kind":5,"href":"document_reader/ResultType.html"}},{"name":"Results","qualifiedName":"document_reader.Results","href":"document_reader/Results-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Class describing results returned on completion of Document Reader work.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Results","qualifiedName":"document_reader.Results.Results","href":"document_reader/Results/Results.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"authenticityResult","qualifiedName":"document_reader.Results.authenticityResult","href":"document_reader/Results/authenticityResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Authenticity results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"barcodePosition","qualifiedName":"document_reader.Results.barcodePosition","href":"document_reader/Results/barcodePosition.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Position of a barcode.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"barcodeResult","qualifiedName":"document_reader.Results.barcodeResult","href":"document_reader/Results/barcodeResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Barcode results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"chipPage","qualifiedName":"document_reader.Results.chipPage","href":"document_reader/Results/chipPage.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates which page of the document contains an RFID chip (0 if there's\nno page containing it). Requires document type recognition, otherwise 1 by default.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"containers","qualifiedName":"document_reader.Results.containers","href":"document_reader/Results/containers.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Method returns containers by result type. If result type doesn't exist,\nthe result of the search will be null.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"documentPosition","qualifiedName":"document_reader.Results.documentPosition","href":"document_reader/Results/documentPosition.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Position of a document.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"documentType","qualifiedName":"document_reader.Results.documentType","href":"document_reader/Results/documentType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document type results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"elapsedTime","qualifiedName":"document_reader.Results.elapsedTime","href":"document_reader/Results/elapsedTime.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates how much time has been required for document processing, milliseconds.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"elapsedTimeRFID","qualifiedName":"document_reader.Results.elapsedTimeRFID","href":"document_reader/Results/elapsedTimeRFID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates how much time has been required for RFID chip processing, milliseconds.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"encryptedContainers","qualifiedName":"document_reader.Results.encryptedContainers","href":"document_reader/Results/encryptedContainers.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Method returns only containers for ResultType.INTERNAL_RFID_SESSION,\nResultType.INTERNAL_ENCRYPTED_RCL and ResultType.INTERNAL_LICENSE values.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Results.fromJson","href":"document_reader/Results/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldByTypeSource","qualifiedName":"document_reader.Results.graphicFieldByTypeSource","href":"document_reader/Results/graphicFieldByTypeSource.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type\nand page index.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldByTypeSourcePageIndex","qualifiedName":"document_reader.Results.graphicFieldByTypeSourcePageIndex","href":"document_reader/Results/graphicFieldByTypeSourcePageIndex.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type\nand page index.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldByTypeSourcePageIndexLight","qualifiedName":"document_reader.Results.graphicFieldByTypeSourcePageIndexLight","href":"document_reader/Results/graphicFieldByTypeSourcePageIndexLight.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type,\npage index and light type.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldImageByType","qualifiedName":"document_reader.Results.graphicFieldImageByType","href":"document_reader/Results/graphicFieldImageByType.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldImageByTypeSource","qualifiedName":"document_reader.Results.graphicFieldImageByTypeSource","href":"document_reader/Results/graphicFieldImageByTypeSource.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldImageByTypeSourcePageIndex","qualifiedName":"document_reader.Results.graphicFieldImageByTypeSourcePageIndex","href":"document_reader/Results/graphicFieldImageByTypeSourcePageIndex.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type\nand page index.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicFieldImageByTypeSourcePageIndexLight","qualifiedName":"document_reader.Results.graphicFieldImageByTypeSourcePageIndexLight","href":"document_reader/Results/graphicFieldImageByTypeSourcePageIndexLight.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an image of a graphic field based on a source type,\npage index and light type.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"graphicResult","qualifiedName":"document_reader.Results.graphicResult","href":"document_reader/Results/graphicResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Graphic results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"imageQuality","qualifiedName":"document_reader.Results.imageQuality","href":"document_reader/Results/imageQuality.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Image quality results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"morePagesAvailable","qualifiedName":"document_reader.Results.morePagesAvailable","href":"document_reader/Results/morePagesAvailable.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Indicates how many pages of a document remains to process.\nRequires Document Type recognition, otherwise 0 by default.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"mrzPosition","qualifiedName":"document_reader.Results.mrzPosition","href":"document_reader/Results/mrzPosition.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Position of MRZ.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"processingFinishedStatus","qualifiedName":"document_reader.Results.processingFinishedStatus","href":"document_reader/Results/processingFinishedStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Document processing finish status, one of RGLProcessingFinishedStatus values.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"rawResult","qualifiedName":"document_reader.Results.rawResult","href":"document_reader/Results/rawResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Raw results, i.e. in their initial view.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"rfidSessionData","qualifiedName":"document_reader.Results.rfidSessionData","href":"document_reader/Results/rfidSessionData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"RFID session data.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"status","qualifiedName":"document_reader.Results.status","href":"document_reader/Results/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Status information for each operation.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldByType","qualifiedName":"document_reader.Results.textFieldByType","href":"document_reader/Results/textFieldByType.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an instance of a text field.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldByTypeLcid","qualifiedName":"document_reader.Results.textFieldByTypeLcid","href":"document_reader/Results/textFieldByTypeLcid.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get an instance of a text field based on LCID.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByType","qualifiedName":"document_reader.Results.textFieldValueByType","href":"document_reader/Results/textFieldValueByType.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByTypeLcid","qualifiedName":"document_reader.Results.textFieldValueByTypeLcid","href":"document_reader/Results/textFieldValueByTypeLcid.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field based on LCID.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByTypeLcidSource","qualifiedName":"document_reader.Results.textFieldValueByTypeLcidSource","href":"document_reader/Results/textFieldValueByTypeLcidSource.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field based on LCID and a source type.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByTypeLcidSourceOriginal","qualifiedName":"document_reader.Results.textFieldValueByTypeLcidSourceOriginal","href":"document_reader/Results/textFieldValueByTypeLcidSourceOriginal.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field based on LCID, a source type\nand its originality.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByTypeSource","qualifiedName":"document_reader.Results.textFieldValueByTypeSource","href":"document_reader/Results/textFieldValueByTypeSource.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field based on a source type.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textFieldValueByTypeSourceOriginal","qualifiedName":"document_reader.Results.textFieldValueByTypeSourceOriginal","href":"document_reader/Results/textFieldValueByTypeSourceOriginal.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to get a value of a text field based on a source type and\nits originality.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"textResult","qualifiedName":"document_reader.Results.textResult","href":"document_reader/Results/textResult.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual results.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Results.toJson","href":"document_reader/Results/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"transactionInfo","qualifiedName":"document_reader.Results.transactionInfo","href":"document_reader/Results/transactionInfo.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"vdsncData","qualifiedName":"document_reader.Results.vdsncData","href":"document_reader/Results/vdsncData.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Visible Digital Seal data.","enclosedBy":{"name":"Results","kind":3,"href":"document_reader/Results-class.html"}},{"name":"ResultsStatus","qualifiedName":"document_reader.ResultsStatus","href":"document_reader/ResultsStatus-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Provision of document verification status.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ResultsStatus","qualifiedName":"document_reader.ResultsStatus.ResultsStatus","href":"document_reader/ResultsStatus/ResultsStatus.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"detailsOptical","qualifiedName":"document_reader.ResultsStatus.detailsOptical","href":"document_reader/ResultsStatus/detailsOptical.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Container for an optical related scanning statuses.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"detailsRFID","qualifiedName":"document_reader.ResultsStatus.detailsRFID","href":"document_reader/ResultsStatus/detailsRFID.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Container for a RFID related scanning statuses.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ResultsStatus.fromJson","href":"document_reader/ResultsStatus/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"optical","qualifiedName":"document_reader.ResultsStatus.optical","href":"document_reader/ResultsStatus/optical.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Summary of all optical results. The same value as OpticalStatus.overallStatus","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"overallStatus","qualifiedName":"document_reader.ResultsStatus.overallStatus","href":"document_reader/ResultsStatus/overallStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Summary of all results.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"portrait","qualifiedName":"document_reader.ResultsStatus.portrait","href":"document_reader/ResultsStatus/portrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Comparison status for portrait in the document aganist live or external image.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"rfid","qualifiedName":"document_reader.ResultsStatus.rfid","href":"document_reader/ResultsStatus/rfid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Summary of all RFID results. Same as RFIDStatus.overallStatus.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"stopList","qualifiedName":"document_reader.ResultsStatus.stopList","href":"document_reader/ResultsStatus/stopList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Verification status for document data against database.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ResultsStatus.toJson","href":"document_reader/ResultsStatus/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"ResultsStatus","kind":3,"href":"document_reader/ResultsStatus-class.html"}},{"name":"RetryReadChipCompletion","qualifiedName":"document_reader.RetryReadChipCompletion","href":"document_reader/RetryReadChipCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Fires when RFID chip reading was interrupted with no severe reasons\n(for example connection to the chip was lost) and will be reestablished automatically.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ScannerConfig","qualifiedName":"document_reader.ScannerConfig","href":"document_reader/ScannerConfig-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ScannerConfig","qualifiedName":"document_reader.ScannerConfig.ScannerConfig","href":"document_reader/ScannerConfig/ScannerConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"cameraId","qualifiedName":"document_reader.ScannerConfig.cameraId","href":"document_reader/ScannerConfig/cameraId.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Camera id.","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"extPortrait","qualifiedName":"document_reader.ScannerConfig.extPortrait","href":"document_reader/ScannerConfig/extPortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Portrait photo from an external source.","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.ScannerConfig.fromJson","href":"document_reader/ScannerConfig/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"livePortrait","qualifiedName":"document_reader.ScannerConfig.livePortrait","href":"document_reader/ScannerConfig/livePortrait.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Live portrait photo.","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"onlineProcessingConfig","qualifiedName":"document_reader.ScannerConfig.onlineProcessingConfig","href":"document_reader/ScannerConfig/onlineProcessingConfig.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Configuration class for online processing.","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"scenario","qualifiedName":"document_reader.ScannerConfig.scenario","href":"document_reader/ScannerConfig/scenario.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Documents processing scenario.","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"toJson","qualifiedName":"document_reader.ScannerConfig.toJson","href":"document_reader/ScannerConfig/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"ScannerConfig.withOnlineProcessingConfig","qualifiedName":"document_reader.ScannerConfig.withOnlineProcessingConfig","href":"document_reader/ScannerConfig/ScannerConfig.withOnlineProcessingConfig.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"ScannerConfig.withScenario","qualifiedName":"document_reader.ScannerConfig.withScenario","href":"document_reader/ScannerConfig/ScannerConfig.withScenario.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ScannerConfig","kind":3,"href":"document_reader/ScannerConfig-class.html"}},{"name":"Scenario","qualifiedName":"document_reader.Scenario","href":"document_reader/Scenario.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Scenario","qualifiedName":"document_reader.Scenario.Scenario","href":"document_reader/Scenario/Scenario.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Scenario","kind":5,"href":"document_reader/Scenario.html"}},{"name":"value","qualifiedName":"document_reader.Scenario.value","href":"document_reader/Scenario/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Scenario","kind":5,"href":"document_reader/Scenario.html"}},{"name":"values","qualifiedName":"document_reader.Scenario.values","href":"document_reader/Scenario/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"Scenario","kind":5,"href":"document_reader/Scenario.html"}},{"name":"SecurityFeatureType","qualifiedName":"document_reader.SecurityFeatureType","href":"document_reader/SecurityFeatureType.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Enumeration contains identifiers that determine the types of elements\nfor the document authenticity check.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"SecurityFeatureType","qualifiedName":"document_reader.SecurityFeatureType.SecurityFeatureType","href":"document_reader/SecurityFeatureType/SecurityFeatureType.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SecurityFeatureType","kind":5,"href":"document_reader/SecurityFeatureType.html"}},{"name":"value","qualifiedName":"document_reader.SecurityFeatureType.value","href":"document_reader/SecurityFeatureType/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SecurityFeatureType","kind":5,"href":"document_reader/SecurityFeatureType.html"}},{"name":"values","qualifiedName":"document_reader.SecurityFeatureType.values","href":"document_reader/SecurityFeatureType/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"SecurityFeatureType","kind":5,"href":"document_reader/SecurityFeatureType.html"}},{"name":"SecurityObject","qualifiedName":"document_reader.SecurityObject","href":"document_reader/SecurityObject-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used to describe the contents of a single document\nsecurity object (SO) and the results of its check within the context\nof the communication session with electronic document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"SecurityObject","qualifiedName":"document_reader.SecurityObject.SecurityObject","href":"document_reader/SecurityObject/SecurityObject.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"fileReference","qualifiedName":"document_reader.SecurityObject.fileReference","href":"document_reader/SecurityObject/fileReference.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Reference to the source file of the security object data.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.SecurityObject.fromJson","href":"document_reader/SecurityObject/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"notifications","qualifiedName":"document_reader.SecurityObject.notifications","href":"document_reader/SecurityObject/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The list of remarks occured during the scanning procedure.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"objectType","qualifiedName":"document_reader.SecurityObject.objectType","href":"document_reader/SecurityObject/objectType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Security object identifier.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"signerInfos","qualifiedName":"document_reader.SecurityObject.signerInfos","href":"document_reader/SecurityObject/signerInfos.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of containers to store information about digital\nsignature objects contained in the SO.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"toJson","qualifiedName":"document_reader.SecurityObject.toJson","href":"document_reader/SecurityObject/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"version","qualifiedName":"document_reader.SecurityObject.version","href":"document_reader/SecurityObject/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Security object version.","enclosedBy":{"name":"SecurityObject","kind":3,"href":"document_reader/SecurityObject-class.html"}},{"name":"SecurityObjectCertificates","qualifiedName":"document_reader.SecurityObjectCertificates","href":"document_reader/SecurityObjectCertificates-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"SecurityObjectCertificates","qualifiedName":"document_reader.SecurityObjectCertificates.SecurityObjectCertificates","href":"document_reader/SecurityObjectCertificates/SecurityObjectCertificates.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SecurityObjectCertificates","kind":3,"href":"document_reader/SecurityObjectCertificates-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.SecurityObjectCertificates.fromJson","href":"document_reader/SecurityObjectCertificates/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"SecurityObjectCertificates","kind":3,"href":"document_reader/SecurityObjectCertificates-class.html"}},{"name":"securityObject","qualifiedName":"document_reader.SecurityObjectCertificates.securityObject","href":"document_reader/SecurityObjectCertificates/securityObject.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SecurityObjectCertificates","kind":3,"href":"document_reader/SecurityObjectCertificates-class.html"}},{"name":"toJson","qualifiedName":"document_reader.SecurityObjectCertificates.toJson","href":"document_reader/SecurityObjectCertificates/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"SecurityObjectCertificates","kind":3,"href":"document_reader/SecurityObjectCertificates-class.html"}},{"name":"SignManagementAction","qualifiedName":"document_reader.SignManagementAction","href":"document_reader/SignManagementAction.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"SignManagementAction","qualifiedName":"document_reader.SignManagementAction.SignManagementAction","href":"document_reader/SignManagementAction/SignManagementAction.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SignManagementAction","kind":5,"href":"document_reader/SignManagementAction.html"}},{"name":"value","qualifiedName":"document_reader.SignManagementAction.value","href":"document_reader/SignManagementAction/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SignManagementAction","kind":5,"href":"document_reader/SignManagementAction.html"}},{"name":"values","qualifiedName":"document_reader.SignManagementAction.values","href":"document_reader/SignManagementAction/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"SignManagementAction","kind":5,"href":"document_reader/SignManagementAction.html"}},{"name":"SignerInfo","qualifiedName":"document_reader.SignerInfo","href":"document_reader/SignerInfo-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure is used to store the result of the verification of a single digital\nsignature of the number present in EF.SOD.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"SignerInfo","qualifiedName":"document_reader.SignerInfo.SignerInfo","href":"document_reader/SignerInfo/SignerInfo.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"certificateChain","qualifiedName":"document_reader.SignerInfo.certificateChain","href":"document_reader/SignerInfo/certificateChain.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Certificate chain, used for the digital signature verification.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"dataToHash","qualifiedName":"document_reader.SignerInfo.dataToHash","href":"document_reader/SignerInfo/dataToHash.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Data to hash.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"digestAlgorithm","qualifiedName":"document_reader.SignerInfo.digestAlgorithm","href":"document_reader/SignerInfo/digestAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Digital signature hash-function algorithm identifier.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.SignerInfo.fromJson","href":"document_reader/SignerInfo/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"issuer","qualifiedName":"document_reader.SignerInfo.issuer","href":"document_reader/SignerInfo/issuer.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Identifier of the necessary certificate issuer.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"notifications","qualifiedName":"document_reader.SignerInfo.notifications","href":"document_reader/SignerInfo/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The list of remarks occured during the scanning procedure.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"paStatus","qualifiedName":"document_reader.SignerInfo.paStatus","href":"document_reader/SignerInfo/paStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Result of the digital signature verification.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"serialNumber","qualifiedName":"document_reader.SignerInfo.serialNumber","href":"document_reader/SignerInfo/serialNumber.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Serial number of the necessary certificate.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"signature","qualifiedName":"document_reader.SignerInfo.signature","href":"document_reader/SignerInfo/signature.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Binary data of the verified digital signature.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"signatureAlgorithm","qualifiedName":"document_reader.SignerInfo.signatureAlgorithm","href":"document_reader/SignerInfo/signatureAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Digital signature algorithm identifier.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"signedAttributes","qualifiedName":"document_reader.SignerInfo.signedAttributes","href":"document_reader/SignerInfo/signedAttributes.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of the signed attributes.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"subjectKeyIdentifier","qualifiedName":"document_reader.SignerInfo.subjectKeyIdentifier","href":"document_reader/SignerInfo/subjectKeyIdentifier.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Signature object identifier of the necessary certificate.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"toJson","qualifiedName":"document_reader.SignerInfo.toJson","href":"document_reader/SignerInfo/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"version","qualifiedName":"document_reader.SignerInfo.version","href":"document_reader/SignerInfo/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Version of the digital signature data structure.","enclosedBy":{"name":"SignerInfo","kind":3,"href":"document_reader/SignerInfo-class.html"}},{"name":"SuccessOrError","qualifiedName":"document_reader.SuccessOrError","href":"document_reader/SuccessOrError.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"A type specifically made for receiving answer from any function\nwhich does not return anything, but we need to know whether the function\nhas succeeded or not.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Symbol","qualifiedName":"document_reader.Symbol","href":"document_reader/Symbol-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Symbol","qualifiedName":"document_reader.Symbol.Symbol","href":"document_reader/Symbol/Symbol.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"code","qualifiedName":"document_reader.Symbol.code","href":"document_reader/Symbol/code.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"ASCII code of symbol.","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Symbol.fromJson","href":"document_reader/Symbol/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"probability","qualifiedName":"document_reader.Symbol.probability","href":"document_reader/Symbol/probability.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Symbol recognition probability (0–100, %).","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"rect","qualifiedName":"document_reader.Symbol.rect","href":"document_reader/Symbol/rect.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Bounds result of the particular value.","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Symbol.toJson","href":"document_reader/Symbol/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Symbol","kind":3,"href":"document_reader/Symbol-class.html"}},{"name":"TAChallenge","qualifiedName":"document_reader.TAChallenge","href":"document_reader/TAChallenge-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TAChallenge","qualifiedName":"document_reader.TAChallenge.TAChallenge","href":"document_reader/TAChallenge/TAChallenge.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"auxPCD","qualifiedName":"document_reader.TAChallenge.auxPCD","href":"document_reader/TAChallenge/auxPCD.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"challengePICC","qualifiedName":"document_reader.TAChallenge.challengePICC","href":"document_reader/TAChallenge/challengePICC.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"data","qualifiedName":"document_reader.TAChallenge.data","href":"document_reader/TAChallenge/data.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TAChallenge.fromJson","href":"document_reader/TAChallenge/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"hashPK","qualifiedName":"document_reader.TAChallenge.hashPK","href":"document_reader/TAChallenge/hashPK.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"idPICC","qualifiedName":"document_reader.TAChallenge.idPICC","href":"document_reader/TAChallenge/idPICC.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TAChallenge.toJson","href":"document_reader/TAChallenge/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TAChallenge","kind":3,"href":"document_reader/TAChallenge-class.html"}},{"name":"TASignatureRequest","qualifiedName":"document_reader.TASignatureRequest","href":"document_reader/TASignatureRequest.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Provided to a user for passing TASignature\nto the native part of DocumentReader.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TaCertificateCompletion","qualifiedName":"document_reader.TaCertificateCompletion","href":"document_reader/TaCertificateCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TaSignatureCompletion","qualifiedName":"document_reader.TaSignatureCompletion","href":"document_reader/TaSignatureCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback for receiving RFID request data","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TccParams","qualifiedName":"document_reader.TccParams","href":"document_reader/TccParams-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"TCC service related parameters for RFID session configuration.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TccParams","qualifiedName":"document_reader.TccParams.TccParams","href":"document_reader/TccParams/TccParams.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TccParams.fromJson","href":"document_reader/TccParams/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"pfxCert","qualifiedName":"document_reader.TccParams.pfxCert","href":"document_reader/TccParams/pfxCert.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The bytes of the certificate for a TCC service.\nThis data will be used instead of loading the certificate via pfxCertUrl.","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"pfxCertUrl","qualifiedName":"document_reader.TccParams.pfxCertUrl","href":"document_reader/TccParams/pfxCertUrl.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The URL for the certificate for a TCC service.\nThe value of the property must be a valid URL string.","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"pfxPassPhrase","qualifiedName":"document_reader.TccParams.pfxPassPhrase","href":"document_reader/TccParams/pfxPassPhrase.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The passphrase for the cerficiate provided by the pfxCertUrl property.","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"serviceUrlPA","qualifiedName":"document_reader.TccParams.serviceUrlPA","href":"document_reader/TccParams/serviceUrlPA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The PA URL for the TCC service. The value of the property\nmust be a valid URL string.","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"serviceUrlTA","qualifiedName":"document_reader.TccParams.serviceUrlTA","href":"document_reader/TccParams/serviceUrlTA.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The TA URL for the TCC service. The value of the property\nmust be a valid URL string.","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TccParams.toJson","href":"document_reader/TccParams/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TccParams","kind":3,"href":"document_reader/TccParams-class.html"}},{"name":"TextField","qualifiedName":"document_reader.TextField","href":"document_reader/TextField-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Serves for storing information from one text data field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TextField","qualifiedName":"document_reader.TextField.TextField","href":"document_reader/TextField/TextField.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"comparisonList","qualifiedName":"document_reader.TextField.comparisonList","href":"document_reader/TextField/comparisonList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of all comparison statuses for this field type.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"comparisonStatus","qualifiedName":"document_reader.TextField.comparisonStatus","href":"document_reader/TextField/comparisonStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Comparison result of the field.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"fieldName","qualifiedName":"document_reader.TextField.fieldName","href":"document_reader/TextField/fieldName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual field symbolic name.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"fieldType","qualifiedName":"document_reader.TextField.fieldType","href":"document_reader/TextField/fieldType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual field logical type.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TextField.fromJson","href":"document_reader/TextField/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"getValue","qualifiedName":"document_reader.TextField.getValue","href":"document_reader/TextField/getValue.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"lcid","qualifiedName":"document_reader.TextField.lcid","href":"document_reader/TextField/lcid.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"ID of language-culture to differentiate one field of the same type from\nanother (for example Belarus Passport Page # 31 – Belarusian and Russian\nfields of the same type).","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"lcidName","qualifiedName":"document_reader.TextField.lcidName","href":"document_reader/TextField/lcidName.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"LCID symbolic name.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"status","qualifiedName":"document_reader.TextField.status","href":"document_reader/TextField/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual field check result.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TextField.toJson","href":"document_reader/TextField/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"validityList","qualifiedName":"document_reader.TextField.validityList","href":"document_reader/TextField/validityList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of all validity statuses for this field type.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"validityStatus","qualifiedName":"document_reader.TextField.validityStatus","href":"document_reader/TextField/validityStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Validity result of the field","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"value","qualifiedName":"document_reader.TextField.value","href":"document_reader/TextField/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Value from the field.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"values","qualifiedName":"document_reader.TextField.values","href":"document_reader/TextField/values.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An array of values.","enclosedBy":{"name":"TextField","kind":3,"href":"document_reader/TextField-class.html"}},{"name":"TextResult","qualifiedName":"document_reader.TextResult","href":"document_reader/TextResult-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure, containing all text data extracted and recognized from the document.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TextResult","qualifiedName":"document_reader.TextResult.TextResult","href":"document_reader/TextResult/TextResult.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"availableSourceList","qualifiedName":"document_reader.TextResult.availableSourceList","href":"document_reader/TextResult/availableSourceList.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of all available origin source with overall validity\nstatus of all text fields of a particular source type.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"comparisonStatus","qualifiedName":"document_reader.TextResult.comparisonStatus","href":"document_reader/TextResult/comparisonStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Comparison status of all text fields.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"fields","qualifiedName":"document_reader.TextResult.fields","href":"document_reader/TextResult/fields.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An array of textual results.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TextResult.fromJson","href":"document_reader/TextResult/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"status","qualifiedName":"document_reader.TextResult.status","href":"document_reader/TextResult/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual fields check result.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TextResult.toJson","href":"document_reader/TextResult/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"validityStatus","qualifiedName":"document_reader.TextResult.validityStatus","href":"document_reader/TextResult/validityStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Validity status of all text fields.","enclosedBy":{"name":"TextResult","kind":3,"href":"document_reader/TextResult-class.html"}},{"name":"TextSource","qualifiedName":"document_reader.TextSource","href":"document_reader/TextSource-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TextSource","qualifiedName":"document_reader.TextSource.TextSource","href":"document_reader/TextSource/TextSource.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TextSource.fromJson","href":"document_reader/TextSource/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"source","qualifiedName":"document_reader.TextSource.source","href":"document_reader/TextSource/source.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The value's origin source string description.","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"sourceType","qualifiedName":"document_reader.TextSource.sourceType","href":"document_reader/TextSource/sourceType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The value's origin source.","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TextSource.toJson","href":"document_reader/TextSource/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"validityStatus","qualifiedName":"document_reader.TextSource.validityStatus","href":"document_reader/TextSource/validityStatus.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Overall validity status of all text fields of this source type.","enclosedBy":{"name":"TextSource","kind":3,"href":"document_reader/TextSource-class.html"}},{"name":"TransactionInfo","qualifiedName":"document_reader.TransactionInfo","href":"document_reader/TransactionInfo-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"TransactionInfo","qualifiedName":"document_reader.TransactionInfo.TransactionInfo","href":"document_reader/TransactionInfo/TransactionInfo.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TransactionInfo","kind":3,"href":"document_reader/TransactionInfo-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.TransactionInfo.fromJson","href":"document_reader/TransactionInfo/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"TransactionInfo","kind":3,"href":"document_reader/TransactionInfo-class.html"}},{"name":"tag","qualifiedName":"document_reader.TransactionInfo.tag","href":"document_reader/TransactionInfo/tag.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TransactionInfo","kind":3,"href":"document_reader/TransactionInfo-class.html"}},{"name":"toJson","qualifiedName":"document_reader.TransactionInfo.toJson","href":"document_reader/TransactionInfo/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"TransactionInfo","kind":3,"href":"document_reader/TransactionInfo-class.html"}},{"name":"transactionId","qualifiedName":"document_reader.TransactionInfo.transactionId","href":"document_reader/TransactionInfo/transactionId.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"TransactionInfo","kind":3,"href":"document_reader/TransactionInfo-class.html"}},{"name":"VDSNCData","qualifiedName":"document_reader.VDSNCData","href":"document_reader/VDSNCData-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Visible Digital Seal for Non Constrained environments.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"VDSNCData","qualifiedName":"document_reader.VDSNCData.VDSNCData","href":"document_reader/VDSNCData/VDSNCData.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"certificate","qualifiedName":"document_reader.VDSNCData.certificate","href":"document_reader/VDSNCData/certificate.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The binary data of the signer certificate.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"certificateChain","qualifiedName":"document_reader.VDSNCData.certificateChain","href":"document_reader/VDSNCData/certificateChain.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The certificate chain, used for the digital signature verification.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.VDSNCData.fromJson","href":"document_reader/VDSNCData/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"issuingCountry","qualifiedName":"document_reader.VDSNCData.issuingCountry","href":"document_reader/VDSNCData/issuingCountry.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Three letter code identifying the issuing state or organization.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"message","qualifiedName":"document_reader.VDSNCData.message","href":"document_reader/VDSNCData/message.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The message field contains the actual data as a dictionary (JSON).","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"notifications","qualifiedName":"document_reader.VDSNCData.notifications","href":"document_reader/VDSNCData/notifications.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The list of remarks occured during the scanning procedure.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"signature","qualifiedName":"document_reader.VDSNCData.signature","href":"document_reader/VDSNCData/signature.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The binary data of the verified digital signature.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"signatureAlgorithm","qualifiedName":"document_reader.VDSNCData.signatureAlgorithm","href":"document_reader/VDSNCData/signatureAlgorithm.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The signature algorithm used to produce the signature. ECDSA scheme.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"toJson","qualifiedName":"document_reader.VDSNCData.toJson","href":"document_reader/VDSNCData/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"type","qualifiedName":"document_reader.VDSNCData.type","href":"document_reader/VDSNCData/type.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Visible Digital Seal use case type.\nType is set to icao.test for Proof of Testing (data defined by CAPSCA),\nicao.vacc for Proof of Vaccination (data defined by WHO).\nOther Types may be added in the future.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"version","qualifiedName":"document_reader.VDSNCData.version","href":"document_reader/VDSNCData/version.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Visible Digital Seal use case version.","enclosedBy":{"name":"VDSNCData","kind":3,"href":"document_reader/VDSNCData-class.html"}},{"name":"Validity","qualifiedName":"document_reader.Validity","href":"document_reader/Validity-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Validity","qualifiedName":"document_reader.Validity.Validity","href":"document_reader/Validity/Validity.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Validity","kind":3,"href":"document_reader/Validity-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Validity.fromJson","href":"document_reader/Validity/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Validity","kind":3,"href":"document_reader/Validity-class.html"}},{"name":"sourceType","qualifiedName":"document_reader.Validity.sourceType","href":"document_reader/Validity/sourceType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"The value's origin source.","enclosedBy":{"name":"Validity","kind":3,"href":"document_reader/Validity-class.html"}},{"name":"status","qualifiedName":"document_reader.Validity.status","href":"document_reader/Validity/status.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Overall validity status of all text fields of this particular field.","enclosedBy":{"name":"Validity","kind":3,"href":"document_reader/Validity-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Validity.toJson","href":"document_reader/Validity/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Validity","kind":3,"href":"document_reader/Validity-class.html"}},{"name":"Value","qualifiedName":"document_reader.Value","href":"document_reader/Value-class.html","kind":3,"overriddenDepth":0,"packageRank":0,"desc":"Structure describing single value of the field.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"Value","qualifiedName":"document_reader.Value.Value","href":"document_reader/Value/Value.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"boundRect","qualifiedName":"document_reader.Value.boundRect","href":"document_reader/Value/boundRect.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Field rectangular area coordinates on the image.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"fromJson","qualifiedName":"document_reader.Value.fromJson","href":"document_reader/Value/fromJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to deserialize object.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"originalSymbols","qualifiedName":"document_reader.Value.originalSymbols","href":"document_reader/Value/originalSymbols.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"List of all symbols for this value.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"originalValue","qualifiedName":"document_reader.Value.originalValue","href":"document_reader/Value/originalValue.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An original value.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"pageIndex","qualifiedName":"document_reader.Value.pageIndex","href":"document_reader/Value/pageIndex.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"An index of the document page whence the textual field is extracted.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"probability","qualifiedName":"document_reader.Value.probability","href":"document_reader/Value/probability.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Textual field recognition probability (0 - 100, %).","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"rfidOrigin","qualifiedName":"document_reader.Value.rfidOrigin","href":"document_reader/Value/rfidOrigin.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"RFID origin data. Only for the 'RFID' source.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"sourceType","qualifiedName":"document_reader.Value.sourceType","href":"document_reader/Value/sourceType.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"Identifies zone whence data is extracted.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"toJson","qualifiedName":"document_reader.Value.toJson","href":"document_reader/Value/toJson.html","kind":10,"overriddenDepth":0,"packageRank":0,"desc":"Allows you to serialize object.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"value","qualifiedName":"document_reader.Value.value","href":"document_reader/Value/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"A value.","enclosedBy":{"name":"Value","kind":3,"href":"document_reader/Value-class.html"}},{"name":"VideoEncoderCompletion","qualifiedName":"document_reader.VideoEncoderCompletion","href":"document_reader/VideoEncoderCompletion.html","kind":21,"overriddenDepth":0,"packageRank":0,"desc":"Callback that allows user to receive a video file of current session.\nCalled by DocumentReader when recording process finished.","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ViewContentMode","qualifiedName":"document_reader.ViewContentMode","href":"document_reader/ViewContentMode.html","kind":5,"overriddenDepth":0,"packageRank":0,"desc":"Clone of iOS native enum UIViewContentMode","enclosedBy":{"name":"document_reader","kind":9,"href":"document_reader/document_reader-library.html"}},{"name":"ViewContentMode","qualifiedName":"document_reader.ViewContentMode.ViewContentMode","href":"document_reader/ViewContentMode/ViewContentMode.html","kind":2,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ViewContentMode","kind":5,"href":"document_reader/ViewContentMode.html"}},{"name":"value","qualifiedName":"document_reader.ViewContentMode.value","href":"document_reader/ViewContentMode/value.html","kind":16,"overriddenDepth":0,"packageRank":0,"desc":"","enclosedBy":{"name":"ViewContentMode","kind":5,"href":"document_reader/ViewContentMode.html"}},{"name":"values","qualifiedName":"document_reader.ViewContentMode.values","href":"document_reader/ViewContentMode/values-constant.html","kind":1,"overriddenDepth":0,"packageRank":0,"desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"ViewContentMode","kind":5,"href":"document_reader/ViewContentMode.html"}}] diff --git a/docs/search.html b/docs/search.html deleted file mode 100644 index db350d8787..0000000000 --- a/docs/search.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - flutter_document_reader_api - Dart API docs - - - - - - - - - - - - - - - - - -
- -
- menu - -
flutter_document_reader_api
- -
- -
-
-
- -
-
- - - - - -
- -
- - flutter_document_reader_api - 7.2.0 - - - -
- - - - - - - - - - - - diff --git a/docs/static-assets/docs.dart.js b/docs/static-assets/docs.dart.js deleted file mode 100644 index 5adefabd43..0000000000 --- a/docs/static-assets/docs.dart.js +++ /dev/null @@ -1,6152 +0,0 @@ -(function dartProgram(){function copyProperties(a,b){var s=Object.keys(a) -for(var r=0;r=0)return true -if(typeof version=="function"&&version.length==0){var q=version() -if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() -function inherit(a,b){a.prototype.constructor=a -a.prototype["$i"+a.name]=a -if(b!=null){if(z){Object.setPrototypeOf(a.prototype,b.prototype) -return}var s=Object.create(b.prototype) -copyProperties(a.prototype,s) -a.prototype=s}}function inheritMany(a,b){for(var s=0;s").b(a))return new A.c9(a,b.k("@<0>").G(c).k("c9<1,2>")) -return new A.aX(a,b.k("@<0>").G(c).k("aX<1,2>"))}, -i9(a){var s,r=a^48 -if(r<=9)return r -s=a|32 -if(97<=s&&s<=102)return s-87 -return-1}, -aN(a,b){a=a+b&536870911 -a=a+((a&524287)<<10)&536870911 -return a^a>>>6}, -iF(a){a=a+((a&67108863)<<3)&536870911 -a^=a>>>11 -return a+((a&16383)<<15)&536870911}, -fc(a,b,c){return a}, -iZ(a){var s,r -for(s=$.be.length,r=0;r").G(d).k("bJ<1,2>")) -return new A.ao(a,b,c.k("@<0>").G(d).k("ao<1,2>"))}, -iv(){return new A.bq("No element")}, -l8(){return new A.bq("Too many elements")}, -aO:function aO(){}, -cS:function cS(a,b){this.a=a -this.$ti=b}, -aX:function aX(a,b){this.a=a -this.$ti=b}, -c9:function c9(a,b){this.a=a -this.$ti=b}, -c6:function c6(){}, -ak:function ak(a,b){this.a=a -this.$ti=b}, -bR:function bR(a){this.a=a}, -cV:function cV(a){this.a=a}, -fT:function fT(){}, -f:function f(){}, -a7:function a7(){}, -bT:function bT(a,b){var _=this -_.a=a -_.b=b -_.c=0 -_.d=null}, -ao:function ao(a,b,c){this.a=a -this.b=b -this.$ti=c}, -bJ:function bJ(a,b,c){this.a=a -this.b=b -this.$ti=c}, -bV:function bV(a,b){this.a=null -this.b=a -this.c=b}, -ap:function ap(a,b,c){this.a=a -this.b=b -this.$ti=c}, -ax:function ax(a,b,c){this.a=a -this.b=b -this.$ti=c}, -e2:function e2(a,b){this.a=a -this.b=b}, -bM:function bM(){}, -dY:function dY(){}, -bs:function bs(){}, -cy:function cy(){}, -kY(){throw A.b(A.r("Cannot modify unmodifiable Map"))}, -km(a){var s=v.mangledGlobalNames[a] -if(s!=null)return s -return"minified:"+a}, -kg(a,b){var s -if(b!=null){s=b.x -if(s!=null)return s}return t.G.b(a)}, -p(a){var s -if(typeof a=="string")return a -if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" -else if(!1===a)return"false" -else if(a==null)return"null" -s=J.aD(a) -return s}, -dD(a){var s,r=$.jn -if(r==null)r=$.jn=Symbol("identityHashCode") -s=a[r] -if(s==null){s=Math.random()*0x3fffffff|0 -a[r]=s}return s}, -jo(a,b){var s,r,q,p,o,n=null,m=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) -if(m==null)return n -s=m[3] -if(b==null){if(s!=null)return parseInt(a,10) -if(m[2]!=null)return parseInt(a,16) -return n}if(b<2||b>36)throw A.b(A.V(b,2,36,"radix",n)) -if(b===10&&s!=null)return parseInt(a,10) -if(b<10||s==null){r=b<=10?47+b:86+b -q=m[1] -for(p=q.length,o=0;or)return n}return parseInt(a,b)}, -fR(a){return A.lj(a)}, -lj(a){var s,r,q,p -if(a instanceof A.t)return A.T(A.bC(a),null) -s=J.bd(a) -if(s===B.M||s===B.O||t.o.b(a)){r=B.p(a) -if(r!=="Object"&&r!=="")return r -q=a.constructor -if(typeof q=="function"){p=q.name -if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.T(A.bC(a),null)}, -jp(a){if(a==null||typeof a=="number"||A.i2(a))return J.aD(a) -if(typeof a=="string")return JSON.stringify(a) -if(a instanceof A.aG)return a.j(0) -if(a instanceof A.ci)return a.bc(!0) -return"Instance of '"+A.fR(a)+"'"}, -lk(a,b,c){var s,r,q,p -if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) -for(s=b,r="";s>>0,s&1023|56320)}}throw A.b(A.V(a,0,1114111,null,null))}, -iX(a,b){var s,r="index" -if(!A.k2(b))return new A.Z(!0,b,r,null) -s=J.aV(a) -if(b<0||b>=s)return A.E(b,s,a,r) -return A.ll(b,r)}, -mZ(a,b,c){if(a>c)return A.V(a,0,c,"start",null) -if(b!=null)if(bc)return A.V(b,a,c,"end",null) -return new A.Z(!0,b,"end",null)}, -mT(a){return new A.Z(!0,a,null,null)}, -b(a){return A.kf(new Error(),a)}, -kf(a,b){var s -if(b==null)b=new A.av() -a.dartException=b -s=A.nq -if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) -a.name=""}else a.toString=s -return a}, -nq(){return J.aD(this.dartException)}, -ff(a){throw A.b(a)}, -kl(a,b){throw A.kf(b,a)}, -cE(a){throw A.b(A.aY(a))}, -aw(a){var s,r,q,p,o,n -a=A.nk(a.replace(String({}),"$receiver$")) -s=a.match(/\\\$[a-zA-Z]+\\\$/g) -if(s==null)s=A.n([],t.s) -r=s.indexOf("\\$arguments\\$") -q=s.indexOf("\\$argumentsExpr\\$") -p=s.indexOf("\\$expr\\$") -o=s.indexOf("\\$method\\$") -n=s.indexOf("\\$receiver\\$") -return new A.fV(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, -fW(a){return function($expr$){var $argumentsExpr$="$arguments$" -try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, -jv(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, -iz(a,b){var s=b==null,r=s?null:b.method -return new A.de(a,r,s?null:b.receiver)}, -ai(a){if(a==null)return new A.fQ(a) -if(a instanceof A.bL)return A.aU(a,a.a) -if(typeof a!=="object")return a -if("dartException" in a)return A.aU(a,a.dartException) -return A.mQ(a)}, -aU(a,b){if(t.U.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a -return b}, -mQ(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null -if(!("message" in a))return a -s=a.message -if("number" in a&&typeof a.number=="number"){r=a.number -q=r&65535 -if((B.d.ae(r,16)&8191)===10)switch(q){case 438:return A.aU(a,A.iz(A.p(s)+" (Error "+q+")",e)) -case 445:case 5007:p=A.p(s) -return A.aU(a,new A.c2(p+" (Error "+q+")",e))}}if(a instanceof TypeError){o=$.kp() -n=$.kq() -m=$.kr() -l=$.ks() -k=$.kv() -j=$.kw() -i=$.ku() -$.kt() -h=$.ky() -g=$.kx() -f=o.J(s) -if(f!=null)return A.aU(a,A.iz(s,f)) -else{f=n.J(s) -if(f!=null){f.method="call" -return A.aU(a,A.iz(s,f))}else{f=m.J(s) -if(f==null){f=l.J(s) -if(f==null){f=k.J(s) -if(f==null){f=j.J(s) -if(f==null){f=i.J(s) -if(f==null){f=l.J(s) -if(f==null){f=h.J(s) -if(f==null){f=g.J(s) -p=f!=null}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0 -if(p)return A.aU(a,new A.c2(s,f==null?e:f.method))}}return A.aU(a,new A.dX(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.c4() -s=function(b){try{return String(b)}catch(d){}return null}(a) -return A.aU(a,new A.Z(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new A.c4() -return a}, -aT(a){var s -if(a instanceof A.bL)return a.b -if(a==null)return new A.cn(a) -s=a.$cachedTrace -if(s!=null)return s -return a.$cachedTrace=new A.cn(a)}, -kh(a){if(a==null)return J.aj(a) -if(typeof a=="object")return A.dD(a) -return J.aj(a)}, -n0(a,b){var s,r,q,p=a.length -for(s=0;s=0}, -nk(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") -return a}, -k9(a){return a}, -nn(a,b,c,d){var s,r,q,p=new A.h7(b,a,0),o=t.F,n=0,m="" -for(;p.n();){s=p.d -if(s==null)s=o.a(s) -r=s.b -q=r.index -m=m+A.p(A.k9(B.a.m(a,n,q)))+A.p(c.$1(s)) -n=q+r[0].length}p=m+A.p(A.k9(B.a.M(a,n))) -return p.charCodeAt(0)==0?p:p}, -eF:function eF(a,b){this.a=a -this.b=b}, -bF:function bF(){}, -bG:function bG(a,b,c){this.a=a -this.b=b -this.$ti=c}, -fV:function fV(a,b,c,d,e,f){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f}, -c2:function c2(a,b){this.a=a -this.b=b}, -de:function de(a,b,c){this.a=a -this.b=b -this.c=c}, -dX:function dX(a){this.a=a}, -fQ:function fQ(a){this.a=a}, -bL:function bL(a,b){this.a=a -this.b=b}, -cn:function cn(a){this.a=a -this.b=null}, -aG:function aG(){}, -cT:function cT(){}, -cU:function cU(){}, -dP:function dP(){}, -dK:function dK(){}, -bh:function bh(a,b){this.a=a -this.b=b}, -e9:function e9(a){this.a=a}, -dF:function dF(a){this.a=a}, -b2:function b2(a){var _=this -_.a=0 -_.f=_.e=_.d=_.c=_.b=null -_.r=0 -_.$ti=a}, -fF:function fF(a){this.a=a}, -fI:function fI(a,b){var _=this -_.a=a -_.b=b -_.d=_.c=null}, -an:function an(a,b){this.a=a -this.$ti=b}, -dg:function dg(a,b){var _=this -_.a=a -_.b=b -_.d=_.c=null}, -ia:function ia(a){this.a=a}, -ib:function ib(a){this.a=a}, -ic:function ic(a){this.a=a}, -ci:function ci(){}, -eE:function eE(){}, -fD:function fD(a,b){var _=this -_.a=a -_.b=b -_.d=_.c=null}, -et:function et(a){this.b=a}, -h7:function h7(a,b,c){var _=this -_.a=a -_.b=b -_.c=c -_.d=null}, -mk(a){return a}, -li(a){return new Int8Array(a)}, -aA(a,b,c){if(a>>>0!==a||a>=c)throw A.b(A.iX(b,a))}, -mh(a,b,c){var s -if(!(a>>>0!==a))s=b>>>0!==b||a>b||b>c -else s=!0 -if(s)throw A.b(A.mZ(a,b,c)) -return b}, -dn:function dn(){}, -bY:function bY(){}, -dp:function dp(){}, -bo:function bo(){}, -bW:function bW(){}, -bX:function bX(){}, -dq:function dq(){}, -dr:function dr(){}, -ds:function ds(){}, -dt:function dt(){}, -du:function du(){}, -dv:function dv(){}, -dw:function dw(){}, -bZ:function bZ(){}, -c_:function c_(){}, -ce:function ce(){}, -cf:function cf(){}, -cg:function cg(){}, -ch:function ch(){}, -jr(a,b){var s=b.c -return s==null?b.c=A.iK(a,b.y,!0):s}, -iE(a,b){var s=b.c -return s==null?b.c=A.cs(a,"aI",[b.y]):s}, -js(a){var s=a.x -if(s===6||s===7||s===8)return A.js(a.y) -return s===12||s===13}, -lm(a){return a.at}, -fd(a){return A.eZ(v.typeUniverse,a,!1)}, -aR(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.x -switch(c){case 5:case 1:case 2:case 3:case 4:return b -case 6:s=b.y -r=A.aR(a,s,a0,a1) -if(r===s)return b -return A.jN(a,r,!0) -case 7:s=b.y -r=A.aR(a,s,a0,a1) -if(r===s)return b -return A.iK(a,r,!0) -case 8:s=b.y -r=A.aR(a,s,a0,a1) -if(r===s)return b -return A.jM(a,r,!0) -case 9:q=b.z -p=A.cB(a,q,a0,a1) -if(p===q)return b -return A.cs(a,b.y,p) -case 10:o=b.y -n=A.aR(a,o,a0,a1) -m=b.z -l=A.cB(a,m,a0,a1) -if(n===o&&l===m)return b -return A.iI(a,n,l) -case 12:k=b.y -j=A.aR(a,k,a0,a1) -i=b.z -h=A.mN(a,i,a0,a1) -if(j===k&&h===i)return b -return A.jL(a,j,h) -case 13:g=b.z -a1+=g.length -f=A.cB(a,g,a0,a1) -o=b.y -n=A.aR(a,o,a0,a1) -if(f===g&&n===o)return b -return A.iJ(a,n,f,!0) -case 14:e=b.y -if(e") -for(r=1;r=0)p+=" "+r[q];++q}return p+"})"}, -k0(a3,a4,a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2=", " -if(a5!=null){s=a5.length -if(a4==null){a4=A.n([],t.s) -r=null}else r=a4.length -q=a4.length -for(p=s;p>0;--p)a4.push("T"+(q+p)) -for(o=t.X,n=t._,m="<",l="",p=0;p0){a0+=a1+"[" -for(a1="",p=0;p0){a0+=a1+"{" -for(a1="",p=0;p "+a}, -T(a,b){var s,r,q,p,o,n,m=a.x -if(m===5)return"erased" -if(m===2)return"dynamic" -if(m===3)return"void" -if(m===1)return"Never" -if(m===4)return"any" -if(m===6){s=A.T(a.y,b) -return s}if(m===7){r=a.y -s=A.T(r,b) -q=r.x -return(q===12||q===13?"("+s+")":s)+"?"}if(m===8)return"FutureOr<"+A.T(a.y,b)+">" -if(m===9){p=A.mP(a.y) -o=a.z -return o.length>0?p+("<"+A.k6(o,b)+">"):p}if(m===11)return A.mI(a,b) -if(m===12)return A.k0(a,b,null) -if(m===13)return A.k0(a.y,b,a.z) -if(m===14){n=a.y -return b[b.length-1-n]}return"?"}, -mP(a){var s=v.mangledGlobalNames[a] -if(s!=null)return s -return"minified:"+a}, -lU(a,b){var s=a.tR[b] -for(;typeof s=="string";)s=a.tR[s] -return s}, -lT(a,b){var s,r,q,p,o,n=a.eT,m=n[b] -if(m==null)return A.eZ(a,b,!1) -else if(typeof m=="number"){s=m -r=A.ct(a,5,"#") -q=A.hQ(s) -for(p=0;p0)p+="<"+A.cr(c)+">" -s=a.eC.get(p) -if(s!=null)return s -r=new A.W(null,null) -r.x=9 -r.y=b -r.z=c -if(c.length>0)r.c=c[0] -r.at=p -q=A.az(a,r) -a.eC.set(p,q) -return q}, -iI(a,b,c){var s,r,q,p,o,n -if(b.x===10){s=b.y -r=b.z.concat(c)}else{r=c -s=b}q=s.at+(";<"+A.cr(r)+">") -p=a.eC.get(q) -if(p!=null)return p -o=new A.W(null,null) -o.x=10 -o.y=s -o.z=r -o.at=q -n=A.az(a,o) -a.eC.set(q,n) -return n}, -lQ(a,b,c){var s,r,q="+"+(b+"("+A.cr(c)+")"),p=a.eC.get(q) -if(p!=null)return p -s=new A.W(null,null) -s.x=11 -s.y=b -s.z=c -s.at=q -r=A.az(a,s) -a.eC.set(q,r) -return r}, -jL(a,b,c){var s,r,q,p,o,n=b.at,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.cr(m) -if(j>0){s=l>0?",":"" -g+=s+"["+A.cr(k)+"]"}if(h>0){s=l>0?",":"" -g+=s+"{"+A.lK(i)+"}"}r=n+(g+")") -q=a.eC.get(r) -if(q!=null)return q -p=new A.W(null,null) -p.x=12 -p.y=b -p.z=c -p.at=r -o=A.az(a,p) -a.eC.set(r,o) -return o}, -iJ(a,b,c,d){var s,r=b.at+("<"+A.cr(c)+">"),q=a.eC.get(r) -if(q!=null)return q -s=A.lM(a,b,c,r,d) -a.eC.set(r,s) -return s}, -lM(a,b,c,d,e){var s,r,q,p,o,n,m,l -if(e){s=c.length -r=A.hQ(s) -for(q=0,p=0;p0){n=A.aR(a,b,r,0) -m=A.cB(a,c,r,0) -return A.iJ(a,n,m,c!==m)}}l=new A.W(null,null) -l.x=13 -l.y=b -l.z=c -l.at=d -return A.az(a,l)}, -jG(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, -jI(a){var s,r,q,p,o,n,m,l=a.r,k=a.s -for(s=l.length,r=0;r=48&&q<=57)r=A.lD(r+1,q,l,k) -else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.jH(a,r,l,k,!1) -else if(q===46)r=A.jH(a,r,l,k,!0) -else{++r -switch(q){case 44:break -case 58:k.push(!1) -break -case 33:k.push(!0) -break -case 59:k.push(A.aQ(a.u,a.e,k.pop())) -break -case 94:k.push(A.lP(a.u,k.pop())) -break -case 35:k.push(A.ct(a.u,5,"#")) -break -case 64:k.push(A.ct(a.u,2,"@")) -break -case 126:k.push(A.ct(a.u,3,"~")) -break -case 60:k.push(a.p) -a.p=k.length -break -case 62:A.lF(a,k) -break -case 38:A.lE(a,k) -break -case 42:p=a.u -k.push(A.jN(p,A.aQ(p,a.e,k.pop()),a.n)) -break -case 63:p=a.u -k.push(A.iK(p,A.aQ(p,a.e,k.pop()),a.n)) -break -case 47:p=a.u -k.push(A.jM(p,A.aQ(p,a.e,k.pop()),a.n)) -break -case 40:k.push(-3) -k.push(a.p) -a.p=k.length -break -case 41:A.lC(a,k) -break -case 91:k.push(a.p) -a.p=k.length -break -case 93:o=k.splice(a.p) -A.jJ(a.u,a.e,o) -a.p=k.pop() -k.push(o) -k.push(-1) -break -case 123:k.push(a.p) -a.p=k.length -break -case 125:o=k.splice(a.p) -A.lH(a.u,a.e,o) -a.p=k.pop() -k.push(o) -k.push(-2) -break -case 43:n=l.indexOf("(",r) -k.push(l.substring(r,n)) -k.push(-4) -k.push(a.p) -a.p=k.length -r=n+1 -break -default:throw"Bad character "+q}}}m=k.pop() -return A.aQ(a.u,a.e,m)}, -lD(a,b,c,d){var s,r,q=b-48 -for(s=c.length;a=48&&r<=57))break -q=q*10+(r-48)}d.push(q) -return a}, -jH(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 -for(s=c.length;m>>0)-97&65535)<26||r===95||r===36||r===124))q=r>=48&&r<=57 -else q=!0 -if(!q)break}}p=c.substring(b,m) -if(e){s=a.u -o=a.e -if(o.x===10)o=o.y -n=A.lU(s,o.y)[p] -if(n==null)A.ff('No "'+p+'" in "'+A.lm(o)+'"') -d.push(A.cu(s,o,n))}else d.push(p) -return m}, -lF(a,b){var s,r=a.u,q=A.jF(a,b),p=b.pop() -if(typeof p=="string")b.push(A.cs(r,p,q)) -else{s=A.aQ(r,a.e,p) -switch(s.x){case 12:b.push(A.iJ(r,s,q,a.n)) -break -default:b.push(A.iI(r,s,q)) -break}}}, -lC(a,b){var s,r,q,p,o,n=null,m=a.u,l=b.pop() -if(typeof l=="number")switch(l){case-1:s=b.pop() -r=n -break -case-2:r=b.pop() -s=n -break -default:b.push(l) -r=n -s=r -break}else{b.push(l) -r=n -s=r}q=A.jF(a,b) -l=b.pop() -switch(l){case-3:l=b.pop() -if(s==null)s=m.sEA -if(r==null)r=m.sEA -p=A.aQ(m,a.e,l) -o=new A.ek() -o.a=q -o.b=s -o.c=r -b.push(A.jL(m,p,o)) -return -case-4:b.push(A.lQ(m,b.pop(),q)) -return -default:throw A.b(A.cM("Unexpected state under `()`: "+A.p(l)))}}, -lE(a,b){var s=b.pop() -if(0===s){b.push(A.ct(a.u,1,"0&")) -return}if(1===s){b.push(A.ct(a.u,4,"1&")) -return}throw A.b(A.cM("Unexpected extended operation "+A.p(s)))}, -jF(a,b){var s=b.splice(a.p) -A.jJ(a.u,a.e,s) -a.p=b.pop() -return s}, -aQ(a,b,c){if(typeof c=="string")return A.cs(a,c,a.sEA) -else if(typeof c=="number"){b.toString -return A.lG(a,b,c)}else return c}, -jJ(a,b,c){var s,r=c.length -for(s=0;sn)return!1 -m=n-o -l=s.b -k=r.b -j=l.length -i=k.length -if(o+j=d)return!1 -a1=f[b] -b+=3 -if(a00?new Array(q):v.typeUniverse.sEA -for(o=0;o0?new Array(a):v.typeUniverse.sEA}, -W:function W(a,b){var _=this -_.a=a -_.b=b -_.w=_.r=_.c=null -_.x=0 -_.at=_.as=_.Q=_.z=_.y=null}, -ek:function ek(){this.c=this.b=this.a=null}, -hL:function hL(a){this.a=a}, -eg:function eg(){}, -cq:function cq(a){this.a=a}, -lt(){var s,r,q={} -if(self.scheduleImmediate!=null)return A.mU() -if(self.MutationObserver!=null&&self.document!=null){s=self.document.createElement("div") -r=self.document.createElement("span") -q.a=null -new self.MutationObserver(A.bb(new A.h9(q),1)).observe(s,{childList:true}) -return new A.h8(q,s,r)}else if(self.setImmediate!=null)return A.mV() -return A.mW()}, -lu(a){self.scheduleImmediate(A.bb(new A.ha(a),0))}, -lv(a){self.setImmediate(A.bb(new A.hb(a),0))}, -lw(a){A.lI(0,a)}, -lI(a,b){var s=new A.hJ() -s.bP(a,b) -return s}, -mE(a){return new A.e3(new A.I($.C,a.k("I<0>")),a.k("e3<0>"))}, -mf(a,b){a.$2(0,null) -b.b=!0 -return b.a}, -mc(a,b){A.mg(a,b)}, -me(a,b){b.ai(0,a)}, -md(a,b){b.ak(A.ai(a),A.aT(a))}, -mg(a,b){var s,r,q=new A.hT(b),p=new A.hU(b) -if(a instanceof A.I)a.ba(q,p,t.z) -else{s=t.z -if(a instanceof A.I)a.aV(q,p,s) -else{r=new A.I($.C,t.aY) -r.a=8 -r.c=a -r.ba(q,p,s)}}}, -mR(a){var s=function(b,c){return function(d,e){while(true)try{b(d,e) -break}catch(r){e=r -d=c}}}(a,1) -return $.C.bw(new A.i6(s))}, -fi(a,b){var s=A.fc(a,"error",t.K) -return new A.cN(s,b==null?A.j5(a):b)}, -j5(a){var s -if(t.U.b(a)){s=a.gaa() -if(s!=null)return s}return B.J}, -jD(a,b){var s,r -for(;s=a.a,(s&4)!==0;)a=a.c -if((s&24)!==0){r=b.aI() -b.ab(a) -A.ca(b,r)}else{r=b.c -b.b8(a) -a.aH(r)}}, -ly(a,b){var s,r,q={},p=q.a=a -for(;s=p.a,(s&4)!==0;){p=p.c -q.a=p}if((s&24)===0){r=b.c -b.b8(p) -q.a.aH(r) -return}if((s&16)===0&&b.c==null){b.ab(p) -return}b.a^=2 -A.ba(null,null,b.b,new A.hk(q,b))}, -ca(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g={},f=g.a=a -for(;!0;){s={} -r=f.a -q=(r&16)===0 -p=!q -if(b==null){if(p&&(r&1)===0){f=f.c -A.i3(f.a,f.b)}return}s.a=b -o=b.a -for(f=b;o!=null;f=o,o=n){f.a=null -A.ca(g.a,f) -s.a=o -n=o.a}r=g.a -m=r.c -s.b=p -s.c=m -if(q){l=f.c -l=(l&1)!==0||(l&15)===8}else l=!0 -if(l){k=f.b.b -if(p){r=r.b===k -r=!(r||r)}else r=!1 -if(r){A.i3(m.a,m.b) -return}j=$.C -if(j!==k)$.C=k -else j=null -f=f.c -if((f&15)===8)new A.hr(s,g,p).$0() -else if(q){if((f&1)!==0)new A.hq(s,m).$0()}else if((f&2)!==0)new A.hp(g,s).$0() -if(j!=null)$.C=j -f=s.c -if(f instanceof A.I){r=s.a.$ti -r=r.k("aI<2>").b(f)||!r.z[1].b(f)}else r=!1 -if(r){i=s.a.b -if((f.a&24)!==0){h=i.c -i.c=null -b=i.ad(h) -i.a=f.a&30|i.a&1 -i.c=f.c -g.a=f -continue}else A.jD(f,i) -return}}i=s.a.b -h=i.c -i.c=null -b=i.ad(h) -f=s.b -r=s.c -if(!f){i.a=8 -i.c=r}else{i.a=i.a&1|16 -i.c=r}g.a=i -f=i}}, -mJ(a,b){if(t.C.b(a))return b.bw(a) -if(t.w.b(a))return a -throw A.b(A.is(a,"onError",u.c))}, -mG(){var s,r -for(s=$.bA;s!=null;s=$.bA){$.cA=null -r=s.b -$.bA=r -if(r==null)$.cz=null -s.a.$0()}}, -mM(){$.iT=!0 -try{A.mG()}finally{$.cA=null -$.iT=!1 -if($.bA!=null)$.j1().$1(A.kb())}}, -k8(a){var s=new A.e4(a),r=$.cz -if(r==null){$.bA=$.cz=s -if(!$.iT)$.j1().$1(A.kb())}else $.cz=r.b=s}, -mL(a){var s,r,q,p=$.bA -if(p==null){A.k8(a) -$.cA=$.cz -return}s=new A.e4(a) -r=$.cA -if(r==null){s.b=p -$.bA=$.cA=s}else{q=r.b -s.b=q -$.cA=r.b=s -if(q==null)$.cz=s}}, -nl(a){var s,r=null,q=$.C -if(B.c===q){A.ba(r,r,B.c,a) -return}s=!1 -if(s){A.ba(r,r,q,a) -return}A.ba(r,r,q,q.bh(a))}, -nW(a){A.fc(a,"stream",t.K) -return new A.eM()}, -i3(a,b){A.mL(new A.i4(a,b))}, -k4(a,b,c,d){var s,r=$.C -if(r===c)return d.$0() -$.C=c -s=r -try{r=d.$0() -return r}finally{$.C=s}}, -k5(a,b,c,d,e){var s,r=$.C -if(r===c)return d.$1(e) -$.C=c -s=r -try{r=d.$1(e) -return r}finally{$.C=s}}, -mK(a,b,c,d,e,f){var s,r=$.C -if(r===c)return d.$2(e,f) -$.C=c -s=r -try{r=d.$2(e,f) -return r}finally{$.C=s}}, -ba(a,b,c,d){if(B.c!==c)d=c.bh(d) -A.k8(d)}, -h9:function h9(a){this.a=a}, -h8:function h8(a,b,c){this.a=a -this.b=b -this.c=c}, -ha:function ha(a){this.a=a}, -hb:function hb(a){this.a=a}, -hJ:function hJ(){}, -hK:function hK(a,b){this.a=a -this.b=b}, -e3:function e3(a,b){this.a=a -this.b=!1 -this.$ti=b}, -hT:function hT(a){this.a=a}, -hU:function hU(a){this.a=a}, -i6:function i6(a){this.a=a}, -cN:function cN(a,b){this.a=a -this.b=b}, -c7:function c7(){}, -b8:function b8(a,b){this.a=a -this.$ti=b}, -bv:function bv(a,b,c,d,e){var _=this -_.a=null -_.b=a -_.c=b -_.d=c -_.e=d -_.$ti=e}, -I:function I(a,b){var _=this -_.a=0 -_.b=a -_.c=null -_.$ti=b}, -hh:function hh(a,b){this.a=a -this.b=b}, -ho:function ho(a,b){this.a=a -this.b=b}, -hl:function hl(a){this.a=a}, -hm:function hm(a){this.a=a}, -hn:function hn(a,b,c){this.a=a -this.b=b -this.c=c}, -hk:function hk(a,b){this.a=a -this.b=b}, -hj:function hj(a,b){this.a=a -this.b=b}, -hi:function hi(a,b,c){this.a=a -this.b=b -this.c=c}, -hr:function hr(a,b,c){this.a=a -this.b=b -this.c=c}, -hs:function hs(a){this.a=a}, -hq:function hq(a,b){this.a=a -this.b=b}, -hp:function hp(a,b){this.a=a -this.b=b}, -e4:function e4(a){this.a=a -this.b=null}, -eM:function eM(){}, -hS:function hS(){}, -i4:function i4(a,b){this.a=a -this.b=b}, -hw:function hw(){}, -hx:function hx(a,b){this.a=a -this.b=b}, -hy:function hy(a,b,c){this.a=a -this.b=b -this.c=c}, -ji(a,b,c){return A.n0(a,new A.b2(b.k("@<0>").G(c).k("b2<1,2>")))}, -dh(a,b){return new A.b2(a.k("@<0>").G(b).k("b2<1,2>"))}, -bS(a){return new A.cb(a.k("cb<0>"))}, -iG(){var s=Object.create(null) -s[""]=s -delete s[""] -return s}, -lB(a,b){var s=new A.cc(a,b) -s.c=a.e -return s}, -jj(a,b){var s,r,q=A.bS(b) -for(s=a.length,r=0;r=0)return null -return r}return null}, -ls(a,b,c,d){var s=a?$.kA():$.kz() -if(s==null)return null -if(0===c&&d===b.length)return A.jA(s,b) -return A.jA(s,b.subarray(c,A.b3(c,d,b.length)))}, -jA(a,b){var s,r -try{s=a.decode(b) -return s}catch(r){}return null}, -j6(a,b,c,d,e,f){if(B.d.aq(f,4)!==0)throw A.b(A.N("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) -if(d+e!==f)throw A.b(A.N("Invalid base64 padding, '=' not at the end",a,b)) -if(e>2)throw A.b(A.N("Invalid base64 padding, more than two '=' characters",a,b))}, -m8(a){switch(a){case 65:return"Missing extension byte" -case 67:return"Unexpected extension byte" -case 69:return"Invalid UTF-8 byte" -case 71:return"Overlong encoding" -case 73:return"Out of unicode range" -case 75:return"Encoded surrogate" -case 77:return"Unfinished UTF-8 octet sequence" -default:return""}}, -m7(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) -for(s=J.cC(a),r=0;r>>0!==0?255:q}return o}, -ep:function ep(a,b){this.a=a -this.b=b -this.c=null}, -eq:function eq(a){this.a=a}, -h5:function h5(){}, -h4:function h4(){}, -fk:function fk(){}, -fl:function fl(){}, -cW:function cW(){}, -cY:function cY(){}, -fq:function fq(){}, -fw:function fw(){}, -fv:function fv(){}, -fG:function fG(){}, -fH:function fH(a){this.a=a}, -h2:function h2(){}, -h6:function h6(){}, -hP:function hP(a){this.b=0 -this.c=a}, -h3:function h3(a){this.a=a}, -hO:function hO(a){this.a=a -this.b=16 -this.c=0}, -ik(a,b){var s=A.jo(a,b) -if(s!=null)return s -throw A.b(A.N(a,null,null))}, -l_(a,b){a=A.b(a) -a.stack=b.j(0) -throw a -throw A.b("unreachable")}, -jk(a,b,c,d){var s,r=c?J.lb(a,d):J.la(a,d) -if(a!==0&&b!=null)for(s=0;s")) -for(s=J.a2(a);s.n();)r.push(s.gq(s)) -if(b)return r -return J.ix(r)}, -jm(a,b,c){var s=A.lg(a,c) -return s}, -lg(a,b){var s,r -if(Array.isArray(a))return A.n(a.slice(0),b.k("A<0>")) -s=A.n([],b.k("A<0>")) -for(r=J.a2(a);r.n();)s.push(r.gq(r)) -return s}, -ju(a,b,c){var s=A.lk(a,b,A.b3(b,c,a.length)) -return s}, -iD(a,b){return new A.fD(a,A.jh(a,!1,b,!1,!1,!1))}, -jt(a,b,c){var s=J.a2(b) -if(!s.n())return a -if(c.length===0){do a+=A.p(s.gq(s)) -while(s.n())}else{a+=A.p(s.gq(s)) -for(;s.n();)a=a+c+A.p(s.gq(s))}return a}, -jV(a,b,c,d){var s,r,q,p,o,n="0123456789ABCDEF" -if(c===B.h){s=$.kD() -s=s.b.test(b)}else s=!1 -if(s)return b -r=B.I.X(b) -for(s=r.length,q=0,p="";q>>4]&1<<(o&15))!==0)p+=A.ar(o) -else p=d&&o===32?p+"+":p+"%"+n[o>>>4&15]+n[o&15]}return p.charCodeAt(0)==0?p:p}, -fr(a){if(typeof a=="number"||A.i2(a)||a==null)return J.aD(a) -if(typeof a=="string")return JSON.stringify(a) -return A.jp(a)}, -l0(a,b){A.fc(a,"error",t.K) -A.fc(b,"stackTrace",t.l) -A.l_(a,b)}, -cM(a){return new A.cL(a)}, -aE(a,b){return new A.Z(!1,null,b,a)}, -is(a,b,c){return new A.Z(!0,a,b,c)}, -ll(a,b){return new A.c3(null,null,!0,a,b,"Value not in range")}, -V(a,b,c,d,e){return new A.c3(b,c,!0,a,d,"Invalid value")}, -b3(a,b,c){if(0>a||a>c)throw A.b(A.V(a,0,c,"start",null)) -if(b!=null){if(a>b||b>c)throw A.b(A.V(b,a,c,"end",null)) -return b}return c}, -jq(a,b){if(a<0)throw A.b(A.V(a,0,null,b,null)) -return a}, -E(a,b,c,d){return new A.db(b,!0,a,d,"Index out of range")}, -r(a){return new A.dZ(a)}, -jw(a){return new A.dW(a)}, -dJ(a){return new A.bq(a)}, -aY(a){return new A.cX(a)}, -N(a,b,c){return new A.fu(a,b,c)}, -l9(a,b,c){var s,r -if(A.iZ(a)){if(b==="("&&c===")")return"(...)" -return b+"..."+c}s=A.n([],t.s) -$.be.push(a) -try{A.mD(a,s)}finally{$.be.pop()}r=A.jt(b,s,", ")+c -return r.charCodeAt(0)==0?r:r}, -iw(a,b,c){var s,r -if(A.iZ(a))return b+"..."+c -s=new A.O(b) -$.be.push(a) -try{r=s -r.a=A.jt(r.a,a,", ")}finally{$.be.pop()}s.a+=c -r=s.a -return r.charCodeAt(0)==0?r:r}, -mD(a,b){var s,r,q,p,o,n,m,l=a.gv(a),k=0,j=0 -while(!0){if(!(k<80||j<3))break -if(!l.n())return -s=A.p(l.gq(l)) -b.push(s) -k+=s.length+2;++j}if(!l.n()){if(j<=5)return -r=b.pop() -q=b.pop()}else{p=l.gq(l);++j -if(!l.n()){if(j<=4){b.push(A.p(p)) -return}r=A.p(p) -q=b.pop() -k+=r.length+2}else{o=l.gq(l);++j -for(;l.n();p=o,o=n){n=l.gq(l);++j -if(j>100){while(!0){if(!(k>75&&j>3))break -k-=b.pop().length+2;--j}b.push("...") -return}}q=A.p(p) -r=A.p(o) -k+=r.length+q.length+4}}if(j>b.length+2){k+=5 -m="..."}else m=null -while(!0){if(!(k>80&&b.length>3))break -k-=b.pop().length+2 -if(m==null){k+=5 -m="..."}}if(m!=null)b.push(m) -b.push(q) -b.push(r)}, -iB(a,b,c,d){var s -if(B.k===c){s=B.e.gt(a) -b=J.aj(b) -return A.iF(A.aN(A.aN($.iq(),s),b))}if(B.k===d){s=B.e.gt(a) -b=J.aj(b) -c=J.aj(c) -return A.iF(A.aN(A.aN(A.aN($.iq(),s),b),c))}s=B.e.gt(a) -b=J.aj(b) -c=J.aj(c) -d=J.aj(d) -d=A.iF(A.aN(A.aN(A.aN(A.aN($.iq(),s),b),c),d)) -return d}, -fZ(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length -if(a4>=5){s=((a5.charCodeAt(4)^58)*3|a5.charCodeAt(0)^100|a5.charCodeAt(1)^97|a5.charCodeAt(2)^116|a5.charCodeAt(3)^97)>>>0 -if(s===0)return A.jx(a4=14)r[7]=a4 -q=r[1] -if(q>=0)if(A.k7(a5,0,q,20,r)===20)r[7]=q -p=r[2]+1 -o=r[3] -n=r[4] -m=r[5] -l=r[6] -if(lq+3){j=a3 -k=!1}else{i=o>0 -if(i&&o+1===n){j=a3 -k=!1}else{if(!B.a.F(a5,"\\",n))if(p>0)h=B.a.F(a5,"\\",p-1)||B.a.F(a5,"\\",p-2) -else h=!1 -else h=!0 -if(h){j=a3 -k=!1}else{if(!(mn+2&&B.a.F(a5,"/..",m-3) -else h=!0 -if(h){j=a3 -k=!1}else{if(q===4)if(B.a.F(a5,"file",0)){if(p<=0){if(!B.a.F(a5,"/",n)){g="file:///" -s=3}else{g="file://" -s=2}a5=g+B.a.m(a5,n,a4) -q-=0 -i=s-0 -m+=i -l+=i -a4=a5.length -p=7 -o=7 -n=7}else if(n===m){++l -f=m+1 -a5=B.a.Z(a5,n,m,"/");++a4 -m=f}j="file"}else if(B.a.F(a5,"http",0)){if(i&&o+3===n&&B.a.F(a5,"80",o+1)){l-=3 -e=n-3 -m-=3 -a5=B.a.Z(a5,o,n,"") -a4-=3 -n=e}j="http"}else j=a3 -else if(q===5&&B.a.F(a5,"https",0)){if(i&&o+4===n&&B.a.F(a5,"443",o+1)){l-=4 -e=n-4 -m-=4 -a5=B.a.Z(a5,o,n,"") -a4-=3 -n=e}j="https"}else j=a3 -k=!0}}}}else j=a3 -if(k){if(a40)j=A.m1(a5,0,q) -else{if(q===0)A.bx(a5,0,"Invalid empty scheme") -j=""}if(p>0){d=q+3 -c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) -o=A.ik(B.a.m(a,r,s),null) -if(o>255)k.$2(l,r) -n=q+1 -j[q]=o -r=s+1 -q=n}}if(q!==3)k.$2(m,c) -o=A.ik(B.a.m(a,r,c),null) -if(o>255)k.$2(l,r) -j[q]=o -return j}, -jy(a,b,a0){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null,d=new A.h_(a),c=new A.h0(d,a) -if(a.length<2)d.$2("address is too short",e) -s=A.n([],t.t) -for(r=b,q=r,p=!1,o=!1;r>>0) -s.push((k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)d.$2("an address with a wildcard must have less than 7 parts",e)}else if(s.length!==8)d.$2("an address without a wildcard must contain exactly 8 parts",e) -j=new Uint8Array(16) -for(l=s.length,i=9-l,r=0,h=0;r=b&&q=b&&s>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new A.O("") -if(r>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new A.O("") -if(r>>4]&1<<(o&15))!==0)A.bx(a,s,"Invalid character") -else{if((o&64512)===55296&&s+1>>4]&1<<(q&15))!==0))A.bx(a,s,"Illegal scheme character") -if(65<=q&&q<=90)r=!0}a=B.a.m(a,b,c) -return A.lV(r?a.toLowerCase():a)}, -lV(a){if(a==="http")return"http" -if(a==="file")return"file" -if(a==="https")return"https" -if(a==="package")return"package" -return a}, -m2(a,b,c){return A.cx(a,b,c,B.ac,!1,!1)}, -m_(a,b,c,d,e,f){var s,r=e==="file",q=r||f -if(a==null)return r?"/":"" -else s=A.cx(a,b,c,B.v,!0,!0) -if(s.length===0){if(r)return"/"}else if(q&&!B.a.B(s,"/"))s="/"+s -return A.m3(s,e,f)}, -m3(a,b,c){var s=b.length===0 -if(s&&!c&&!B.a.B(a,"/")&&!B.a.B(a,"\\"))return A.m5(a,!s||c) -return A.m6(a)}, -iN(a,b,c,d){var s,r={} -if(a!=null){if(d!=null)throw A.b(A.aE("Both query and queryParameters specified",null)) -return A.cx(a,b,c,B.j,!0,!1)}if(d==null)return null -s=new A.O("") -r.a="" -d.A(0,new A.hM(new A.hN(r,s))) -r=s.a -return r.charCodeAt(0)==0?r:r}, -lY(a,b,c){return A.cx(a,b,c,B.j,!0,!1)}, -iO(a,b,c){var s,r,q,p,o,n=b+2 -if(n>=a.length)return"%" -s=a.charCodeAt(b+1) -r=a.charCodeAt(n) -q=A.i9(s) -p=A.i9(r) -if(q<0||p<0)return"%" -o=q*16+p -if(o<127&&(B.i[B.d.ae(o,4)]&1<<(o&15))!==0)return A.ar(c&&65<=o&&90>=o?(o|32)>>>0:o) -if(s>=97||r>=97)return B.a.m(a,b,b+3).toUpperCase() -return null}, -iM(a){var s,r,q,p,o,n="0123456789ABCDEF" -if(a<128){s=new Uint8Array(3) -s[0]=37 -s[1]=n.charCodeAt(a>>>4) -s[2]=n.charCodeAt(a&15)}else{if(a>2047)if(a>65535){r=240 -q=4}else{r=224 -q=3}else{r=192 -q=2}s=new Uint8Array(3*q) -for(p=0;--q,q>=0;r=128){o=B.d.cb(a,6*q)&63|r -s[p]=37 -s[p+1]=n.charCodeAt(o>>>4) -s[p+2]=n.charCodeAt(o&15) -p+=3}}return A.ju(s,0,null)}, -cx(a,b,c,d,e,f){var s=A.jT(a,b,c,d,e,f) -return s==null?B.a.m(a,b,c):s}, -jT(a,b,c,d,e,f){var s,r,q,p,o,n,m,l,k,j,i=null -for(s=!e,r=b,q=r,p=i;r>>4]&1<<(o&15))!==0)++r -else{if(o===37){n=A.iO(a,r,!1) -if(n==null){r+=3 -continue}if("%"===n){n="%25" -m=1}else m=3}else if(o===92&&f){n="/" -m=1}else if(s&&o<=93&&(B.w[o>>>4]&1<<(o&15))!==0){A.bx(a,r,"Invalid character") -m=i -n=m}else{if((o&64512)===55296){l=r+1 -if(l=2&&A.jR(a.charCodeAt(0)))for(s=1;s127||(B.u[r>>>4]&1<<(r&15))===0)break}return a}, -lX(a,b){var s,r,q -for(s=0,r=0;r<2;++r){q=a.charCodeAt(b+r) -if(48<=q&&q<=57)s=s*16+q-48 -else{q|=32 -if(97<=q&&q<=102)s=s*16+q-87 -else throw A.b(A.aE("Invalid URL encoding",null))}}return s}, -iP(a,b,c,d,e){var s,r,q,p,o=b -while(!0){if(!(o127)throw A.b(A.aE("Illegal percent encoding in URI",null)) -if(r===37){if(o+3>q)throw A.b(A.aE("Truncated URI",null)) -p.push(A.lX(a,o+1)) -o+=2}else if(r===43)p.push(32) -else p.push(r)}}return B.aw.X(p)}, -jR(a){var s=a|32 -return 97<=s&&s<=122}, -jx(a,b,c){var s,r,q,p,o,n,m,l,k="Invalid MIME type",j=A.n([b-1],t.t) -for(s=a.length,r=b,q=-1,p=null;rb)throw A.b(A.N(k,a,r)) -for(;p!==44;){j.push(r);++r -for(o=-1;r=0)j.push(o) -else{n=B.b.gam(j) -if(p!==44||r!==n+7||!B.a.F(a,"base64",n+1))throw A.b(A.N("Expecting '='",a,r)) -break}}j.push(r) -m=r+1 -if((j.length&1)===1)a=B.z.cE(0,a,m,s) -else{l=A.jT(a,m,s,B.j,!0,!1) -if(l!=null)a=B.a.Z(a,m,s,l)}return new A.fX(a,j,c)}, -mj(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="\\",i="?",h="#",g="/\\",f=J.jf(22,t.bX) -for(s=0;s<22;++s)f[s]=new Uint8Array(96) -r=new A.hY(f) -q=new A.hZ() -p=new A.i_() -o=r.$2(0,225) -q.$3(o,n,1) -q.$3(o,m,14) -q.$3(o,l,34) -q.$3(o,k,3) -q.$3(o,j,227) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(14,225) -q.$3(o,n,1) -q.$3(o,m,15) -q.$3(o,l,34) -q.$3(o,g,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(15,225) -q.$3(o,n,1) -q.$3(o,"%",225) -q.$3(o,l,34) -q.$3(o,k,9) -q.$3(o,j,233) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(1,225) -q.$3(o,n,1) -q.$3(o,l,34) -q.$3(o,k,10) -q.$3(o,j,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(2,235) -q.$3(o,n,139) -q.$3(o,k,131) -q.$3(o,j,131) -q.$3(o,m,146) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(3,235) -q.$3(o,n,11) -q.$3(o,k,68) -q.$3(o,j,68) -q.$3(o,m,18) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(4,229) -q.$3(o,n,5) -p.$3(o,"AZ",229) -q.$3(o,l,102) -q.$3(o,"@",68) -q.$3(o,"[",232) -q.$3(o,k,138) -q.$3(o,j,138) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(5,229) -q.$3(o,n,5) -p.$3(o,"AZ",229) -q.$3(o,l,102) -q.$3(o,"@",68) -q.$3(o,k,138) -q.$3(o,j,138) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(6,231) -p.$3(o,"19",7) -q.$3(o,"@",68) -q.$3(o,k,138) -q.$3(o,j,138) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(7,231) -p.$3(o,"09",7) -q.$3(o,"@",68) -q.$3(o,k,138) -q.$3(o,j,138) -q.$3(o,i,172) -q.$3(o,h,205) -q.$3(r.$2(8,8),"]",5) -o=r.$2(9,235) -q.$3(o,n,11) -q.$3(o,m,16) -q.$3(o,g,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(16,235) -q.$3(o,n,11) -q.$3(o,m,17) -q.$3(o,g,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(17,235) -q.$3(o,n,11) -q.$3(o,k,9) -q.$3(o,j,233) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(10,235) -q.$3(o,n,11) -q.$3(o,m,18) -q.$3(o,k,10) -q.$3(o,j,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(18,235) -q.$3(o,n,11) -q.$3(o,m,19) -q.$3(o,g,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(19,235) -q.$3(o,n,11) -q.$3(o,g,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(11,235) -q.$3(o,n,11) -q.$3(o,k,10) -q.$3(o,j,234) -q.$3(o,i,172) -q.$3(o,h,205) -o=r.$2(12,236) -q.$3(o,n,12) -q.$3(o,i,12) -q.$3(o,h,205) -o=r.$2(13,237) -q.$3(o,n,13) -q.$3(o,i,13) -p.$3(r.$2(20,245),"az",21) -o=r.$2(21,245) -p.$3(o,"az",21) -p.$3(o,"09",21) -q.$3(o,"+-.",21) -return f}, -k7(a,b,c,d,e){var s,r,q,p,o=$.kE() -for(s=b;s95?31:q] -d=p&31 -e[p>>>5]=s}return d}, -he:function he(){}, -z:function z(){}, -cL:function cL(a){this.a=a}, -av:function av(){}, -Z:function Z(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -c3:function c3(a,b,c,d,e,f){var _=this -_.e=a -_.f=b -_.a=c -_.b=d -_.c=e -_.d=f}, -db:function db(a,b,c,d,e){var _=this -_.f=a -_.a=b -_.b=c -_.c=d -_.d=e}, -dZ:function dZ(a){this.a=a}, -dW:function dW(a){this.a=a}, -bq:function bq(a){this.a=a}, -cX:function cX(a){this.a=a}, -dz:function dz(){}, -c4:function c4(){}, -hg:function hg(a){this.a=a}, -fu:function fu(a,b,c){this.a=a -this.b=b -this.c=c}, -v:function v(){}, -F:function F(){}, -t:function t(){}, -eP:function eP(){}, -O:function O(a){this.a=a}, -h1:function h1(a){this.a=a}, -fY:function fY(a){this.a=a}, -h_:function h_(a){this.a=a}, -h0:function h0(a,b){this.a=a -this.b=b}, -cw:function cw(a,b,c,d,e,f,g){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=g -_.z=_.y=_.w=$}, -hN:function hN(a,b){this.a=a -this.b=b}, -hM:function hM(a){this.a=a}, -fX:function fX(a,b,c){this.a=a -this.b=b -this.c=c}, -hY:function hY(a){this.a=a}, -hZ:function hZ(){}, -i_:function i_(){}, -eH:function eH(a,b,c,d,e,f,g,h){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=g -_.w=h -_.x=null}, -ea:function ea(a,b,c,d,e,f,g){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=g -_.z=_.y=_.w=$}, -lx(a,b){var s -for(s=b.gv(b);s.n();)a.appendChild(s.gq(s))}, -kZ(a,b,c){var s=document.body -s.toString -s=new A.ax(new A.L(B.n.H(s,a,b,c)),new A.fo(),t.ba.k("ax")) -return t.h.a(s.gV(s))}, -bK(a){var s,r="element tag unavailable" -try{r=a.tagName}catch(s){}return r}, -je(a){return A.l3(a,null,null).a7(new A.fx(),t.N)}, -l3(a,b,c){var s=new A.I($.C,t.bR),r=new A.b8(s,t.E),q=new XMLHttpRequest() -B.L.cF(q,"GET",a,!0) -A.jC(q,"load",new A.fy(q,r),!1) -A.jC(q,"error",r.gck(),!1) -q.send() -return s}, -jC(a,b,c,d){var s=A.mS(new A.hf(c),t.D) -if(s!=null&&!0)J.kH(a,b,s,!1) -return new A.eh(a,b,s,!1)}, -jE(a){var s=document.createElement("a"),r=new A.hz(s,window.location) -r=new A.bw(r) -r.bN(a) -return r}, -lz(a,b,c,d){return!0}, -lA(a,b,c,d){var s,r=d.a,q=r.a -q.href=c -s=q.hostname -r=r.b -if(!(s==r.hostname&&q.port===r.port&&q.protocol===r.protocol))if(s==="")if(q.port===""){r=q.protocol -r=r===":"||r===""}else r=!1 -else r=!1 -else r=!0 -return r}, -jK(){var s=t.N,r=A.jj(B.t,s),q=A.n(["TEMPLATE"],t.s) -s=new A.eS(r,A.bS(s),A.bS(s),A.bS(s),null) -s.bO(null,new A.ap(B.t,new A.hI(),t.I),q,null) -return s}, -mS(a,b){var s=$.C -if(s===B.c)return a -return s.cj(a,b)}, -l:function l(){}, -cI:function cI(){}, -cJ:function cJ(){}, -cK:function cK(){}, -bg:function bg(){}, -bE:function bE(){}, -aW:function aW(){}, -a3:function a3(){}, -d_:function d_(){}, -x:function x(){}, -bi:function bi(){}, -fn:function fn(){}, -P:function P(){}, -a_:function a_(){}, -d0:function d0(){}, -d1:function d1(){}, -d2:function d2(){}, -aZ:function aZ(){}, -d3:function d3(){}, -bH:function bH(){}, -bI:function bI(){}, -d4:function d4(){}, -d5:function d5(){}, -q:function q(){}, -fo:function fo(){}, -h:function h(){}, -c:function c(){}, -a4:function a4(){}, -d6:function d6(){}, -d7:function d7(){}, -d9:function d9(){}, -a5:function a5(){}, -da:function da(){}, -b0:function b0(){}, -bO:function bO(){}, -a6:function a6(){}, -fx:function fx(){}, -fy:function fy(a,b){this.a=a -this.b=b}, -b1:function b1(){}, -aJ:function aJ(){}, -bn:function bn(){}, -di:function di(){}, -dj:function dj(){}, -dk:function dk(){}, -fL:function fL(a){this.a=a}, -dl:function dl(){}, -fM:function fM(a){this.a=a}, -a8:function a8(){}, -dm:function dm(){}, -L:function L(a){this.a=a}, -m:function m(){}, -c0:function c0(){}, -aa:function aa(){}, -dB:function dB(){}, -as:function as(){}, -dE:function dE(){}, -fS:function fS(a){this.a=a}, -dG:function dG(){}, -ab:function ab(){}, -dH:function dH(){}, -ac:function ac(){}, -dI:function dI(){}, -ad:function ad(){}, -dL:function dL(){}, -fU:function fU(a){this.a=a}, -X:function X(){}, -c5:function c5(){}, -dN:function dN(){}, -dO:function dO(){}, -br:function br(){}, -b5:function b5(){}, -af:function af(){}, -Y:function Y(){}, -dQ:function dQ(){}, -dR:function dR(){}, -dS:function dS(){}, -ag:function ag(){}, -dT:function dT(){}, -dU:function dU(){}, -S:function S(){}, -e0:function e0(){}, -e1:function e1(){}, -bu:function bu(){}, -e7:function e7(){}, -c8:function c8(){}, -el:function el(){}, -cd:function cd(){}, -eK:function eK(){}, -eQ:function eQ(){}, -e5:function e5(){}, -ay:function ay(a){this.a=a}, -aP:function aP(a){this.a=a}, -hc:function hc(a,b){this.a=a -this.b=b}, -hd:function hd(a,b){this.a=a -this.b=b}, -ef:function ef(a){this.a=a}, -iu:function iu(a,b){this.a=a -this.$ti=b}, -eh:function eh(a,b,c,d){var _=this -_.b=a -_.c=b -_.d=c -_.e=d}, -hf:function hf(a){this.a=a}, -bw:function bw(a){this.a=a}, -D:function D(){}, -c1:function c1(a){this.a=a}, -fO:function fO(a){this.a=a}, -fN:function fN(a,b,c){this.a=a -this.b=b -this.c=c}, -ck:function ck(){}, -hG:function hG(){}, -hH:function hH(){}, -eS:function eS(a,b,c,d,e){var _=this -_.e=a -_.a=b -_.b=c -_.c=d -_.d=e}, -hI:function hI(){}, -eR:function eR(){}, -bN:function bN(a,b){var _=this -_.a=a -_.b=b -_.c=-1 -_.d=null}, -hz:function hz(a,b){this.a=a -this.b=b}, -f0:function f0(a){this.a=a -this.b=0}, -hR:function hR(a){this.a=a}, -e8:function e8(){}, -eb:function eb(){}, -ec:function ec(){}, -ed:function ed(){}, -ee:function ee(){}, -ei:function ei(){}, -ej:function ej(){}, -en:function en(){}, -eo:function eo(){}, -eu:function eu(){}, -ev:function ev(){}, -ew:function ew(){}, -ex:function ex(){}, -ey:function ey(){}, -ez:function ez(){}, -eC:function eC(){}, -eD:function eD(){}, -eG:function eG(){}, -cl:function cl(){}, -cm:function cm(){}, -eI:function eI(){}, -eJ:function eJ(){}, -eL:function eL(){}, -eT:function eT(){}, -eU:function eU(){}, -co:function co(){}, -cp:function cp(){}, -eV:function eV(){}, -eW:function eW(){}, -f1:function f1(){}, -f2:function f2(){}, -f3:function f3(){}, -f4:function f4(){}, -f5:function f5(){}, -f6:function f6(){}, -f7:function f7(){}, -f8:function f8(){}, -f9:function f9(){}, -fa:function fa(){}, -jY(a){var s,r,q -if(a==null)return a -if(typeof a=="string"||typeof a=="number"||A.i2(a))return a -s=Object.getPrototypeOf(a) -if(s===Object.prototype||s===null)return A.aS(a) -if(Array.isArray(a)){r=[] -for(q=0;q")),r=new A.b8(s,b.k("b8<0>")) -a.then(A.bb(new A.io(r),1),A.bb(new A.ip(r),1)) -return s}, -io:function io(a){this.a=a}, -ip:function ip(a){this.a=a}, -fP:function fP(a){this.a=a}, -am:function am(){}, -df:function df(){}, -aq:function aq(){}, -dx:function dx(){}, -dC:function dC(){}, -bp:function bp(){}, -dM:function dM(){}, -cO:function cO(a){this.a=a}, -i:function i(){}, -au:function au(){}, -dV:function dV(){}, -er:function er(){}, -es:function es(){}, -eA:function eA(){}, -eB:function eB(){}, -eN:function eN(){}, -eO:function eO(){}, -eX:function eX(){}, -eY:function eY(){}, -cP:function cP(){}, -cQ:function cQ(){}, -fj:function fj(a){this.a=a}, -cR:function cR(){}, -aF:function aF(){}, -dy:function dy(){}, -e6:function e6(){}, -B:function B(a,b){this.a=a -this.b=b}, -l4(a){var s,r,q,p,o,n,m,l,k="enclosedBy",j=J.cC(a) -if(j.i(a,k)!=null){s=t.a.a(j.i(a,k)) -r=J.cC(s) -q=new A.fp(A.bz(r.i(s,"name")),B.r[A.iQ(r.i(s,"kind"))],A.bz(r.i(s,"href")))}else q=null -r=j.i(a,"name") -p=j.i(a,"qualifiedName") -o=A.iQ(j.i(a,"packageRank")) -n=j.i(a,"href") -m=B.r[A.iQ(j.i(a,"kind"))] -l=A.m9(j.i(a,"overriddenDepth")) -if(l==null)l=0 -return new A.K(r,p,o,m,n,l,j.i(a,"desc"),q)}, -Q:function Q(a,b){this.a=a -this.b=b}, -fz:function fz(a){this.a=a}, -fC:function fC(a,b){this.a=a -this.b=b}, -fA:function fA(){}, -fB:function fB(){}, -K:function K(a,b,c,d,e,f,g,h){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=g -_.w=h}, -fp:function fp(a,b,c){this.a=a -this.b=b -this.c=c}, -nh(){var s=self.hljs -if(s!=null)s.highlightAll() -A.nd() -A.n7() -A.n8() -A.n9()}, -nd(){var s,r,q,p,o,n,m,l,k=document,j=k.querySelector("body") -if(j==null)return -s=j.getAttribute("data-"+new A.aP(new A.ay(j)).S("using-base-href")) -if(s==null)return -if(s!=="true"){r=j.getAttribute("data-"+new A.aP(new A.ay(j)).S("base-href")) -if(r==null)return -q=r}else q="" -p=k.querySelector("#dartdoc-main-content") -if(p==null)return -o=p.getAttribute("data-"+new A.aP(new A.ay(p)).S("above-sidebar")) -n=k.querySelector("#dartdoc-sidebar-left-content") -if(o!=null&&o.length!==0&&n!=null)A.je(q+A.p(o)).a7(new A.ii(n),t.P) -m=p.getAttribute("data-"+new A.aP(new A.ay(p)).S("below-sidebar")) -l=k.querySelector("#dartdoc-sidebar-right") -if(m!=null&&m.length!==0&&l!=null)A.je(q+A.p(m)).a7(new A.ij(l),t.P)}, -ii:function ii(a){this.a=a}, -ij:function ij(a){this.a=a}, -n8(){var s=document,r=t.cD,q=r.a(s.getElementById("search-box")),p=r.a(s.getElementById("search-body")),o=r.a(s.getElementById("search-sidebar")) -s=window -r=$.cG() -A.kj(s.fetch(r+"index.json",null),t.z).a7(new A.ie(new A.ig(q,p,o),q,p,o),t.P)}, -iH(a){var s=A.n([],t.k),r=A.n([],t.M) -return new A.hA(a,A.fZ(window.location.href),s,r)}, -mi(a,b){var s,r,q,p,o,n,m,l,k=document,j=k.createElement("div"),i=b.e -j.setAttribute("data-href",i==null?"":i) -i=J.M(j) -i.gP(j).u(0,"tt-suggestion") -s=k.createElement("span") -r=J.M(s) -r.gP(s).u(0,"tt-suggestion-title") -r.sI(s,A.iR(b.a+" "+b.d.j(0).toLowerCase(),a)) -j.appendChild(s) -q=b.w -r=q!=null -if(r){p=k.createElement("span") -o=J.M(p) -o.gP(p).u(0,"tt-suggestion-container") -o.sI(p,"(in "+A.iR(q.a,a)+")") -j.appendChild(p)}n=b.r -if(n!=null&&n.length!==0){m=k.createElement("blockquote") -p=J.M(m) -p.gP(m).u(0,"one-line-description") -o=k.createElement("textarea") -t.J.a(o) -B.aj.a9(o,n) -o=o.value -o.toString -m.setAttribute("title",o) -p.sI(m,A.iR(n,a)) -j.appendChild(m)}i.L(j,"mousedown",new A.hW()) -i.L(j,"click",new A.hX(b)) -if(r){i=q.a -r=q.b.j(0) -p=q.c -o=k.createElement("div") -J.a1(o).u(0,"tt-container") -l=k.createElement("p") -l.textContent="Results from " -J.a1(l).u(0,"tt-container-text") -k=k.createElement("a") -k.setAttribute("href",p) -J.fh(k,i+" "+r) -l.appendChild(k) -o.appendChild(l) -A.mF(o,j)}return j}, -mF(a,b){var s,r=J.kM(a) -if(r==null)return -s=$.b9.i(0,r) -if(s!=null)s.appendChild(b) -else{a.appendChild(b) -$.b9.l(0,r,a)}}, -iR(a,b){return A.nn(a,A.iD(b,!1),new A.i0(),null)}, -i1:function i1(){}, -ig:function ig(a,b,c){this.a=a -this.b=b -this.c=c}, -ie:function ie(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -hA:function hA(a,b,c,d){var _=this -_.a=a -_.b=b -_.e=_.d=_.c=$ -_.f=null -_.r="" -_.w=c -_.x=d -_.y=-1}, -hB:function hB(a){this.a=a}, -hC:function hC(a,b){this.a=a -this.b=b}, -hD:function hD(a,b){this.a=a -this.b=b}, -hE:function hE(a,b){this.a=a -this.b=b}, -hF:function hF(a,b){this.a=a -this.b=b}, -hW:function hW(){}, -hX:function hX(a){this.a=a}, -i0:function i0(){}, -n7(){var s=window.document,r=s.getElementById("sidenav-left-toggle"),q=s.querySelector(".sidebar-offcanvas-left"),p=s.getElementById("overlay-under-drawer"),o=new A.ih(q,p) -if(p!=null)J.j2(p,"click",o) -if(r!=null)J.j2(r,"click",o)}, -ih:function ih(a,b){this.a=a -this.b=b}, -n9(){var s,r="colorTheme",q="dark-theme",p="light-theme",o=document,n=o.body -if(n==null)return -s=t.p.a(o.getElementById("theme")) -B.f.L(s,"change",new A.id(s,n)) -if(window.localStorage.getItem(r)!=null){s.checked=window.localStorage.getItem(r)==="true" -if(s.checked===!0){n.setAttribute("class",q) -s.setAttribute("value",q) -window.localStorage.setItem(r,"true")}else{n.setAttribute("class",p) -s.setAttribute("value",p) -window.localStorage.setItem(r,"false")}}}, -id:function id(a,b){this.a=a -this.b=b}, -nj(a){if(typeof dartPrint=="function"){dartPrint(a) -return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a) -return}if(typeof print=="function"){print(a) -return}throw"Unable to print message: "+String(a)}, -np(a){A.kl(new A.bR("Field '"+a+"' has been assigned during initialization."),new Error())}, -cF(){A.kl(new A.bR("Field '' has been assigned during initialization."),new Error())}},J={ -j_(a,b,c,d){return{i:a,p:b,e:c,x:d}}, -i8(a){var s,r,q,p,o,n=a[v.dispatchPropertyName] -if(n==null)if($.iY==null){A.nb() -n=a[v.dispatchPropertyName]}if(n!=null){s=n.p -if(!1===s)return n.i -if(!0===s)return a -r=Object.getPrototypeOf(a) -if(s===r)return n.i -if(n.e===r)throw A.b(A.jw("Return interceptor for "+A.p(s(a,n))))}q=a.constructor -if(q==null)p=null -else{o=$.ht -if(o==null)o=$.ht=v.getIsolateTag("_$dart_js") -p=q[o]}if(p!=null)return p -p=A.ng(a) -if(p!=null)return p -if(typeof a=="function")return B.N -s=Object.getPrototypeOf(a) -if(s==null)return B.x -if(s===Object.prototype)return B.x -if(typeof q=="function"){o=$.ht -if(o==null)o=$.ht=v.getIsolateTag("_$dart_js") -Object.defineProperty(q,o,{value:B.m,enumerable:false,writable:true,configurable:true}) -return B.m}return B.m}, -la(a,b){if(a<0||a>4294967295)throw A.b(A.V(a,0,4294967295,"length",null)) -return J.lc(new Array(a),b)}, -lb(a,b){if(a<0)throw A.b(A.aE("Length must be a non-negative integer: "+a,null)) -return A.n(new Array(a),b.k("A<0>"))}, -jf(a,b){if(a<0)throw A.b(A.aE("Length must be a non-negative integer: "+a,null)) -return A.n(new Array(a),b.k("A<0>"))}, -lc(a,b){return J.ix(A.n(a,b.k("A<0>")))}, -ix(a){a.fixed$length=Array -return a}, -ld(a,b){return J.kJ(a,b)}, -jg(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 -default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 -default:return!1}}, -le(a,b){var s,r -for(s=a.length;b0;b=s){s=b-1 -r=a.charCodeAt(s) -if(r!==32&&r!==13&&!J.jg(r))break}return b}, -bd(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bP.prototype -return J.dd.prototype}if(typeof a=="string")return J.aK.prototype -if(a==null)return J.bQ.prototype -if(typeof a=="boolean")return J.dc.prototype -if(Array.isArray(a))return J.A.prototype -if(typeof a!="object"){if(typeof a=="function")return J.al.prototype -if(typeof a=="symbol")return J.bm.prototype -if(typeof a=="bigint")return J.bl.prototype -return a}if(a instanceof A.t)return a -return J.i8(a)}, -cC(a){if(typeof a=="string")return J.aK.prototype -if(a==null)return a -if(Array.isArray(a))return J.A.prototype -if(typeof a!="object"){if(typeof a=="function")return J.al.prototype -if(typeof a=="symbol")return J.bm.prototype -if(typeof a=="bigint")return J.bl.prototype -return a}if(a instanceof A.t)return a -return J.i8(a)}, -fe(a){if(a==null)return a -if(Array.isArray(a))return J.A.prototype -if(typeof a!="object"){if(typeof a=="function")return J.al.prototype -if(typeof a=="symbol")return J.bm.prototype -if(typeof a=="bigint")return J.bl.prototype -return a}if(a instanceof A.t)return a -return J.i8(a)}, -n1(a){if(typeof a=="number")return J.bk.prototype -if(typeof a=="string")return J.aK.prototype -if(a==null)return a -if(!(a instanceof A.t))return J.b7.prototype -return a}, -kd(a){if(typeof a=="string")return J.aK.prototype -if(a==null)return a -if(!(a instanceof A.t))return J.b7.prototype -return a}, -M(a){if(a==null)return a -if(typeof a!="object"){if(typeof a=="function")return J.al.prototype -if(typeof a=="symbol")return J.bm.prototype -if(typeof a=="bigint")return J.bl.prototype -return a}if(a instanceof A.t)return a -return J.i8(a)}, -bD(a,b){if(a==null)return b==null -if(typeof a!="object")return b!=null&&a===b -return J.bd(a).K(a,b)}, -ir(a,b){if(typeof b==="number")if(Array.isArray(a)||typeof a=="string"||A.kg(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b").G(b).k("ak<1,2>"))}, -ah(a){if(!!a.fixed$length)A.ff(A.r("clear")) -a.length=0}, -T(a,b){var s,r=A.jk(a.length,"",!1,t.N) -for(s=0;ss)throw A.b(A.V(b,0,s,"start",null)) -if(cs)throw A.b(A.V(c,b,s,"end",null)) -if(b===c)return A.n([],A.by(a)) -return A.n(a.slice(b,c),A.by(a))}, -gct(a){if(a.length>0)return a[0] -throw A.b(A.iv())}, -gam(a){var s=a.length -if(s>0)return a[s-1] -throw A.b(A.iv())}, -bg(a,b){var s,r=a.length -for(s=0;s0){a[0]=q -a[1]=r}return}if(A.by(a).c.b(null)){for(p=0,o=0;o0)this.c7(a,p)}, -c7(a,b){var s,r=a.length -for(;s=r-1,r>0;r=s)if(a[s]===null){a[s]=void 0;--b -if(b===0)break}}, -E(a,b){var s -for(s=0;s=0&&b=0&&b=p){r.d=null -return!1}r.d=q[s] -r.c=s+1 -return!0}} -J.bk.prototype={ -bj(a,b){var s -if(ab)return 1 -else if(a===b){if(a===0){s=this.gaQ(b) -if(this.gaQ(a)===s)return 0 -if(this.gaQ(a))return-1 -return 1}return 0}else if(isNaN(a)){if(isNaN(b))return 0 -return 1}else return-1}, -gaQ(a){return a===0?1/a<0:a<0}, -a6(a){if(a>0){if(a!==1/0)return Math.round(a)}else if(a>-1/0)return 0-Math.round(0-a) -throw A.b(A.r(""+a+".round()"))}, -j(a){if(a===0&&1/a<0)return"-0.0" -else return""+a}, -gt(a){var s,r,q,p,o=a|0 -if(a===o)return o&536870911 -s=Math.abs(a) -r=Math.log(s)/0.6931471805599453|0 -q=Math.pow(2,r) -p=s<1?s/q:q/s -return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, -aq(a,b){var s=a%b -if(s===0)return 0 -if(s>0)return s -return s+b}, -cc(a,b){return(a|0)===a?a/b|0:this.cd(a,b)}, -cd(a,b){var s=a/b -if(s>=-2147483648&&s<=2147483647)return s|0 -if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) -throw A.b(A.r("Result of truncating division is "+A.p(s)+": "+A.p(a)+" ~/ "+b))}, -ae(a,b){var s -if(a>0)s=this.b9(a,b) -else{s=b>31?31:b -s=a>>s>>>0}return s}, -cb(a,b){if(0>b)throw A.b(A.mT(b)) -return this.b9(a,b)}, -b9(a,b){return b>31?0:a>>>b}, -gC(a){return A.bc(t.H)}, -$iH:1, -$iU:1} -J.bP.prototype={ -gC(a){return A.bc(t.S)}, -$iu:1, -$ik:1} -J.dd.prototype={ -gC(a){return A.bc(t.i)}, -$iu:1} -J.aK.prototype={ -bC(a,b){return a+b}, -Z(a,b,c,d){var s=A.b3(b,c,a.length) -return a.substring(0,b)+d+a.substring(s)}, -F(a,b,c){var s -if(c<0||c>a.length)throw A.b(A.V(c,0,a.length,null,null)) -s=c+b.length -if(s>a.length)return!1 -return b===a.substring(c,s)}, -B(a,b){return this.F(a,b,0)}, -m(a,b,c){return a.substring(b,A.b3(b,c,a.length))}, -M(a,b){return this.m(a,b,null)}, -cQ(a){return a.toLowerCase()}, -cR(a){var s,r,q,p=a.trim(),o=p.length -if(o===0)return p -if(p.charCodeAt(0)===133){s=J.le(p,1) -if(s===o)return""}else s=0 -r=o-1 -q=p.charCodeAt(r)===133?J.lf(p,r):o -if(s===0&&q===o)return p -return p.substring(s,q)}, -bD(a,b){var s,r -if(0>=b)return"" -if(b===1||a.length===0)return a -if(b!==b>>>0)throw A.b(B.H) -for(s=a,r="";!0;){if((b&1)===1)r=s+r -b=b>>>1 -if(b===0)break -s+=s}return r}, -al(a,b,c){var s -if(c<0||c>a.length)throw A.b(A.V(c,0,a.length,null,null)) -s=a.indexOf(b,c) -return s}, -br(a,b){return this.al(a,b,0)}, -cl(a,b,c){var s=a.length -if(c>s)throw A.b(A.V(c,0,s,null,null)) -return A.j0(a,b,c)}, -E(a,b){return this.cl(a,b,0)}, -bj(a,b){var s -if(a===b)s=0 -else s=a>6}r=r+((r&67108863)<<3)&536870911 -r^=r>>11 -return r+((r&16383)<<15)&536870911}, -gC(a){return A.bc(t.N)}, -gh(a){return a.length}, -$iu:1, -$id:1} -A.aO.prototype={ -gv(a){var s=A.J(this) -return new A.cS(J.a2(this.ga3()),s.k("@<1>").G(s.z[1]).k("cS<1,2>"))}, -gh(a){return J.aV(this.ga3())}, -p(a,b){return A.J(this).z[1].a(J.cH(this.ga3(),b))}, -j(a){return J.aD(this.ga3())}} -A.cS.prototype={ -n(){return this.a.n()}, -gq(a){var s=this.a -return this.$ti.z[1].a(s.gq(s))}} -A.aX.prototype={ -ga3(){return this.a}} -A.c9.prototype={$if:1} -A.c6.prototype={ -i(a,b){return this.$ti.z[1].a(J.ir(this.a,b))}, -l(a,b,c){J.fg(this.a,b,this.$ti.c.a(c))}, -$if:1, -$ij:1} -A.ak.prototype={ -ag(a,b){return new A.ak(this.a,this.$ti.k("@<1>").G(b).k("ak<1,2>"))}, -ga3(){return this.a}} -A.bR.prototype={ -j(a){return"LateInitializationError: "+this.a}} -A.cV.prototype={ -gh(a){return this.a.length}, -i(a,b){return this.a.charCodeAt(b)}} -A.fT.prototype={} -A.f.prototype={} -A.a7.prototype={ -gv(a){return new A.bT(this,this.gh(this))}, -ao(a,b){return this.bK(0,b)}} -A.bT.prototype={ -gq(a){var s=this.d -return s==null?A.J(this).c.a(s):s}, -n(){var s,r=this,q=r.a,p=J.cC(q),o=p.gh(q) -if(r.b!==o)throw A.b(A.aY(q)) -s=r.c -if(s>=o){r.d=null -return!1}r.d=p.p(q,s);++r.c -return!0}} -A.ao.prototype={ -gv(a){return new A.bV(J.a2(this.a),this.b)}, -gh(a){return J.aV(this.a)}, -p(a,b){return this.b.$1(J.cH(this.a,b))}} -A.bJ.prototype={$if:1} -A.bV.prototype={ -n(){var s=this,r=s.b -if(r.n()){s.a=s.c.$1(r.gq(r)) -return!0}s.a=null -return!1}, -gq(a){var s=this.a -return s==null?A.J(this).z[1].a(s):s}} -A.ap.prototype={ -gh(a){return J.aV(this.a)}, -p(a,b){return this.b.$1(J.cH(this.a,b))}} -A.ax.prototype={ -gv(a){return new A.e2(J.a2(this.a),this.b)}} -A.e2.prototype={ -n(){var s,r -for(s=this.a,r=this.b;s.n();)if(r.$1(s.gq(s)))return!0 -return!1}, -gq(a){var s=this.a -return s.gq(s)}} -A.bM.prototype={} -A.dY.prototype={ -l(a,b,c){throw A.b(A.r("Cannot modify an unmodifiable list"))}} -A.bs.prototype={} -A.cy.prototype={} -A.eF.prototype={$r:"+item,matchPosition(1,2)",$s:1} -A.bF.prototype={ -j(a){return A.iA(this)}, -l(a,b,c){A.kY()}, -$iy:1} -A.bG.prototype={ -gh(a){return this.b.length}, -gc1(){var s=this.$keys -if(s==null){s=Object.keys(this.a) -this.$keys=s}return s}, -a4(a,b){if("__proto__"===b)return!1 -return this.a.hasOwnProperty(b)}, -i(a,b){if(!this.a4(0,b))return null -return this.b[this.a[b]]}, -A(a,b){var s,r,q=this.gc1(),p=this.b -for(s=q.length,r=0;r>>0}, -j(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.fR(this.a)+"'")}} -A.e9.prototype={ -j(a){return"Reading static variable '"+this.a+"' during its initialization"}} -A.dF.prototype={ -j(a){return"RuntimeError: "+this.a}} -A.b2.prototype={ -gh(a){return this.a}, -gD(a){return new A.an(this,A.J(this).k("an<1>"))}, -gbB(a){var s=A.J(this) -return A.lh(new A.an(this,s.k("an<1>")),new A.fF(this),s.c,s.z[1])}, -a4(a,b){var s=this.b -if(s==null)return!1 -return s[b]!=null}, -i(a,b){var s,r,q,p,o=null -if(typeof b=="string"){s=this.b -if(s==null)return o -r=s[b] -q=r==null?o:r.b -return q}else if(typeof b=="number"&&(b&0x3fffffff)===b){p=this.c -if(p==null)return o -r=p[b] -q=r==null?o:r.b -return q}else return this.cB(b)}, -cB(a){var s,r,q=this.d -if(q==null)return null -s=q[this.bs(a)] -r=this.bt(s,a) -if(r<0)return null -return s[r].b}, -l(a,b,c){var s,r,q,p,o,n,m=this -if(typeof b=="string"){s=m.b -m.aY(s==null?m.b=m.aF():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=m.c -m.aY(r==null?m.c=m.aF():r,b,c)}else{q=m.d -if(q==null)q=m.d=m.aF() -p=m.bs(b) -o=q[p] -if(o==null)q[p]=[m.aG(b,c)] -else{n=m.bt(o,b) -if(n>=0)o[n].b=c -else o.push(m.aG(b,c))}}}, -ah(a){var s=this -if(s.a>0){s.b=s.c=s.d=s.e=s.f=null -s.a=0 -s.b6()}}, -A(a,b){var s=this,r=s.e,q=s.r -for(;r!=null;){b.$2(r.a,r.b) -if(q!==s.r)throw A.b(A.aY(s)) -r=r.c}}, -aY(a,b,c){var s=a[b] -if(s==null)a[b]=this.aG(b,c) -else s.b=c}, -b6(){this.r=this.r+1&1073741823}, -aG(a,b){var s,r=this,q=new A.fI(a,b) -if(r.e==null)r.e=r.f=q -else{s=r.f -s.toString -q.d=s -r.f=s.c=q}++r.a -r.b6() -return q}, -bs(a){return J.aj(a)&1073741823}, -bt(a,b){var s,r -if(a==null)return-1 -s=a.length -for(r=0;r"]=s -delete s[""] -return s}} -A.fF.prototype={ -$1(a){var s=this.a,r=s.i(0,a) -return r==null?A.J(s).z[1].a(r):r}, -$S(){return A.J(this.a).k("2(1)")}} -A.fI.prototype={} -A.an.prototype={ -gh(a){return this.a.a}, -gv(a){var s=this.a,r=new A.dg(s,s.r) -r.c=s.e -return r}} -A.dg.prototype={ -gq(a){return this.d}, -n(){var s,r=this,q=r.a -if(r.b!==q.r)throw A.b(A.aY(q)) -s=r.c -if(s==null){r.d=null -return!1}else{r.d=s.a -r.c=s.c -return!0}}} -A.ia.prototype={ -$1(a){return this.a(a)}, -$S:37} -A.ib.prototype={ -$2(a,b){return this.a(a,b)}, -$S:43} -A.ic.prototype={ -$1(a){return this.a(a)}, -$S:19} -A.ci.prototype={ -j(a){return this.bc(!1)}, -bc(a){var s,r,q,p,o,n=this.c_(),m=this.b4(),l=(a?""+"Record ":"")+"(" -for(s=n.length,r="",q=0;q0;){--q;--s -j[q]=r[s]}}j=A.jl(j,!1,k) -j.fixed$length=Array -j.immutable$list=Array -return j}} -A.eE.prototype={ -b4(){return[this.a,this.b]}, -K(a,b){if(b==null)return!1 -return b instanceof A.eE&&this.$s===b.$s&&J.bD(this.a,b.a)&&J.bD(this.b,b.b)}, -gt(a){return A.iB(this.$s,this.a,this.b,B.k)}} -A.fD.prototype={ -j(a){return"RegExp/"+this.a+"/"+this.b.flags}, -gc2(){var s=this,r=s.c -if(r!=null)return r -r=s.b -return s.c=A.jh(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -bZ(a,b){var s,r=this.gc2() -r.lastIndex=b -s=r.exec(a) -if(s==null)return null -return new A.et(s)}} -A.et.prototype={ -gcr(a){var s=this.b -return s.index+s[0].length}, -i(a,b){return this.b[b]}, -$ifK:1, -$iiC:1} -A.h7.prototype={ -gq(a){var s=this.d -return s==null?t.F.a(s):s}, -n(){var s,r,q,p,o,n=this,m=n.b -if(m==null)return!1 -s=n.c -r=m.length -if(s<=r){q=n.a -p=q.bZ(m,s) -if(p!=null){n.d=p -o=p.gcr(p) -if(p.b.index===o){if(q.b.unicode){s=n.c -q=s+1 -if(q=55296&&s<=56319){s=m.charCodeAt(q) -s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 -o=(s?o+1:o)+1}n.c=o -return!0}}n.b=n.d=null -return!1}} -A.dn.prototype={ -gC(a){return B.ak}, -$iu:1} -A.bY.prototype={} -A.dp.prototype={ -gC(a){return B.al}, -$iu:1} -A.bo.prototype={ -gh(a){return a.length}, -$io:1} -A.bW.prototype={ -i(a,b){A.aA(b,a,a.length) -return a[b]}, -l(a,b,c){A.aA(b,a,a.length) -a[b]=c}, -$if:1, -$ij:1} -A.bX.prototype={ -l(a,b,c){A.aA(b,a,a.length) -a[b]=c}, -$if:1, -$ij:1} -A.dq.prototype={ -gC(a){return B.am}, -$iu:1} -A.dr.prototype={ -gC(a){return B.an}, -$iu:1} -A.ds.prototype={ -gC(a){return B.ao}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.dt.prototype={ -gC(a){return B.ap}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.du.prototype={ -gC(a){return B.aq}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.dv.prototype={ -gC(a){return B.as}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.dw.prototype={ -gC(a){return B.at}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.bZ.prototype={ -gC(a){return B.au}, -gh(a){return a.length}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1} -A.c_.prototype={ -gC(a){return B.av}, -gh(a){return a.length}, -i(a,b){A.aA(b,a,a.length) -return a[b]}, -$iu:1, -$ib6:1} -A.ce.prototype={} -A.cf.prototype={} -A.cg.prototype={} -A.ch.prototype={} -A.W.prototype={ -k(a){return A.cu(v.typeUniverse,this,a)}, -G(a){return A.jO(v.typeUniverse,this,a)}} -A.ek.prototype={} -A.hL.prototype={ -j(a){return A.T(this.a,null)}} -A.eg.prototype={ -j(a){return this.a}} -A.cq.prototype={$iav:1} -A.h9.prototype={ -$1(a){var s=this.a,r=s.a -s.a=null -r.$0()}, -$S:9} -A.h8.prototype={ -$1(a){var s,r -this.a.a=a -s=this.b -r=this.c -s.firstChild?s.removeChild(r):s.appendChild(r)}, -$S:26} -A.ha.prototype={ -$0(){this.a.$0()}, -$S:7} -A.hb.prototype={ -$0(){this.a.$0()}, -$S:7} -A.hJ.prototype={ -bP(a,b){if(self.setTimeout!=null)self.setTimeout(A.bb(new A.hK(this,b),0),a) -else throw A.b(A.r("`setTimeout()` not found."))}} -A.hK.prototype={ -$0(){this.b.$0()}, -$S:0} -A.e3.prototype={ -ai(a,b){var s,r=this -if(b==null)b=r.$ti.c.a(b) -if(!r.b)r.a.aZ(b) -else{s=r.a -if(r.$ti.k("aI<1>").b(b))s.b0(b) -else s.az(b)}}, -ak(a,b){var s=this.a -if(this.b)s.a0(a,b) -else s.b_(a,b)}} -A.hT.prototype={ -$1(a){return this.a.$2(0,a)}, -$S:4} -A.hU.prototype={ -$2(a,b){this.a.$2(1,new A.bL(a,b))}, -$S:31} -A.i6.prototype={ -$2(a,b){this.a(a,b)}, -$S:20} -A.cN.prototype={ -j(a){return A.p(this.a)}, -$iz:1, -gaa(){return this.b}} -A.c7.prototype={ -ak(a,b){var s -A.fc(a,"error",t.K) -s=this.a -if((s.a&30)!==0)throw A.b(A.dJ("Future already completed")) -if(b==null)b=A.j5(a) -s.b_(a,b)}, -aj(a){return this.ak(a,null)}} -A.b8.prototype={ -ai(a,b){var s=this.a -if((s.a&30)!==0)throw A.b(A.dJ("Future already completed")) -s.aZ(b)}} -A.bv.prototype={ -cC(a){if((this.c&15)!==6)return!0 -return this.b.b.aU(this.d,a.a)}, -cw(a){var s,r=this.e,q=null,p=a.a,o=this.b.b -if(t.C.b(r))q=o.cK(r,p,a.b) -else q=o.aU(r,p) -try{p=q -return p}catch(s){if(t.n.b(A.ai(s))){if((this.c&1)!==0)throw A.b(A.aE("The error handler of Future.then must return a value of the returned future's type","onError")) -throw A.b(A.aE("The error handler of Future.catchError must return a value of the future's type","onError"))}else throw s}}} -A.I.prototype={ -b8(a){this.a=this.a&1|4 -this.c=a}, -aV(a,b,c){var s,r,q=$.C -if(q===B.c){if(b!=null&&!t.C.b(b)&&!t.w.b(b))throw A.b(A.is(b,"onError",u.c))}else if(b!=null)b=A.mJ(b,q) -s=new A.I(q,c.k("I<0>")) -r=b==null?1:3 -this.av(new A.bv(s,r,a,b,this.$ti.k("@<1>").G(c).k("bv<1,2>"))) -return s}, -a7(a,b){return this.aV(a,null,b)}, -ba(a,b,c){var s=new A.I($.C,c.k("I<0>")) -this.av(new A.bv(s,3,a,b,this.$ti.k("@<1>").G(c).k("bv<1,2>"))) -return s}, -ca(a){this.a=this.a&1|16 -this.c=a}, -ab(a){this.a=a.a&30|this.a&1 -this.c=a.c}, -av(a){var s=this,r=s.a -if(r<=3){a.a=s.c -s.c=a}else{if((r&4)!==0){r=s.c -if((r.a&24)===0){r.av(a) -return}s.ab(r)}A.ba(null,null,s.b,new A.hh(s,a))}}, -aH(a){var s,r,q,p,o,n=this,m={} -m.a=a -if(a==null)return -s=n.a -if(s<=3){r=n.c -n.c=a -if(r!=null){q=a.a -for(p=a;q!=null;p=q,q=o)o=q.a -p.a=r}}else{if((s&4)!==0){s=n.c -if((s.a&24)===0){s.aH(a) -return}n.ab(s)}m.a=n.ad(a) -A.ba(null,null,n.b,new A.ho(m,n))}}, -aI(){var s=this.c -this.c=null -return this.ad(s)}, -ad(a){var s,r,q -for(s=a,r=null;s!=null;r=s,s=q){q=s.a -s.a=r}return r}, -bT(a){var s,r,q,p=this -p.a^=2 -try{a.aV(new A.hl(p),new A.hm(p),t.P)}catch(q){s=A.ai(q) -r=A.aT(q) -A.nl(new A.hn(p,s,r))}}, -az(a){var s=this,r=s.aI() -s.a=8 -s.c=a -A.ca(s,r)}, -a0(a,b){var s=this.aI() -this.ca(A.fi(a,b)) -A.ca(this,s)}, -aZ(a){if(this.$ti.k("aI<1>").b(a)){this.b0(a) -return}this.bS(a)}, -bS(a){this.a^=2 -A.ba(null,null,this.b,new A.hj(this,a))}, -b0(a){if(this.$ti.b(a)){A.ly(a,this) -return}this.bT(a)}, -b_(a,b){this.a^=2 -A.ba(null,null,this.b,new A.hi(this,a,b))}, -$iaI:1} -A.hh.prototype={ -$0(){A.ca(this.a,this.b)}, -$S:0} -A.ho.prototype={ -$0(){A.ca(this.b,this.a.a)}, -$S:0} -A.hl.prototype={ -$1(a){var s,r,q,p=this.a -p.a^=2 -try{p.az(p.$ti.c.a(a))}catch(q){s=A.ai(q) -r=A.aT(q) -p.a0(s,r)}}, -$S:9} -A.hm.prototype={ -$2(a,b){this.a.a0(a,b)}, -$S:23} -A.hn.prototype={ -$0(){this.a.a0(this.b,this.c)}, -$S:0} -A.hk.prototype={ -$0(){A.jD(this.a.a,this.b)}, -$S:0} -A.hj.prototype={ -$0(){this.a.az(this.b)}, -$S:0} -A.hi.prototype={ -$0(){this.a.a0(this.b,this.c)}, -$S:0} -A.hr.prototype={ -$0(){var s,r,q,p,o,n,m=this,l=null -try{q=m.a.a -l=q.b.b.cI(q.d)}catch(p){s=A.ai(p) -r=A.aT(p) -q=m.c&&m.b.a.c.a===s -o=m.a -if(q)o.c=m.b.a.c -else o.c=A.fi(s,r) -o.b=!0 -return}if(l instanceof A.I&&(l.a&24)!==0){if((l.a&16)!==0){q=m.a -q.c=l.c -q.b=!0}return}if(l instanceof A.I){n=m.b.a -q=m.a -q.c=l.a7(new A.hs(n),t.z) -q.b=!1}}, -$S:0} -A.hs.prototype={ -$1(a){return this.a}, -$S:27} -A.hq.prototype={ -$0(){var s,r,q,p,o -try{q=this.a -p=q.a -q.c=p.b.b.aU(p.d,this.b)}catch(o){s=A.ai(o) -r=A.aT(o) -q=this.a -q.c=A.fi(s,r) -q.b=!0}}, -$S:0} -A.hp.prototype={ -$0(){var s,r,q,p,o,n,m=this -try{s=m.a.a.c -p=m.b -if(p.a.cC(s)&&p.a.e!=null){p.c=p.a.cw(s) -p.b=!1}}catch(o){r=A.ai(o) -q=A.aT(o) -p=m.a.a.c -n=m.b -if(p.a===r)n.c=p -else n.c=A.fi(r,q) -n.b=!0}}, -$S:0} -A.e4.prototype={} -A.eM.prototype={} -A.hS.prototype={} -A.i4.prototype={ -$0(){A.l0(this.a,this.b)}, -$S:0} -A.hw.prototype={ -cM(a){var s,r,q -try{if(B.c===$.C){a.$0() -return}A.k4(null,null,this,a)}catch(q){s=A.ai(q) -r=A.aT(q) -A.i3(s,r)}}, -cO(a,b){var s,r,q -try{if(B.c===$.C){a.$1(b) -return}A.k5(null,null,this,a,b)}catch(q){s=A.ai(q) -r=A.aT(q) -A.i3(s,r)}}, -cP(a,b){return this.cO(a,b,t.z)}, -bh(a){return new A.hx(this,a)}, -cj(a,b){return new A.hy(this,a,b)}, -cJ(a){if($.C===B.c)return a.$0() -return A.k4(null,null,this,a)}, -cI(a){return this.cJ(a,t.z)}, -cN(a,b){if($.C===B.c)return a.$1(b) -return A.k5(null,null,this,a,b)}, -aU(a,b){return this.cN(a,b,t.z,t.z)}, -cL(a,b,c){if($.C===B.c)return a.$2(b,c) -return A.mK(null,null,this,a,b,c)}, -cK(a,b,c){return this.cL(a,b,c,t.z,t.z,t.z)}, -cG(a){return a}, -bw(a){return this.cG(a,t.z,t.z,t.z)}} -A.hx.prototype={ -$0(){return this.a.cM(this.b)}, -$S:0} -A.hy.prototype={ -$1(a){return this.a.cP(this.b,a)}, -$S(){return this.c.k("~(0)")}} -A.cb.prototype={ -gv(a){var s=new A.cc(this,this.r) -s.c=this.e -return s}, -gh(a){return this.a}, -E(a,b){var s,r -if(b!=="__proto__"){s=this.b -if(s==null)return!1 -return s[b]!=null}else{r=this.bX(b) -return r}}, -bX(a){var s=this.d -if(s==null)return!1 -return this.aE(s[this.aA(a)],a)>=0}, -u(a,b){var s,r,q=this -if(typeof b=="string"&&b!=="__proto__"){s=q.b -return q.b1(s==null?q.b=A.iG():s,b)}else if(typeof b=="number"&&(b&1073741823)===b){r=q.c -return q.b1(r==null?q.c=A.iG():r,b)}else return q.bQ(0,b)}, -bQ(a,b){var s,r,q=this,p=q.d -if(p==null)p=q.d=A.iG() -s=q.aA(b) -r=p[s] -if(r==null)p[s]=[q.aw(b)] -else{if(q.aE(r,b)>=0)return!1 -r.push(q.aw(b))}return!0}, -a5(a,b){var s -if(b!=="__proto__")return this.c5(this.b,b) -else{s=this.c4(0,b) -return s}}, -c4(a,b){var s,r,q,p,o=this,n=o.d -if(n==null)return!1 -s=o.aA(b) -r=n[s] -q=o.aE(r,b) -if(q<0)return!1 -p=r.splice(q,1)[0] -if(0===r.length)delete n[s] -o.bd(p) -return!0}, -b1(a,b){if(a[b]!=null)return!1 -a[b]=this.aw(b) -return!0}, -c5(a,b){var s -if(a==null)return!1 -s=a[b] -if(s==null)return!1 -this.bd(s) -delete a[b] -return!0}, -b2(){this.r=this.r+1&1073741823}, -aw(a){var s,r=this,q=new A.hu(a) -if(r.e==null)r.e=r.f=q -else{s=r.f -s.toString -q.c=s -r.f=s.b=q}++r.a -r.b2() -return q}, -bd(a){var s=this,r=a.c,q=a.b -if(r==null)s.e=q -else r.b=q -if(q==null)s.f=r -else q.c=r;--s.a -s.b2()}, -aA(a){return J.aj(a)&1073741823}, -aE(a,b){var s,r -if(a==null)return-1 -s=a.length -for(r=0;r").G(b).k("ak<1,2>"))}, -cs(a,b,c,d){var s -A.b3(b,c,this.gh(a)) -for(s=b;s"))}return new A.eq(this)}, -l(a,b,c){var s,r,q=this -if(q.b==null)q.c.l(0,b,c) -else if(q.a4(0,b)){s=q.b -s[b]=c -r=q.a -if(r==null?s!=null:r!==s)r[b]=null}else q.ce().l(0,b,c)}, -a4(a,b){if(this.b==null)return this.c.a4(0,b) -return Object.prototype.hasOwnProperty.call(this.a,b)}, -A(a,b){var s,r,q,p,o=this -if(o.b==null)return o.c.A(0,b) -s=o.a1() -for(r=0;r=0){g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(f) -if(g===k)continue -k=g}else{if(f===-1){if(o<0){e=p==null?null:p.a.length -if(e==null)e=0 -o=e+(r-q) -n=r}++m -if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new A.O("") -e=p}else e=p -e.a+=B.a.m(a1,q,r) -e.a+=A.ar(k) -q=l -continue}}throw A.b(A.N("Invalid base64 data",a1,r))}if(p!=null){e=p.a+=B.a.m(a1,q,a3) -d=e.length -if(o>=0)A.j6(a1,n,a3,o,m,d) -else{c=B.d.aq(d-1,4)+1 -if(c===1)throw A.b(A.N(a,a1,a3)) -for(;c<4;){e+="=" -p.a=e;++c}}e=p.a -return B.a.Z(a1,a2,a3,e.charCodeAt(0)==0?e:e)}b=a3-a2 -if(o>=0)A.j6(a1,n,a3,o,m,b) -else{c=B.d.aq(b,4) -if(c===1)throw A.b(A.N(a,a1,a3)) -if(c>1)a1=B.a.Z(a1,a3,a3,c===2?"==":"=")}return a1}} -A.fl.prototype={} -A.cW.prototype={} -A.cY.prototype={} -A.fq.prototype={} -A.fw.prototype={ -j(a){return"unknown"}} -A.fv.prototype={ -X(a){var s=this.bY(a,0,a.length) -return s==null?a:s}, -bY(a,b,c){var s,r,q,p -for(s=b,r=null;s":q=">" -break -case"/":q="/" -break -default:q=null}if(q!=null){if(r==null)r=new A.O("") -if(s>b)r.a+=B.a.m(a,b,s) -r.a+=q -b=s+1}}if(r==null)return null -if(c>b)r.a+=B.a.m(a,b,c) -p=r.a -return p.charCodeAt(0)==0?p:p}} -A.fG.prototype={ -co(a,b,c){var s=A.mH(b,this.gcq().a) -return s}, -gcq(){return B.P}} -A.fH.prototype={} -A.h2.prototype={} -A.h6.prototype={ -X(a){var s,r,q,p=A.b3(0,null,a.length),o=p-0 -if(o===0)return new Uint8Array(0) -s=o*3 -r=new Uint8Array(s) -q=new A.hP(r) -if(q.c0(a,0,p)!==p)q.aK() -return new Uint8Array(r.subarray(0,A.mh(0,q.b,s)))}} -A.hP.prototype={ -aK(){var s=this,r=s.c,q=s.b,p=s.b=q+1 -r[q]=239 -q=s.b=p+1 -r[p]=191 -s.b=q+1 -r[q]=189}, -cf(a,b){var s,r,q,p,o=this -if((b&64512)===56320){s=65536+((a&1023)<<10)|b&1023 -r=o.c -q=o.b -p=o.b=q+1 -r[q]=s>>>18|240 -q=o.b=p+1 -r[p]=s>>>12&63|128 -p=o.b=q+1 -r[q]=s>>>6&63|128 -o.b=p+1 -r[p]=s&63|128 -return!0}else{o.aK() -return!1}}, -c0(a,b,c){var s,r,q,p,o,n,m,l=this -if(b!==c&&(a.charCodeAt(c-1)&64512)===55296)--c -for(s=l.c,r=s.length,q=b;q=r)break -l.b=o+1 -s[o]=p}else{o=p&64512 -if(o===55296){if(l.b+4>r)break -n=q+1 -if(l.cf(p,a.charCodeAt(n)))q=n}else if(o===56320){if(l.b+3>r)break -l.aK()}else if(p<=2047){o=l.b -m=o+1 -if(m>=r)break -l.b=m -s[o]=p>>>6|192 -l.b=m+1 -s[m]=p&63|128}else{o=l.b -if(o+2>=r)break -m=l.b=o+1 -s[o]=p>>>12|224 -o=l.b=m+1 -s[m]=p>>>6&63|128 -l.b=o+1 -s[o]=p&63|128}}}return q}} -A.h3.prototype={ -X(a){var s=this.a,r=A.lr(s,a,0,null) -if(r!=null)return r -return new A.hO(s).cm(a,0,null,!0)}} -A.hO.prototype={ -cm(a,b,c,d){var s,r,q,p,o=this,n=A.b3(b,c,J.aV(a)) -if(b===n)return"" -s=A.m7(a,b,n) -r=o.aB(s,0,n-b,!0) -q=o.b -if((q&1)!==0){p=A.m8(q) -o.b=0 -throw A.b(A.N(p,a,b+o.c))}return r}, -aB(a,b,c,d){var s,r,q=this -if(c-b>1000){s=B.d.cc(b+c,2) -r=q.aB(a,b,s,!1) -if((q.b&1)!==0)return r -return r+q.aB(a,s,c,d)}return q.cp(a,b,c,d)}, -cp(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new A.O(""),g=b+1,f=a[b] -$label0$0:for(s=l.a;!0;){for(;!0;g=p){r="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(f)&31 -i=j<=32?f&61694>>>r:(f&63|i<<6)>>>0 -j=" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(j+r) -if(j===0){h.a+=A.ar(i) -if(g===c)break $label0$0 -break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=A.ar(k) -break -case 65:h.a+=A.ar(k);--g -break -default:q=h.a+=A.ar(k) -h.a=q+A.ar(k) -break}else{l.b=j -l.c=g-1 -return""}j=0}if(g===c)break $label0$0 -p=g+1 -f=a[g]}p=g+1 -f=a[g] -if(f<128){while(!0){if(!(p=128){o=n-1 -p=n -break}p=n}if(o-g<20)for(m=g;m32)if(s)h.a+=A.ar(k) -else{l.b=77 -l.c=c -return""}l.b=j -l.c=i -s=h.a -return s.charCodeAt(0)==0?s:s}} -A.he.prototype={ -j(a){return this.b3()}} -A.z.prototype={ -gaa(){return A.aT(this.$thrownJsError)}} -A.cL.prototype={ -j(a){var s=this.a -if(s!=null)return"Assertion failed: "+A.fr(s) -return"Assertion failed"}} -A.av.prototype={} -A.Z.prototype={ -gaD(){return"Invalid argument"+(!this.a?"(s)":"")}, -gaC(){return""}, -j(a){var s=this,r=s.c,q=r==null?"":" ("+r+")",p=s.d,o=p==null?"":": "+p,n=s.gaD()+q+o -if(!s.a)return n -return n+s.gaC()+": "+A.fr(s.gaP())}, -gaP(){return this.b}} -A.c3.prototype={ -gaP(){return this.b}, -gaD(){return"RangeError"}, -gaC(){var s,r=this.e,q=this.f -if(r==null)s=q!=null?": Not less than or equal to "+A.p(q):"" -else if(q==null)s=": Not greater than or equal to "+A.p(r) -else if(q>r)s=": Not in inclusive range "+A.p(r)+".."+A.p(q) -else s=qe.length -else s=!1 -if(s)f=null -if(f==null){if(e.length>78)e=B.a.m(e,0,75)+"..." -return g+"\n"+e}for(r=1,q=0,p=!1,o=0;o1?g+(" (at line "+r+", character "+(f-q+1)+")\n"):g+(" (at character "+(f+1)+")\n") -m=e.length -for(o=f;o78)if(f-q<75){l=q+75 -k=q -j="" -i="..."}else{if(m-f<75){k=m-75 -l=m -i=""}else{k=f-36 -l=f+36 -i="..."}j="..."}else{l=m -k=q -j="" -i=""}return g+j+B.a.m(e,k,l)+i+"\n"+B.a.bD(" ",f-k+j.length)+"^\n"}else return f!=null?g+(" (at offset "+A.p(f)+")"):g}} -A.v.prototype={ -ag(a,b){return A.kS(this,A.J(this).k("v.E"),b)}, -ao(a,b){return new A.ax(this,b,A.J(this).k("ax"))}, -gh(a){var s,r=this.gv(this) -for(s=0;r.n();)++s -return s}, -gV(a){var s,r=this.gv(this) -if(!r.n())throw A.b(A.iv()) -s=r.gq(r) -if(r.n())throw A.b(A.l8()) -return s}, -p(a,b){var s,r -A.jq(b,"index") -s=this.gv(this) -for(r=b;s.n();){if(r===0)return s.gq(s);--r}throw A.b(A.E(b,b-r,this,"index"))}, -j(a){return A.l9(this,"(",")")}} -A.F.prototype={ -gt(a){return A.t.prototype.gt.call(this,this)}, -j(a){return"null"}} -A.t.prototype={$it:1, -K(a,b){return this===b}, -gt(a){return A.dD(this)}, -j(a){return"Instance of '"+A.fR(this)+"'"}, -gC(a){return A.n3(this)}, -toString(){return this.j(this)}} -A.eP.prototype={ -j(a){return""}, -$iae:1} -A.O.prototype={ -gh(a){return this.a.length}, -j(a){var s=this.a -return s.charCodeAt(0)==0?s:s}} -A.h1.prototype={ -$2(a,b){var s,r,q,p=B.a.br(b,"=") -if(p===-1){if(b!=="")J.fg(a,A.iP(b,0,b.length,this.a,!0),"")}else if(p!==0){s=B.a.m(b,0,p) -r=B.a.M(b,p+1) -q=this.a -J.fg(a,A.iP(s,0,s.length,q,!0),A.iP(r,0,r.length,q,!0))}return a}, -$S:45} -A.fY.prototype={ -$2(a,b){throw A.b(A.N("Illegal IPv4 address, "+a,this.a,b))}, -$S:40} -A.h_.prototype={ -$2(a,b){throw A.b(A.N("Illegal IPv6 address, "+a,this.a,b))}, -$S:17} -A.h0.prototype={ -$2(a,b){var s -if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) -s=A.ik(B.a.m(this.b,a,b),16) -if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) -return s}, -$S:18} -A.cw.prototype={ -gaf(){var s,r,q,p,o=this,n=o.w -if(n===$){s=o.a -r=s.length!==0?""+s+":":"" -q=o.c -p=q==null -if(!p||s==="file"){s=r+"//" -r=o.b -if(r.length!==0)s=s+r+"@" -if(!p)s+=q -r=o.d -if(r!=null)s=s+":"+A.p(r)}else s=r -s+=o.e -r=o.f -if(r!=null)s=s+"?"+r -r=o.r -if(r!=null)s=s+"#"+r -n!==$&&A.cF() -n=o.w=s.charCodeAt(0)==0?s:s}return n}, -gt(a){var s,r=this,q=r.y -if(q===$){s=B.a.gt(r.gaf()) -r.y!==$&&A.cF() -r.y=s -q=s}return q}, -gaS(){var s,r=this,q=r.z -if(q===$){s=r.f -s=A.jz(s==null?"":s) -r.z!==$&&A.cF() -q=r.z=new A.bt(s,t.V)}return q}, -gbA(){return this.b}, -gaN(a){var s=this.c -if(s==null)return"" -if(B.a.B(s,"["))return B.a.m(s,1,s.length-1) -return s}, -gan(a){var s=this.d -return s==null?A.jP(this.a):s}, -gaR(a){var s=this.f -return s==null?"":s}, -gbl(){var s=this.r -return s==null?"":s}, -aT(a,b){var s,r,q,p,o=this,n=o.a,m=n==="file",l=o.b,k=o.d,j=o.c -if(!(j!=null))j=l.length!==0||k!=null||m?"":null -s=o.e -if(!m)r=j!=null&&s.length!==0 -else r=!0 -if(r&&!B.a.B(s,"/"))s="/"+s -q=s -p=A.iN(null,0,0,b) -return A.iL(n,l,j,k,q,p,o.r)}, -gbn(){return this.c!=null}, -gbq(){return this.f!=null}, -gbo(){return this.r!=null}, -j(a){return this.gaf()}, -K(a,b){var s,r,q=this -if(b==null)return!1 -if(q===b)return!0 -if(t.R.b(b))if(q.a===b.gar())if(q.c!=null===b.gbn())if(q.b===b.gbA())if(q.gaN(q)===b.gaN(b))if(q.gan(q)===b.gan(b))if(q.e===b.gbv(b)){s=q.f -r=s==null -if(!r===b.gbq()){if(r)s="" -if(s===b.gaR(b)){s=q.r -r=s==null -if(!r===b.gbo()){if(r)s="" -s=s===b.gbl()}else s=!1}else s=!1}else s=!1}else s=!1 -else s=!1 -else s=!1 -else s=!1 -else s=!1 -else s=!1 -else s=!1 -return s}, -$ie_:1, -gar(){return this.a}, -gbv(a){return this.e}} -A.hN.prototype={ -$2(a,b){var s=this.b,r=this.a -s.a+=r.a -r.a="&" -r=s.a+=A.jV(B.i,a,B.h,!0) -if(b!=null&&b.length!==0){s.a=r+"=" -s.a+=A.jV(B.i,b,B.h,!0)}}, -$S:16} -A.hM.prototype={ -$2(a,b){var s,r -if(b==null||typeof b=="string")this.a.$2(a,b) -else for(s=J.a2(b),r=this.a;s.n();)r.$2(a,s.gq(s))}, -$S:2} -A.fX.prototype={ -gbz(){var s,r,q,p,o=this,n=null,m=o.c -if(m==null){m=o.a -s=o.b[0]+1 -r=B.a.al(m,"?",s) -q=m.length -if(r>=0){p=A.cx(m,r+1,q,B.j,!1,!1) -q=r}else p=n -m=o.c=new A.ea("data","",n,n,A.cx(m,s,q,B.v,!1,!1),p,n)}return m}, -j(a){var s=this.a -return this.b[0]===-1?"data:"+s:s}} -A.hY.prototype={ -$2(a,b){var s=this.a[a] -B.ah.cs(s,0,96,b) -return s}, -$S:21} -A.hZ.prototype={ -$3(a,b,c){var s,r -for(s=b.length,r=0;r>>0]=c}, -$S:6} -A.eH.prototype={ -gbn(){return this.c>0}, -gbp(){return this.c>0&&this.d+1r?B.a.m(this.a,r,s-1):""}, -gaN(a){var s=this.c -return s>0?B.a.m(this.a,s,this.d):""}, -gan(a){var s,r=this -if(r.gbp())return A.ik(B.a.m(r.a,r.d+1,r.e),null) -s=r.b -if(s===4&&B.a.B(r.a,"http"))return 80 -if(s===5&&B.a.B(r.a,"https"))return 443 -return 0}, -gbv(a){return B.a.m(this.a,this.e,this.f)}, -gaR(a){var s=this.f,r=this.r -return s=s.r)return B.ag -return new A.bt(A.jz(s.gaR(s)),t.V)}, -aT(a,b){var s,r,q,p,o,n=this,m=null,l=n.gar(),k=l==="file",j=n.c,i=j>0?B.a.m(n.a,n.b+3,j):"",h=n.gbp()?n.gan(n):m -j=n.c -if(j>0)s=B.a.m(n.a,j,n.d) -else s=i.length!==0||h!=null||k?"":m -j=n.a -r=B.a.m(j,n.e,n.f) -if(!k)q=s!=null&&r.length!==0 -else q=!0 -if(q&&!B.a.B(r,"/"))r="/"+r -p=A.iN(m,0,0,b) -q=n.r -o=q>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.bI.prototype={ -j(a){var s,r=a.left -r.toString -s=a.top -s.toString -return"Rectangle ("+A.p(r)+", "+A.p(s)+") "+A.p(this.ga_(a))+" x "+A.p(this.gY(a))}, -K(a,b){var s,r -if(b==null)return!1 -if(t.q.b(b)){s=a.left -s.toString -r=b.left -r.toString -if(s===r){s=a.top -s.toString -r=b.top -r.toString -if(s===r){s=J.M(b) -s=this.ga_(a)===s.ga_(b)&&this.gY(a)===s.gY(b)}else s=!1}else s=!1}else s=!1 -return s}, -gt(a){var s,r=a.left -r.toString -s=a.top -s.toString -return A.iB(r,s,this.ga_(a),this.gY(a))}, -gb5(a){return a.height}, -gY(a){var s=this.gb5(a) -s.toString -return s}, -gbe(a){return a.width}, -ga_(a){var s=this.gbe(a) -s.toString -return s}, -$ib4:1} -A.d4.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.d5.prototype={ -gh(a){return a.length}} -A.q.prototype={ -gci(a){return new A.ay(a)}, -gP(a){return new A.ef(a)}, -j(a){return a.localName}, -H(a,b,c,d){var s,r,q,p -if(c==null){s=$.jd -if(s==null){s=A.n([],t.Q) -r=new A.c1(s) -s.push(A.jE(null)) -s.push(A.jK()) -$.jd=r -d=r}else d=s -s=$.jc -if(s==null){d.toString -s=new A.f0(d) -$.jc=s -c=s}else{d.toString -s.a=d -c=s}}if($.aH==null){s=document -r=s.implementation.createHTMLDocument("") -$.aH=r -$.it=r.createRange() -r=$.aH.createElement("base") -t.B.a(r) -s=s.baseURI -s.toString -r.href=s -$.aH.head.appendChild(r)}s=$.aH -if(s.body==null){r=s.createElement("body") -s.body=t.Y.a(r)}s=$.aH -if(t.Y.b(a)){s=s.body -s.toString -q=s}else{s.toString -q=s.createElement(a.tagName) -$.aH.body.appendChild(q)}if("createContextualFragment" in window.Range.prototype&&!B.b.E(B.ab,a.tagName)){$.it.selectNodeContents(q) -s=$.it -p=s.createContextualFragment(b)}else{q.innerHTML=b -p=$.aH.createDocumentFragment() -for(;s=q.firstChild,s!=null;)p.appendChild(s)}if(q!==$.aH.body)J.j3(q) -c.aX(p) -document.adoptNode(p) -return p}, -cn(a,b,c){return this.H(a,b,c,null)}, -sI(a,b){this.a9(a,b)}, -a9(a,b){a.textContent=null -a.appendChild(this.H(a,b,null,null))}, -gI(a){return a.innerHTML}, -$iq:1} -A.fo.prototype={ -$1(a){return t.h.b(a)}, -$S:11} -A.h.prototype={$ih:1} -A.c.prototype={ -bf(a,b,c,d){if(c!=null)this.bR(a,b,c,d)}, -L(a,b,c){return this.bf(a,b,c,null)}, -bR(a,b,c,d){return a.addEventListener(b,A.bb(c,1),d)}} -A.a4.prototype={$ia4:1} -A.d6.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.d7.prototype={ -gh(a){return a.length}} -A.d9.prototype={ -gh(a){return a.length}} -A.a5.prototype={$ia5:1} -A.da.prototype={ -gh(a){return a.length}} -A.b0.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.bO.prototype={} -A.a6.prototype={ -cF(a,b,c,d){return a.open(b,c,!0)}, -$ia6:1} -A.fx.prototype={ -$1(a){var s=a.responseText -s.toString -return s}, -$S:24} -A.fy.prototype={ -$1(a){var s,r,q,p=this.a,o=p.status -o.toString -s=o>=200&&o<300 -r=o>307&&o<400 -o=s||o===0||o===304||r -q=this.b -if(o)q.ai(0,p) -else q.aj(a)}, -$S:25} -A.b1.prototype={} -A.aJ.prototype={$iaJ:1} -A.bn.prototype={$ibn:1} -A.di.prototype={ -j(a){return String(a)}} -A.dj.prototype={ -gh(a){return a.length}} -A.dk.prototype={ -i(a,b){return A.aS(a.get(b))}, -A(a,b){var s,r=a.entries() -for(;!0;){s=r.next() -if(s.done)return -b.$2(s.value[0],A.aS(s.value[1]))}}, -gD(a){var s=A.n([],t.s) -this.A(a,new A.fL(s)) -return s}, -gh(a){return a.size}, -l(a,b,c){throw A.b(A.r("Not supported"))}, -$iy:1} -A.fL.prototype={ -$2(a,b){return this.a.push(a)}, -$S:2} -A.dl.prototype={ -i(a,b){return A.aS(a.get(b))}, -A(a,b){var s,r=a.entries() -for(;!0;){s=r.next() -if(s.done)return -b.$2(s.value[0],A.aS(s.value[1]))}}, -gD(a){var s=A.n([],t.s) -this.A(a,new A.fM(s)) -return s}, -gh(a){return a.size}, -l(a,b,c){throw A.b(A.r("Not supported"))}, -$iy:1} -A.fM.prototype={ -$2(a,b){return this.a.push(a)}, -$S:2} -A.a8.prototype={$ia8:1} -A.dm.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.L.prototype={ -gV(a){var s=this.a,r=s.childNodes.length -if(r===0)throw A.b(A.dJ("No elements")) -if(r>1)throw A.b(A.dJ("More than one element")) -s=s.firstChild -s.toString -return s}, -N(a,b){var s,r,q,p,o -if(b instanceof A.L){s=b.a -r=this.a -if(s!==r)for(q=s.childNodes.length,p=0;p>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.aa.prototype={ -gh(a){return a.length}, -$iaa:1} -A.dB.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.as.prototype={$ias:1} -A.dE.prototype={ -i(a,b){return A.aS(a.get(b))}, -A(a,b){var s,r=a.entries() -for(;!0;){s=r.next() -if(s.done)return -b.$2(s.value[0],A.aS(s.value[1]))}}, -gD(a){var s=A.n([],t.s) -this.A(a,new A.fS(s)) -return s}, -gh(a){return a.size}, -l(a,b,c){throw A.b(A.r("Not supported"))}, -$iy:1} -A.fS.prototype={ -$2(a,b){return this.a.push(a)}, -$S:2} -A.dG.prototype={ -gh(a){return a.length}} -A.ab.prototype={$iab:1} -A.dH.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.ac.prototype={$iac:1} -A.dI.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.ad.prototype={ -gh(a){return a.length}, -$iad:1} -A.dL.prototype={ -i(a,b){return a.getItem(A.bz(b))}, -l(a,b,c){a.setItem(b,c)}, -A(a,b){var s,r,q -for(s=0;!0;++s){r=a.key(s) -if(r==null)return -q=a.getItem(r) -q.toString -b.$2(r,q)}}, -gD(a){var s=A.n([],t.s) -this.A(a,new A.fU(s)) -return s}, -gh(a){return a.length}, -$iy:1} -A.fU.prototype={ -$2(a,b){return this.a.push(a)}, -$S:5} -A.X.prototype={$iX:1} -A.c5.prototype={ -H(a,b,c,d){var s,r -if("createContextualFragment" in window.Range.prototype)return this.au(a,b,c,d) -s=A.kZ(""+b+"
",c,d) -r=document.createDocumentFragment() -new A.L(r).N(0,new A.L(s)) -return r}} -A.dN.prototype={ -H(a,b,c,d){var s,r -if("createContextualFragment" in window.Range.prototype)return this.au(a,b,c,d) -s=document -r=s.createDocumentFragment() -s=new A.L(B.y.H(s.createElement("table"),b,c,d)) -s=new A.L(s.gV(s)) -new A.L(r).N(0,new A.L(s.gV(s))) -return r}} -A.dO.prototype={ -H(a,b,c,d){var s,r -if("createContextualFragment" in window.Range.prototype)return this.au(a,b,c,d) -s=document -r=s.createDocumentFragment() -s=new A.L(B.y.H(s.createElement("table"),b,c,d)) -new A.L(r).N(0,new A.L(s.gV(s))) -return r}} -A.br.prototype={ -a9(a,b){var s,r -a.textContent=null -s=a.content -s.toString -J.kF(s) -r=this.H(a,b,null,null) -a.content.appendChild(r)}, -$ibr:1} -A.b5.prototype={$ib5:1} -A.af.prototype={$iaf:1} -A.Y.prototype={$iY:1} -A.dQ.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.dR.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.dS.prototype={ -gh(a){return a.length}} -A.ag.prototype={$iag:1} -A.dT.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.dU.prototype={ -gh(a){return a.length}} -A.S.prototype={} -A.e0.prototype={ -j(a){return String(a)}} -A.e1.prototype={ -gh(a){return a.length}} -A.bu.prototype={$ibu:1} -A.e7.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.c8.prototype={ -j(a){var s,r,q,p=a.left -p.toString -s=a.top -s.toString -r=a.width -r.toString -q=a.height -q.toString -return"Rectangle ("+A.p(p)+", "+A.p(s)+") "+A.p(r)+" x "+A.p(q)}, -K(a,b){var s,r -if(b==null)return!1 -if(t.q.b(b)){s=a.left -s.toString -r=b.left -r.toString -if(s===r){s=a.top -s.toString -r=b.top -r.toString -if(s===r){s=a.width -s.toString -r=J.M(b) -if(s===r.ga_(b)){s=a.height -s.toString -r=s===r.gY(b) -s=r}else s=!1}else s=!1}else s=!1}else s=!1 -return s}, -gt(a){var s,r,q,p=a.left -p.toString -s=a.top -s.toString -r=a.width -r.toString -q=a.height -q.toString -return A.iB(p,s,r,q)}, -gb5(a){return a.height}, -gY(a){var s=a.height -s.toString -return s}, -gbe(a){return a.width}, -ga_(a){var s=a.width -s.toString -return s}} -A.el.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.cd.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.eK.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.eQ.prototype={ -gh(a){return a.length}, -i(a,b){var s=a.length -if(b>>>0!==b||b>=s)throw A.b(A.E(b,s,a,null)) -return a[b]}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return a[b]}, -$if:1, -$io:1, -$ij:1} -A.e5.prototype={ -A(a,b){var s,r,q,p,o,n -for(s=this.gD(this),r=s.length,q=this.a,p=0;p0)p[r]=q[0].toUpperCase()+B.a.M(q,1)}return B.b.T(p,"")}, -S(a){var s,r,q,p,o -for(s=a.length,r=0,q="";r0?q+"-":q)+o}return q.charCodeAt(0)==0?q:q}} -A.hc.prototype={ -$2(a,b){if(B.a.B(a,"data-"))this.b.$2(this.a.bb(B.a.M(a,5)),b)}, -$S:5} -A.hd.prototype={ -$2(a,b){if(B.a.B(a,"data-"))this.b.push(this.a.bb(B.a.M(a,5)))}, -$S:5} -A.ef.prototype={ -R(){var s,r,q,p,o=A.bS(t.N) -for(s=this.a.className.split(" "),r=s.length,q=0;q") -return}if(!l.a.W(a)){l.a2(a,b) -window -s=A.p(b) -if(typeof console!="undefined")window.console.warn("Removing disallowed element <"+e+"> from "+s) -return}if(g!=null)if(!l.a.O(a,"is",g)){l.a2(a,b) -window -if(typeof console!="undefined")window.console.warn("Removing disallowed type extension <"+e+' is="'+g+'">') -return}s=f.gD(f) -r=A.n(s.slice(0),A.by(s)) -for(q=f.gD(f).length-1,s=f.a,p="Removing disallowed attribute <"+e+" ";q>=0;--q){o=r[q] -n=l.a -m=J.kP(o) -A.bz(o) -if(!n.O(a,m,s.getAttribute(o))){window -n=s.getAttribute(o) -if(typeof console!="undefined")window.console.warn(p+o+'="'+A.p(n)+'">') -s.removeAttribute(o)}}if(t.f.b(a)){s=a.content -s.toString -l.aX(s)}}, -bE(a,b){switch(a.nodeType){case 1:this.c9(a,b) -break -case 8:case 11:case 3:case 4:break -default:this.a2(a,b)}}} -A.hR.prototype={ -$2(a,b){var s,r,q,p,o,n=this.a -n.bE(a,b) -s=a.lastChild -for(;s!=null;){r=null -try{r=s.previousSibling -if(r!=null){q=r.nextSibling -p=s -p=q==null?p!=null:q!==p -q=p}else q=!1 -if(q){q=A.dJ("Corrupt HTML") -throw A.b(q)}}catch(o){q=s;++n.b -p=q.parentNode -if(a!==p){if(p!=null)p.removeChild(q)}else a.removeChild(q) -s=null -r=a.lastChild}if(s!=null)this.$2(s,a) -s=r}}, -$S:44} -A.e8.prototype={} -A.eb.prototype={} -A.ec.prototype={} -A.ed.prototype={} -A.ee.prototype={} -A.ei.prototype={} -A.ej.prototype={} -A.en.prototype={} -A.eo.prototype={} -A.eu.prototype={} -A.ev.prototype={} -A.ew.prototype={} -A.ex.prototype={} -A.ey.prototype={} -A.ez.prototype={} -A.eC.prototype={} -A.eD.prototype={} -A.eG.prototype={} -A.cl.prototype={} -A.cm.prototype={} -A.eI.prototype={} -A.eJ.prototype={} -A.eL.prototype={} -A.eT.prototype={} -A.eU.prototype={} -A.co.prototype={} -A.cp.prototype={} -A.eV.prototype={} -A.eW.prototype={} -A.f1.prototype={} -A.f2.prototype={} -A.f3.prototype={} -A.f4.prototype={} -A.f5.prototype={} -A.f6.prototype={} -A.f7.prototype={} -A.f8.prototype={} -A.f9.prototype={} -A.fa.prototype={} -A.cZ.prototype={ -aJ(a){var s=$.kn() -if(s.b.test(a))return a -throw A.b(A.is(a,"value","Not a valid class token"))}, -j(a){return this.R().T(0," ")}, -aW(a,b){var s,r,q -this.aJ(b) -s=this.R() -r=s.E(0,b) -if(!r){s.u(0,b) -q=!0}else{s.a5(0,b) -q=!1}this.ap(s) -return q}, -gv(a){var s=this.R() -return A.lB(s,s.r)}, -gh(a){return this.R().a}, -u(a,b){var s -this.aJ(b) -s=this.cD(0,new A.fm(b)) -return s==null?!1:s}, -a5(a,b){var s,r -this.aJ(b) -s=this.R() -r=s.a5(0,b) -this.ap(s) -return r}, -p(a,b){return this.R().p(0,b)}, -cD(a,b){var s=this.R(),r=b.$1(s) -this.ap(s) -return r}} -A.fm.prototype={ -$1(a){return a.u(0,this.a)}, -$S:32} -A.d8.prototype={ -gac(){var s=this.b,r=A.J(s) -return new A.ao(new A.ax(s,new A.fs(),r.k("ax")),new A.ft(),r.k("ao"))}, -l(a,b,c){var s=this.gac() -J.kO(s.b.$1(J.cH(s.a,b)),c)}, -gh(a){return J.aV(this.gac().a)}, -i(a,b){var s=this.gac() -return s.b.$1(J.cH(s.a,b))}, -gv(a){var s=A.jl(this.gac(),!1,t.h) -return new J.bf(s,s.length)}} -A.fs.prototype={ -$1(a){return t.h.b(a)}, -$S:11} -A.ft.prototype={ -$1(a){return t.h.a(a)}, -$S:33} -A.io.prototype={ -$1(a){return this.a.ai(0,a)}, -$S:4} -A.ip.prototype={ -$1(a){if(a==null)return this.a.aj(new A.fP(a===undefined)) -return this.a.aj(a)}, -$S:4} -A.fP.prototype={ -j(a){return"Promise was rejected with a value of `"+(this.a?"undefined":"null")+"`."}} -A.am.prototype={$iam:1} -A.df.prototype={ -gh(a){return a.length}, -i(a,b){if(b>>>0!==b||b>=a.length)throw A.b(A.E(b,this.gh(a),a,null)) -return a.getItem(b)}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return this.i(a,b)}, -$if:1, -$ij:1} -A.aq.prototype={$iaq:1} -A.dx.prototype={ -gh(a){return a.length}, -i(a,b){if(b>>>0!==b||b>=a.length)throw A.b(A.E(b,this.gh(a),a,null)) -return a.getItem(b)}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return this.i(a,b)}, -$if:1, -$ij:1} -A.dC.prototype={ -gh(a){return a.length}} -A.bp.prototype={$ibp:1} -A.dM.prototype={ -gh(a){return a.length}, -i(a,b){if(b>>>0!==b||b>=a.length)throw A.b(A.E(b,this.gh(a),a,null)) -return a.getItem(b)}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return this.i(a,b)}, -$if:1, -$ij:1} -A.cO.prototype={ -R(){var s,r,q,p,o=this.a.getAttribute("class"),n=A.bS(t.N) -if(o==null)return n -for(s=o.split(" "),r=s.length,q=0;q'+b+"",c) -q=o.createDocumentFragment() -o=new A.L(r) -p=o.gV(o) -for(;o=p.firstChild,o!=null;)q.appendChild(o) -return q}, -$ii:1} -A.au.prototype={$iau:1} -A.dV.prototype={ -gh(a){return a.length}, -i(a,b){if(b>>>0!==b||b>=a.length)throw A.b(A.E(b,this.gh(a),a,null)) -return a.getItem(b)}, -l(a,b,c){throw A.b(A.r("Cannot assign element of immutable List."))}, -p(a,b){return this.i(a,b)}, -$if:1, -$ij:1} -A.er.prototype={} -A.es.prototype={} -A.eA.prototype={} -A.eB.prototype={} -A.eN.prototype={} -A.eO.prototype={} -A.eX.prototype={} -A.eY.prototype={} -A.cP.prototype={ -gh(a){return a.length}} -A.cQ.prototype={ -i(a,b){return A.aS(a.get(b))}, -A(a,b){var s,r=a.entries() -for(;!0;){s=r.next() -if(s.done)return -b.$2(s.value[0],A.aS(s.value[1]))}}, -gD(a){var s=A.n([],t.s) -this.A(a,new A.fj(s)) -return s}, -gh(a){return a.size}, -l(a,b,c){throw A.b(A.r("Not supported"))}, -$iy:1} -A.fj.prototype={ -$2(a,b){return this.a.push(a)}, -$S:2} -A.cR.prototype={ -gh(a){return a.length}} -A.aF.prototype={} -A.dy.prototype={ -gh(a){return a.length}} -A.e6.prototype={} -A.B.prototype={ -b3(){return"Kind."+this.b}, -j(a){var s -switch(this.a){case 0:s="accessor" -break -case 1:s="constant" -break -case 2:s="constructor" -break -case 3:s="class" -break -case 4:s="dynamic" -break -case 5:s="enum" -break -case 6:s="extension" -break -case 7:s="function" -break -case 8:s="library" -break -case 9:s="method" -break -case 10:s="mixin" -break -case 11:s="Never" -break -case 12:s="package" -break -case 13:s="parameter" -break -case 14:s="prefix" -break -case 15:s="property" -break -case 16:s="SDK" -break -case 17:s="topic" -break -case 18:s="top-level constant" -break -case 19:s="top-level property" -break -case 20:s="typedef" -break -case 21:s="type parameter" -break -default:s=null}return s}} -A.Q.prototype={ -b3(){return"_MatchPosition."+this.b}} -A.fz.prototype={ -bk(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g=null -if(b.length===0)return A.n([],t.M) -s=b.toLowerCase() -r=A.n([],t.r) -for(q=this.a,p=q.length,o=s.length>1,n="dart:"+s,m=0;m") -m=new A.fz(A.jm(new A.ap(o,A.nm(),n),!0,n.k("a7.E"))) -l=A.fZ(String(window.location)).gaS().i(0,"search") -if(l!=null){k=m.bk(0,l) -if(k.length!==0){j=B.b.gct(k).e -if(j!=null){window.location.assign($.cG()+j) -s=1 -break}}}n=p.b -if(n!=null)A.iH(m).aO(0,n) -n=p.c -if(n!=null)A.iH(m).aO(0,n) -n=p.d -if(n!=null)A.iH(m).aO(0,n) -case 1:return A.me(q,r)}}) -return A.mf($async$$1,r)}, -$S:39} -A.hA.prototype={ -gU(){var s,r,q=this,p=q.c -if(p===$){s=document.createElement("div") -s.setAttribute("role","listbox") -s.setAttribute("aria-expanded","false") -r=s.style -r.display="none" -J.a1(s).u(0,"tt-menu") -s.appendChild(q.gbu()) -s.appendChild(q.ga8()) -q.c!==$&&A.cF() -q.c=s -p=s}return p}, -gbu(){var s,r=this.d -if(r===$){s=document.createElement("div") -J.a1(s).u(0,"enter-search-message") -this.d!==$&&A.cF() -this.d=s -r=s}return r}, -ga8(){var s,r=this.e -if(r===$){s=document.createElement("div") -J.a1(s).u(0,"tt-search-results") -this.e!==$&&A.cF() -this.e=s -r=s}return r}, -aO(a,b){var s,r,q,p=this -b.disabled=!1 -b.setAttribute("placeholder","Search API Docs") -s=document -B.K.L(s,"keydown",new A.hB(b)) -r=s.createElement("div") -J.a1(r).u(0,"tt-wrapper") -B.f.bx(b,r) -b.setAttribute("autocomplete","off") -b.setAttribute("spellcheck","false") -b.classList.add("tt-input") -r.appendChild(b) -r.appendChild(p.gU()) -p.bF(b) -if(B.a.E(window.location.href,"search.html")){q=p.b.gaS().i(0,"q") -if(q==null)return -q=B.o.X(q) -$.iV=$.i5 -p.cA(q,!0) -p.bG(q) -p.aM() -$.iV=10}}, -bG(a){var s,r,q,p,o,n="search-summary",m=document,l=m.getElementById("dartdoc-main-content") -if(l==null)return -l.textContent="" -s=m.createElement("section") -J.a1(s).u(0,n) -l.appendChild(s) -s=m.createElement("h2") -J.fh(s,"Search Results") -l.appendChild(s) -s=m.createElement("div") -r=J.M(s) -r.gP(s).u(0,n) -r.sI(s,""+$.i5+' results for "'+a+'"') -l.appendChild(s) -if($.b9.a!==0)for(m=$.b9.gbB($.b9),m=new A.bV(J.a2(m.a),m.b),s=A.J(m).z[1];m.n();){r=m.a -l.appendChild(r==null?s.a(r):r)}else{q=m.createElement("div") -s=J.M(q) -s.gP(q).u(0,n) -s.sI(q,'There was not a match for "'+a+'". Want to try searching from additional Dart-related sites? ') -p=A.fZ("https://dart.dev/search?cx=011220921317074318178%3A_yy-tmb5t_i&ie=UTF-8&hl=en&q=").aT(0,A.ji(["q",a],t.N,t.z)) -o=m.createElement("a") -o.setAttribute("href",p.gaf()) -o.textContent="Search on dart.dev." -q.appendChild(o) -l.appendChild(q)}}, -aM(){var s=this.gU(),r=s.style -r.display="none" -s.setAttribute("aria-expanded","false") -return s}, -by(a,b,c){var s,r,q,p,o=this -o.x=A.n([],t.M) -s=o.w -B.b.ah(s) -$.b9.ah(0) -o.ga8().textContent="" -r=b.length -if(r===0){o.aM() -return}for(q=0;q10?'Press "Enter" key to see all '+p+" results":""}, -cS(a,b){return this.by(a,b,!1)}, -aL(a,b,c){var s,r,q,p=this -if(p.r===a&&!b)return -if(a==null||a.length===0){p.cS("",A.n([],t.M)) -return}s=p.a.bk(0,a) -r=s.length -$.i5=r -q=$.iV -if(r>q)s=B.b.bI(s,0,q) -p.r=a -p.by(a,s,c)}, -cA(a,b){return this.aL(a,!1,b)}, -bm(a){return this.aL(a,!1,!1)}, -cz(a,b){return this.aL(a,b,!1)}, -bi(a){var s,r=this -r.y=-1 -s=r.f -if(s!=null){a.value=s -r.f=null}r.aM()}, -bF(a){var s=this -B.f.L(a,"focus",new A.hC(s,a)) -B.f.L(a,"blur",new A.hD(s,a)) -B.f.L(a,"input",new A.hE(s,a)) -B.f.L(a,"keydown",new A.hF(s,a))}} -A.hB.prototype={ -$1(a){if(!t.v.b(a))return -if(a.key==="/"&&!t.p.b(document.activeElement)){a.preventDefault() -this.a.focus()}}, -$S:1} -A.hC.prototype={ -$1(a){this.a.cz(this.b.value,!0)}, -$S:1} -A.hD.prototype={ -$1(a){this.a.bi(this.b)}, -$S:1} -A.hE.prototype={ -$1(a){this.a.bm(this.b.value)}, -$S:1} -A.hF.prototype={ -$1(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f=this,e="tt-cursor" -if(a.type!=="keydown")return -t.v.a(a) -s=a.code -if(s==="Enter"){a.preventDefault() -s=f.a -r=s.y -if(r!==-1){s=s.w[r] -q=s.getAttribute("data-"+new A.aP(new A.ay(s)).S("href")) -if(q!=null)window.location.assign($.cG()+q) -return}else{p=B.o.X(s.r) -o=A.fZ($.cG()+"search.html").aT(0,A.ji(["q",p],t.N,t.z)) -window.location.assign(o.gaf()) -return}}r=f.a -n=r.w -m=n.length-1 -l=r.y -if(s==="ArrowUp")if(l===-1)r.y=m -else r.y=l-1 -else if(s==="ArrowDown")if(l===m)r.y=-1 -else r.y=l+1 -else if(s==="Escape")r.bi(f.b) -else{if(r.f!=null){r.f=null -r.bm(f.b.value)}return}s=l!==-1 -if(s)J.a1(n[l]).a5(0,e) -k=r.y -if(k!==-1){j=n[k] -J.a1(j).u(0,e) -s=r.y -if(s===0)r.gU().scrollTop=0 -else if(s===m)r.gU().scrollTop=B.d.a6(B.e.a6(r.gU().scrollHeight)) -else{i=B.e.a6(j.offsetTop) -h=B.e.a6(r.gU().offsetHeight) -if(i"+A.p(a.i(0,0))+""}, -$S:41} -A.ih.prototype={ -$1(a){var s=this.a -if(s!=null)J.a1(s).aW(0,"active") -s=this.b -if(s!=null)J.a1(s).aW(0,"active")}, -$S:12} -A.id.prototype={ -$1(a){var s="dark-theme",r="colorTheme",q="light-theme",p=this.a,o=this.b -if(p.checked===!0){o.setAttribute("class",s) -p.setAttribute("value",s) -window.localStorage.setItem(r,"true")}else{o.setAttribute("class",q) -p.setAttribute("value",q) -window.localStorage.setItem(r,"false")}}, -$S:1};(function aliases(){var s=J.bj.prototype -s.bJ=s.j -s=J.aL.prototype -s.bL=s.j -s=A.v.prototype -s.bK=s.ao -s=A.q.prototype -s.au=s.H -s=A.ck.prototype -s.bM=s.O})();(function installTearOffs(){var s=hunkHelpers._static_2,r=hunkHelpers._static_1,q=hunkHelpers._static_0,p=hunkHelpers.installInstanceTearOff,o=hunkHelpers.installStaticTearOff -s(J,"ms","ld",42) -r(A,"mU","lu",3) -r(A,"mV","lv",3) -r(A,"mW","lw",3) -q(A,"kb","mM",0) -p(A.c7.prototype,"gck",0,1,null,["$2","$1"],["ak","aj"],22,0,0) -o(A,"n5",4,null,["$4"],["lz"],14,0) -o(A,"n6",4,null,["$4"],["lA"],14,0) -r(A,"nm","l4",29)})();(function inheritance(){var s=hunkHelpers.mixin,r=hunkHelpers.inherit,q=hunkHelpers.inheritMany -r(A.t,null) -q(A.t,[A.iy,J.bj,J.bf,A.v,A.cS,A.z,A.e,A.fT,A.bT,A.bV,A.e2,A.bM,A.dY,A.ci,A.bF,A.fV,A.fQ,A.bL,A.cn,A.aG,A.w,A.fI,A.dg,A.fD,A.et,A.h7,A.W,A.ek,A.hL,A.hJ,A.e3,A.cN,A.c7,A.bv,A.I,A.e4,A.eM,A.hS,A.at,A.hu,A.cc,A.f_,A.bU,A.cW,A.cY,A.fw,A.hP,A.hO,A.he,A.dz,A.c4,A.hg,A.fu,A.F,A.eP,A.O,A.cw,A.fX,A.eH,A.fn,A.iu,A.eh,A.bw,A.D,A.c1,A.ck,A.eR,A.bN,A.hz,A.f0,A.fP,A.fz,A.K,A.fp,A.hA]) -q(J.bj,[J.dc,J.bQ,J.a,J.bl,J.bm,J.bk,J.aK]) -q(J.a,[J.aL,J.A,A.dn,A.bY,A.c,A.cI,A.bE,A.a_,A.x,A.e8,A.P,A.d2,A.d3,A.eb,A.bI,A.ed,A.d5,A.h,A.ei,A.a5,A.da,A.en,A.di,A.dj,A.eu,A.ev,A.a8,A.ew,A.ey,A.aa,A.eC,A.eG,A.ac,A.eI,A.ad,A.eL,A.X,A.eT,A.dS,A.ag,A.eV,A.dU,A.e0,A.f1,A.f3,A.f5,A.f7,A.f9,A.am,A.er,A.aq,A.eA,A.dC,A.eN,A.au,A.eX,A.cP,A.e6]) -q(J.aL,[J.dA,J.b7,J.al]) -r(J.fE,J.A) -q(J.bk,[J.bP,J.dd]) -q(A.v,[A.aO,A.f,A.ao,A.ax]) -q(A.aO,[A.aX,A.cy]) -r(A.c9,A.aX) -r(A.c6,A.cy) -r(A.ak,A.c6) -q(A.z,[A.bR,A.av,A.de,A.dX,A.e9,A.dF,A.eg,A.cL,A.Z,A.dZ,A.dW,A.bq,A.cX]) -q(A.e,[A.bs,A.L,A.d8]) -r(A.cV,A.bs) -q(A.f,[A.a7,A.an]) -r(A.bJ,A.ao) -q(A.a7,[A.ap,A.eq]) -r(A.eE,A.ci) -r(A.eF,A.eE) -r(A.bG,A.bF) -r(A.c2,A.av) -q(A.aG,[A.cT,A.cU,A.dP,A.fF,A.ia,A.ic,A.h9,A.h8,A.hT,A.hl,A.hs,A.hy,A.hZ,A.i_,A.fo,A.fx,A.fy,A.hf,A.fO,A.fN,A.hG,A.hH,A.hI,A.fm,A.fs,A.ft,A.io,A.ip,A.fC,A.fB,A.ii,A.ij,A.ie,A.hB,A.hC,A.hD,A.hE,A.hF,A.hW,A.hX,A.i0,A.ih,A.id]) -q(A.dP,[A.dK,A.bh]) -q(A.w,[A.b2,A.ep,A.e5,A.aP]) -q(A.cU,[A.ib,A.hU,A.i6,A.hm,A.fJ,A.h1,A.fY,A.h_,A.h0,A.hN,A.hM,A.hY,A.fL,A.fM,A.fS,A.fU,A.hc,A.hd,A.hR,A.fj,A.fA]) -q(A.bY,[A.dp,A.bo]) -q(A.bo,[A.ce,A.cg]) -r(A.cf,A.ce) -r(A.bW,A.cf) -r(A.ch,A.cg) -r(A.bX,A.ch) -q(A.bW,[A.dq,A.dr]) -q(A.bX,[A.ds,A.dt,A.du,A.dv,A.dw,A.bZ,A.c_]) -r(A.cq,A.eg) -q(A.cT,[A.ha,A.hb,A.hK,A.hh,A.ho,A.hn,A.hk,A.hj,A.hi,A.hr,A.hq,A.hp,A.i4,A.hx,A.h5,A.h4,A.i1,A.ig]) -r(A.b8,A.c7) -r(A.hw,A.hS) -q(A.at,[A.cj,A.cZ]) -r(A.cb,A.cj) -r(A.cv,A.bU) -r(A.bt,A.cv) -q(A.cW,[A.fk,A.fq,A.fG]) -q(A.cY,[A.fl,A.fv,A.fH,A.h6,A.h3]) -r(A.h2,A.fq) -q(A.Z,[A.c3,A.db]) -r(A.ea,A.cw) -q(A.c,[A.m,A.d7,A.b1,A.ab,A.cl,A.af,A.Y,A.co,A.e1,A.cR,A.aF]) -q(A.m,[A.q,A.a3,A.aZ,A.bu]) -q(A.q,[A.l,A.i]) -q(A.l,[A.cJ,A.cK,A.bg,A.aW,A.d9,A.aJ,A.dG,A.c5,A.dN,A.dO,A.br,A.b5]) -r(A.d_,A.a_) -r(A.bi,A.e8) -q(A.P,[A.d0,A.d1]) -r(A.ec,A.eb) -r(A.bH,A.ec) -r(A.ee,A.ed) -r(A.d4,A.ee) -r(A.a4,A.bE) -r(A.ej,A.ei) -r(A.d6,A.ej) -r(A.eo,A.en) -r(A.b0,A.eo) -r(A.bO,A.aZ) -r(A.a6,A.b1) -q(A.h,[A.S,A.as]) -r(A.bn,A.S) -r(A.dk,A.eu) -r(A.dl,A.ev) -r(A.ex,A.ew) -r(A.dm,A.ex) -r(A.ez,A.ey) -r(A.c0,A.ez) -r(A.eD,A.eC) -r(A.dB,A.eD) -r(A.dE,A.eG) -r(A.cm,A.cl) -r(A.dH,A.cm) -r(A.eJ,A.eI) -r(A.dI,A.eJ) -r(A.dL,A.eL) -r(A.eU,A.eT) -r(A.dQ,A.eU) -r(A.cp,A.co) -r(A.dR,A.cp) -r(A.eW,A.eV) -r(A.dT,A.eW) -r(A.f2,A.f1) -r(A.e7,A.f2) -r(A.c8,A.bI) -r(A.f4,A.f3) -r(A.el,A.f4) -r(A.f6,A.f5) -r(A.cd,A.f6) -r(A.f8,A.f7) -r(A.eK,A.f8) -r(A.fa,A.f9) -r(A.eQ,A.fa) -r(A.ay,A.e5) -q(A.cZ,[A.ef,A.cO]) -r(A.eS,A.ck) -r(A.es,A.er) -r(A.df,A.es) -r(A.eB,A.eA) -r(A.dx,A.eB) -r(A.bp,A.i) -r(A.eO,A.eN) -r(A.dM,A.eO) -r(A.eY,A.eX) -r(A.dV,A.eY) -r(A.cQ,A.e6) -r(A.dy,A.aF) -q(A.he,[A.B,A.Q]) -s(A.bs,A.dY) -s(A.cy,A.e) -s(A.ce,A.e) -s(A.cf,A.bM) -s(A.cg,A.e) -s(A.ch,A.bM) -s(A.cv,A.f_) -s(A.e8,A.fn) -s(A.eb,A.e) -s(A.ec,A.D) -s(A.ed,A.e) -s(A.ee,A.D) -s(A.ei,A.e) -s(A.ej,A.D) -s(A.en,A.e) -s(A.eo,A.D) -s(A.eu,A.w) -s(A.ev,A.w) -s(A.ew,A.e) -s(A.ex,A.D) -s(A.ey,A.e) -s(A.ez,A.D) -s(A.eC,A.e) -s(A.eD,A.D) -s(A.eG,A.w) -s(A.cl,A.e) -s(A.cm,A.D) -s(A.eI,A.e) -s(A.eJ,A.D) -s(A.eL,A.w) -s(A.eT,A.e) -s(A.eU,A.D) -s(A.co,A.e) -s(A.cp,A.D) -s(A.eV,A.e) -s(A.eW,A.D) -s(A.f1,A.e) -s(A.f2,A.D) -s(A.f3,A.e) -s(A.f4,A.D) -s(A.f5,A.e) -s(A.f6,A.D) -s(A.f7,A.e) -s(A.f8,A.D) -s(A.f9,A.e) -s(A.fa,A.D) -s(A.er,A.e) -s(A.es,A.D) -s(A.eA,A.e) -s(A.eB,A.D) -s(A.eN,A.e) -s(A.eO,A.D) -s(A.eX,A.e) -s(A.eY,A.D) -s(A.e6,A.w)})() -var v={typeUniverse:{eC:new Map(),tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{k:"int",H:"double",U:"num",d:"String",ah:"bool",F:"Null",j:"List"},mangledNames:{},types:["~()","F(h)","~(d,@)","~(~())","~(@)","~(d,d)","~(b6,d,k)","F()","@()","F(@)","ah(d)","ah(m)","~(h)","ah(a9)","ah(q,d,d,bw)","F(d)","~(d,d?)","~(d,k?)","k(k,k)","@(d)","~(k,@)","b6(@,@)","~(t[ae?])","F(t,ae)","d(a6)","~(as)","F(~())","I<@>(@)","~(t?,t?)","K(y)","d(d)","F(@,ae)","ah(aM)","q(m)","~(Q)","k(+item,matchPosition(K,Q),+item,matchPosition(K,Q))","K(+item,matchPosition(K,Q))","@(@)","d()","aI(@)","~(d,k)","d(fK)","k(@,@)","@(@,d)","~(m,m?)","y(y,d)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti"),rttc:{"2;item,matchPosition":(a,b)=>c=>c instanceof A.eF&&a.b(c.a)&&b.b(c.b)}} -A.lS(v.typeUniverse,JSON.parse('{"dA":"aL","b7":"aL","al":"aL","nO":"a","nP":"a","nu":"a","ns":"h","nK":"h","nv":"aF","nt":"c","nS":"c","nU":"c","nr":"i","nL":"i","oe":"as","nw":"l","nR":"l","nV":"m","nJ":"m","oa":"aZ","o9":"Y","nA":"S","nz":"a3","nX":"a3","nQ":"q","nN":"b1","nM":"b0","nB":"x","nE":"a_","nG":"X","nH":"P","nD":"P","nF":"P","dc":{"u":[]},"bQ":{"F":[],"u":[]},"aL":{"a":[]},"A":{"j":["1"],"a":[],"f":["1"]},"fE":{"A":["1"],"j":["1"],"a":[],"f":["1"]},"bk":{"H":[],"U":[]},"bP":{"H":[],"k":[],"U":[],"u":[]},"dd":{"H":[],"U":[],"u":[]},"aK":{"d":[],"u":[]},"aO":{"v":["2"]},"aX":{"aO":["1","2"],"v":["2"],"v.E":"2"},"c9":{"aX":["1","2"],"aO":["1","2"],"f":["2"],"v":["2"],"v.E":"2"},"c6":{"e":["2"],"j":["2"],"aO":["1","2"],"f":["2"],"v":["2"]},"ak":{"c6":["1","2"],"e":["2"],"j":["2"],"aO":["1","2"],"f":["2"],"v":["2"],"e.E":"2","v.E":"2"},"bR":{"z":[]},"cV":{"e":["k"],"j":["k"],"f":["k"],"e.E":"k"},"f":{"v":["1"]},"a7":{"f":["1"],"v":["1"]},"ao":{"v":["2"],"v.E":"2"},"bJ":{"ao":["1","2"],"f":["2"],"v":["2"],"v.E":"2"},"ap":{"a7":["2"],"f":["2"],"v":["2"],"a7.E":"2","v.E":"2"},"ax":{"v":["1"],"v.E":"1"},"bs":{"e":["1"],"j":["1"],"f":["1"]},"bF":{"y":["1","2"]},"bG":{"y":["1","2"]},"c2":{"av":[],"z":[]},"de":{"z":[]},"dX":{"z":[]},"cn":{"ae":[]},"aG":{"b_":[]},"cT":{"b_":[]},"cU":{"b_":[]},"dP":{"b_":[]},"dK":{"b_":[]},"bh":{"b_":[]},"e9":{"z":[]},"dF":{"z":[]},"b2":{"w":["1","2"],"y":["1","2"],"w.V":"2"},"an":{"f":["1"],"v":["1"],"v.E":"1"},"et":{"iC":[],"fK":[]},"dn":{"a":[],"u":[]},"bY":{"a":[]},"dp":{"a":[],"u":[]},"bo":{"o":["1"],"a":[]},"bW":{"e":["H"],"o":["H"],"j":["H"],"a":[],"f":["H"]},"bX":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"]},"dq":{"e":["H"],"o":["H"],"j":["H"],"a":[],"f":["H"],"u":[],"e.E":"H"},"dr":{"e":["H"],"o":["H"],"j":["H"],"a":[],"f":["H"],"u":[],"e.E":"H"},"ds":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"dt":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"du":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"dv":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"dw":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"bZ":{"e":["k"],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"c_":{"e":["k"],"b6":[],"o":["k"],"j":["k"],"a":[],"f":["k"],"u":[],"e.E":"k"},"eg":{"z":[]},"cq":{"av":[],"z":[]},"I":{"aI":["1"]},"cN":{"z":[]},"b8":{"c7":["1"]},"cb":{"at":["1"],"aM":["1"],"f":["1"]},"e":{"j":["1"],"f":["1"]},"w":{"y":["1","2"]},"bU":{"y":["1","2"]},"bt":{"y":["1","2"]},"at":{"aM":["1"],"f":["1"]},"cj":{"at":["1"],"aM":["1"],"f":["1"]},"ep":{"w":["d","@"],"y":["d","@"],"w.V":"@"},"eq":{"a7":["d"],"f":["d"],"v":["d"],"a7.E":"d","v.E":"d"},"H":{"U":[]},"k":{"U":[]},"j":{"f":["1"]},"iC":{"fK":[]},"aM":{"f":["1"],"v":["1"]},"cL":{"z":[]},"av":{"z":[]},"Z":{"z":[]},"c3":{"z":[]},"db":{"z":[]},"dZ":{"z":[]},"dW":{"z":[]},"bq":{"z":[]},"cX":{"z":[]},"dz":{"z":[]},"c4":{"z":[]},"eP":{"ae":[]},"cw":{"e_":[]},"eH":{"e_":[]},"ea":{"e_":[]},"x":{"a":[]},"q":{"m":[],"a":[]},"h":{"a":[]},"a4":{"a":[]},"a5":{"a":[]},"a6":{"a":[]},"a8":{"a":[]},"m":{"a":[]},"aa":{"a":[]},"as":{"h":[],"a":[]},"ab":{"a":[]},"ac":{"a":[]},"ad":{"a":[]},"X":{"a":[]},"af":{"a":[]},"Y":{"a":[]},"ag":{"a":[]},"bw":{"a9":[]},"l":{"q":[],"m":[],"a":[]},"cI":{"a":[]},"cJ":{"q":[],"m":[],"a":[]},"cK":{"q":[],"m":[],"a":[]},"bg":{"q":[],"m":[],"a":[]},"bE":{"a":[]},"aW":{"q":[],"m":[],"a":[]},"a3":{"m":[],"a":[]},"d_":{"a":[]},"bi":{"a":[]},"P":{"a":[]},"a_":{"a":[]},"d0":{"a":[]},"d1":{"a":[]},"d2":{"a":[]},"aZ":{"m":[],"a":[]},"d3":{"a":[]},"bH":{"e":["b4"],"j":["b4"],"o":["b4"],"a":[],"f":["b4"],"e.E":"b4"},"bI":{"a":[],"b4":["U"]},"d4":{"e":["d"],"j":["d"],"o":["d"],"a":[],"f":["d"],"e.E":"d"},"d5":{"a":[]},"c":{"a":[]},"d6":{"e":["a4"],"j":["a4"],"o":["a4"],"a":[],"f":["a4"],"e.E":"a4"},"d7":{"a":[]},"d9":{"q":[],"m":[],"a":[]},"da":{"a":[]},"b0":{"e":["m"],"j":["m"],"o":["m"],"a":[],"f":["m"],"e.E":"m"},"bO":{"m":[],"a":[]},"b1":{"a":[]},"aJ":{"q":[],"m":[],"a":[]},"bn":{"h":[],"a":[]},"di":{"a":[]},"dj":{"a":[]},"dk":{"a":[],"w":["d","@"],"y":["d","@"],"w.V":"@"},"dl":{"a":[],"w":["d","@"],"y":["d","@"],"w.V":"@"},"dm":{"e":["a8"],"j":["a8"],"o":["a8"],"a":[],"f":["a8"],"e.E":"a8"},"L":{"e":["m"],"j":["m"],"f":["m"],"e.E":"m"},"c0":{"e":["m"],"j":["m"],"o":["m"],"a":[],"f":["m"],"e.E":"m"},"dB":{"e":["aa"],"j":["aa"],"o":["aa"],"a":[],"f":["aa"],"e.E":"aa"},"dE":{"a":[],"w":["d","@"],"y":["d","@"],"w.V":"@"},"dG":{"q":[],"m":[],"a":[]},"dH":{"e":["ab"],"j":["ab"],"o":["ab"],"a":[],"f":["ab"],"e.E":"ab"},"dI":{"e":["ac"],"j":["ac"],"o":["ac"],"a":[],"f":["ac"],"e.E":"ac"},"dL":{"a":[],"w":["d","d"],"y":["d","d"],"w.V":"d"},"c5":{"q":[],"m":[],"a":[]},"dN":{"q":[],"m":[],"a":[]},"dO":{"q":[],"m":[],"a":[]},"br":{"q":[],"m":[],"a":[]},"b5":{"q":[],"m":[],"a":[]},"dQ":{"e":["Y"],"j":["Y"],"o":["Y"],"a":[],"f":["Y"],"e.E":"Y"},"dR":{"e":["af"],"j":["af"],"o":["af"],"a":[],"f":["af"],"e.E":"af"},"dS":{"a":[]},"dT":{"e":["ag"],"j":["ag"],"o":["ag"],"a":[],"f":["ag"],"e.E":"ag"},"dU":{"a":[]},"S":{"h":[],"a":[]},"e0":{"a":[]},"e1":{"a":[]},"bu":{"m":[],"a":[]},"e7":{"e":["x"],"j":["x"],"o":["x"],"a":[],"f":["x"],"e.E":"x"},"c8":{"a":[],"b4":["U"]},"el":{"e":["a5?"],"j":["a5?"],"o":["a5?"],"a":[],"f":["a5?"],"e.E":"a5?"},"cd":{"e":["m"],"j":["m"],"o":["m"],"a":[],"f":["m"],"e.E":"m"},"eK":{"e":["ad"],"j":["ad"],"o":["ad"],"a":[],"f":["ad"],"e.E":"ad"},"eQ":{"e":["X"],"j":["X"],"o":["X"],"a":[],"f":["X"],"e.E":"X"},"e5":{"w":["d","d"],"y":["d","d"]},"ay":{"w":["d","d"],"y":["d","d"],"w.V":"d"},"aP":{"w":["d","d"],"y":["d","d"],"w.V":"d"},"ef":{"at":["d"],"aM":["d"],"f":["d"]},"c1":{"a9":[]},"ck":{"a9":[]},"eS":{"a9":[]},"eR":{"a9":[]},"cZ":{"at":["d"],"aM":["d"],"f":["d"]},"d8":{"e":["q"],"j":["q"],"f":["q"],"e.E":"q"},"am":{"a":[]},"aq":{"a":[]},"au":{"a":[]},"df":{"e":["am"],"j":["am"],"a":[],"f":["am"],"e.E":"am"},"dx":{"e":["aq"],"j":["aq"],"a":[],"f":["aq"],"e.E":"aq"},"dC":{"a":[]},"bp":{"i":[],"q":[],"m":[],"a":[]},"dM":{"e":["d"],"j":["d"],"a":[],"f":["d"],"e.E":"d"},"cO":{"at":["d"],"aM":["d"],"f":["d"]},"i":{"q":[],"m":[],"a":[]},"dV":{"e":["au"],"j":["au"],"a":[],"f":["au"],"e.E":"au"},"cP":{"a":[]},"cQ":{"a":[],"w":["d","@"],"y":["d","@"],"w.V":"@"},"cR":{"a":[]},"aF":{"a":[]},"dy":{"a":[]},"l7":{"j":["k"],"f":["k"]},"b6":{"j":["k"],"f":["k"]},"lp":{"j":["k"],"f":["k"]},"l5":{"j":["k"],"f":["k"]},"ln":{"j":["k"],"f":["k"]},"l6":{"j":["k"],"f":["k"]},"lo":{"j":["k"],"f":["k"]},"l1":{"j":["H"],"f":["H"]},"l2":{"j":["H"],"f":["H"]}}')) -A.lR(v.typeUniverse,JSON.parse('{"bf":1,"bT":1,"bV":2,"e2":1,"bM":1,"dY":1,"bs":1,"cy":2,"bF":2,"dg":1,"bo":1,"eM":1,"cc":1,"f_":2,"bU":2,"cj":1,"cv":2,"cW":2,"cY":2,"eh":1,"D":1,"bN":1}')) -var u={c:"Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type"} -var t=(function rtii(){var s=A.fd -return{B:s("bg"),Y:s("aW"),O:s("f<@>"),h:s("q"),U:s("z"),D:s("h"),Z:s("b_"),p:s("aJ"),k:s("A"),M:s("A"),Q:s("A"),r:s("A<+item,matchPosition(K,Q)>"),s:s("A"),b:s("A<@>"),t:s("A"),T:s("bQ"),g:s("al"),G:s("o<@>"),e:s("a"),v:s("bn"),j:s("j<@>"),a:s("y"),I:s("ap"),W:s("ap<+item,matchPosition(K,Q),K>"),P:s("F"),K:s("t"),L:s("nT"),d:s("+()"),q:s("b4"),F:s("iC"),c:s("bp"),l:s("ae"),N:s("d"),u:s("i"),f:s("br"),J:s("b5"),m:s("u"),n:s("av"),bX:s("b6"),o:s("b7"),V:s("bt"),R:s("e_"),E:s("b8"),x:s("bu"),ba:s("L"),bR:s("I"),aY:s("I<@>"),y:s("ah"),i:s("H"),z:s("@"),w:s("@(t)"),C:s("@(t,ae)"),S:s("k"),A:s("0&*"),_:s("t*"),bc:s("aI?"),cD:s("aJ?"),X:s("t?"),H:s("U")}})();(function constants(){var s=hunkHelpers.makeConstList -B.n=A.aW.prototype -B.K=A.bO.prototype -B.L=A.a6.prototype -B.f=A.aJ.prototype -B.M=J.bj.prototype -B.b=J.A.prototype -B.d=J.bP.prototype -B.e=J.bk.prototype -B.a=J.aK.prototype -B.N=J.al.prototype -B.O=J.a.prototype -B.ah=A.c_.prototype -B.x=J.dA.prototype -B.y=A.c5.prototype -B.aj=A.b5.prototype -B.m=J.b7.prototype -B.aA=new A.fl() -B.z=new A.fk() -B.aB=new A.fw() -B.o=new A.fv() -B.p=function getTagFallback(o) { - var s = Object.prototype.toString.call(o); - return s.substring(8, s.length - 1); -} -B.A=function() { - var toStringFunction = Object.prototype.toString; - function getTag(o) { - var s = toStringFunction.call(o); - return s.substring(8, s.length - 1); - } - function getUnknownTag(object, tag) { - if (/^HTML[A-Z].*Element$/.test(tag)) { - var name = toStringFunction.call(object); - if (name == "[object Object]") return null; - return "HTMLElement"; - } - } - function getUnknownTagGenericBrowser(object, tag) { - if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; - return getUnknownTag(object, tag); - } - function prototypeForTag(tag) { - if (typeof window == "undefined") return null; - if (typeof window[tag] == "undefined") return null; - var constructor = window[tag]; - if (typeof constructor != "function") return null; - return constructor.prototype; - } - function discriminator(tag) { return null; } - var isBrowser = typeof navigator == "object"; - return { - getTag: getTag, - getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, - prototypeForTag: prototypeForTag, - discriminator: discriminator }; -} -B.F=function(getTagFallback) { - return function(hooks) { - if (typeof navigator != "object") return hooks; - var ua = navigator.userAgent; - if (ua.indexOf("DumpRenderTree") >= 0) return hooks; - if (ua.indexOf("Chrome") >= 0) { - function confirm(p) { - return typeof window == "object" && window[p] && window[p].name == p; - } - if (confirm("Window") && confirm("HTMLElement")) return hooks; - } - hooks.getTag = getTagFallback; - }; -} -B.B=function(hooks) { - if (typeof dartExperimentalFixupGetTag != "function") return hooks; - hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -} -B.C=function(hooks) { - var getTag = hooks.getTag; - var prototypeForTag = hooks.prototypeForTag; - function getTagFixed(o) { - var tag = getTag(o); - if (tag == "Document") { - if (!!o.xmlVersion) return "!Document"; - return "!HTMLDocument"; - } - return tag; - } - function prototypeForTagFixed(tag) { - if (tag == "Document") return null; - return prototypeForTag(tag); - } - hooks.getTag = getTagFixed; - hooks.prototypeForTag = prototypeForTagFixed; -} -B.E=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Firefox") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "GeoGeolocation": "Geolocation", - "Location": "!Location", - "WorkerMessageEvent": "MessageEvent", - "XMLDocument": "!Document"}; - function getTagFirefox(o) { - var tag = getTag(o); - return quickMap[tag] || tag; - } - hooks.getTag = getTagFirefox; -} -B.D=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Trident/") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "HTMLDDElement": "HTMLElement", - "HTMLDTElement": "HTMLElement", - "HTMLPhraseElement": "HTMLElement", - "Position": "Geoposition" - }; - function getTagIE(o) { - var tag = getTag(o); - var newTag = quickMap[tag]; - if (newTag) return newTag; - if (tag == "Object") { - if (window.DataView && (o instanceof window.DataView)) return "DataView"; - } - return tag; - } - function prototypeForTagIE(tag) { - var constructor = window[tag]; - if (constructor == null) return null; - return constructor.prototype; - } - hooks.getTag = getTagIE; - hooks.prototypeForTag = prototypeForTagIE; -} -B.q=function(hooks) { return hooks; } - -B.G=new A.fG() -B.H=new A.dz() -B.k=new A.fT() -B.h=new A.h2() -B.I=new A.h6() -B.c=new A.hw() -B.J=new A.eP() -B.P=new A.fH(null) -B.Q=new A.B(0,"accessor") -B.R=new A.B(1,"constant") -B.a1=new A.B(2,"constructor") -B.a4=new A.B(3,"class_") -B.a5=new A.B(4,"dynamic") -B.a6=new A.B(5,"enum_") -B.a7=new A.B(6,"extension") -B.a8=new A.B(7,"function") -B.a9=new A.B(8,"library") -B.aa=new A.B(9,"method") -B.S=new A.B(10,"mixin") -B.T=new A.B(11,"never") -B.U=new A.B(12,"package") -B.V=new A.B(13,"parameter") -B.W=new A.B(14,"prefix") -B.X=new A.B(15,"property") -B.Y=new A.B(16,"sdk") -B.Z=new A.B(17,"topic") -B.a_=new A.B(18,"topLevelConstant") -B.a0=new A.B(19,"topLevelProperty") -B.a2=new A.B(20,"typedef") -B.a3=new A.B(21,"typeParameter") -B.r=A.n(s([B.Q,B.R,B.a1,B.a4,B.a5,B.a6,B.a7,B.a8,B.a9,B.aa,B.S,B.T,B.U,B.V,B.W,B.X,B.Y,B.Z,B.a_,B.a0,B.a2,B.a3]),A.fd("A")) -B.t=A.n(s(["bind","if","ref","repeat","syntax"]),t.s) -B.l=A.n(s(["A::href","AREA::href","BLOCKQUOTE::cite","BODY::background","COMMAND::icon","DEL::cite","FORM::action","IMG::src","INPUT::src","INS::cite","Q::cite","VIDEO::poster"]),t.s) -B.i=A.n(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) -B.ab=A.n(s(["HEAD","AREA","BASE","BASEFONT","BR","COL","COLGROUP","EMBED","FRAME","FRAMESET","HR","IMAGE","IMG","INPUT","ISINDEX","LINK","META","PARAM","SOURCE","STYLE","TITLE","WBR"]),t.s) -B.u=A.n(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) -B.ac=A.n(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) -B.v=A.n(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) -B.w=A.n(s([0,0,32776,33792,1,10240,0,0]),t.t) -B.ad=A.n(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) -B.ae=A.n(s([]),t.s) -B.j=A.n(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) -B.af=A.n(s(["*::class","*::dir","*::draggable","*::hidden","*::id","*::inert","*::itemprop","*::itemref","*::itemscope","*::lang","*::spellcheck","*::title","*::translate","A::accesskey","A::coords","A::hreflang","A::name","A::shape","A::tabindex","A::target","A::type","AREA::accesskey","AREA::alt","AREA::coords","AREA::nohref","AREA::shape","AREA::tabindex","AREA::target","AUDIO::controls","AUDIO::loop","AUDIO::mediagroup","AUDIO::muted","AUDIO::preload","BDO::dir","BODY::alink","BODY::bgcolor","BODY::link","BODY::text","BODY::vlink","BR::clear","BUTTON::accesskey","BUTTON::disabled","BUTTON::name","BUTTON::tabindex","BUTTON::type","BUTTON::value","CANVAS::height","CANVAS::width","CAPTION::align","COL::align","COL::char","COL::charoff","COL::span","COL::valign","COL::width","COLGROUP::align","COLGROUP::char","COLGROUP::charoff","COLGROUP::span","COLGROUP::valign","COLGROUP::width","COMMAND::checked","COMMAND::command","COMMAND::disabled","COMMAND::label","COMMAND::radiogroup","COMMAND::type","DATA::value","DEL::datetime","DETAILS::open","DIR::compact","DIV::align","DL::compact","FIELDSET::disabled","FONT::color","FONT::face","FONT::size","FORM::accept","FORM::autocomplete","FORM::enctype","FORM::method","FORM::name","FORM::novalidate","FORM::target","FRAME::name","H1::align","H2::align","H3::align","H4::align","H5::align","H6::align","HR::align","HR::noshade","HR::size","HR::width","HTML::version","IFRAME::align","IFRAME::frameborder","IFRAME::height","IFRAME::marginheight","IFRAME::marginwidth","IFRAME::width","IMG::align","IMG::alt","IMG::border","IMG::height","IMG::hspace","IMG::ismap","IMG::name","IMG::usemap","IMG::vspace","IMG::width","INPUT::accept","INPUT::accesskey","INPUT::align","INPUT::alt","INPUT::autocomplete","INPUT::autofocus","INPUT::checked","INPUT::disabled","INPUT::inputmode","INPUT::ismap","INPUT::list","INPUT::max","INPUT::maxlength","INPUT::min","INPUT::multiple","INPUT::name","INPUT::placeholder","INPUT::readonly","INPUT::required","INPUT::size","INPUT::step","INPUT::tabindex","INPUT::type","INPUT::usemap","INPUT::value","INS::datetime","KEYGEN::disabled","KEYGEN::keytype","KEYGEN::name","LABEL::accesskey","LABEL::for","LEGEND::accesskey","LEGEND::align","LI::type","LI::value","LINK::sizes","MAP::name","MENU::compact","MENU::label","MENU::type","METER::high","METER::low","METER::max","METER::min","METER::value","OBJECT::typemustmatch","OL::compact","OL::reversed","OL::start","OL::type","OPTGROUP::disabled","OPTGROUP::label","OPTION::disabled","OPTION::label","OPTION::selected","OPTION::value","OUTPUT::for","OUTPUT::name","P::align","PRE::width","PROGRESS::max","PROGRESS::min","PROGRESS::value","SELECT::autocomplete","SELECT::disabled","SELECT::multiple","SELECT::name","SELECT::required","SELECT::size","SELECT::tabindex","SOURCE::type","TABLE::align","TABLE::bgcolor","TABLE::border","TABLE::cellpadding","TABLE::cellspacing","TABLE::frame","TABLE::rules","TABLE::summary","TABLE::width","TBODY::align","TBODY::char","TBODY::charoff","TBODY::valign","TD::abbr","TD::align","TD::axis","TD::bgcolor","TD::char","TD::charoff","TD::colspan","TD::headers","TD::height","TD::nowrap","TD::rowspan","TD::scope","TD::valign","TD::width","TEXTAREA::accesskey","TEXTAREA::autocomplete","TEXTAREA::cols","TEXTAREA::disabled","TEXTAREA::inputmode","TEXTAREA::name","TEXTAREA::placeholder","TEXTAREA::readonly","TEXTAREA::required","TEXTAREA::rows","TEXTAREA::tabindex","TEXTAREA::wrap","TFOOT::align","TFOOT::char","TFOOT::charoff","TFOOT::valign","TH::abbr","TH::align","TH::axis","TH::bgcolor","TH::char","TH::charoff","TH::colspan","TH::headers","TH::height","TH::nowrap","TH::rowspan","TH::scope","TH::valign","TH::width","THEAD::align","THEAD::char","THEAD::charoff","THEAD::valign","TR::align","TR::bgcolor","TR::char","TR::charoff","TR::valign","TRACK::default","TRACK::kind","TRACK::label","TRACK::srclang","UL::compact","UL::type","VIDEO::controls","VIDEO::height","VIDEO::loop","VIDEO::mediagroup","VIDEO::muted","VIDEO::preload","VIDEO::width"]),t.s) -B.ai={} -B.ag=new A.bG(B.ai,[],A.fd("bG")) -B.ak=A.a0("nx") -B.al=A.a0("ny") -B.am=A.a0("l1") -B.an=A.a0("l2") -B.ao=A.a0("l5") -B.ap=A.a0("l6") -B.aq=A.a0("l7") -B.ar=A.a0("t") -B.as=A.a0("ln") -B.at=A.a0("lo") -B.au=A.a0("lp") -B.av=A.a0("b6") -B.aw=new A.h3(!1) -B.ax=new A.Q(0,"isExactly") -B.ay=new A.Q(1,"startsWith") -B.az=new A.Q(2,"contains")})();(function staticFields(){$.ht=null -$.be=A.n([],A.fd("A")) -$.jn=null -$.j9=null -$.j8=null -$.ke=null -$.ka=null -$.kk=null -$.i7=null -$.il=null -$.iY=null -$.hv=A.n([],A.fd("A?>")) -$.bA=null -$.cz=null -$.cA=null -$.iT=!1 -$.C=B.c -$.aH=null -$.it=null -$.jd=null -$.jc=null -$.em=A.dh(t.N,t.Z) -$.iV=10 -$.i5=0 -$.b9=A.dh(t.N,t.h)})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal -s($,"nI","ko",()=>A.n2("_$dart_dartClosure")) -s($,"nY","kp",()=>A.aw(A.fW({ -toString:function(){return"$receiver$"}}))) -s($,"nZ","kq",()=>A.aw(A.fW({$method$:null, -toString:function(){return"$receiver$"}}))) -s($,"o_","kr",()=>A.aw(A.fW(null))) -s($,"o0","ks",()=>A.aw(function(){var $argumentsExpr$="$arguments$" -try{null.$method$($argumentsExpr$)}catch(r){return r.message}}())) -s($,"o3","kv",()=>A.aw(A.fW(void 0))) -s($,"o4","kw",()=>A.aw(function(){var $argumentsExpr$="$arguments$" -try{(void 0).$method$($argumentsExpr$)}catch(r){return r.message}}())) -s($,"o2","ku",()=>A.aw(A.jv(null))) -s($,"o1","kt",()=>A.aw(function(){try{null.$method$}catch(r){return r.message}}())) -s($,"o6","ky",()=>A.aw(A.jv(void 0))) -s($,"o5","kx",()=>A.aw(function(){try{(void 0).$method$}catch(r){return r.message}}())) -s($,"ob","j1",()=>A.lt()) -s($,"o7","kz",()=>new A.h5().$0()) -s($,"o8","kA",()=>new A.h4().$0()) -s($,"oc","kB",()=>A.li(A.mk(A.n([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))) -s($,"of","kD",()=>A.iD("^[\\-\\.0-9A-Z_a-z~]*$",!0)) -s($,"os","iq",()=>A.kh(B.ar)) -s($,"ou","kE",()=>A.mj()) -s($,"od","kC",()=>A.jj(["A","ABBR","ACRONYM","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BDI","BDO","BIG","BLOCKQUOTE","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATA","DATALIST","DD","DEL","DETAILS","DFN","DIR","DIV","DL","DT","EM","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","MAP","MARK","MENU","METER","NAV","NOBR","OL","OPTGROUP","OPTION","OUTPUT","P","PRE","PROGRESS","Q","S","SAMP","SECTION","SELECT","SMALL","SOURCE","SPAN","STRIKE","STRONG","SUB","SUMMARY","SUP","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TR","TRACK","TT","U","UL","VAR","VIDEO","WBR"],t.N)) -s($,"nC","kn",()=>A.iD("^\\S+$",!0)) -s($,"ot","cG",()=>new A.i1().$0())})();(function nativeSupport(){!function(){var s=function(a){var m={} -m[a]=1 -return Object.keys(hunkHelpers.convertToFastObject(m))[0]} -v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} -var r="___dart_isolate_tags_" -var q=Object[r]||(Object[r]=Object.create(null)) -var p="_ZxYxX" -for(var o=0;;o++){var n=s(p+"_"+o+"_") -if(!(n in q)){q[n]=1 -v.isolateTag=n -break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() -hunkHelpers.setOrUpdateInterceptorsByTag({WebGL:J.bj,AnimationEffectReadOnly:J.a,AnimationEffectTiming:J.a,AnimationEffectTimingReadOnly:J.a,AnimationTimeline:J.a,AnimationWorkletGlobalScope:J.a,AuthenticatorAssertionResponse:J.a,AuthenticatorAttestationResponse:J.a,AuthenticatorResponse:J.a,BackgroundFetchFetch:J.a,BackgroundFetchManager:J.a,BackgroundFetchSettledFetch:J.a,BarProp:J.a,BarcodeDetector:J.a,BluetoothRemoteGATTDescriptor:J.a,Body:J.a,BudgetState:J.a,CacheStorage:J.a,CanvasGradient:J.a,CanvasPattern:J.a,CanvasRenderingContext2D:J.a,Client:J.a,Clients:J.a,CookieStore:J.a,Coordinates:J.a,Credential:J.a,CredentialUserData:J.a,CredentialsContainer:J.a,Crypto:J.a,CryptoKey:J.a,CSS:J.a,CSSVariableReferenceValue:J.a,CustomElementRegistry:J.a,DataTransfer:J.a,DataTransferItem:J.a,DeprecatedStorageInfo:J.a,DeprecatedStorageQuota:J.a,DeprecationReport:J.a,DetectedBarcode:J.a,DetectedFace:J.a,DetectedText:J.a,DeviceAcceleration:J.a,DeviceRotationRate:J.a,DirectoryEntry:J.a,webkitFileSystemDirectoryEntry:J.a,FileSystemDirectoryEntry:J.a,DirectoryReader:J.a,WebKitDirectoryReader:J.a,webkitFileSystemDirectoryReader:J.a,FileSystemDirectoryReader:J.a,DocumentOrShadowRoot:J.a,DocumentTimeline:J.a,DOMError:J.a,DOMImplementation:J.a,Iterator:J.a,DOMMatrix:J.a,DOMMatrixReadOnly:J.a,DOMParser:J.a,DOMPoint:J.a,DOMPointReadOnly:J.a,DOMQuad:J.a,DOMStringMap:J.a,Entry:J.a,webkitFileSystemEntry:J.a,FileSystemEntry:J.a,External:J.a,FaceDetector:J.a,FederatedCredential:J.a,FileEntry:J.a,webkitFileSystemFileEntry:J.a,FileSystemFileEntry:J.a,DOMFileSystem:J.a,WebKitFileSystem:J.a,webkitFileSystem:J.a,FileSystem:J.a,FontFace:J.a,FontFaceSource:J.a,FormData:J.a,GamepadButton:J.a,GamepadPose:J.a,Geolocation:J.a,Position:J.a,GeolocationPosition:J.a,Headers:J.a,HTMLHyperlinkElementUtils:J.a,IdleDeadline:J.a,ImageBitmap:J.a,ImageBitmapRenderingContext:J.a,ImageCapture:J.a,ImageData:J.a,InputDeviceCapabilities:J.a,IntersectionObserver:J.a,IntersectionObserverEntry:J.a,InterventionReport:J.a,KeyframeEffect:J.a,KeyframeEffectReadOnly:J.a,MediaCapabilities:J.a,MediaCapabilitiesInfo:J.a,MediaDeviceInfo:J.a,MediaError:J.a,MediaKeyStatusMap:J.a,MediaKeySystemAccess:J.a,MediaKeys:J.a,MediaKeysPolicy:J.a,MediaMetadata:J.a,MediaSession:J.a,MediaSettingsRange:J.a,MemoryInfo:J.a,MessageChannel:J.a,Metadata:J.a,MutationObserver:J.a,WebKitMutationObserver:J.a,MutationRecord:J.a,NavigationPreloadManager:J.a,Navigator:J.a,NavigatorAutomationInformation:J.a,NavigatorConcurrentHardware:J.a,NavigatorCookies:J.a,NavigatorUserMediaError:J.a,NodeFilter:J.a,NodeIterator:J.a,NonDocumentTypeChildNode:J.a,NonElementParentNode:J.a,NoncedElement:J.a,OffscreenCanvasRenderingContext2D:J.a,OverconstrainedError:J.a,PaintRenderingContext2D:J.a,PaintSize:J.a,PaintWorkletGlobalScope:J.a,PasswordCredential:J.a,Path2D:J.a,PaymentAddress:J.a,PaymentInstruments:J.a,PaymentManager:J.a,PaymentResponse:J.a,PerformanceEntry:J.a,PerformanceLongTaskTiming:J.a,PerformanceMark:J.a,PerformanceMeasure:J.a,PerformanceNavigation:J.a,PerformanceNavigationTiming:J.a,PerformanceObserver:J.a,PerformanceObserverEntryList:J.a,PerformancePaintTiming:J.a,PerformanceResourceTiming:J.a,PerformanceServerTiming:J.a,PerformanceTiming:J.a,Permissions:J.a,PhotoCapabilities:J.a,PositionError:J.a,GeolocationPositionError:J.a,Presentation:J.a,PresentationReceiver:J.a,PublicKeyCredential:J.a,PushManager:J.a,PushMessageData:J.a,PushSubscription:J.a,PushSubscriptionOptions:J.a,Range:J.a,RelatedApplication:J.a,ReportBody:J.a,ReportingObserver:J.a,ResizeObserver:J.a,ResizeObserverEntry:J.a,RTCCertificate:J.a,RTCIceCandidate:J.a,mozRTCIceCandidate:J.a,RTCLegacyStatsReport:J.a,RTCRtpContributingSource:J.a,RTCRtpReceiver:J.a,RTCRtpSender:J.a,RTCSessionDescription:J.a,mozRTCSessionDescription:J.a,RTCStatsResponse:J.a,Screen:J.a,ScrollState:J.a,ScrollTimeline:J.a,Selection:J.a,SharedArrayBuffer:J.a,SpeechRecognitionAlternative:J.a,SpeechSynthesisVoice:J.a,StaticRange:J.a,StorageManager:J.a,StyleMedia:J.a,StylePropertyMap:J.a,StylePropertyMapReadonly:J.a,SyncManager:J.a,TaskAttributionTiming:J.a,TextDetector:J.a,TextMetrics:J.a,TrackDefault:J.a,TreeWalker:J.a,TrustedHTML:J.a,TrustedScriptURL:J.a,TrustedURL:J.a,UnderlyingSourceBase:J.a,URLSearchParams:J.a,VRCoordinateSystem:J.a,VRDisplayCapabilities:J.a,VREyeParameters:J.a,VRFrameData:J.a,VRFrameOfReference:J.a,VRPose:J.a,VRStageBounds:J.a,VRStageBoundsPoint:J.a,VRStageParameters:J.a,ValidityState:J.a,VideoPlaybackQuality:J.a,VideoTrack:J.a,VTTRegion:J.a,WindowClient:J.a,WorkletAnimation:J.a,WorkletGlobalScope:J.a,XPathEvaluator:J.a,XPathExpression:J.a,XPathNSResolver:J.a,XPathResult:J.a,XMLSerializer:J.a,XSLTProcessor:J.a,Bluetooth:J.a,BluetoothCharacteristicProperties:J.a,BluetoothRemoteGATTServer:J.a,BluetoothRemoteGATTService:J.a,BluetoothUUID:J.a,BudgetService:J.a,Cache:J.a,DOMFileSystemSync:J.a,DirectoryEntrySync:J.a,DirectoryReaderSync:J.a,EntrySync:J.a,FileEntrySync:J.a,FileReaderSync:J.a,FileWriterSync:J.a,HTMLAllCollection:J.a,Mojo:J.a,MojoHandle:J.a,MojoWatcher:J.a,NFC:J.a,PagePopupController:J.a,Report:J.a,Request:J.a,Response:J.a,SubtleCrypto:J.a,USBAlternateInterface:J.a,USBConfiguration:J.a,USBDevice:J.a,USBEndpoint:J.a,USBInTransferResult:J.a,USBInterface:J.a,USBIsochronousInTransferPacket:J.a,USBIsochronousInTransferResult:J.a,USBIsochronousOutTransferPacket:J.a,USBIsochronousOutTransferResult:J.a,USBOutTransferResult:J.a,WorkerLocation:J.a,WorkerNavigator:J.a,Worklet:J.a,IDBCursor:J.a,IDBCursorWithValue:J.a,IDBFactory:J.a,IDBIndex:J.a,IDBKeyRange:J.a,IDBObjectStore:J.a,IDBObservation:J.a,IDBObserver:J.a,IDBObserverChanges:J.a,SVGAngle:J.a,SVGAnimatedAngle:J.a,SVGAnimatedBoolean:J.a,SVGAnimatedEnumeration:J.a,SVGAnimatedInteger:J.a,SVGAnimatedLength:J.a,SVGAnimatedLengthList:J.a,SVGAnimatedNumber:J.a,SVGAnimatedNumberList:J.a,SVGAnimatedPreserveAspectRatio:J.a,SVGAnimatedRect:J.a,SVGAnimatedString:J.a,SVGAnimatedTransformList:J.a,SVGMatrix:J.a,SVGPoint:J.a,SVGPreserveAspectRatio:J.a,SVGRect:J.a,SVGUnitTypes:J.a,AudioListener:J.a,AudioParam:J.a,AudioTrack:J.a,AudioWorkletGlobalScope:J.a,AudioWorkletProcessor:J.a,PeriodicWave:J.a,WebGLActiveInfo:J.a,ANGLEInstancedArrays:J.a,ANGLE_instanced_arrays:J.a,WebGLBuffer:J.a,WebGLCanvas:J.a,WebGLColorBufferFloat:J.a,WebGLCompressedTextureASTC:J.a,WebGLCompressedTextureATC:J.a,WEBGL_compressed_texture_atc:J.a,WebGLCompressedTextureETC1:J.a,WEBGL_compressed_texture_etc1:J.a,WebGLCompressedTextureETC:J.a,WebGLCompressedTexturePVRTC:J.a,WEBGL_compressed_texture_pvrtc:J.a,WebGLCompressedTextureS3TC:J.a,WEBGL_compressed_texture_s3tc:J.a,WebGLCompressedTextureS3TCsRGB:J.a,WebGLDebugRendererInfo:J.a,WEBGL_debug_renderer_info:J.a,WebGLDebugShaders:J.a,WEBGL_debug_shaders:J.a,WebGLDepthTexture:J.a,WEBGL_depth_texture:J.a,WebGLDrawBuffers:J.a,WEBGL_draw_buffers:J.a,EXTsRGB:J.a,EXT_sRGB:J.a,EXTBlendMinMax:J.a,EXT_blend_minmax:J.a,EXTColorBufferFloat:J.a,EXTColorBufferHalfFloat:J.a,EXTDisjointTimerQuery:J.a,EXTDisjointTimerQueryWebGL2:J.a,EXTFragDepth:J.a,EXT_frag_depth:J.a,EXTShaderTextureLOD:J.a,EXT_shader_texture_lod:J.a,EXTTextureFilterAnisotropic:J.a,EXT_texture_filter_anisotropic:J.a,WebGLFramebuffer:J.a,WebGLGetBufferSubDataAsync:J.a,WebGLLoseContext:J.a,WebGLExtensionLoseContext:J.a,WEBGL_lose_context:J.a,OESElementIndexUint:J.a,OES_element_index_uint:J.a,OESStandardDerivatives:J.a,OES_standard_derivatives:J.a,OESTextureFloat:J.a,OES_texture_float:J.a,OESTextureFloatLinear:J.a,OES_texture_float_linear:J.a,OESTextureHalfFloat:J.a,OES_texture_half_float:J.a,OESTextureHalfFloatLinear:J.a,OES_texture_half_float_linear:J.a,OESVertexArrayObject:J.a,OES_vertex_array_object:J.a,WebGLProgram:J.a,WebGLQuery:J.a,WebGLRenderbuffer:J.a,WebGLRenderingContext:J.a,WebGL2RenderingContext:J.a,WebGLSampler:J.a,WebGLShader:J.a,WebGLShaderPrecisionFormat:J.a,WebGLSync:J.a,WebGLTexture:J.a,WebGLTimerQueryEXT:J.a,WebGLTransformFeedback:J.a,WebGLUniformLocation:J.a,WebGLVertexArrayObject:J.a,WebGLVertexArrayObjectOES:J.a,WebGL2RenderingContextBase:J.a,ArrayBuffer:A.dn,ArrayBufferView:A.bY,DataView:A.dp,Float32Array:A.dq,Float64Array:A.dr,Int16Array:A.ds,Int32Array:A.dt,Int8Array:A.du,Uint16Array:A.dv,Uint32Array:A.dw,Uint8ClampedArray:A.bZ,CanvasPixelArray:A.bZ,Uint8Array:A.c_,HTMLAudioElement:A.l,HTMLBRElement:A.l,HTMLButtonElement:A.l,HTMLCanvasElement:A.l,HTMLContentElement:A.l,HTMLDListElement:A.l,HTMLDataElement:A.l,HTMLDataListElement:A.l,HTMLDetailsElement:A.l,HTMLDialogElement:A.l,HTMLDivElement:A.l,HTMLEmbedElement:A.l,HTMLFieldSetElement:A.l,HTMLHRElement:A.l,HTMLHeadElement:A.l,HTMLHeadingElement:A.l,HTMLHtmlElement:A.l,HTMLIFrameElement:A.l,HTMLImageElement:A.l,HTMLLIElement:A.l,HTMLLabelElement:A.l,HTMLLegendElement:A.l,HTMLLinkElement:A.l,HTMLMapElement:A.l,HTMLMediaElement:A.l,HTMLMenuElement:A.l,HTMLMetaElement:A.l,HTMLMeterElement:A.l,HTMLModElement:A.l,HTMLOListElement:A.l,HTMLObjectElement:A.l,HTMLOptGroupElement:A.l,HTMLOptionElement:A.l,HTMLOutputElement:A.l,HTMLParagraphElement:A.l,HTMLParamElement:A.l,HTMLPictureElement:A.l,HTMLPreElement:A.l,HTMLProgressElement:A.l,HTMLQuoteElement:A.l,HTMLScriptElement:A.l,HTMLShadowElement:A.l,HTMLSlotElement:A.l,HTMLSourceElement:A.l,HTMLSpanElement:A.l,HTMLStyleElement:A.l,HTMLTableCaptionElement:A.l,HTMLTableCellElement:A.l,HTMLTableDataCellElement:A.l,HTMLTableHeaderCellElement:A.l,HTMLTableColElement:A.l,HTMLTimeElement:A.l,HTMLTitleElement:A.l,HTMLTrackElement:A.l,HTMLUListElement:A.l,HTMLUnknownElement:A.l,HTMLVideoElement:A.l,HTMLDirectoryElement:A.l,HTMLFontElement:A.l,HTMLFrameElement:A.l,HTMLFrameSetElement:A.l,HTMLMarqueeElement:A.l,HTMLElement:A.l,AccessibleNodeList:A.cI,HTMLAnchorElement:A.cJ,HTMLAreaElement:A.cK,HTMLBaseElement:A.bg,Blob:A.bE,HTMLBodyElement:A.aW,CDATASection:A.a3,CharacterData:A.a3,Comment:A.a3,ProcessingInstruction:A.a3,Text:A.a3,CSSPerspective:A.d_,CSSCharsetRule:A.x,CSSConditionRule:A.x,CSSFontFaceRule:A.x,CSSGroupingRule:A.x,CSSImportRule:A.x,CSSKeyframeRule:A.x,MozCSSKeyframeRule:A.x,WebKitCSSKeyframeRule:A.x,CSSKeyframesRule:A.x,MozCSSKeyframesRule:A.x,WebKitCSSKeyframesRule:A.x,CSSMediaRule:A.x,CSSNamespaceRule:A.x,CSSPageRule:A.x,CSSRule:A.x,CSSStyleRule:A.x,CSSSupportsRule:A.x,CSSViewportRule:A.x,CSSStyleDeclaration:A.bi,MSStyleCSSProperties:A.bi,CSS2Properties:A.bi,CSSImageValue:A.P,CSSKeywordValue:A.P,CSSNumericValue:A.P,CSSPositionValue:A.P,CSSResourceValue:A.P,CSSUnitValue:A.P,CSSURLImageValue:A.P,CSSStyleValue:A.P,CSSMatrixComponent:A.a_,CSSRotation:A.a_,CSSScale:A.a_,CSSSkew:A.a_,CSSTranslation:A.a_,CSSTransformComponent:A.a_,CSSTransformValue:A.d0,CSSUnparsedValue:A.d1,DataTransferItemList:A.d2,XMLDocument:A.aZ,Document:A.aZ,DOMException:A.d3,ClientRectList:A.bH,DOMRectList:A.bH,DOMRectReadOnly:A.bI,DOMStringList:A.d4,DOMTokenList:A.d5,MathMLElement:A.q,Element:A.q,AbortPaymentEvent:A.h,AnimationEvent:A.h,AnimationPlaybackEvent:A.h,ApplicationCacheErrorEvent:A.h,BackgroundFetchClickEvent:A.h,BackgroundFetchEvent:A.h,BackgroundFetchFailEvent:A.h,BackgroundFetchedEvent:A.h,BeforeInstallPromptEvent:A.h,BeforeUnloadEvent:A.h,BlobEvent:A.h,CanMakePaymentEvent:A.h,ClipboardEvent:A.h,CloseEvent:A.h,CustomEvent:A.h,DeviceMotionEvent:A.h,DeviceOrientationEvent:A.h,ErrorEvent:A.h,ExtendableEvent:A.h,ExtendableMessageEvent:A.h,FetchEvent:A.h,FontFaceSetLoadEvent:A.h,ForeignFetchEvent:A.h,GamepadEvent:A.h,HashChangeEvent:A.h,InstallEvent:A.h,MediaEncryptedEvent:A.h,MediaKeyMessageEvent:A.h,MediaQueryListEvent:A.h,MediaStreamEvent:A.h,MediaStreamTrackEvent:A.h,MessageEvent:A.h,MIDIConnectionEvent:A.h,MIDIMessageEvent:A.h,MutationEvent:A.h,NotificationEvent:A.h,PageTransitionEvent:A.h,PaymentRequestEvent:A.h,PaymentRequestUpdateEvent:A.h,PopStateEvent:A.h,PresentationConnectionAvailableEvent:A.h,PresentationConnectionCloseEvent:A.h,PromiseRejectionEvent:A.h,PushEvent:A.h,RTCDataChannelEvent:A.h,RTCDTMFToneChangeEvent:A.h,RTCPeerConnectionIceEvent:A.h,RTCTrackEvent:A.h,SecurityPolicyViolationEvent:A.h,SensorErrorEvent:A.h,SpeechRecognitionError:A.h,SpeechRecognitionEvent:A.h,SpeechSynthesisEvent:A.h,StorageEvent:A.h,SyncEvent:A.h,TrackEvent:A.h,TransitionEvent:A.h,WebKitTransitionEvent:A.h,VRDeviceEvent:A.h,VRDisplayEvent:A.h,VRSessionEvent:A.h,MojoInterfaceRequestEvent:A.h,USBConnectionEvent:A.h,IDBVersionChangeEvent:A.h,AudioProcessingEvent:A.h,OfflineAudioCompletionEvent:A.h,WebGLContextEvent:A.h,Event:A.h,InputEvent:A.h,SubmitEvent:A.h,AbsoluteOrientationSensor:A.c,Accelerometer:A.c,AccessibleNode:A.c,AmbientLightSensor:A.c,Animation:A.c,ApplicationCache:A.c,DOMApplicationCache:A.c,OfflineResourceList:A.c,BackgroundFetchRegistration:A.c,BatteryManager:A.c,BroadcastChannel:A.c,CanvasCaptureMediaStreamTrack:A.c,DedicatedWorkerGlobalScope:A.c,EventSource:A.c,FileReader:A.c,FontFaceSet:A.c,Gyroscope:A.c,LinearAccelerationSensor:A.c,Magnetometer:A.c,MediaDevices:A.c,MediaKeySession:A.c,MediaQueryList:A.c,MediaRecorder:A.c,MediaSource:A.c,MediaStream:A.c,MediaStreamTrack:A.c,MessagePort:A.c,MIDIAccess:A.c,MIDIInput:A.c,MIDIOutput:A.c,MIDIPort:A.c,NetworkInformation:A.c,Notification:A.c,OffscreenCanvas:A.c,OrientationSensor:A.c,PaymentRequest:A.c,Performance:A.c,PermissionStatus:A.c,PresentationAvailability:A.c,PresentationConnection:A.c,PresentationConnectionList:A.c,PresentationRequest:A.c,RelativeOrientationSensor:A.c,RemotePlayback:A.c,RTCDataChannel:A.c,DataChannel:A.c,RTCDTMFSender:A.c,RTCPeerConnection:A.c,webkitRTCPeerConnection:A.c,mozRTCPeerConnection:A.c,ScreenOrientation:A.c,Sensor:A.c,ServiceWorker:A.c,ServiceWorkerContainer:A.c,ServiceWorkerGlobalScope:A.c,ServiceWorkerRegistration:A.c,SharedWorker:A.c,SharedWorkerGlobalScope:A.c,SpeechRecognition:A.c,webkitSpeechRecognition:A.c,SpeechSynthesis:A.c,SpeechSynthesisUtterance:A.c,VR:A.c,VRDevice:A.c,VRDisplay:A.c,VRSession:A.c,VisualViewport:A.c,WebSocket:A.c,Window:A.c,DOMWindow:A.c,Worker:A.c,WorkerGlobalScope:A.c,WorkerPerformance:A.c,BluetoothDevice:A.c,BluetoothRemoteGATTCharacteristic:A.c,Clipboard:A.c,MojoInterfaceInterceptor:A.c,USB:A.c,IDBDatabase:A.c,IDBOpenDBRequest:A.c,IDBVersionChangeRequest:A.c,IDBRequest:A.c,IDBTransaction:A.c,AnalyserNode:A.c,RealtimeAnalyserNode:A.c,AudioBufferSourceNode:A.c,AudioDestinationNode:A.c,AudioNode:A.c,AudioScheduledSourceNode:A.c,AudioWorkletNode:A.c,BiquadFilterNode:A.c,ChannelMergerNode:A.c,AudioChannelMerger:A.c,ChannelSplitterNode:A.c,AudioChannelSplitter:A.c,ConstantSourceNode:A.c,ConvolverNode:A.c,DelayNode:A.c,DynamicsCompressorNode:A.c,GainNode:A.c,AudioGainNode:A.c,IIRFilterNode:A.c,MediaElementAudioSourceNode:A.c,MediaStreamAudioDestinationNode:A.c,MediaStreamAudioSourceNode:A.c,OscillatorNode:A.c,Oscillator:A.c,PannerNode:A.c,AudioPannerNode:A.c,webkitAudioPannerNode:A.c,ScriptProcessorNode:A.c,JavaScriptAudioNode:A.c,StereoPannerNode:A.c,WaveShaperNode:A.c,EventTarget:A.c,File:A.a4,FileList:A.d6,FileWriter:A.d7,HTMLFormElement:A.d9,Gamepad:A.a5,History:A.da,HTMLCollection:A.b0,HTMLFormControlsCollection:A.b0,HTMLOptionsCollection:A.b0,HTMLDocument:A.bO,XMLHttpRequest:A.a6,XMLHttpRequestUpload:A.b1,XMLHttpRequestEventTarget:A.b1,HTMLInputElement:A.aJ,KeyboardEvent:A.bn,Location:A.di,MediaList:A.dj,MIDIInputMap:A.dk,MIDIOutputMap:A.dl,MimeType:A.a8,MimeTypeArray:A.dm,DocumentFragment:A.m,ShadowRoot:A.m,DocumentType:A.m,Node:A.m,NodeList:A.c0,RadioNodeList:A.c0,Plugin:A.aa,PluginArray:A.dB,ProgressEvent:A.as,ResourceProgressEvent:A.as,RTCStatsReport:A.dE,HTMLSelectElement:A.dG,SourceBuffer:A.ab,SourceBufferList:A.dH,SpeechGrammar:A.ac,SpeechGrammarList:A.dI,SpeechRecognitionResult:A.ad,Storage:A.dL,CSSStyleSheet:A.X,StyleSheet:A.X,HTMLTableElement:A.c5,HTMLTableRowElement:A.dN,HTMLTableSectionElement:A.dO,HTMLTemplateElement:A.br,HTMLTextAreaElement:A.b5,TextTrack:A.af,TextTrackCue:A.Y,VTTCue:A.Y,TextTrackCueList:A.dQ,TextTrackList:A.dR,TimeRanges:A.dS,Touch:A.ag,TouchList:A.dT,TrackDefaultList:A.dU,CompositionEvent:A.S,FocusEvent:A.S,MouseEvent:A.S,DragEvent:A.S,PointerEvent:A.S,TextEvent:A.S,TouchEvent:A.S,WheelEvent:A.S,UIEvent:A.S,URL:A.e0,VideoTrackList:A.e1,Attr:A.bu,CSSRuleList:A.e7,ClientRect:A.c8,DOMRect:A.c8,GamepadList:A.el,NamedNodeMap:A.cd,MozNamedAttrMap:A.cd,SpeechRecognitionResultList:A.eK,StyleSheetList:A.eQ,SVGLength:A.am,SVGLengthList:A.df,SVGNumber:A.aq,SVGNumberList:A.dx,SVGPointList:A.dC,SVGScriptElement:A.bp,SVGStringList:A.dM,SVGAElement:A.i,SVGAnimateElement:A.i,SVGAnimateMotionElement:A.i,SVGAnimateTransformElement:A.i,SVGAnimationElement:A.i,SVGCircleElement:A.i,SVGClipPathElement:A.i,SVGDefsElement:A.i,SVGDescElement:A.i,SVGDiscardElement:A.i,SVGEllipseElement:A.i,SVGFEBlendElement:A.i,SVGFEColorMatrixElement:A.i,SVGFEComponentTransferElement:A.i,SVGFECompositeElement:A.i,SVGFEConvolveMatrixElement:A.i,SVGFEDiffuseLightingElement:A.i,SVGFEDisplacementMapElement:A.i,SVGFEDistantLightElement:A.i,SVGFEFloodElement:A.i,SVGFEFuncAElement:A.i,SVGFEFuncBElement:A.i,SVGFEFuncGElement:A.i,SVGFEFuncRElement:A.i,SVGFEGaussianBlurElement:A.i,SVGFEImageElement:A.i,SVGFEMergeElement:A.i,SVGFEMergeNodeElement:A.i,SVGFEMorphologyElement:A.i,SVGFEOffsetElement:A.i,SVGFEPointLightElement:A.i,SVGFESpecularLightingElement:A.i,SVGFESpotLightElement:A.i,SVGFETileElement:A.i,SVGFETurbulenceElement:A.i,SVGFilterElement:A.i,SVGForeignObjectElement:A.i,SVGGElement:A.i,SVGGeometryElement:A.i,SVGGraphicsElement:A.i,SVGImageElement:A.i,SVGLineElement:A.i,SVGLinearGradientElement:A.i,SVGMarkerElement:A.i,SVGMaskElement:A.i,SVGMetadataElement:A.i,SVGPathElement:A.i,SVGPatternElement:A.i,SVGPolygonElement:A.i,SVGPolylineElement:A.i,SVGRadialGradientElement:A.i,SVGRectElement:A.i,SVGSetElement:A.i,SVGStopElement:A.i,SVGStyleElement:A.i,SVGSVGElement:A.i,SVGSwitchElement:A.i,SVGSymbolElement:A.i,SVGTSpanElement:A.i,SVGTextContentElement:A.i,SVGTextElement:A.i,SVGTextPathElement:A.i,SVGTextPositioningElement:A.i,SVGTitleElement:A.i,SVGUseElement:A.i,SVGViewElement:A.i,SVGGradientElement:A.i,SVGComponentTransferFunctionElement:A.i,SVGFEDropShadowElement:A.i,SVGMPathElement:A.i,SVGElement:A.i,SVGTransform:A.au,SVGTransformList:A.dV,AudioBuffer:A.cP,AudioParamMap:A.cQ,AudioTrackList:A.cR,AudioContext:A.aF,webkitAudioContext:A.aF,BaseAudioContext:A.aF,OfflineAudioContext:A.dy}) -hunkHelpers.setOrUpdateLeafTags({WebGL:true,AnimationEffectReadOnly:true,AnimationEffectTiming:true,AnimationEffectTimingReadOnly:true,AnimationTimeline:true,AnimationWorkletGlobalScope:true,AuthenticatorAssertionResponse:true,AuthenticatorAttestationResponse:true,AuthenticatorResponse:true,BackgroundFetchFetch:true,BackgroundFetchManager:true,BackgroundFetchSettledFetch:true,BarProp:true,BarcodeDetector:true,BluetoothRemoteGATTDescriptor:true,Body:true,BudgetState:true,CacheStorage:true,CanvasGradient:true,CanvasPattern:true,CanvasRenderingContext2D:true,Client:true,Clients:true,CookieStore:true,Coordinates:true,Credential:true,CredentialUserData:true,CredentialsContainer:true,Crypto:true,CryptoKey:true,CSS:true,CSSVariableReferenceValue:true,CustomElementRegistry:true,DataTransfer:true,DataTransferItem:true,DeprecatedStorageInfo:true,DeprecatedStorageQuota:true,DeprecationReport:true,DetectedBarcode:true,DetectedFace:true,DetectedText:true,DeviceAcceleration:true,DeviceRotationRate:true,DirectoryEntry:true,webkitFileSystemDirectoryEntry:true,FileSystemDirectoryEntry:true,DirectoryReader:true,WebKitDirectoryReader:true,webkitFileSystemDirectoryReader:true,FileSystemDirectoryReader:true,DocumentOrShadowRoot:true,DocumentTimeline:true,DOMError:true,DOMImplementation:true,Iterator:true,DOMMatrix:true,DOMMatrixReadOnly:true,DOMParser:true,DOMPoint:true,DOMPointReadOnly:true,DOMQuad:true,DOMStringMap:true,Entry:true,webkitFileSystemEntry:true,FileSystemEntry:true,External:true,FaceDetector:true,FederatedCredential:true,FileEntry:true,webkitFileSystemFileEntry:true,FileSystemFileEntry:true,DOMFileSystem:true,WebKitFileSystem:true,webkitFileSystem:true,FileSystem:true,FontFace:true,FontFaceSource:true,FormData:true,GamepadButton:true,GamepadPose:true,Geolocation:true,Position:true,GeolocationPosition:true,Headers:true,HTMLHyperlinkElementUtils:true,IdleDeadline:true,ImageBitmap:true,ImageBitmapRenderingContext:true,ImageCapture:true,ImageData:true,InputDeviceCapabilities:true,IntersectionObserver:true,IntersectionObserverEntry:true,InterventionReport:true,KeyframeEffect:true,KeyframeEffectReadOnly:true,MediaCapabilities:true,MediaCapabilitiesInfo:true,MediaDeviceInfo:true,MediaError:true,MediaKeyStatusMap:true,MediaKeySystemAccess:true,MediaKeys:true,MediaKeysPolicy:true,MediaMetadata:true,MediaSession:true,MediaSettingsRange:true,MemoryInfo:true,MessageChannel:true,Metadata:true,MutationObserver:true,WebKitMutationObserver:true,MutationRecord:true,NavigationPreloadManager:true,Navigator:true,NavigatorAutomationInformation:true,NavigatorConcurrentHardware:true,NavigatorCookies:true,NavigatorUserMediaError:true,NodeFilter:true,NodeIterator:true,NonDocumentTypeChildNode:true,NonElementParentNode:true,NoncedElement:true,OffscreenCanvasRenderingContext2D:true,OverconstrainedError:true,PaintRenderingContext2D:true,PaintSize:true,PaintWorkletGlobalScope:true,PasswordCredential:true,Path2D:true,PaymentAddress:true,PaymentInstruments:true,PaymentManager:true,PaymentResponse:true,PerformanceEntry:true,PerformanceLongTaskTiming:true,PerformanceMark:true,PerformanceMeasure:true,PerformanceNavigation:true,PerformanceNavigationTiming:true,PerformanceObserver:true,PerformanceObserverEntryList:true,PerformancePaintTiming:true,PerformanceResourceTiming:true,PerformanceServerTiming:true,PerformanceTiming:true,Permissions:true,PhotoCapabilities:true,PositionError:true,GeolocationPositionError:true,Presentation:true,PresentationReceiver:true,PublicKeyCredential:true,PushManager:true,PushMessageData:true,PushSubscription:true,PushSubscriptionOptions:true,Range:true,RelatedApplication:true,ReportBody:true,ReportingObserver:true,ResizeObserver:true,ResizeObserverEntry:true,RTCCertificate:true,RTCIceCandidate:true,mozRTCIceCandidate:true,RTCLegacyStatsReport:true,RTCRtpContributingSource:true,RTCRtpReceiver:true,RTCRtpSender:true,RTCSessionDescription:true,mozRTCSessionDescription:true,RTCStatsResponse:true,Screen:true,ScrollState:true,ScrollTimeline:true,Selection:true,SharedArrayBuffer:true,SpeechRecognitionAlternative:true,SpeechSynthesisVoice:true,StaticRange:true,StorageManager:true,StyleMedia:true,StylePropertyMap:true,StylePropertyMapReadonly:true,SyncManager:true,TaskAttributionTiming:true,TextDetector:true,TextMetrics:true,TrackDefault:true,TreeWalker:true,TrustedHTML:true,TrustedScriptURL:true,TrustedURL:true,UnderlyingSourceBase:true,URLSearchParams:true,VRCoordinateSystem:true,VRDisplayCapabilities:true,VREyeParameters:true,VRFrameData:true,VRFrameOfReference:true,VRPose:true,VRStageBounds:true,VRStageBoundsPoint:true,VRStageParameters:true,ValidityState:true,VideoPlaybackQuality:true,VideoTrack:true,VTTRegion:true,WindowClient:true,WorkletAnimation:true,WorkletGlobalScope:true,XPathEvaluator:true,XPathExpression:true,XPathNSResolver:true,XPathResult:true,XMLSerializer:true,XSLTProcessor:true,Bluetooth:true,BluetoothCharacteristicProperties:true,BluetoothRemoteGATTServer:true,BluetoothRemoteGATTService:true,BluetoothUUID:true,BudgetService:true,Cache:true,DOMFileSystemSync:true,DirectoryEntrySync:true,DirectoryReaderSync:true,EntrySync:true,FileEntrySync:true,FileReaderSync:true,FileWriterSync:true,HTMLAllCollection:true,Mojo:true,MojoHandle:true,MojoWatcher:true,NFC:true,PagePopupController:true,Report:true,Request:true,Response:true,SubtleCrypto:true,USBAlternateInterface:true,USBConfiguration:true,USBDevice:true,USBEndpoint:true,USBInTransferResult:true,USBInterface:true,USBIsochronousInTransferPacket:true,USBIsochronousInTransferResult:true,USBIsochronousOutTransferPacket:true,USBIsochronousOutTransferResult:true,USBOutTransferResult:true,WorkerLocation:true,WorkerNavigator:true,Worklet:true,IDBCursor:true,IDBCursorWithValue:true,IDBFactory:true,IDBIndex:true,IDBKeyRange:true,IDBObjectStore:true,IDBObservation:true,IDBObserver:true,IDBObserverChanges:true,SVGAngle:true,SVGAnimatedAngle:true,SVGAnimatedBoolean:true,SVGAnimatedEnumeration:true,SVGAnimatedInteger:true,SVGAnimatedLength:true,SVGAnimatedLengthList:true,SVGAnimatedNumber:true,SVGAnimatedNumberList:true,SVGAnimatedPreserveAspectRatio:true,SVGAnimatedRect:true,SVGAnimatedString:true,SVGAnimatedTransformList:true,SVGMatrix:true,SVGPoint:true,SVGPreserveAspectRatio:true,SVGRect:true,SVGUnitTypes:true,AudioListener:true,AudioParam:true,AudioTrack:true,AudioWorkletGlobalScope:true,AudioWorkletProcessor:true,PeriodicWave:true,WebGLActiveInfo:true,ANGLEInstancedArrays:true,ANGLE_instanced_arrays:true,WebGLBuffer:true,WebGLCanvas:true,WebGLColorBufferFloat:true,WebGLCompressedTextureASTC:true,WebGLCompressedTextureATC:true,WEBGL_compressed_texture_atc:true,WebGLCompressedTextureETC1:true,WEBGL_compressed_texture_etc1:true,WebGLCompressedTextureETC:true,WebGLCompressedTexturePVRTC:true,WEBGL_compressed_texture_pvrtc:true,WebGLCompressedTextureS3TC:true,WEBGL_compressed_texture_s3tc:true,WebGLCompressedTextureS3TCsRGB:true,WebGLDebugRendererInfo:true,WEBGL_debug_renderer_info:true,WebGLDebugShaders:true,WEBGL_debug_shaders:true,WebGLDepthTexture:true,WEBGL_depth_texture:true,WebGLDrawBuffers:true,WEBGL_draw_buffers:true,EXTsRGB:true,EXT_sRGB:true,EXTBlendMinMax:true,EXT_blend_minmax:true,EXTColorBufferFloat:true,EXTColorBufferHalfFloat:true,EXTDisjointTimerQuery:true,EXTDisjointTimerQueryWebGL2:true,EXTFragDepth:true,EXT_frag_depth:true,EXTShaderTextureLOD:true,EXT_shader_texture_lod:true,EXTTextureFilterAnisotropic:true,EXT_texture_filter_anisotropic:true,WebGLFramebuffer:true,WebGLGetBufferSubDataAsync:true,WebGLLoseContext:true,WebGLExtensionLoseContext:true,WEBGL_lose_context:true,OESElementIndexUint:true,OES_element_index_uint:true,OESStandardDerivatives:true,OES_standard_derivatives:true,OESTextureFloat:true,OES_texture_float:true,OESTextureFloatLinear:true,OES_texture_float_linear:true,OESTextureHalfFloat:true,OES_texture_half_float:true,OESTextureHalfFloatLinear:true,OES_texture_half_float_linear:true,OESVertexArrayObject:true,OES_vertex_array_object:true,WebGLProgram:true,WebGLQuery:true,WebGLRenderbuffer:true,WebGLRenderingContext:true,WebGL2RenderingContext:true,WebGLSampler:true,WebGLShader:true,WebGLShaderPrecisionFormat:true,WebGLSync:true,WebGLTexture:true,WebGLTimerQueryEXT:true,WebGLTransformFeedback:true,WebGLUniformLocation:true,WebGLVertexArrayObject:true,WebGLVertexArrayObjectOES:true,WebGL2RenderingContextBase:true,ArrayBuffer:true,ArrayBufferView:false,DataView:true,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,HTMLAudioElement:true,HTMLBRElement:true,HTMLButtonElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLIFrameElement:true,HTMLImageElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMediaElement:true,HTMLMenuElement:true,HTMLMetaElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLObjectElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLVideoElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,AccessibleNodeList:true,HTMLAnchorElement:true,HTMLAreaElement:true,HTMLBaseElement:true,Blob:false,HTMLBodyElement:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,CSSPerspective:true,CSSCharsetRule:true,CSSConditionRule:true,CSSFontFaceRule:true,CSSGroupingRule:true,CSSImportRule:true,CSSKeyframeRule:true,MozCSSKeyframeRule:true,WebKitCSSKeyframeRule:true,CSSKeyframesRule:true,MozCSSKeyframesRule:true,WebKitCSSKeyframesRule:true,CSSMediaRule:true,CSSNamespaceRule:true,CSSPageRule:true,CSSRule:true,CSSStyleRule:true,CSSSupportsRule:true,CSSViewportRule:true,CSSStyleDeclaration:true,MSStyleCSSProperties:true,CSS2Properties:true,CSSImageValue:true,CSSKeywordValue:true,CSSNumericValue:true,CSSPositionValue:true,CSSResourceValue:true,CSSUnitValue:true,CSSURLImageValue:true,CSSStyleValue:false,CSSMatrixComponent:true,CSSRotation:true,CSSScale:true,CSSSkew:true,CSSTranslation:true,CSSTransformComponent:false,CSSTransformValue:true,CSSUnparsedValue:true,DataTransferItemList:true,XMLDocument:true,Document:false,DOMException:true,ClientRectList:true,DOMRectList:true,DOMRectReadOnly:false,DOMStringList:true,DOMTokenList:true,MathMLElement:true,Element:false,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MessageEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,MojoInterfaceRequestEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,SubmitEvent:false,AbsoluteOrientationSensor:true,Accelerometer:true,AccessibleNode:true,AmbientLightSensor:true,Animation:true,ApplicationCache:true,DOMApplicationCache:true,OfflineResourceList:true,BackgroundFetchRegistration:true,BatteryManager:true,BroadcastChannel:true,CanvasCaptureMediaStreamTrack:true,DedicatedWorkerGlobalScope:true,EventSource:true,FileReader:true,FontFaceSet:true,Gyroscope:true,LinearAccelerationSensor:true,Magnetometer:true,MediaDevices:true,MediaKeySession:true,MediaQueryList:true,MediaRecorder:true,MediaSource:true,MediaStream:true,MediaStreamTrack:true,MessagePort:true,MIDIAccess:true,MIDIInput:true,MIDIOutput:true,MIDIPort:true,NetworkInformation:true,Notification:true,OffscreenCanvas:true,OrientationSensor:true,PaymentRequest:true,Performance:true,PermissionStatus:true,PresentationAvailability:true,PresentationConnection:true,PresentationConnectionList:true,PresentationRequest:true,RelativeOrientationSensor:true,RemotePlayback:true,RTCDataChannel:true,DataChannel:true,RTCDTMFSender:true,RTCPeerConnection:true,webkitRTCPeerConnection:true,mozRTCPeerConnection:true,ScreenOrientation:true,Sensor:true,ServiceWorker:true,ServiceWorkerContainer:true,ServiceWorkerGlobalScope:true,ServiceWorkerRegistration:true,SharedWorker:true,SharedWorkerGlobalScope:true,SpeechRecognition:true,webkitSpeechRecognition:true,SpeechSynthesis:true,SpeechSynthesisUtterance:true,VR:true,VRDevice:true,VRDisplay:true,VRSession:true,VisualViewport:true,WebSocket:true,Window:true,DOMWindow:true,Worker:true,WorkerGlobalScope:true,WorkerPerformance:true,BluetoothDevice:true,BluetoothRemoteGATTCharacteristic:true,Clipboard:true,MojoInterfaceInterceptor:true,USB:true,IDBDatabase:true,IDBOpenDBRequest:true,IDBVersionChangeRequest:true,IDBRequest:true,IDBTransaction:true,AnalyserNode:true,RealtimeAnalyserNode:true,AudioBufferSourceNode:true,AudioDestinationNode:true,AudioNode:true,AudioScheduledSourceNode:true,AudioWorkletNode:true,BiquadFilterNode:true,ChannelMergerNode:true,AudioChannelMerger:true,ChannelSplitterNode:true,AudioChannelSplitter:true,ConstantSourceNode:true,ConvolverNode:true,DelayNode:true,DynamicsCompressorNode:true,GainNode:true,AudioGainNode:true,IIRFilterNode:true,MediaElementAudioSourceNode:true,MediaStreamAudioDestinationNode:true,MediaStreamAudioSourceNode:true,OscillatorNode:true,Oscillator:true,PannerNode:true,AudioPannerNode:true,webkitAudioPannerNode:true,ScriptProcessorNode:true,JavaScriptAudioNode:true,StereoPannerNode:true,WaveShaperNode:true,EventTarget:false,File:true,FileList:true,FileWriter:true,HTMLFormElement:true,Gamepad:true,History:true,HTMLCollection:true,HTMLFormControlsCollection:true,HTMLOptionsCollection:true,HTMLDocument:true,XMLHttpRequest:true,XMLHttpRequestUpload:true,XMLHttpRequestEventTarget:false,HTMLInputElement:true,KeyboardEvent:true,Location:true,MediaList:true,MIDIInputMap:true,MIDIOutputMap:true,MimeType:true,MimeTypeArray:true,DocumentFragment:true,ShadowRoot:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,Plugin:true,PluginArray:true,ProgressEvent:true,ResourceProgressEvent:true,RTCStatsReport:true,HTMLSelectElement:true,SourceBuffer:true,SourceBufferList:true,SpeechGrammar:true,SpeechGrammarList:true,SpeechRecognitionResult:true,Storage:true,CSSStyleSheet:true,StyleSheet:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,HTMLTextAreaElement:true,TextTrack:true,TextTrackCue:true,VTTCue:true,TextTrackCueList:true,TextTrackList:true,TimeRanges:true,Touch:true,TouchList:true,TrackDefaultList:true,CompositionEvent:true,FocusEvent:true,MouseEvent:true,DragEvent:true,PointerEvent:true,TextEvent:true,TouchEvent:true,WheelEvent:true,UIEvent:false,URL:true,VideoTrackList:true,Attr:true,CSSRuleList:true,ClientRect:true,DOMRect:true,GamepadList:true,NamedNodeMap:true,MozNamedAttrMap:true,SpeechRecognitionResultList:true,StyleSheetList:true,SVGLength:true,SVGLengthList:true,SVGNumber:true,SVGNumberList:true,SVGPointList:true,SVGScriptElement:true,SVGStringList:true,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true,SVGElement:false,SVGTransform:true,SVGTransformList:true,AudioBuffer:true,AudioParamMap:true,AudioTrackList:true,AudioContext:true,webkitAudioContext:true,BaseAudioContext:false,OfflineAudioContext:true}) -A.bo.$nativeSuperclassTag="ArrayBufferView" -A.ce.$nativeSuperclassTag="ArrayBufferView" -A.cf.$nativeSuperclassTag="ArrayBufferView" -A.bW.$nativeSuperclassTag="ArrayBufferView" -A.cg.$nativeSuperclassTag="ArrayBufferView" -A.ch.$nativeSuperclassTag="ArrayBufferView" -A.bX.$nativeSuperclassTag="ArrayBufferView" -A.cl.$nativeSuperclassTag="EventTarget" -A.cm.$nativeSuperclassTag="EventTarget" -A.co.$nativeSuperclassTag="EventTarget" -A.cp.$nativeSuperclassTag="EventTarget"})() -Function.prototype.$2=function(a,b){return this(a,b)} -Function.prototype.$0=function(){return this()} -Function.prototype.$1=function(a){return this(a)} -Function.prototype.$3=function(a,b,c){return this(a,b,c)} -Function.prototype.$4=function(a,b,c,d){return this(a,b,c,d)} -Function.prototype.$1$1=function(a){return this(a)} -Function.prototype.$1$0=function(){return this()} -convertAllToFastObject(w) -convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) -return}if(typeof document.currentScript!="undefined"){a(document.currentScript) -return}var s=document.scripts -function onLoad(b){for(var q=0;q","JsLinkedHashMap_values_closure","LinkedHashMapKeyIterable.length","LinkedHashMapKeyIterable.iterator","LinkedHashMapKeyIterator","LinkedHashMapKeyIterator.current","LinkedHashMapKeyIterator.moveNext","initHooks.","_Record.toString","_Record._toString","_Record._fieldKeys","_Record._computeFieldKeys","_Record2._getFieldValues","_Record2.==","_Record2.hashCode","JSSyntaxRegExp.toString","JSSyntaxRegExp._nativeGlobalVersion","JSSyntaxRegExp._execGlobal","_MatchImplementation.end","_MatchImplementation.[]","_AllMatchesIterator.current","_AllMatchesIterator.moveNext","JSSyntaxRegExp.isUnicode","NativeByteBuffer.runtimeType","NativeByteData.runtimeType","NativeTypedArray.length","NativeTypedArrayOfDouble.[]","NativeTypedArrayOfDouble.[]=","NativeTypedArrayOfInt.[]=","NativeFloat32List.runtimeType","NativeFloat64List.runtimeType","NativeInt16List.runtimeType","NativeInt16List.[]","NativeInt32List.runtimeType","NativeInt32List.[]","NativeInt8List.runtimeType","NativeInt8List.[]","NativeUint16List.runtimeType","NativeUint16List.[]","NativeUint32List.runtimeType","NativeUint32List.[]","NativeUint8ClampedList.runtimeType","NativeUint8ClampedList.length","NativeUint8ClampedList.[]","NativeUint8List.runtimeType","NativeUint8List.length","NativeUint8List.[]","Rti._eval","Rti._bind","_Type.toString","_Error.toString","_AsyncRun._initializeScheduleImmediate.internalCallback","_AsyncRun._initializeScheduleImmediate.","_AsyncRun._scheduleImmediateJsOverride.internalCallback","_AsyncRun._scheduleImmediateWithSetImmediate.internalCallback","_TimerImpl.internalCallback","_AsyncAwaitCompleter.complete","_AsyncAwaitCompleter.completeError","_awaitOnObject.","_wrapJsFunctionForAsync.","AsyncError.toString","_Completer.completeError","_Completer.completeError[function-entry$1]","_AsyncCompleter.complete","_FutureListener.matchesErrorTest","_FutureListener.handleError","_Future._setChained","_Future.then","_Future.then[function-entry$1]","_Future._thenAwait","_Future._setErrorObject","_Future._cloneResult","_Future._addListener","_Future._prependListeners","_Future._removeListeners","_Future._reverseListeners","_Future._chainForeignFuture","_Future._completeWithValue","_Future._completeError","_Future._asyncComplete","_Future._asyncCompleteWithValue","_Future._chainFuture","_Future._asyncCompleteError","_Future._addListener.","_Future._prependListeners.","_Future._chainForeignFuture.","_Future._chainCoreFutureAsync.","_Future._asyncCompleteWithValue.","_Future._asyncCompleteError.","_Future._propagateToListeners.handleWhenCompleteCallback","_FutureListener.handleWhenComplete","_Future._propagateToListeners.handleWhenCompleteCallback.","_Future._propagateToListeners.handleValueCallback","_FutureListener.handleValue","_Future._propagateToListeners.handleError","_FutureListener.hasErrorCallback","_rootHandleError.","_RootZone.runGuarded","_RootZone.runUnaryGuarded","_RootZone.runUnaryGuarded[function-entry$2]","_RootZone.bindCallbackGuarded","_RootZone.bindUnaryCallbackGuarded","_RootZone.run","_RootZone.run[function-entry$1]","_RootZone.runUnary","_RootZone.runUnary[function-entry$2]","_RootZone.runBinary","_RootZone.runBinary[function-entry$3]","_RootZone.registerBinaryCallback","_RootZone.registerBinaryCallback[function-entry$1]","_RootZone.bindCallbackGuarded.","_RootZone.bindUnaryCallbackGuarded.","_RootZone_bindUnaryCallbackGuarded_closure","_LinkedHashSet.iterator","_LinkedHashSet.length","_LinkedHashSet.contains","_LinkedHashSet._contains","_LinkedHashSet.add","_LinkedHashSet._add","_LinkedHashSet.remove","_LinkedHashSet._remove","_LinkedHashSet._addHashTableEntry","_LinkedHashSet._removeHashTableEntry","_LinkedHashSet._modified","_LinkedHashSet._newLinkedCell","_LinkedHashSet._unlinkCell","_LinkedHashSet._computeHashCode","_LinkedHashSet._findBucketIndex","_LinkedHashSetIterator.current","_LinkedHashSetIterator.moveNext","ListBase.iterator","ListBase.elementAt","ListBase.cast","ListBase.fillRange","ListBase.toString","MapBase.forEach","MapBase.length","MapBase.toString","MapBase.mapToString.","_UnmodifiableMapMixin.[]=","MapView.[]","MapView.[]=","MapView.length","MapView.toString","SetBase.addAll","SetBase.toString","SetBase.join","SetBase.elementAt","_JsonMap.[]","_JsonMap.length","_JsonMap.keys","_JsonMap.[]=","_JsonMap.containsKey","_JsonMap.forEach","_JsonMap._computeKeys","_JsonMap._upgrade","_JsonMap._process","_JsonMapKeyIterable.length","_JsonMapKeyIterable.elementAt","_JsonMapKeyIterable.iterator","Utf8Decoder._decoder.","Utf8Decoder._decoderNonfatal.","Base64Codec.normalize","HtmlEscapeMode.toString","HtmlEscape.convert","HtmlEscape._convert","JsonCodec.decode","JsonCodec.decoder","Utf8Encoder.convert","_Utf8Encoder._writeReplacementCharacter","_Utf8Encoder._writeSurrogate","_Utf8Encoder._fillBuffer","Utf8Decoder.convert","_Utf8Decoder.convertGeneral","_Utf8Decoder._convertRecursive","_Utf8Decoder.decodeGeneral","_Enum.toString","Error.stackTrace","AssertionError.toString","ArgumentError._errorName","ArgumentError._errorExplanation","ArgumentError.toString","RangeError.invalidValue","RangeError._errorName","RangeError._errorExplanation","IndexError.invalidValue","IndexError._errorName","IndexError._errorExplanation","UnsupportedError.toString","UnimplementedError.toString","StateError.toString","ConcurrentModificationError.toString","OutOfMemoryError.toString","OutOfMemoryError.stackTrace","StackOverflowError.toString","StackOverflowError.stackTrace","_Exception.toString","FormatException.toString","Iterable.cast","Iterable.where","Iterable.length","Iterable.single","Iterable.elementAt","Iterable.toString","Null.hashCode","Null.toString","Object.hashCode","Object.==","Object.toString","Object.runtimeType","_StringStackTrace.toString","StringBuffer.length","StringBuffer.toString","Uri.splitQueryString.","Uri._parseIPv4Address.error","Uri.parseIPv6Address.error","Uri.parseIPv6Address.parseHex","_Uri._text","_Uri._initializeText","_Uri._writeAuthority","_Uri.hashCode","_Uri.queryParameters","_Uri.userInfo","_Uri.host","_Uri.port","_Uri.query","_Uri.fragment","_Uri.replace","_Uri.hasAuthority","_Uri.hasQuery","_Uri.hasFragment","_Uri.toString","_Uri.==","_Uri._makeQuery.writeParameter","_Uri._makeQuery.","UriData.uri","UriData._computeUri","UriData.toString","_createTables.build","_createTables.setChars","_createTables.setRange","_SimpleUri.hasAuthority","_SimpleUri.hasPort","_SimpleUri.hasQuery","_SimpleUri.hasFragment","_SimpleUri.scheme","_SimpleUri._computeScheme","_SimpleUri.userInfo","_SimpleUri.host","_SimpleUri.port","_SimpleUri.path","_SimpleUri.query","_SimpleUri.fragment","_SimpleUri.queryParameters","_SimpleUri.replace","_SimpleUri.hashCode","_SimpleUri.==","_SimpleUri.toString","AccessibleNodeList.length","AnchorElement.toString","AreaElement.toString","CharacterData.length","CssPerspective.length","CssStyleDeclaration.length","CssTransformValue.length","CssUnparsedValue.length","DataTransferItemList.length","DomException.toString","DomRectList.length","DomRectList.[]","DomRectList.[]=","DomRectList.elementAt","DomRectReadOnly.toString","DomRectReadOnly.==","DomRectReadOnly.hashCode","DomRectReadOnly._height","DomRectReadOnly.height","DomRectReadOnly._width","DomRectReadOnly.width","DomStringList.length","DomStringList.[]","DomStringList.[]=","DomStringList.elementAt","DomTokenList.length","Element.classes","Element.toString","Element.createFragment","NodeValidatorBuilder.common","NodeValidatorBuilder.allowHtml5","NodeValidatorBuilder.allowTemplating","Element._canBeUsedToCreateContextualFragment","Element.createFragment[function-entry$1$treeSanitizer]","Element.innerHtml","Element.setInnerHtml","Element.html.","EventTarget.addEventListener","EventTarget.addEventListener[function-entry$2]","EventTarget._addEventListener","FileList.length","FileList.[]","FileList.[]=","FileList.elementAt","FileWriter.length","FormElement.length","History.length","HtmlCollection.length","HtmlCollection.[]","HtmlCollection.[]=","HtmlCollection.elementAt","HttpRequest.open","HttpRequest.getString.","HttpRequest.request.","Location.toString","MediaList.length","MidiInputMap.[]","MidiInputMap.forEach","MidiInputMap.keys","MidiInputMap.length","MidiInputMap.[]=","MidiInputMap.keys.","MidiOutputMap.[]","MidiOutputMap.forEach","MidiOutputMap.keys","MidiOutputMap.length","MidiOutputMap.[]=","MidiOutputMap.keys.","MimeTypeArray.length","MimeTypeArray.[]","MimeTypeArray.[]=","MimeTypeArray.elementAt","_ChildNodeListLazy.single","_ChildNodeListLazy.addAll","_ChildNodeListLazy.[]=","_ChildNodeListLazy.iterator","ImmutableListMixin.iterator","_ChildNodeListLazy.length","_ChildNodeListLazy.[]","Node.remove","Node.replaceWith","Node._clearChildren","Node.toString","Node._replaceChild","NodeList.length","NodeList.[]","NodeList.[]=","NodeList.elementAt","Plugin.length","PluginArray.length","PluginArray.[]","PluginArray.[]=","PluginArray.elementAt","RtcStatsReport.[]","RtcStatsReport.forEach","RtcStatsReport.keys","RtcStatsReport.length","RtcStatsReport.[]=","RtcStatsReport.keys.","SelectElement.length","SourceBufferList.length","SourceBufferList.[]","SourceBufferList.[]=","SourceBufferList.elementAt","SpeechGrammarList.length","SpeechGrammarList.[]","SpeechGrammarList.[]=","SpeechGrammarList.elementAt","SpeechRecognitionResult.length","Storage.[]","Storage.[]=","Storage.forEach","Storage.keys","Storage.length","Storage.keys.","TableElement.createFragment","TableRowElement.createFragment","TableSectionElement.createFragment","TemplateElement.setInnerHtml","TextTrackCueList.length","TextTrackCueList.[]","TextTrackCueList.[]=","TextTrackCueList.elementAt","TextTrackList.length","TextTrackList.[]","TextTrackList.[]=","TextTrackList.elementAt","TimeRanges.length","TouchList.length","TouchList.[]","TouchList.[]=","TouchList.elementAt","TrackDefaultList.length","Url.toString","VideoTrackList.length","_CssRuleList.length","_CssRuleList.[]","_CssRuleList.[]=","_CssRuleList.elementAt","_DomRect.toString","_DomRect.==","_DomRect.hashCode","_DomRect._height","_DomRect.height","_DomRect._width","_DomRect.width","_GamepadList.length","_GamepadList.[]","_GamepadList.[]=","_GamepadList.elementAt","_NamedNodeMap.length","_NamedNodeMap.[]","_NamedNodeMap.[]=","_NamedNodeMap.elementAt","_SpeechRecognitionResultList.length","_SpeechRecognitionResultList.[]","_SpeechRecognitionResultList.[]=","_SpeechRecognitionResultList.elementAt","_StyleSheetList.length","_StyleSheetList.[]","_StyleSheetList.[]=","_StyleSheetList.elementAt","_AttributeMap.forEach","_AttributeMap.keys","_ElementAttributeMap.length","_DataAttributeMap.[]=","_DataAttributeMap.forEach","_DataAttributeMap.keys","_DataAttributeMap.length","_DataAttributeMap._toCamelCase","_DataAttributeMap._toHyphenedName","_DataAttributeMap.forEach.","_DataAttributeMap.keys.","_ElementCssClassSet.readClasses","_ElementCssClassSet.writeClasses","_ElementCssClassSet.length","_ElementCssClassSet.add","_ElementCssClassSet.remove","_ElementCssClassSet.toggle","_ElementCssClassSet._toggle","_EventStreamSubscription.","_Html5NodeValidator.allowsElement","_Html5NodeValidator.allowsAttribute","NodeValidatorBuilder.allowsElement","NodeValidatorBuilder.allowsAttribute","NodeValidatorBuilder.allowsElement.","NodeValidatorBuilder.allowsAttribute.","_SimpleNodeValidator.allowsElement","_SimpleNodeValidator.allowsAttribute","_SimpleNodeValidator.","_TemplatingNodeValidator.allowsAttribute","_TemplatingNodeValidator.","_SvgNodeValidator.allowsElement","_SvgNodeValidator.allowsAttribute","FixedSizeListIterator.moveNext","FixedSizeListIterator.current","_ValidatingTreeSanitizer.sanitizeTree","_ValidatingTreeSanitizer._removeNode","_ValidatingTreeSanitizer._sanitizeUntrustedElement","_ValidatingTreeSanitizer._sanitizeElement","JSArray.toList","_ValidatingTreeSanitizer.sanitizeNode","_ValidatingTreeSanitizer.sanitizeTree.walk","CssClassSetImpl._validateToken","CssClassSetImpl.toString","CssClassSetImpl.toggle","CssClassSetImpl.iterator","CssClassSetImpl.length","CssClassSetImpl.add","CssClassSetImpl.remove","CssClassSetImpl.elementAt","CssClassSetImpl.modify","CssClassSetImpl.add.","FilteredElementList._iterable","WhereIterable.map","FilteredElementList.[]=","FilteredElementList.[]","FilteredElementList.length","FilteredElementList.iterator","FilteredElementList._iterable.","promiseToFuture.","NullRejectionException.toString","LengthList.length","LengthList.[]","LengthList.[]=","LengthList.elementAt","NumberList.length","NumberList.[]","NumberList.[]=","NumberList.elementAt","PointList.length","StringList.length","StringList.[]","StringList.[]=","StringList.elementAt","AttributeClassSet.readClasses","AttributeClassSet.writeClasses","SvgElement.classes","SvgElement.innerHtml","SvgElement.children","SvgElement.createFragment","NodeValidatorBuilder.allowSvg","NodeTreeSanitizer","TransformList.length","TransformList.[]","TransformList.[]=","TransformList.elementAt","AudioBuffer.length","AudioParamMap.[]","AudioParamMap.forEach","AudioParamMap.keys","AudioParamMap.length","AudioParamMap.[]=","AudioParamMap.keys.","AudioTrackList.length","OfflineAudioContext.length","Kind._enumToString","Kind.toString","_MatchPosition._enumToString","Index.find","Index.find.score","Index.find.","IndexItem._scope","initializeSidebars.","_htmlBase.","init.disableSearch","print","init.","Index.fromJson","ListBase.map","_Search.listBox","_Search.moreResults","_Search.searchResults","_Search.initialize","_Search.showSearchResultPage","JsLinkedHashMap.isNotEmpty","_Search.hideSuggestions","_Search.updateSuggestions","_Search.showSuggestions","_Search.updateSuggestions[function-entry$2]","_Search.handleSearch","_Search.handleSearch[function-entry$1$isSearchPage]","_Search.handleSearch[function-entry$1]","_Search.handleSearch[function-entry$1$forceUpdate]","_Search.clearSearch","_Search.setEventListeners","_Search.initialize.","_Search.setEventListeners.","_createSuggestion.","_highlight.","init.toggleDrawerAndOverlay","DART_CLOSURE_PROPERTY_NAME","TypeErrorDecoder.noSuchMethodPattern","TypeErrorDecoder.notClosurePattern","TypeErrorDecoder.nullCallPattern","TypeErrorDecoder.nullLiteralCallPattern","TypeErrorDecoder.undefinedCallPattern","TypeErrorDecoder.undefinedLiteralCallPattern","TypeErrorDecoder.nullPropertyPattern","TypeErrorDecoder.nullLiteralPropertyPattern","TypeErrorDecoder.undefinedPropertyPattern","TypeErrorDecoder.undefinedLiteralPropertyPattern","_AsyncRun._scheduleImmediateClosure","Utf8Decoder._decoder","Utf8Decoder._decoderNonfatal","_Base64Decoder._inverseAlphabet","_Uri._needsNoEncoding","_hashSeed","_scannerTables","_Html5NodeValidator._allowedElements","CssClassSetImpl._validTokenRE","_htmlBase","setDispatchProperty","JS_INTEROP_INTERCEPTOR_TAG","init_closure","fromTearOff","StaticClosure","BoundClosure","forwardCallTo","_computeSignatureFunctionNewRti","LateError","TypeError","objectTypeName","_objectTypeNameNewRti","Object","iterableToFullString","StringBuffer","toStringVisiting","_writeAll","ArrayIterator","","safeToString","Closure","_Record","_computedFieldKeys","allocateGrowable","from","JSArray","markFixedList","ListIterator","withLength","IndexError","value","AudioParamMap_keys_closure","_empty","LinkedHashMapCell","JsLinkedHashMap","mapToString","MapBase_mapToString_closure","MapBase","_identityHashCodeProperty","hash","combine","finish","eval","create","parse","handleDigit","handleIdentifier","toType","_lookupGenericFunctionParameterRti","_lookupTerminalRti","handleTypeArguments","handleExtendedOperations","_lookupStarRti","_lookupQuestionRti","_lookupFutureOrRti","handleArguments","toTypes","toTypesNamed","collectArray","_FunctionParameters","_lookupFunctionRti","_lookupRecordRti","_canonicalRecipeJoin","Rti","_installTypeTests","_canonicalRecipeJoinNamed","_createFutureOrRti","Future","_lookupInterfaceRti","_createQuestionRti","_getQuestionFromStar","_createStarRti","_lookupGenericFunctionRti","_lookupBindingRti","_createGenericFunctionRti","newArrayOrEmpty","indexToType","findRule","_getCanonicalRecipe","evalInEnvironment","LinkedHashMapKeyIterable","iterableToShortString","checkNotNegative","range","RangeError","RtcStatsReport_keys_closure","MidiOutputMap_keys_closure","MidiInputMap_keys_closure","Storage_keys_closure","FixedSizeListIterator","initNativeDispatchFlag","_JS_INTEROP_INTERCEPTOR_TAG","getTagFunction","dispatchRecordsForInstanceTags","interceptorsForUncacheableTags","alternateTagFunction","JavaScriptIndexingBehavior","prototypeForTagFunction","initHooks_closure","_CyclicInitializationError","evalRecipe","forwardInterceptedCallTo","cspForwardCall","receiverOf","_interceptorFieldNameCache","_computeFieldNamed","_receiverFieldNameCache","cspForwardInterceptedCall","interceptorOf","RuntimeError","_Exception","forType","_TypeError","compose","findErasedType","bind","fromMessage","_getFutureFromFutureOr","_isUnionOfFunctionType","List","init_disableSearch","MappedListIterable","ListBase","IndexItem","Index","ListIterable","of","EnclosedBy","Iterable","CastIterator","EfficientLengthIterable","_EfficientLengthCastIterable","CastList","_current","_wrapJsFunctionForAsync_closure","_StreamIterator","ExceptionAndStackTrace","_StackTrace","NullThrownFromJavaScriptException","NullError","UnknownJsTypeError","StackOverflowError","extractPattern","TypeErrorDecoder","provokePropertyErrorOn","provokeCallErrorOn","_awaitOnObject_closure","_Future","_FutureListener","_Future__addListener_closure","_AsyncCallbackEntry","_lastCallback","_nextCallback","_isInCallbackLoop","_lastPriorityCallback","_initializeScheduleImmediate","_AsyncRun__initializeScheduleImmediate_internalCallback","_AsyncRun__initializeScheduleImmediate_closure","_TimerImpl_internalCallback","_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback","_AsyncRun__scheduleImmediateJsOverride_internalCallback","_RootZone_bindCallbackGuarded_closure","_rootHandleError_closure","throwWithStackTrace","_throw","_propagateToListeners","_Future__propagateToListeners_handleWhenCompleteCallback","_Future__propagateToListeners_handleValueCallback","_Future__propagateToListeners_handleError","_chainCoreFutureSync","_Future__prependListeners_closure","defaultStackTrace","_Future__propagateToListeners_handleWhenCompleteCallback_closure","_AsyncAwaitCompleter","_Future__asyncCompleteError_closure","_chainCoreFutureAsync","_Future__chainForeignFuture_closure","_Future__chainCoreFutureAsync_closure","_Future__asyncCompleteWithValue_closure","_Search_initialize_closure","_suggestionLimit","_suggestionLength","_containerMap","MappedIterator","EfficientLengthMappedIterable","_createSuggestion_closure","_defaultValidator","NodeValidatorBuilder","_defaultSanitizer","_ValidatingTreeSanitizer","_parseDocument","_parseRange","_ValidatingTreeSanitizer_sanitizeTree_walk","_safeTagName","_ElementAttributeMap","NodeValidatorBuilder_allowsAttribute_closure","_attributeValidators","NodeValidatorBuilder_allowsElement_closure","_LinkedHashSet","_newHashTable","_LinkedHashSetCell","_TemplatingNodeValidator_closure","_SimpleNodeValidator_closure","WhereIterable","WhereIterator","_SameOriginUriPolicy","FilteredElementList","_ChildNodeListLazy","_addAll","FilteredElementList__iterable_closure","Element","_SvgNodeValidator","html","Element_Element$html_closure","noElement","tooMany","_highlight_closure","_AllMatchesIterator","checkValidRange","_MatchImplementation","makeNative","JSSyntaxRegExp","AttributeClassSet","_skipLeadingWhitespace","_skipTrailingWhitespace","_isWhitespace","CssClassSetImpl_add_closure","_ElementCssClassSet","_literal","_Search_setEventListeners_closure","_DataAttributeMap","_DataAttributeMap_keys_closure","filled","growable","fixed","markFixed","_DataAttributeMap_forEach_closure","Index_find_score","Index_find_closure","_Record_2_item_matchPosition","_Record2","_parse","_SimpleUri","_makeScheme","_fail","_makeUserInfo","_makeHost","parseInt","_makePort","_makePath","_makeQuery","_makeFragment","_internal","_defaultPort","splitQueryString","UnmodifiableMapView","Uri_splitQueryString_closure","_uriDecode","CodeUnits","_hexCharPairToByte","_convertIntercepted","_Utf8Decoder","_makeUint8List","errorDescription","stringFromCharCode","fromCharCodes","stringFromNativeUint8List","_convertInterceptedUint8List","_useTextDecoder","Utf8Decoder__decoder_closure","Utf8Decoder__decoderNonfatal_closure","_throwUnmodifiable","_Uri","_normalizeOrSubstring","_normalize","_normalizeEscape","_escapeChar","_Uri__makeQuery_closure","_Uri__makeQuery_writeParameter","_uriEncode","_Utf8Encoder","_normalizePath","_normalizeRelativePath","_removeDotSegments","_mayContainDotSegments","_escapeScheme","_isAlphabeticCharacter","_checkZoneID","_normalizeZoneID","parseIPv6Address","_normalizeRegName","Uri_parseIPv6Address_error","Uri_parseIPv6Address_parseHex","_parseIPv4Address","Uri__parseIPv4Address_error","_canonicalizeScheme","_createTables_build","_createTables_setChars","_createTables_setRange","_DataUri","UriData","_checkPadding","_create1","_of","_JsonMap","_JsonMapKeyIterable","_AsyncCompleter","promiseToFuture_closure","NullRejectionException","_htmlBase_closure","init_toggleDrawerAndOverlay","getString","initializeSidebars_closure","request","HttpRequest_getString_closure","HttpRequest_request_closure","_EventStreamSubscription_closure","objectAssign","JS_CONST","Interceptor","TrustedGetRuntimeType","JSBool","Null","JSNull","JavaScriptObject","LegacyJavaScriptObject","PlainJavaScriptObject","UnknownJavaScriptObject","Function","JavaScriptFunction","JavaScriptBigInt","JavaScriptSymbol","JSUnmodifiableArray","double","num","JSNumber","int","JSInt","JSNumNotInt","String","JSString","_CastIterableBase","_CastListBase","SentinelValue","FixedLengthListMixin","UnmodifiableListMixin","UnmodifiableListBase","Map","ConstantMap","ConstantStringMap","StackTrace","Closure0Args","Closure2Args","TearOffClosure","RegExpMatch","Match","NativeByteBuffer","NativeTypedData","NativeByteData","NativeTypedArray","NativeTypedArrayOfDouble","NativeTypedArrayOfInt","NativeFloat32List","NativeFloat64List","NativeInt16List","NativeInt32List","NativeInt8List","NativeUint16List","NativeUint32List","NativeUint8ClampedList","Uint8List","NativeUint8List","_Error","Error","_Completer","_Zone","_RootZone","_UnmodifiableMapMixin","MapView","Set","SetBase","_SetBase","Base64Codec","Base64Encoder","Codec","Converter","Encoding","HtmlEscapeMode","HtmlEscape","JsonCodec","JsonDecoder","Utf8Codec","Utf8Encoder","Utf8Decoder","_Enum","OutOfMemoryError","_StringStackTrace","Uri","HtmlElement","AbortPaymentEvent","AbsoluteOrientationSensor","AccessibleNodeList","AnchorElement","AnimationEffectReadOnly","AreaElement","AudioElement","BaseElement","Blob","BodyElement","CDataSection","CharacterData","CompositionEvent","CssCharsetRule","CssImageValue","CssMatrixComponent","CssPerspective","CssResourceValue","CssRule","CssStyleDeclaration","CssStyleDeclarationBase","CssStyleSheet","CssStyleValue","CssTransformComponent","CssTransformValue","CssUnparsedValue","CssurlImageValue","DataTransferItemList","Document","DocumentFragment","DomException","DomRectList","Rectangle","DomRectReadOnly","DomStringList","DomTokenList","bool","Node","Event","EventTarget","ExtendableEvent","File","FileList","FileWriter","FormElement","Gamepad","History","HtmlCollection","HtmlDocument","HtmlFormControlsCollection","HttpRequest","ProgressEvent","HttpRequestEventTarget","HttpRequestUpload","InputElement","KeyboardEvent","KeyframeEffect","KeyframeEffectReadOnly","Location","MathMLElement","MediaElement","MediaList","MidiInputMap","MidiOutputMap","MimeType","MimeTypeArray","NodeList","OrientationSensor","Plugin","PluginArray","RtcStatsReport","SelectElement","Sensor","ShadowRoot","SourceBuffer","SourceBufferList","SpeechGrammar","SpeechGrammarList","SpeechRecognitionResult","Storage","StyleSheet","TableElement","TableRowElement","TableSectionElement","TemplateElement","Text","TextAreaElement","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TimeRanges","Touch","TouchList","TrackDefaultList","UIEvent","Url","VideoTrackList","VttCue","XmlDocument","_Attr","_CssRuleList","_DomRect","_GamepadList","_NamedNodeMap","_ResourceProgressEvent","_SpeechRecognitionResultList","_StyleSheetList","_AttributeMap","EventStreamProvider","NodeValidator","ImmutableListMixin","CssClassSetImpl","AElement","GraphicsElement","Length","LengthList","Number","NumberList","PointList","ScriptElement","StringList","SvgElement","Transform","TransformList","AudioBuffer","AudioContext","AudioParamMap","AudioTrackList","BaseAudioContext","OfflineAudioContext","Kind","_MatchPosition","__CastListBase&_CastIterableBase&ListMixin","_NativeTypedArrayOfDouble&NativeTypedArray&ListMixin","_NativeTypedArrayOfDouble&NativeTypedArray&ListMixin&FixedLengthListMixin","_NativeTypedArrayOfInt&NativeTypedArray&ListMixin","_NativeTypedArrayOfInt&NativeTypedArray&ListMixin&FixedLengthListMixin","_UnmodifiableMapView&MapView&_UnmodifiableMapMixin","_CssStyleDeclaration&JavaScriptObject&CssStyleDeclarationBase","_DomRectList&JavaScriptObject&ListMixin","_DomRectList&JavaScriptObject&ListMixin&ImmutableListMixin","_DomStringList&JavaScriptObject&ListMixin","_DomStringList&JavaScriptObject&ListMixin&ImmutableListMixin","_FileList&JavaScriptObject&ListMixin","_FileList&JavaScriptObject&ListMixin&ImmutableListMixin","_HtmlCollection&JavaScriptObject&ListMixin","_HtmlCollection&JavaScriptObject&ListMixin&ImmutableListMixin","_MidiInputMap&JavaScriptObject&MapMixin","_MidiOutputMap&JavaScriptObject&MapMixin","_MimeTypeArray&JavaScriptObject&ListMixin","_MimeTypeArray&JavaScriptObject&ListMixin&ImmutableListMixin","_NodeList&JavaScriptObject&ListMixin","_NodeList&JavaScriptObject&ListMixin&ImmutableListMixin","_PluginArray&JavaScriptObject&ListMixin","_PluginArray&JavaScriptObject&ListMixin&ImmutableListMixin","_RtcStatsReport&JavaScriptObject&MapMixin","_SourceBufferList&EventTarget&ListMixin","_SourceBufferList&EventTarget&ListMixin&ImmutableListMixin","_SpeechGrammarList&JavaScriptObject&ListMixin","_SpeechGrammarList&JavaScriptObject&ListMixin&ImmutableListMixin","_Storage&JavaScriptObject&MapMixin","_TextTrackCueList&JavaScriptObject&ListMixin","_TextTrackCueList&JavaScriptObject&ListMixin&ImmutableListMixin","_TextTrackList&EventTarget&ListMixin","_TextTrackList&EventTarget&ListMixin&ImmutableListMixin","_TouchList&JavaScriptObject&ListMixin","_TouchList&JavaScriptObject&ListMixin&ImmutableListMixin","__CssRuleList&JavaScriptObject&ListMixin","__CssRuleList&JavaScriptObject&ListMixin&ImmutableListMixin","__GamepadList&JavaScriptObject&ListMixin","__GamepadList&JavaScriptObject&ListMixin&ImmutableListMixin","__NamedNodeMap&JavaScriptObject&ListMixin","__NamedNodeMap&JavaScriptObject&ListMixin&ImmutableListMixin","__SpeechRecognitionResultList&JavaScriptObject&ListMixin","__SpeechRecognitionResultList&JavaScriptObject&ListMixin&ImmutableListMixin","__StyleSheetList&JavaScriptObject&ListMixin","__StyleSheetList&JavaScriptObject&ListMixin&ImmutableListMixin","_LengthList&JavaScriptObject&ListMixin","_LengthList&JavaScriptObject&ListMixin&ImmutableListMixin","_NumberList&JavaScriptObject&ListMixin","_NumberList&JavaScriptObject&ListMixin&ImmutableListMixin","_StringList&JavaScriptObject&ListMixin","_StringList&JavaScriptObject&ListMixin&ImmutableListMixin","_TransformList&JavaScriptObject&ListMixin","_TransformList&JavaScriptObject&ListMixin&ImmutableListMixin","_AudioParamMap&JavaScriptObject&MapMixin","_compareAny","addRules","addErasedTypes","_scheduleImmediateJsOverride","_scheduleImmediateWithSetImmediate","_scheduleImmediateWithTimer","_standardAttributeValidator","_uriAttributeValidator","_#fromMap#tearOff","noSuchMethodPattern","notClosurePattern","nullCallPattern","nullLiteralCallPattern","undefinedCallPattern","undefinedLiteralCallPattern","nullPropertyPattern","nullLiteralPropertyPattern","undefinedPropertyPattern","undefinedLiteralPropertyPattern","_scheduleImmediateClosure","_decoder","_decoderNonfatal","_inverseAlphabet","_needsNoEncoding","_allowedElements","_validTokenRE","ByteBuffer","ByteData","Float32List","Float64List","Int16List","Int32List","Int8List","Uint16List","Uint32List","Uint8ClampedList","Record","$intercepted$toString0$IJavaScriptBigIntJavaScriptFunctionJavaScriptSymbolLegacyJavaScriptObjectabnsux","getInterceptor$","$intercepted$get$iterator$ax","getInterceptor$asx","$intercepted$get$length$asx","$intercepted$forEach1$ax","$intercepted$$eq$Iux","getInterceptor$x","$intercepted$get$hashCode$IJavaScriptBigIntJavaScriptSymbolLegacyJavaScriptObjectabnsux","$intercepted$__$asx","$intercepted$get$runtimeType$Ibdinsux","$intercepted$cast10$ax","search_IndexItem___fromMap_tearOff$closure","$intercepted$elementAt1$ax","async___startMicrotaskLoop$closure","async__AsyncRun__scheduleImmediateJsOverride$closure","async__AsyncRun__scheduleImmediateWithSetImmediate$closure","async__AsyncRun__scheduleImmediateWithTimer$closure","$intercepted$get$classes$x","$intercepted$set$innerHtml$x","$intercepted$_clearChildren0$x","$intercepted$remove0$x","$intercepted$get$attributes$x","$intercepted$toLowerCase0$s","html__Html5NodeValidator__standardAttributeValidator$closure","html__Html5NodeValidator__uriAttributeValidator$closure","$intercepted$get$innerHtml$x","$intercepted$trim0$s","$intercepted$_replaceChild2$x","_interceptors_JSArray__compareAny$closure","$intercepted$compareTo1$ns","$intercepted$___$ax","$intercepted$replaceWith1$x","$intercepted$addEventListener2$x","$intercepted$addEventListener3$x","getInterceptor$ax","getInterceptor$s","getInterceptor$ns","toString","allowsAttribute","where","createFragment","addEventListener","width","height","dart:html#_height","dart:html#_width","moveNext","current","dart:_js_helper#_toString","dart:_js_helper#_fieldKeys","dart:_js_helper#_getFieldValues","dart:_js_helper#_computeFieldKeys","dart:_rti#_eval","dart:core#_errorName","dart:core#_errorExplanation","invalidValue","length","elementAt","keys","forEach","dart:_js_helper#_newHashTable","dart:_js_helper#_addHashTableEntry","internalComputeHashCode","dart:_js_helper#_newLinkedCell","internalFindBucketIndex","dart:_js_helper#_modified","dart:_rti#_bind","internalGet","hashCode","iterator","dart:html#_addEventListener","then","decode","queryParameters","find","first","initialize","dart:core#_enumToString","dart:_internal#_source","registerBinaryCallback","completeError","dart:_interceptors#_shrOtherPositive","matchTypeError","dart:_interceptors#_shrBothPositive","complete","dart:async#_thenAwait","dart:async#_addListener","dart:async#_cloneResult","bindCallbackGuarded","runGuarded","dart:async#_reverseListeners","dart:async#_removeListeners","dart:async#_setChained","dart:async#_prependListeners","matchesErrorTest","handleError","stackTrace","runBinary","runUnary","run","dart:async#_completeError","dart:async#_asyncCompleteError","dart:async#_setErrorObject","dart:async#_asyncComplete","dart:async#_chainFuture","dart:async#_completeWithValue","dart:async#_chainForeignFuture","dart:async#_asyncCompleteWithValue","add","replaceWith","listBox","setEventListeners","contains","convert","handleSearch","showSearchResultPage","hideSuggestions","updateSuggestions","sublist","clear","searchResults","values","moreResults","classes","innerHtml=","setInnerHtml","sanitizeTree","sanitizeNode","dart:html#_sanitizeUntrustedElement","dart:html#_removeNode","dart:html#_sanitizeElement","allowsElement","any","allowsUri","dart:collection#_addHashTableEntry","dart:collection#_add","dart:collection#_computeHashCode","dart:collection#_newLinkedCell","dart:collection#_findBucketIndex","dart:collection#_modified","dart:collection#_contains","addAll","dart:html_common#_iterable","single","startsWith","substring","dart:_js_helper#_execGlobal","end","dart:_js_helper#_nativeGlobalVersion","readClasses","dart:html_common#_validateToken","modify","writeClasses","join","replace","dart:core#_text","dart:convert#_convert","dart:html#_toHyphenedName","clearSearch","remove","round","dart:html#_toCamelCase","dart:collection#_removeHashTableEntry","dart:collection#_remove","dart:collection#_unlinkCell","sort","dart:_interceptors#_replaceSomeNullsWithUndefined","isNegative","package:dartdoc/src/search.dart#_scope","uri","replaceRange","scheme","hasAuthority","userInfo","host","port","path","hasQuery","query","hasFragment","fragment","hasPort","dart:core#_computeScheme","fold","indexOf","convertGeneral","dart:convert#_convertRecursive","dart:_interceptors#_tdivFast","decodeGeneral","dart:_interceptors#_tdivSlow","dart:_js_helper#_keys","containsKey","dart:_interceptors#_shrReceiverPositive","dart:convert#_fillBuffer","dart:convert#_writeReplacementCharacter","dart:convert#_writeSurrogate","last","fillRange","normalize","decoder","dart:convert#_computeKeys","dart:convert#_upgrade","dart:convert#_process","toggle","open","bindUnaryCallbackGuarded","runUnaryGuarded","runtimeType","cast","compareTo","toLowerCase","trim","call","attributes","dart:html#_clearChildren","dart:html#_replaceChild","$add","$index","$indexSet","$mul","$mod","$eq","_","instanceTypeName","constructorNameFallback","objectToHumanReadableString","interceptorFieldName","receiverFieldName","_rtiEval","propertyGet","start","write","_setPrecomputed1","_lookupFutureRti","asString","asBool","allocate","_setRequiredPositional","_setOptionalPositional","_setNamed","asRti","instanceOf","_getRti","_instanceFunctionType","_getRuntimeTypeOfArrayAsRti","_setCachedRuntimeType","_rtiBind","_getKind","_setSpecializedTestResource","_recordSpecializedIsTest","_setIsTestFunction","_setAsCheckFunction","isSubtype","_getSpecializedTestResource","_isCheck","_getReturnType","_getPrimary","_getGenericFunctionParameterIndex","unmangleGlobalNameIfPreservedAnyways","_lookupErasedRti","_parseRecipe","_getEvalCache","_setEvalCache","_getBindCache","_setBindCache","_createTerminalRti","_setKind","_setCanonicalRecipe","_canonicalRecipeOfStar","_recipeJoin","_setPrimary","_canonicalRecipeOfQuestion","_canonicalRecipeOfFutureOr","_createGenericFunctionParameterRti","_canonicalRecipeOfInterface","_createInterfaceRti","_setRest","arrayConcat","_canonicalRecipeOfBinding","_recipeJoin5","_createBindingRti","_canonicalRecipeOfRecord","_createRecordRti","_canonicalRecipeOfFunction","_canonicalRecipeOfFunctionParameters","_createFunctionRti","_canonicalRecipeOfGenericFunction","_recipeJoin4","charCodeAt","toGenericFunctionParameter","_lookupDynamicRti","_lookupVoidRti","pushStackFrame","push","setPosition","handleOptionalGroup","arraySplice","handleNamedGroup","collectNamed","handleStartRecord","isDigit","evalTypeVariable","_lookupNeverRti","_lookupAnyRti","stringLessThan","lookupSupertype","_getInterfaceTypeArguments","_getRest","_createTimer","_future","future","_setValue","_isChained","_chainSource","_hasError","_error","handleUncaughtError","handlesValue","_zone","handlesComplete","shouldChain","_isComplete","_removeListeners","_cloneResult","_setErrorObject","_scheduleImmediate","tryParse","makeListFixedLength","_stringFromUint8List","isEmpty","_writeOne","hasMatch","checkString","encode","writeCharCode","fromCharCode","_objectToString","writeAll","hash2","hash3","hash4","_startsWithData","notSimple","_writeString","_isZoneIDChar","_isRegNameChar","_isGeneralDelimiter","_isSchemeCharacter","_isUnreservedChar","isNotEmpty","codeUnits","nodes","listen","_tryResume","_hiddenAnchor","allowedElements","allowedAttributes","allowedUriAttributes","map","isJavaScriptSimpleObject","fromMap","[]","getAttribute","dataset","_attr","fetch","suggestionElements","suggestionsInfo","setAttribute","innerHtml","[]=","replaceAllMapped","splitMapJoin","fieldADI","compare","getRuntimeTypeOfInterceptorNotArray","castFrom","checkGrowable","checkMutable","listToString","stringReplaceRangeUnchecked","_containsTableEntry","_getBucket","internalSet","unmodifiable","_equalFields","_isMultiLine","group","isUnicode","_isUnicode","_isTrailSurrogate","_mayComplete","_completeError","hasErrorTest","_errorTest","thenAwait","_mayAddListener","_setError","handleWhenComplete","_whenCompleteAction","handleValue","_onValue","hasErrorCallback","_onError","setToString","_isUpgraded","parseHexByte","withBufferSize","_combineSurrogatePair","_isLeadSurrogate","convertSingle","extractStackTrace","decodeQueryComponent","_initializeText","_writeAuthority","encodeQueryComponent","_computeUri","_isHttp","_isHttps","_isFile","_isPackage","left","top","common","_validators","allowHtml5","allowTemplating","head","_canBeUsedToCreateContextualFragment","_cannotBeUsedToCreateContextualFragment","_getItem","_matches","_strip","_classListLength","_add","_remove","_toggle","_toggleDefault","toList","_toListGrowable","_removeNode","_filtered","children","allowSvg","-","printToConsole","fromJson","jsonDecode","FetchResponseExtension|get#text","removeSelectedElement","showSuggestions","showEnterMessage","scrollTop","scrollHeight","offsetTop","offsetHeight","scrollIntoView","provokeCallErrorOnNull","provokeCallErrorOnUndefined","provokePropertyErrorOnNull","provokePropertyErrorOnUndefined","fromList","identityHashCode","patchInstance"], - "mappings": "A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqEUA,uBACKA,KACTA,OAUJA,yCAPAA;AADEA,OANFA,yCAOAA,C;EC2CEC,IAAwBA;AAM1BA,QAAgBA,QAIlBA;AAHgBA;AACdA,iBAAgCA,WAElCA;AADEA,QACFA,C;EAuDaC,MACSA;AACAA;AAClBA,cACFA,C;EAEWC,IACSA;AACXA;AACPA,kCACFA,C;EA6iBAC,QAIAA,QACFA,C;EAwSKC,IACHA;OAAoBA,GAAiBA,YAArCA,gBAAoBA,GACIA,IAAsBA,QAGhDA;AADEA,QACFA,C;EC5rBUC,UACOA,YACXA,OAsBJA,2CAnBAA;AADEA,OAGFA,2CAFAA,C;EAiqBkBC,GAAeA,OC3cjCA,sBD2cyDA,C;EAEvCC,GAAaA,OC7c/BA,6BD6c8DA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EE39BjDC,GACXA,UAAMA,sCACRA,C;ECgDKC,8BAEDA;AAAJA,WAAuBA,QAGzBA;AAF+BA,mBAE/BA,C;EAuBKC,MACHA;eAEMA;AAAJA,WAAoBA,QAGxBA,CADEA,OAAcA,QAChBA,C;CAEOC,IACLA;sBAAqBA,QAmBvBA;AAlBEA,uBACEA,SAEEA,UAeNA,MAbSA,UACLA,YAYJA;KAXSA,UACLA,aAUJA;KATSA,WACLA,YAQJA;AANeA;AAKbA,QACFA,C;EA+HaC,aAELA;;GAEAA;AAAJA;OAIAA,QACFA,C;EAKYC,MAONA;AAAJA,WAIEA,QA0DJA;GAxDyBA;AACvBA,YACEA,WAEEA,qBAoDNA;IAlDQA,UAEFA,qBAgDNA;AA9CIA,QA8CJA,CAxCEA,aACEA,UAAUA;AAEZA,mBAEEA,qBAmCJA;AA/BEA;;OAqBiCA,YAA/BA,QACsBA,0BAElBA,QAORA,CADEA,oBACFA,C;EAgEcC,IACZA,OAAOA,OACTA,C;EAOcC,IACRA;ACkaCA,iBDhaoCA,GACvCA,WC8ZMA,aD1XVA;AAjCoBA;AAGPA,+BAkBgBA,GE1MzBA;AF0MAA,wBAAwCA,QAY5CA;GAV6CA;AAAzCA,4BAEMA;AAAJA,4CAEEA,QAMRA,EADEA,OC4XKA,IADGA,aD1XVA,C;EAecC,IACkCA,wCAC5CA,OAAOA,OAcXA;AAZEA,sBACEA,wBAWJA;AAPWA,qBAAPA,aAOJA;AAJWA,qBAAPA,eAIJA;AADEA,sBAvBcA,WAwBhBA,C;EAyFcC,QAGZA;uBAAuDA,QACrDA,wCAcJA;AAXEA,sBACkBA;AAOZA;mDAENA,QACFA,C;EAEcC,IACZA;SACEA,YACEA,6BAYNA;AATIA,eACaA;AAGXA,4BADqBA,qCAM3BA,EADEA,UAAUA,2BACZA,C;EAoeIC,MACJA;YAAmBA,OFp5BnBA,oBE+5BFA;AAVyBA;AAIvBA,aACEA,OAAWA,YAKfA;AADEA,OAAWA,SACbA,C;EAKMC,QAIJA,OACEA,OAAWA,uBAYfA;AAVEA,WAIEA,YACEA,OAAWA,qBAKjBA;AADEA,OFp7BAA,wBEq7BFA,C;EAOcC,IACZA,OF77BAA,uBE87BFA,C;CAiCAC,IAEEA,OAAOA,KAA2BA,cACpCA,C;EAGAC,MACEA;WFjiCIA;;;AEqiCJA;eAqBOC;AAPPD,QACFA,C;EAGAC,GAGEA,+BACFA,C;EAOMC,UAEqBA,MAC3BA,C;EAEMC,YACqBA,SAC3BA,C;EA2BAC,IACEA,UAAUA,QACZA,C;EAqJSC,IAA+BA;AAc1BA,OAAqBA;AAO3BA;AAAJA,WAA2BA;AA2BvBA;AAAWA;AAAeA;AAAMA;AAAQA;AAD5CA,OArHFA,mRAsHwDA,4EACxDA,C;EAMcC,IAmDZA,OAA8BA;mEAChCA,C;EAkCcC,IASZA,OAA8BA,mEAChCA,C;EAiDAC;sCAGuEA,C;EA+ClEC,IAGLA,WACEA,OA7BFA,WA2CFA;AAVWA,qBAAPA,eAA6BA,GAUjCA;AANEA,uBAA6CA,QAM/CA;AAJEA,wBACEA,OAAOA,uBAGXA;AADEA,OAAOA,OACTA,C;EAKOC,MACKA,gBAEJA;AAINA,QACFA,C;EAEOC,IACLA;qBACEA,QAsGJA;GA9EwCA;gDATlBA;;AACMA,4BAKtBA,mBAEIA,OAAOA,OACCA,KAAsBA,2BA8ExCA;mBA1E8BA;AADpBA,OAAOA,OA9HfA,+BAyMFA,EArEEA,2BAE8BA;AACMA;AACFA;AACOA;AACNA;AACOA;AACJA;AACOA;AACNA;AACOA;AAC/BA;AAAbA,WACEA,OAAOA,OAAmBA,UAwDhCA;KAvDwBA;AAAbA,YAMEA;AAAPA,cAA0BA,UAiDhCA,MAhDwBA;AAAbA,YACMA;AADNA,YAEMA;AAFNA,YAGMA;AAHNA,YAIMA;AAJNA,YAKMA;AALNA,YAMMA;AANNA,YAOMA;AAPNA,eAxJOA;AAwJPA,KAQLA,OAAOA,OAjKXA,+BAyMFA,EAlCIA,OAAOA,OAvITA,kCAyKFA,CA9BEA,gFAEIA,OF9oCEA,UE0qCRA;yDApBQA;AAGJA,OAAOA,OFlkDTA,qEEmlDFA,CAbEA,gEAIEA,gDACEA,OFlqCEA,UE0qCRA;AADEA,QACFA,C;EAqBWC,IACTA;qBACEA,QAAiBA,EAOrBA;AALEA,WAAuBA,OAUvBA,WALFA;GAHMA;AAAJA,WAAmBA,QAGrBA;AADEA,sBAMAA,WALFA,C;EAwBIC,IAEFA,WAAoBA,OAAcA,OAMpCA;AALEA,sBACEA,OAAkBA,OAItBA;AADEA,OAAcA,OAChBA,C;EAsBAC;AAKEA,iBACoCA;AACEA;AACpCA,OAAOA,KAAOA,KAEhBA,QACFA,C;EAuCAC,cAEEA,iBAEIA,OAAOA,MAWbA;OATMA,OAAOA,OASbA;OAPMA,OAAOA,SAObA;OALMA,OAAOA,WAKbA;OAHMA,OAAOA,aAGbA,CADEA,UGl4DAC,gEHm4DFD,C;EAIAE,MACEA;WAAqBA,WAMvBA;GAJyBA;AAAvBA,OAAkCA,QAIpCA;AAHaA;;AAEXA,QACFA,C;EAEAC,MAOUA;AACRA;;;;;;;;;;QAYIA,OAAJA,WACEA,gBA0BJA;AAXEA,iFAWFA,C;EA4BSC,iCAmC6BA,QAmClBA,QAmCoBA,QAAeA,iBAxEtBA,QACKA,OACWA,OAkFfA,QAlB4BA;EAzDWA;kBAib7DA,gDAgCVA;;;;;;;;AApZEA;KAEMA;;AAWgBA,KAJlBA;;AAOJA,eAAgCA,QAAhCA,QAIMA;AAAJA;AAWsBA;AAAUA,SAZzBA;GASHA;AAAJA,YACEA,KAEMA;OAIRA;OAW2CA;OAMzCA;AAEJA,QACFA,C;EAEOC,QAELA,sBAEEA,QAoBJA;AAlBEA,uBAEEA,KAEEA;AAGFA,iEAWJA,CADEA,6CACFA,C;EAEOC;AAiBLA,sBAEIA,iEAuENA;OA7DMA,mEA6DNA;OAnDMA,uEAmDNA;OAzCMA,2EAyCNA;OA/BMA,+EA+BNA;OArBMA,mFAqBNA;QAVMA,+EAUNA,E;EAIOC,UAELA;KACEA,OAAOA,WA4BXA;GAzBoCA;AACzBA;AAAPA,QAwBJA,C;EAEOC;AAMLA,sBAIIA,UAwZNA;OAtZMA,4EA+ENA;OApEMA,+EAoENA;OAzDMA,mFAyDNA;OA9CMA,uFA8CNA;OAnCMA,2FAmCNA;OAxBMA,+FAwBNA;QAbMA;;kCAaNA,E;EAEOC,QAEEA;IA8ILA,UAA+BA;IAJ/BA,UAA4BA;GArIIA;AACzBA;AAAPA,QAwBJA,C;EAwBFC,IACEA,OAAeA,OACjBA,C;EAoESC,MACLA,OCviEeC,oBA2BDD,MD4gEuBA,MACvCA,C;EAIOE,IAAoCA,QAAQA,EAASA,C;EAIrDC,IAAuCA,QAAQA,EAAYA,C;EAYpDC,IA/CdA,iDAiDsBA;OAEMA,YAA1BA,YACaA;YAETA,QAINA,CADEA,UAAMA,yCACRA,C;EA4IGC,IACHA,UAaAA,YAZFA,C;EAoEOC,IAELA,yBACFA,C;EE7rFKC,6FAQLA,C;EAoEAC,IAE6BA,iBAAdA,aAIYA,GACrBA;AAAJA;AAAoBA,UAmEtBA,IAlEgCA,GAC1BA;AAAJA,WAAyBA,QAiE3BA;qBA5DMA;AAAJA,YACuCA,GAApBA;AACjBA,eAGuBA,GACjBA;AAAJA;AAAoBA,UAsD1BA,IArDgCA,GACtBA;AAAJA,WAAyBA,QAoD/BA;;KA9CEA,WAQEA,WAsCJA;GA9BoCA;GAD9BA;AAAJA,YACWA;CACGA;;AACZA,UA4BJA,CAzBEA,aACcA;AACZA,QAuBJA,CApBEA,YACyBA;sBE3HrBC;AF2HFD,UAmBJA,CAhBEA,WACEA,OAAOA,SAeXA;AAZEA,WAEEA,UAAUA;yBAMaA;sBE1IrBC;AF0IFD,UAIJA,MAFIA,OAAOA,SAEXA,C;EAYAE,MAE+CA;sDAAhCA;AAEbA,QACFA,C;EAEAC,IAGEA,OAAOA,uBACTA,C;EAEAC,eAIkCA;AAAvBA,wBAAPA,cAIJA;KAFIA,OAAOA,mBAEXA,C;EAgBKC,YACSA,IAAwBA,MAGtCA;;AADEA,MACFA,C;EAGKC,GAA6BA;;;AAIhCA;GA/PyBC,AAqQ4CD;;AAErEA;;AAGEA,WAAyBA,QAAzBA,QACYA;AACyBA,GAAvBA;AACZA,YAEeA,UAA+BA;AAC5CA;iBAYNA,WAAyBA,QAAzBA,QAEyCA;4BAEQA;;;;;YAOnDA,C;EAmCKE,GAOiEA,mBAL1CA;AAiBlBA,QACJA,GALIA,MAAsBA,GAFtBA,MADsBA,GAAtBA,MAAsBA,GADtBA,MAAsBA,GADtBA,MAAsBA,GAHtBA,KAAsBA,CAD1BA,IAA+CA;AAqBnDA,2DAE2CA;AAAzCA,wBAGmCA;oBACjCA,2BAE2CA;AAAzCA,wBAoBkBA;;;AATPA;AAEbA;AAEAA,gBACNA,C;EAEAC,MAEEA,OAAwBA,OAC1BA,C;EGhJQC,aAGeA,WAKWA,KAE5BA;AAAJA,WAGEA,WAsBJA;AAnBEA,SACEA,QAkBJA;QAPgBA,QACZA,sBAMJA;AADEA,WACFA,C;EChOSC,uIA0BiCA;AAAtCA,uBAA+CA,QAKjDA;AADEA,UAAUA,+BAA0CA,sBACtDA,C;ECIGC;AAEDA,WAOJA,C;EAgCAC,oCAIIA,8CAGJA;AADEA,QACFA,C;EA8EOC,IAAkCA,QAAMA,C;EAExCC,UDQLC;KCQAD,WDN2BA;WAASA;GA/DgCA;;AE8bnDA,QDxXFA,KAAWA,eCwXTA,IDvXFA;gBCuXEA,QDpXJA,KAAWA;AACxBA,6BACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EEiHKE,IACsBA,QAM3BA,C;EAmiBwBC,IAClBA,uBAA6CA,C;EAy4B9CC,QACHA,mBACEA,UAAMA,UAEVA,C;EASIC,QACFA;;;KAIEA,UAAMA;AAGRA,QACFA,C;;;;;;;;;;;;;;;;;;;;ERhsDaC,MAKOA,OAFZA;AAKJA,gBAdIA,mBAeNA,C;EAEWC,MAosEPA,OAjsEEA;AAIJA,gBAxBIA,iBAstE+DA,MA7rErEA,C;EAqEYC,WAENA;AAAJA,uBACEA,OAAOA,SAGXA;AADEA,qBACFA,C;EAqJcC,IAGZA,WACFA,C;EA0HEC,IASFA,OAAiBA,yBACnBA,C;EAqEIC,mDAEMA;AAARA,6CAMIA,QA6ENA;UAzEgCA;AAAtBA;AACJA,SAAuDA,QAwE7DA;AAvEMA,OAAiBA,YAuEvBA;UAnEgCA;AAAtBA;AACJA,SAAuDA,QAkE7DA;AAjEMA,OAAiBA,YAiEvBA;UA7DgCA;AAAtBA;AACJA,SAAuDA,QA4D7DA;AA3DMA,OAAiBA,YA2DvBA;UAvDoBA;AAD0BA;AAExCA,SAEEA,QAoDRA;AAnDMA,OAAiBA,aAmDvBA;WA/CkDA;AAAtBA;GAGSA;AAA3BA;AACJA,gBACyDA,QA0C/DA;AAzCMA,OAAiBA,WAyCvBA;WApCgCA;AAAtBA;GAIcA;AADdA;AAEJA,gBAEEA,QA6BRA;AA5BMA,OAAiBA,WA4BvBA;WAxBkCA;;AAExBA;GAEwCA;AAAtBA;AACtBA,gBAC+CA,QAkBrDA;AAjBMA,OAAiBA,cAiBvBA;WAXUA;AAAJA,QAAmBA,QAWzBA;IALUA;AAAJA,WAAsBA,QAK5BA;AAJMA,QAINA;QAFMA,UAAMA,wDAEZA,C;EAEQC,UAIkBA,eAAgBA;AACxCA,yBAE6CA;AAAtBA;AACrBA,SACEA;OAIJA,YACFA,C;EAEQC,UAKkBA,mBAAgBA;AACxCA,0BAg2FuDA;GAJNA;GAx1FJA;AAAtBA;AACrBA,SACEA;oBAKJA,YACFA,C;EAEoBC,UAKdA,SAA2BA,sBAIAA,KAA3BA,iBAG2BA,KAA3BA;AACJA,uBAEiDA,QAQnDA;AAtRMC;CAQSD;CAQAA;CAiBAA;AAoPbA,QACFA,C;CAcQE;AAINA,QACFA,C;EAKKC,aAGCA;AAAJA,YACEA,sBACEA,OAAOA,OAabA;AAkxFgDA;AAtxF1CA,QAINA,CADEA,WACFA,C;EAOIC,MACFA;AAAQA,4BAkxF4BC,KA7wFrBD;AACXA,WAAiBA,QAIvBA,CADEA,OAAOA,OACTA,C;EAKIE,IAUOA,iBAyvF2BC,GAzvFlCD,aASJA;oBALIA,OAAOA,OAKXA;AADEA,OAAOA,KADWA,QAEpBA,C;EAIIE,WAqBEA,EA5F2BN;AA4F/BM,WAAiBA,QAUnBA;iCALIA,QAKJA;AADEA,QACFA,C;CAKIC,IAEuCA,OAAlCA;AAAPA,wBACFA,C;EAOIC,WAE0BA,gBACxBA;AAAJA,WAAmBA,QAErBA;AADEA,OAAOA,SACTA,C;EAGIC,0BAsrFkCN,oEAhqFlBM;;AAIlBA,QACFA,C;EASIC,aAEwBA,UACNA;AAApBA,uBA7YiBA;AA4ZVC;AAZLD,QAGJA,CADEA,QACFA,C;EAOKC,IAEHA,YADUA,OAEZA,C;EAyDIC,IACFA;AIz7BgBC,qBJy7BMD,aIz7BeC,IAAQA,OJk8B/CD;AA1FyBA,gBAspFaT;AAnkFpCS,WAAyBA,QAO3BA;AANaA,YAETA,cAA4BA,EAIhCA;oBAF8BA,OAxDlBA,OA0DZA;AADEA,OAAOA,OACTA,C;EAIKE,IAKUA;AAJbA,gBA1yBMC,YA2yBRD,C;EAQME,IAMAA,WA1nBUA;AA0nBdA,SACEA,QA1zBIC,GA61BND,WA9BFA;AAHgCA;AAdjBA;AAebA,gBA7zBMD,YA+zBRC,C;EAEIE,qBAEoBA;AACtBA,SAAiBA,UAcnBA;AAniBmBA,sBAwhBbA,MAAkBA;AAMtBA,gBAthBiBA,wBAuhBeA,MAAkBA;AAGlDA,OAliBiBA,wBAmiBnBA,C;EAGKC,IACHA,OAAOA,KAjhBUA,0BAkhBnBA,C;EAuDKC,IAGCA;AAGKA,WAAPA,qBA0DJA;AAw2EIA,0BACAA;;KADAA;AAh6EFA,KACEA,OAAOA,cAuDXA;GAn8BmDA;AA84BjDA,SACEA,OAAOA,cAoDXA;AA3CEA,SACEA,OAAOA,cA0CXA;;GAn8BmDA;AA85BjDA,SACEA,OAAOA,cAoCXA;;;;;AAhCEA,WACEA,OAAOA,WA+BXA;AA5BEA,aAWgCA;IAJDA,iBAj8BzBA;AAw8BFA,WACEA,OAAOA,cAafA;AAVMA,OAAOA,cAUbA,OANSA,WAkCKA,QAA0BA,IAAiBA;AAhCrDA,OAAOA,wBAIXA,CAFEA,OAAOA,cAETA,C;EAGKC,SA1jCGA;AA4jCNA,aACFA,C;EA8BQC;AAo0EJA,0BACAA;KA1zEAA;;AALFA;;KAK+BA;AAA7BA,aA1mCIA;AAgnCNA,aACFA,C;EAEKC,aAKCA;AAHGA,wCAGEA,SACmBA,uBACIA;KALhCA;KAGSA;KADEA;KADPA;KADJA;QAOFA,C;EAGKC,IAGCA;AACJA,WAAoBA,OAAOA,OAG7BA;AADEA,OA23DOA,mBA53DSA,sBAElBA,C;EAQKC,IACHA,WAAoBA,QAMtBA;AADEA,WAAoBA,OACtBA,C;EAGKC,IAGCA;AACJA,WAAoBA,OAAOA,OAY7BA;GAvkCeA;AAqkCKA,iBAwyEkBrB,GA3yElCqB,YAKJA;AADEA,kBACFA,C;EAIKC,IAGCA;AACJA,WAAoBA,OAAOA,OAoB7BA;AAdEA,sBAAgDA,QAclDA;oBAZ8BA,QAY9BA;GAnmCeA;AAimCKA,iBA4wEkBtB,GA/wElCsB,YAKJA;AADEA,kBACFA,C;EAIQC,IAGFA;AACJA,YAC+BA;AAA7BA,KAAkDA,QAGtDA,gBAF4CA,QAE5CA;AADEA,SACFA,C;EAIQC,IAGFA;AACJA,WACEA,QAGJA;eAF4CA,QAE5CA;AADEA,SACFA,C;EAEKC,MAEHA,UAAiBA,KADOA,OAAgBA,cAE1CA,C;EAqBgBC,MAIZA,OAHiCA,mBAEFA,IADfA,kDAKlBA,C;EAOAC,oCAAqEA,C;CAE7DC,MACNA,OAHFA,uBAGuCA,UACvCA,C;EAaGC;AAGHA,QAzwCwBA,SA2wCZA,2BACdA,C;EAIKC,IACHA,cACFA,C;EAIQC,IACNA,WAA6CA,QAE/CA;AADEA,UAAiBA,gBACnBA,C;EAIKC,IACHA,QACFA,C;EAIQC,IACNA,QACFA,C;EAIKC,IACHA,QACFA,C;EAIKC,IACHA,oBACFA,C;EAMKC,IACHA,UAAoBA,QAGtBA;AAFEA,UAAqBA,QAEvBA;AADEA,UAAiBA,cACnBA,C;EAIMC,IACJA,UAAoBA,QAItBA;AAHEA,UAAqBA,QAGvBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,cACnBA,C;EAIMC,IACJA,UAAoBA,QAItBA;AAHEA,UAAqBA,QAGvBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,eACnBA,C;EAIOC,IACLA,sBAAoBA,QAEtBA;AADEA,UAAiBA,gBACnBA,C;EAIQC,IACNA,sBAAoBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,gBACnBA,C;EAIQC,IACNA,sBAAoBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,iBACnBA,C;EAIKC,IACHA,4CAEFA,C;EAIIC,6CACkBA,QAEtBA;AADEA,UAAiBA,aACnBA,C;EAIKC,6CACiBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,aACnBA,C;EAIKC,6CACiBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,cACnBA,C;EAIKC,IACHA,yBACFA,C;EAIIC,IACFA,sBAAoBA,QAEtBA;AADEA,UAAiBA,aACnBA,C;EAIKC,IACHA,sBAAoBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,aACnBA,C;EAIKC,IACHA,sBAAoBA,QAGtBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,cACnBA,C;EAIKC,IACHA,yBACFA,C;EAIOC,IACLA,sBAAuBA,QAEzBA;AADEA,UAAiBA,gBACnBA,C;EAIQC,IACNA,sBAAuBA,QAGzBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,gBACnBA,C;EAIQC,IACNA,sBAAuBA,QAGzBA;AAFEA,WAAoBA,QAEtBA;AADEA,UAAiBA,iBACnBA,C;EAEOC,MACEA;AACPA,wCAEMA;AAGNA,QACFA,C;EAEOC,yBAQKA,MAEuBA;AAFjCA,UAEEA,UAAaA,aAmBjBA;GAd+CA;AAATA;;AAGpCA,mCACEA;AAEAA,SAAqBA;AAChBA;AACLA,oBAGAA,IAEFA,aACFA,C;EAEOC,WAEEA;AAGPA,iBAQeA;AANbA,aAC2BA;gBAEWA;IAEVA;AAC5BA,gBACEA;+BAKFA,cAEEA,eAAsBA,GAA8BA;IAErCA;GA45DZC;AANLD,wCACAA;;KADAA;AAt5DEA,MAEoBA,yBAItBA,YA3BKA;WAn1CoCE;IAo3CIF;GACGA;;GAGAA;;GAEbA;;AAGbA;AAIxBA,kCAEMA;AAKNA,QACEA;AAEAA,4BAEMA;AAINA,QAGFA,QACEA;AAEAA,8BACEA;UAEEA;AAEeA,4BAMnBA,QAGFA,cAEuCA;YAOvCA,yBACFA,C;CAYOG,yBAGDA;AAAJA,SAA4BA,cA4E9BA;AA3EEA,SAA6BA,eA2E/BA;AA1EEA,SAA0BA,YA0E5BA;AAzEEA,SAA2BA,aAyE7BA;AAxEEA,SAAyBA,WAwE3BA;AAtEEA,UAEaA,OAAaA;AAStBA,QA2DNA,CAvDEA,aAE0BA;AAAbA;GAEPA;AAIJA,sCA+CJA,CA5CEA,SAEEA,kBAAmBA,KAAaA,SA0CpCA;AAvCEA,UAESA,QAAeA;AAUNA,GADZA;AAGJA,QAHcA,iCA4BlBA,CAtBEA,UACEA,OAAOA,SAqBXA;AAlBEA,UACEA,OAAOA,cAiBXA;AAdEA,UAGEA,OAAOA,MAAqBA,MAChBA,GAUhBA;AAPEA,cAngD2CC;AAsgDzCD,QAAOA,EAFqBA,YAMhCA,CADEA,SACFA,C;EAEOE,WStuD4BjJ,AAAAiJ,mBTwuD7BA;AAAJA,WAAuBA,QAEzBA;AADEA,mBACFA,C;EAwKiBC;KAEbA;AAGAA,QACFA,C;EAEWC,8BAGLA;AAAJA,WACEA,OAAOA,YAcXA;KAbSA,uBAGsCA;AAiMtCA;AAjMsBA;AAC3BA;AAGgBA;AAYTC;AAVPD,QAIJA,MAFIA,QAEJA,C;EAKYC,MACRA,mBAA+CA,C;EA2BvCC,MACRA,OAAOA,YAA0CA,C;EAS1CC,QAGLA;AAAJA,WAAmBA,QAIrBA;AA2DoBA,OADGA;;AA3DrBA,QACFA,C;EAEWC,mBA/pDkCA;AAkqD3CA,WAEiCA,GAlqD7BA;AAqqDAA;AAAJA,WAAmBA,QAIrBA;AA6CoBA,OADGA;;AA7CrBA,QACFA,C;EAEWC,qBAzpDkCA;AA2pD3CA,WAEiCA,GA3pD7BA;GA8pD6BA;AAC7BA;AAAJA,WAAmBA,QAUrBA;AAHYA;;AAEVA,QACFA,C;EA6BWC,OAx+DLA;CAIAA;AA4+DJA,QACFA,C;EAmFWC,QAGLA;AAAJA,WAAmBA,QAErBA;AArlEIC;CAsIEC;CAwLAA;AA6xDGF;;AAPPA,QACFA,C;EASWG,QAILA,SAnF8DC;AAmFlED,WAAmBA,QAGrBA;AADqBA;;AADnBA,QAEFA,C;EAEWE,UAETA;SAIMA;AAFAA;KAAJA;KAIEA,QAQNA,CAvnEIJ;CAsIEI;CA6CAA;AAm8DGA,CAxzDHA;AAwzDJA,gBACFA,C;EAEWC,QAKLA,SA/G8DC;AA+GlED,WAAmBA,QAGrBA;AADqBA;;AADnBA,QAEFA,C;EAEWE,UAETA;SAIMA;AAFAA,mCAESA,SAELA;KAFKA;KADTA;KADJA;KAKEA,QAoBNA;uBAjBMA,UAiBNA;KAhBWA,aAE+BA;AAEhCA,IADAA,kBAEFA,QAWRA;KATQA,OAAWA,SASnBA,EAhqEIP;CAsIEO;CA6CAA;AA4+DGA,CAj2DHA;AAi2DJA,gBACFA,C;EAEWC,QAKLA,SAxJ8DC;AAwJlED,WAAmBA,QAGrBA;AADqBA;;AADnBA,QAEFA,C;EAEWE,UAETA;SA1iE+CA;AA2yG/CA,0BACAA;;KADAA;cA9vCIA,QAYNA;KAXWA,SACLA,OAgGFA,gBAtFJA;yBARMA,WAQNA,CA7rEIV;CAsIEU;CA6CAA;AAygEGA,CA93DHA;AA83DJA,gBACFA,C;EAEWC,MAILA;AAAJA,WAAmBA,QAGrBA;AAtsEIX;CAsIEY;CA6CAA;CA2IAA;AAg5DGD;;AAVPA,QAEFA,C;EAWcE;AAGZA,sCAE6CA,GAClBA;AAG3BA,QACFA,C;EAEcC;AAIZA,qCAgvCqDA;GA7uClCA;UAI0BA,KACHA,IAG1CA,QACFA,C;EAaWC,QAEFA;IATHA,UAEEA;AAUFA;AAAJA,WAAmBA,QAGrBA;AAlwEIf;CAsIEgB;CA6CAA;CAeAA;IAykEAD,WA7sEAC,IAAgBA;CAgQhBA;AAi9DGD;;AAfPA,QAEFA,C;EA+BWE,QACLA;;GAkuC2BA,kBA3tCiBA;AAATA,IAbnCA,GAtQeC;AAsRfD;AAAJA,WAAmBA,QAGrBA;AA/yEIjB;CAsIEmB;CA6CAA;CAeAA;CA4HAA;AA0/DGF;;AAXPA,QAEFA,C;EAsBWG,QAJLA,oCASAA;AAAJA,WAAmBA,QAGrBA;AA70EIpB;CAsIEqB;CA6CAA;CAeAA;CA4HAA;AAwhEGD;;AAXPA,QAEFA,C;EAmDWE,QArBLC,iBAnjEQA,OA0iEsCA,MAYnCA,WATmCA,MAQ9CA,WANiCA,MAgBjCA;AAVJA,QAIMA;AAEAA,qBAINA,QAEgCA;AAC1BA,qBAU2BD;AAC7BA;AAAJA,WAAmBA,QAGrBA;AAx4EItB;CAsIEwB;CA6CAA;CAeAA;CA4HAA;AAmlEGF;;AAXPA,QAEFA,C;EAoBWG,UAHHA,SAtYaC,wBA8YfD;AAAJA,WAAmBA,QAMrBA;AAFMA;;AAHJA,QAKFA,C;EAEWE,YAETA;SAGiDA;AAAhBA;AAC/BA,wBAEmBA;mBAEfA,KAGJA,QAEMA;AAEAA;AACJA,OAAOA,iBAabA,EAx8EI3B;CAsIE2B;CA6CAA;CAeAA;AAqwEGA,CAzoEHA;AAyoEJA,gBACFA,C;EA6HcC,UAEZA,gCAcFA,C;EAqBWC,yBAP4DA;OAWnDA,YAAlBA,MAEqBA;AAAnBA,gBACMA;KACCA,uDACDA;KACCA,UACDA;KAEJA;AACAA,kBAEIA;;AAIAA;;AAIAA;eAIIA;AACJA;eAqWSA;AAhWTA;eAllBDA;AAslBCA;eAjlBDA;AAqlBCA;gBAhlBDA;AAolBCA;gBAnDmBC;KAPDA;AA8DlBD;QAGAA;AACAA;QAGAA;AACAA;;OAMcA,OAENA;AAERA;;OAMcA,OAENA;AAERA;;OAMcA,OAENA;AAERA;;QA7FmBC;KAPDA;AAyGlBD;QAGAA;AACAA;gBAtGmBC;KAPDA;AAiHlBD;QAmN+CE,YA+lBjBC;AA/lBtCD;AApU0BC;;;AAqHlBH;iBA9GmBC;KAPDA;AAyHlBD;SAkNoDI,YAwlBtBC;AAxlBtCD;AA3U0BC;;;AA6HlBL;QAkLoCA;OAxSjBM;;QAAAL;KAPDA;AAkTnBD;AAjLCA;kCAQ6CA;AAArDA,OAAOA,eACTA,C;EAOWO,UACLA;OACcA,QAAlBA,SAEsBA;AAApBA,mBAAyBA;AACXA;AAGhBA,QACFA,C;EAEWC,YAELA;OACcA,QAAlBA,SAEMA;AAAJA,WACEA,KAAeA;AACfA,UACKA,0DUpvFsBA;KVmvF3BA;AACKA,MAGLA,OAQ8CA;AAJlDA;GAI+CA;IA9yB3CA;AAKiBA,UAAmBA,GAGpCA;AAAJA,WACEA,uBAA4BA;OAEbA;AAuyBjBA,QACFA,C;EAEYC,MAEMA,0BAEIA;AAApBA,6BAEwBA;KAEXA;2BAKOA;AAEdA;eAGsBA;AACtBA,OAGRA,C;EAOYC,MAqBOA;AAAjBA,sBAEEA;;AAGIA;;;AAIAA;;;;AAIAA;AAaFA;IAPyBA;AAGrBA;AAARA,iBAK2DA;;;AAAtCA;AAj+EnBpH;CAQSoH;CAQAA;CAiBAA;OAw8EOA;AACdA,MAgBNA;cAPoBA;AAEdA,MAKNA;QAFMA,UAAMA,qCAA8CA,SAE1DA,C;EAyBYC,MAEDA;AAATA,iBA70BOA;AA+0BLA,MAOJA,CALEA,iBA50BOA;AA80BLA,MAGJA,CADEA,UAAMA,sCAA+CA,QACvDA,C;EAEeR,MAE0CA,gBA+lBjBA;AA/lBtCA;AApU0BA;AAsU1BA,QACFA,C;EAWWS,QACTA,sBAEEA,OAAiBA,eAOrBA;KALSA,uBACUA,CAAiCA;AAAhDA,kBAIJA,MAFIA,QAEJA,C;EAEYC;AAEVA,gBAEaA,eAA8BA,IAG7CA,C;EAEYC;AAGVA,iBAEaA,eAA8BA,IAG7CA,C;EAEWC,mBAELA;AAAJA,WACEA,SAAgBA,UAsBpBA;GApBiCA;GAChBA;AAAbA,QACEA,aAkBNA;AAfIA;GAEoBA;WAEpBA,SAAgBA,QAWpBA;AATEA,SACEA,UAAMA;GAGqBA;OAChBA,QACXA,aAGJA;AADEA,UAAMA,4BAAsCA,QAC9CA,C;CA8DGC,YACEA;AAGLA,SAA8BA,QA+JhCA;AAsOIA,0BA1WGA;KA3ByBA;;AAG9BA,KAAkBA,QA4JpBA;GAzJMA;AAAJA,SAA0BA,QAyJ5BA;AAtJMA,WAAoBA,QAsJ1BA;WApIOA;KA3ByBA;AAY9BA,KAAqBA,QAmJvBA;AAhJ0BA;AACxBA,KAGMA,UAAqBA,EADqBA,WACEA,QA4IpDA;GAnIQA;;AADNA,MACEA,SACEA,OAAOA,gBAkIbA;AAhIIA,qCAgIJA,aA3HIA,SACEA,OAAOA,gBA0HbA;AAxHIA,SACEA,OAAOA,gBAuHbA;AArHIA,YAqHJA,CAjHEA,SACEA,OAAOA,gBAgHXA;AA5GEA,UAOgBA;AANdA,OAAOA,cA2GXA,CAhGEA,UACOA,qBACHA,QA8FNA;AA5FIA,OAAOA,MACWA,gBA2FtBA,CAvFEA,UAEUA;AADRA,UAEIA,gBAoFRA,CA3EEA,UACMA,oBACFA,QAyENA;AAvEIA,OAAOA,UACoBA,YAsE/BA,CAlEEA,UAEUA;AADRA,UAEIA,gBA+DRA,CAzDEA,KAAsBA,QAyDxBA;AAtDEA;yBAEEA,QAoDJA;AAhDMA;cAAqDA,QAgD3DA;AA3CEA,sBAC2BA,QA0C7BA;AAzCIA,UAAsCA,QAyC1CA;GArCqCA;GACAA;GAC7BA;QAAWA,QAASA,QAmC5BA;;;AA9BIA,oBAG4BA;GAAcA;AAAnCA,qBACAA,eACHA,QAyBRA,CArBIA,OAAOA,mBAqBXA,CAlBEA,sBAC2BA,QAiB7BA;AAhBIA,KAA+BA,QAgBnCA;AAfIA,OAAOA,eAeXA,CAXEA,UACEA,SAAgCA,QAUpCA;AATIA,OAAOA,eASXA,CALEA,aACEA,OAAOA,eAIXA;AADEA,QACFA,C;EAEKC,iBAC2DA;AAMzDA,aAAqBA,QAAmBA,OAC3CA,QAsFJA;IA/EiDA;IAEAA;GACIA;GACAA;GAC/CA;GAA4BA;AAAhCA,OAA2DA,QA0E7DA;AAxEMA;GAM+CA;GACAA;GACnBA;GACAA;AADhCA,WAC2DA,QA+D7DA;AA7DEA,oBAsO8CA;AAnOvCA,YAAqBA,aACxBA,QAyDNA,CArDEA,oBA8N8CA;AA1NvCA,YAAqBA,eACxBA,QAgDNA,CA5CEA,oBAqN8CA;AAjNvCA,YAAqBA,aACxBA,QAuCNA,IAjCwCA;GACAA;;;AAGtCA,0BAoQwBA;KAlQtBA,KACEA,QAA4BA,QA0BlCA;IAvBuCA;AADjCA;AACAA,SAAyCA,QAuB/CA;;AApBMA,UACEA,MAAiBA,QAmBzBA;AAlBQA,YAsL2CA;AAlL7CA,UAAiCA,QAcvCA;GAyKgDA;AApLrCA,YAAqBA,eAA2BA,QAW3DA;AAVMA,YAIFA,gBACyDA,QAK7DA;AAJMA,KAGJA,QACFA,C;EAEKC,uCA/SqBA;KAoTxBA,cAaMA;AAAJA,WAAkBA,QA6BtBA;AA5BIA;AAEEA,YAIEA;AAAJA,WAAqBA,QAsBzBA;GApBmDA;;AAC/CA,gBAE+BA,eAA+BA;AAI9DA,OAAOA,iBACkCA,KAY7CA,IA1pG0CC;AAypGjCD,GAzpGiCC;AAypGxCD,2BACFA,C;EAEKE;AAWHA,oBA2G8CA;;AA7ErCA,mBACHA,QAKRA,CADEA,QACFA,C;EAEKC,qBAM6BA,MACAA,MAC5BA;QAAUA,QAAQA,QAaxBA;IAVMA,MAAQA,GAAMA,QAUpBA;AAREA,gBAGOA,WAAqBA,OAAcA,OACtCA,QAINA;AADEA,QACFA,C;EAEKC,aAICA;uBADAA,YACKA,SACmBA,uBACIA;KAJhCA;KAESA;KADLA;KADJA;QAKFA,C;EAGKjE,IACDA;0BACAA;;KADAA;QAEwCA,C;EAEvCkE,WAEIA;AAAPA,0CAKFA,C;EA2CcC,MAGeA;AACzBA,oBAE2BA;UAE7BA,C;EAEeC,IAA+BA,0CAEEA,C;;;;;;;;;;;EWhhHhCC,GAA+BA;AAGpCA,gCAAPA,aAgCJA;qDAf0DA;;;AAAVA,0BADxCA,KAPYA;AAUhBA,OAAOA,eAaXA,MAJWA,2BAAPA,aAIJA;AADEA,OAAOA,MACTA,C;EAEYC,2BAMNA,KALYA,eAMlBA,C;EAEYC,sBAMNA,KALYA,eAMlBA,C;EAEYC,IAWCA,SATbA,C;EA0BAC;;QAaAA,C;EA8FWC,IACXA,OArCAA,SC6FAC,SAAyBA,GAAzBA,aD7FAD,aAsCFA,C;EAUQE,MAENA;CACUA;AACVA,QAxBwBA,EAyB1BA,C;EASQC,MACNA,SACFA,C;EAQQC,MACNA,SACFA,C;EAOQC,MAENA,KACIA,QAAyBA,QAC/BA,C;EASKC,MAECA,wBAEqBA;oBASvBA;;oBAEAA;KChBFA,WAAyBA;CAwIvBA;CACAA;ADpHAA,aAEJA,C;EAIkBC;;;AAwBhBA,OAAYA,CEyQeA,MFzQgBA,YAG7CA,C;EG/TEC,MACcA;AADdA,0BAEiCA,UAFjCA,AAEyDA,C;EAOvCC,IAChBA;AAAUA,aACeA;AACvBA,WAAwBA,QAG5BA,CADEA,QAAkBA,EACpBA,C;EFshBYC,MAAqDA;QApQzCA,iBA0GfA;AA+JPA,eAC+BA;AAC7BA;AACAA,kBAEoCA;AACpCA;AACAA,QAEJA,C;EAQYC;QA1RYA,kBA0GfA;CAmLLA,KAEFA,kBAGsCA;AACpCA;AACAA;AACAA,MAeJA,iBAVkCA,UAC9BA;AACAA,MAQJA;AC6iCEA,gBDhjCOA,GAAwBA,cAGjCA,C;EAwIYC;KAEVA;GA5bqBA;AAAOA;AAARA;AA+blBA,YACEA,oBA7VGA;ACytCPA,MDz3B0CA,IAAkBA,IAExDA,MA+JNA,EA1JoBA;GACyBA;AACzCA,0BACWA;AACTA,MAAsBA;CACtBA;GACwBA,MAGGA;GAAOA;CAQ/BA;CACDA;AAKJA,SArpBsBA;AAqpBGA,6BArC3BA;AAqCEA,SAvpBeA,EAAOA;AAypBpBA,SAAwBA;AAAxBA;MCy1BJA,MDr1B0CA,IAAkBA;AACtDA,MA4HRA,IAxH0BA;AAApBA;KAmFIA;GAhvBmBA;AAmuBvBA,cA/D+BA,gBAgE7BA;KACKA,MACLA,aA9BsBA,cA+BpBA,UAGFA,aAzBcA,cA0BZA;AAKJA;GAIIA;wBACAA;eAtqBuCA,OAAsBA,iBAqqBjEA;SAKmBA,EAASA;KAzkBTA,eAuMIA;CAC3BA;AACOA;CAtEPA,IACYA,OAAkCA;CAC9CA,IAA4BA;CAyclBA;AACAA,cAEAA;AAKJA,MAeRA,KAXqBA,EAASA;GAnZDA;CAC3BA;AACOA;GAmZAA;GACcA;AADnBA,QA7eFA;CACAA,WAKAA,IAAwBA;CACxBA,MA6eEA;IAEJA,C;EAqDOC,MACUA,YACfA,OAAOA,OAWXA;AARmBA,YACfA,QAOJA;AALEA,UAAoBA,sBAKtBA,C;EGt7BKC,GACHA;OAAiBA,IAAjBA,WAAuDA;GAEpCA;;AAEjBA;AACOA,SAEXA,C;EAEKC;IAKDA;;IAIIA,UJ3BJA,OAAyBA,GI4BMA,QAGnCA,C;EAMKC,IAnDHA,qBAqDoCA;AACpCA;KAEOA,IJ1CLA,OAAyBA,GI2CMA,mBAGlBA,IAGjBA,C;EAQKC,iBACCA;AAAJA,YACEA;MACwBA;AACxBA,MAgBJA,CA3FEA;GA8E4CA;AAC5CA,aACQA;oBAG0BA;CAC1BA;MACeA;AAErBA,kBAIJA,C;EA0BKC,oBACsBA;IACXA,QAGZA,UAHYA;AAIZA,MAUJA,CAPEA;MAEEA;AAEAA,MAGJA,CFggDIA,WEjgDkCA,QACtCA,C;ECq4EUC,ICnpDWA;ADspDfA,OCvpDJA,UDupDkCA,C;EHjrC/BC,MACHA,KAA+BA,cAGjCA,C;EAEEC,mBACmBA;AAAnBA,SAAoCA,OAAOA,MAY7CA;;AANQA;IAEGA;AAAPA,QAIJA,gB;EAEEC,qBAEmBA;AAAnBA,SAAoCA,OAAOA,OAY7CA;;AANQA;IAEGA;AAAPA,QAIJA,gB;EAEEC,uBAEmBA;AAAnBA,SAAoCA,OAAOA,SAY7CA;;AANQA;IAEGA;AAAPA,QAIJA,gB;EAqBKC,cAEYA,OAGPA;AAKRA,OACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AK95BWC;EADDA,QACNA,cCpfFA,wCDqfAA,C;EAMQC,MACNA,OC5fFA,uCD6fAA,C;EAkeQC,IAOAA,OA6ERA,sBAxDAA,C;EA6UOC,GAQUA;;;AAEfA,QACFA,C;EAwGAC;CACEA,IAAaA;AADfA,QAEAA,C;EEzzCQC,MACoBA;OAC1BA,qDACEA,MAAmBA,KADrBA;AAGAA,QACFA,C;ECpEcC,IAEZA;AAAIA,WACFA,aAwBJA;Ad0eAA;Ic7fIA;;CAEKA;AACLA,OAAUA;iBAYVA,cd6gB0CA;Ac1gB5CA,6BACFA,C;;;;;;;;;;;;;;;;;;;;;;;EC7GFC,MACEA;6BAD8CA;AAQtCA;AAANA,aAIOA;AAAPA,QAIJA,C;EAiDAC,IAEEA;WAAoBA,WA0BtBA;AAvBEA,sBACEA,QAsBJA;8CAdIA,OA8BFA,+BAhBFA;AAVEA,uBAO8BA,WAAuBA;AAErDA,QACFA,C;EAoRiBC,UAIbA;4BAKUA;GAAOA;AACfA,UACEA,WAgBNA;AAbQA;AACJA,wCAMIA,WAMRA;AAHIA,QAGJA,CADEA,WACFA,C;EAEeC,UAEoBA,eAAmBA;AACpDA,WAAqBA,WAYvBA;AAVWA,eAD0BA,QACjCA,gBAUJA;AAJEA,OAAOA,oBAFUA,UADMA,UAOzBA,C;EAEeC,MAAoDA;;AAK/DA,QAGJA,WADEA,WACFA,C;ECjQYC,cAENA,mBACFA,UAAMA;AAMRA,WACEA,UAAMA;AAGRA,OACEA,UAAMA,gEAKVA,C;ECiUcC,IACZA,kBAEIA,8BAgBNA;QAdMA,iCAcNA;QAZMA,0BAYNA;QAVMA,yBAUNA;QARMA,4BAQNA;QANMA,yBAMNA;QAJMA,uCAINA;QAFMA,QAENA,E;EA+JiBC;AAILA,kBADVA,SACUA;kCAOVA,QACFA,C;;;;;;;;;;;;;;;;;;;;;;;;EjBxhBWC,MAUSA;AAPlBA,WAAmBA,QAGrBA;AADEA,UAAUA,iBACZA,C;EAyCaC,MACHA;AACyBA;;AAEjCA,wBACFA,C;EAwLQC,UAEIA,oBACAA;AACVA,kBAEEA,WAA2BA,QAA3BA;AAMFA,QACFA,C;EAQQC,QACYA;AAClBA,qBACEA,OADFA;AAGAA,KAAcA,QAEhBA;AADEA,OkBjZaA,OlBkZfA,C;EAGQC,QAC4BA;AAAZA,QAOxBA,C;EAOQC,MACNA;AAAaA,oBAAYA,kCAQ3BA;AALoBA;AAClBA,qBACEA,OADFA;AAGAA,QACFA,C;EAqCQC,QAiCYA,eADGA,UADDA;AArBlBA,QAGJA,C;EAsEQC,MAKJA,OF7iBJA,WAM2BA,sBE2iBJA,C;EAwDTC,QACgBA;AACvBA,UAAqBA,QAa5BA;ImB3PoBA,gBnB8PgCA,OAbVA;MAC7BA,YAYuCA,OAVZA;KAC7BA,OASyCA,UAPVA,SAGxCA,QACFA,C;EA2HcC,UAEZA;QAAwBA,IAASA;GF7qBDA,gBNwiClCC;AQ3XED,KACEA,QAsBJA;AiBxvBeA;OjByuBaA,iBAA1BA,YACaA;YAELA,uBA1RUE;8BAiSDF,YACAA,OAGjBA,6BACFA,C;EV7uBcG,IACgBA,wCAC1BA,OAAOA,OAMXA;AAJEA,sBACEA,wBAGJA;AADEA,OU0IkBA,OVzIpBA,C;EA8BaC,MACXA;AACAA;AACAA,SACFA,C;EAWAC,sBAA8BA,C;EAsD9BC,iCAEuBA,C;EAcvBC,gCAEsBA,C;EA4DtBC,4DAG+DA,C;CAe/DC,uDAIiEA,C;EAoEtDC,QAITA,YAEEA,UAAiBA;AAEnBA,YACEA,YAEEA,UAAiBA;AAEnBA,QAGJA,CADEA,QACFA,C;EAWWC,MACTA,OACEA,UAAiBA;AAEnBA,QACFA,C;CAkEAC,wDAEsEA,C;CAkFtEC,sBAAqCA,C;EAcrCC,sBAAkCA,C;EAyBlCC,sBAAwBA,C;EAaxBC,sBAAkDA,C;CKpgB5CC,8BAA8DA,C;EyByvBtDC,QAEZA;AAAIA,YACFA,oBAEEA,aAgBNA;AAdIA,gBAcJA,CAZ+BA;AAC7BA;IAEEA,kBAGAA,CALFA,UpBtMYA;AoB6MZA,6BAIFA,C;EAYcC,QAEZA;AAAIA,WACFA,gBAYJA;ApB7PAA;AoBoPEA;IAEEA;ApBrOUA,CAAZA,SAAsBA,mBoBwOpBA,CALFA;GpBrN4CA;AoB6N5CA,6BACFA,C;EA0BGC,MAwB6BA;AAGhCA;AACOA,UAAeA,MAkFxBA;AAjFwBA;AACpBA;IACeA,UACfA,IAQGA,WACHA,QAAoCA,MAqExCA;AApEqBA;AACGA,eAEKA,UACzBA;AACKA,WACHA,SACEA,OAAYA;AACZA,MA4DRA,CA1DyBA;AACCA;IACKA,eAEHA,UACtBA;KAGOA,MAAPA,SAEgBA,UACdA;AACAA,UAQEA;AAEYA,UAAmBA,UAC7BA,IAEFA;AACAA,MAgCVA,EA7B4BA;AACHA;IACMA,SAA2BA,iBAOtCA,WAEhBA;AAfYA;AAqBdA,sBAAqCA;AACzBA,UAAmBA;AAC7BA,YAEEA;AAzBUA,SA4BdA,WACEA;AAEFA;AACAA,SACFA,C;ECl0BaC,UAmBTA;IAOqBA,QANaA;AAAkBA;AAAlDA,OjCJKA,KADAA,KADAA,KiCMuDA,aA2QhEA,KArQuBA,QAFPA;AAAkBA;AAAkBA;AADhDA,OjCCKA,KADAA,KADAA,KADAA,KiCGqDA,gBAuQ9DA,CApQoCA;AAAkBA;AACtCA;AAAkBA;AjCKzBA,OADAA,KADAA,KADAA,KADAA,KiCDmCA;AADxCA,QAoQJA,C;ECqXWC,qEAyDGA;AAGZA,UAw6HWA,2BACJA,qBACAA,oBACAA,qBACAA;AA16HLA,SAGEA,OAAeA,WAD0BA,wBACLA,KAwO1CA;KAvOWA,UACLA,OAAeA,KAAOA,qBAAwCA,KAsOpEA,CA9NgBA;;;;;;;;;AAcFA;GAMIA;AAChBA,QAEUA;GAaMA;GACAA;GACAA;GACCA;GACGA;AAMpBA,OAOcA;AAHdA,OAYuCA;KARhCA,QAEOA;AAMdA,OAoBaA;GAXGA;AAEhBA,KAIEA;AA7EYA,UAkFDA;AAAJA;AAlFKA,UAsFDA,qBAAJA,OAEEA,sBACGA;KAzFAA;KAlBdA;AAwGSA;AAtFKA,UAgGAA,sCAEJA;KApHVA;AAgHSA;AA9FKA,UA6GVA,SAEMA,uBAEFA,SAKOA,qBACHA;AAkyHoCA,SAryH/BA;AAwyHYA,IAlyHAA;AACnBA;AAIcA;AAAdA;AACAA;KAEUA;AAzHfA;;SA0HUA,UAKHA;AADAA;AADMA,qBAGNA;IA1BEA,cAwCGA,uBAKLA,mCAKAA;AAFAA;AACAA;AAFMA;AAINA;IAXSA;KA0BoBA,+BAK/BA,oCAKAA;AAFAA;AACAA;AAFMA;AAINA;IAXmCA;AAnM7CA,aA2OiCA;AAXjCA,cAC6BA,SACnBA;AACNA;AACAA;AACAA;AACAA;AACAA;AACAA,KAEFA,OA+sGJA,0BAzsGAA,CAqcEA,WAEEA,OACWA;KACJA,SACLA;AA1gBkBA,KAghBtBA,QACsBA;AAEPA;AAENA;AACHA;AAAJA,QtBn4CgBC,OsBq4CGD;AAEVA,gBADEA,KAAMA,+CAc2BA;;AAviBxBA,KA8hBlBA;AAGMA;AAneVA,OAyeYA,yBAFCA,mBArefA,C;EAuL2BE,IAEZA;AAAbA,cAAOA,sBAAsBA,UAAIA,cAcnCA,C;EAWiBC,QACLA;AAOVA,yBACaA;AACXA,WACEA,YAEEA,iCAGFA,SACEA;AAEaA,OAAMA;AACrBA,SACEA;AAEKA;;AACKA;KAIhBA,SACEA;AAGaA,OAAMA;AACrBA,SACEA;;AAIFA,QACFA,C;EAmBiBC,SAULA,uDAKEA;IAWHA,UAAYA;AACHA;AAMlBA,gCACaA;AACXA,WACEA,UAEEA;AACIA,wBACFA;AAIAA,IAAJA,UAEEA,KACEA;AAGFA;AADAA,UAIAA,OAAUA;AAEAA,WACPA,UAPHA,SAWIA,YAAaA;AACTA;AACeA;AAC7BA,aACEA;AAEFA,MACEA,MACEA,OAAUA;KAEOA;AACjBA,SAAUA,QAAeA;AACzBA,SAAUA,QAAeA,UAG7BA,UACYA,UACRA,0EAEaA,YACfA;;OAGmCA,sBAArCA,YACcA;AACZA,UAEEA;;AAGEA,UAGaA;;AAEfA,MAGJA,QACFA,C;EAmEAC,8CACgCA,C;EA4IrBC,IACTA,cAAsBA,SAGxBA;AAFEA,eAAuBA,UAEzBA;AADEA,QACFA,C;EAcaC,QACXA,UAAMA,WACRA,C;EAoTYC,MAEkBA,wBAAsBA,WAEpDA;AADEA,QACFA,C;EAWeC,UAEbA;AACAA,SAAkBA,QAkCpBA;AAhCMA,yBACkBA;AAAhBA,wBACFA;AAG6BA;AAAnBA;AACZA,QAE6BA;AAClBA,SADJA,oCAVSA;AAaZA;AAEJA,OAAOA,gCAmBXA,CAfIA,gBACMA,yBAmBIA;AAELA;AAlBDA,QAE6BA;AAClBA,SADJA,oCAzBKA;AA4BRA;AACJA,UAAWA,kBAKnBA,CADEA,OAAOA,WACTA,C;EAIWC,QACGA;AAEZA,oBACFA,C;EAYcC,UtB/8CdA;AsB09CEA,uBACaA;AACXA,WACwBA;AAClBA;AAAJA,SACEA;AACAA,oBtBh+CRA;AsBm+CqBA;AAGfA,KACgBA;KACTA,WACLA;CtBv8CNC;AsB08CID;;AApBCA,sBAlBiBA,0BA0ClBA,+BtBh/CNA;AsBm/CQA,QACeA;SAKjBA,SAGAA,6BACaA;AACXA,sBACiBA;AACfA,SA1D2CA;AA6DhCA;YtBngDrBA;AAOEA;;AsB+/CcA;AACVA;KAIJA,WAAoBA,OAAOA,YAM7BA;AALEA,OACiBA;GtB9+C2BA;AsBi/C5CA,6BACFA,C;EAWcE,QACEA;AAMdA,8BACaA;AACXA,WAEwBA;AAClBA;AAAJA,SACEA;AACAA,oBtB1iDRA;AsB6iDqBA;;AAIfA,MACgBA;AATRA,SAUDA,YACLA;AACAA,SAZMA;CtBvgDZD;AsBshDIC;;AAvBCA,sBAbiBA,2BAwClBA,+BtB5jDNA;AsB+jDQA,QACeA;SAKjBA,qBAgUEA,yBA9TFA;KAGAA,6BACaA;AACXA,sBACiBA;AACfA,SAzBFA;AA4BaA;AACfA;YtBllDNA;AAOEA;;AsB8kDcA;AACVA;KAIJA,WAAoBA,OAAOA,YAO7BA;AANEA,QACiBA;6BtB7jD2BA;AsBikD5CA,6BACFA,C;EAKcC,QACZA;SAAkBA,QAkBpBA;AAhBOA,SADqBA,iBAExBA;AAGFA,sBACuBA;cAkRFA,0BAhRjBA;AAEFA,gBACEA,KAGKA;AAETA,OAAOA,yBACTA,C;EAKcC,IACZA,cAAsBA,YAKxBA;AAJEA,cAAsBA,YAIxBA;AAHEA,eAAuBA,aAGzBA;AAFEA,iBAAyBA,eAE3BA;AADEA,QACFA,C;EAEcC,QAEZA,OAAOA,YAA4CA,UACrDA,C;EAEcC,cAEPA;AAGLA,WAC4BA,eAiB9BA;KAVaA,cAAwCA;IH/1DjCA,aGm2DhBA,KAAYA,SAMhBA,MALoCA,oBACnBA;AAGfA,OADSA,WAEXA,C;EAOcC,eHh3DMA;AGm3DbA,0BACAA,cACHA,OAAOA,aAGXA;AADEA,OAAOA,OACTA,C;EAEeC,UAEbA;YACEA,WACEA,UAAMA;AAERA,OAAOA,YAAyCA,SA6BpDA,CA1BEA,WAA6BA,WA0B/BA;AtBttDAA;CsB+rDMA;AAYJA,MAAwBA,SAVLA;GtBlqDyBA;AsBsrD5CA,6BACFA,C;EAEeC,QAEbA,OAAOA,YAA4CA,SAErDA,C;EAaeC,QAA2DA;OAEhDA,QACtBA,SAuBJA;AArBmBA;AACCA;AACIA;AACCA;AACvBA,YACEA,SAgBJA;AAd8BA;AAoqBLA,YAAjBA,+BA/pBJA,OtBx1DgBA,kCsBi2DpBA;AAPEA,gBAEEA,OAAOA,4BAKXA;AADEA,WACFA,C;EAEcC,IAAsBA;AAGlCA,UAGEA;;AACeA;AACAA,6BAKfA,UAGEA,YAEEA;AAXsCA,SAOxCA;AATUA,SAMRA;AAHKA;AAeTA,wBACeA;;AAEUA;AACAA;AACvBA,MAIJA,OAAcA,cAChBA,C;EAMcC,cAGLA;AAAPA,eAGIA,cACNA,C;EAWeC,cAGCA;AAIdA,2BACaA;YACQA,uBACjBA;KAIAA,WACgBA;AAEdA,YACEA;AACAA,SAGFA,YACEA;AAduCA,SASjCA,SAUHA,cACLA;AApByCA,wBA8DzCA,0BAvCAA;;SAIAA,sBAEMA;AAAJA,QACaA;AACXA,sBAGiBA;AADfA,SAjCmCA;AAsC3BA,sBtB72DtBA;AAOEA;AsBy2DcA;AtBz2DCA,CA2BfZ;AsBg1DIY;KAIJA,WACEA,QAMJA;AAJEA,OACeA;GtB31D6BA;AsB61D5CA,6BACFA,C;EAoDYC,IACNA,gBAAsBA,QAG5BA;AADEA,OADYA,mBAEdA,C;EAOcC,IACZA;AAAKA,YAA8BA,QAsBrCA;AApBwBA;AAECA,sBAAvBA;AAEMA,qBCh2DYC,aDk2DZD;ICl2DYA,YDo2DVA,WAGJA,UACKA,WADLA;KAIAA;AAdCA,MAiBLA,KAAiBA;AACjBA,OAAOA,YACTA,C;EAacE,MAAsDA;AAE7DA,YAEHA,SADyBA,SA2B7BA;AAvBwBA;AAECA,sBAAvBA;AAEEA,YACgCA,ICz4DhBA,gCD04DZA;AACAA,UAEAA;AARDA,UAUIA,WAJHA;KAOFA;AAbCA,SCr4DaA;ADq5DlBA,mBAA6CA,GH/rE3BA;KGqrEZA;AAUNA,KACEA,UAKJA;AAH4BA,wBAAcA;AACxCA,MAA8BA,WAAcA;AAC5CA,OAAOA,YACTA,C;EAGcC,eACHA;AAAeA,cAAuBA,iBAC7CA,iBACaA;AACXA,UACEA,OAAUA,mBAA0BA,YAS5CA;YANYA,yBACJA,MAINA,QACFA,C;EAwTWC,MACLA;AACJA,qBACiBA;AACfA,gBACmBA;KAGjBA;AACAA,iBACmBA;KAEjBA,UAAMA,oCAIZA,QACFA,C;EAYcC,YAC4DA;AAMxEA,qBADKA;MAEYA;AACfA,UACaA,UACOA;KALjBA;;AAGHA,MLr6FsCA;AKy6FpCA,MANyBA,IAU7BA,UACMA,OL96FkCA;KKk6FnCA;AAYHA,KACEA,OAAOA,YAyBbA;KlCv6FAC,WkCg5FcD,mBAGGA;OAOQA,YANrBA,SACiBA;AACfA,SACEA,UAAMA;AAERA,WACEA,SACEA,UAAMA;AAERA,OAAUA;AACVA,UACKA,UACLA;KAEAA,WAINA,OLp8FOA,CADKA,QKs8FdA,C;EAEYE,IACNA;AACJA,oBACFA,C;EAqwBeC,QASOA;OAIJA,wBAAhBA,SACSA;AACPA,kBAAwCA;AACxCA,WACEA;AAEEA,SAEFA,UAAMA,aAGVA,YAGEA,UAAMA;KAERA,SAEEA,UACAA;AAEAA,kBACSA;AACPA,WACEA,gBACKA,kBACLA,MAGJA,QACEA;KAG4BA;AAGvBA,2CACHA,UAAMA;AAERA,OAGJA;AAQmCA;KAPXA,eAEfA;KAKSA,cAAqCA;AAErDA,WACSA,iBAGXA,OAxiBFA,eAyiBAA,C;EA2McC,GAmDDA;;AAIEA;AAOFA;AAaAA;AAUTA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAGAA,KADIA;AAGAA;AACJA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AACAA;AACAA;AAEIA;AACJA;AACAA;AACAA;AAEIA;AACJA;AACAA;AAKAA,KADIA;AAGAA;AACJA;AACAA;AACAA;AAEAA,QACFA,C;EAWIC,YACWA;AAEbA,oBACcA;AAEDA;GAGMA;AACTA;WAGVA,QACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EEstOcC,MACVA;AAIAA,qBACEA,cADFA,QAGFA,C;EAi7BQC;CAEsBA;AnCrhY9BC,WmC2ksBAC,QAtjU8BF,gBAGAA,WnCxhY9BC;AmCwhYED,OAAwDA,MAAPA,QACnDA,C;EAyqCcG,IACLA;IAq/HAC,GAn/HOD,mBAIdA,QACFA,C;EA4+HsBC,IAEpBA,yBAEKA,GAAKA,eACZA,C;EA4G2BC,QnBv7iB3BC,eAAyBA,WAhPrBC,kBmBqrjBFF;;AAkklBWA,cA1ilBOA;AA0ilBPA,eAvhlBkBA;AAK3BA;AAGFA,QACFA,C;EAimlBAG,UAOYA,WAAiBA;AAwD3BA,eACSA;AAhEXA,yBASAA,C;EA4mBAC,IA18oCoBC,oCA0zuChBC;AAh3FJF;;QAWAA,C;EAkBYG,UAEVA,QACFA,C;EAEYC,mBAEKA,MAi1FfA;;GAEsBA;GAAYA;SAAKA,YACjBA,SAAaA,QACbA,aAAiBA,WAFvCA,cAIsBA,eACCA;AALvBA,uBAI2BA;KAJ3BA;;AAn1FAA,QACFA,C;EA6sDAC,GAC2BA,kBAAiBA,QAEjBA;AAH3BA,aA1KwCC,QACEA,QACGA;AAwK7CD,UnC7zsCAE,UmC8zsC4CF,GAIVA;AALlCA,QAKiEA,C;EA08BjDG,alBpluCWA;AkBwluCfA,QAFaA,GAAMA,QAGjCA;AADEA,gBACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECtqvCAC,IACEA;WAAmBA,QAcrBA;AAb+CA,mDAASA,QAaxDA;AAqH8CA;AAhInCA,kCAAPA,cAWJA;;AAPIA,uBACEA,OAAWA;AAGbA,QAGJA,CADEA,QACFA,C;EAIsBC,IACpBA;WAAoBA,WAStBA;AAR8BA;AAGVA;OAAlBA;AACEA,QACIA,YAENA,QACFA,C;;;;;;;ECwbUC,MrBpMRd,eAAyBA,GAAzBA,eAhPIC;OqBubYa,KAAuBA,eACzBA,KAAuBA;AAYrCA,QACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EC5WUC,IAEFA;mBAC6BA,QAAnBA;AAEFA;AA6DdC,WA7D0BD,KAAZA,gBACKA,GAAmBA,KAAZA,gBACAA,KAAZA,qBAWEA;AAPNA;AACSA;AACkBA,OAApBA;AACPA;AACyBA,GAThBA,EASJA,MAAOA;AACwBA,OAAxBA;WAAoCA;AAhBlDA,OAxBRC,oBAyCUD,gBAjBFA,C;;;;;;;;;;;;;;;;;;;;ECrHLE;;AAEHA;AACQA;AACDA;AACDA,MACRA,C;EAEKC,GACUA;AACbA,WACEA,MAoCJA;AJ+lZWC,yBA84sBTC,SApGAC,aA2KoCC;AIrlmCpCJ,WACEA,MAgCJA;AA7BEA,eJ4nZSC,yBA84sBTC,SApGAC,aA2KoCC;AI/kmClCJ,WACEA,MA0BNA;AAb4BA,SAjBXA;AAQKA;AACpBA,WACEA,MAoBJA;AJ+lZWC,yBA84sBTC,SApGAC,aA2KoCC;AIrkmChBJ;aTmYAK,qBS/XNL,OAAqBA,QAAmBA,GAAKA;AJ4mZlDC,yBA84sBTC,SApGAC,aA2KoCC;AI5jmCfJ;aT0XDK,qBStXNL,OAAqBA,QAAmBA,GAAKA,gBAI7DA,C;;;ECnCKM,GACmDA,4BAAtCA,kCACwCA,IAAvCA,mCAE6BA,IAA1CA;AL6rgCEA;AKnrgCUA;ALkrgCPA,uCKlrgC8BA,GAAKA,SAR1BA,2BA6CpBA,C;EAyCEC,IAJkDA,oBACLA;AAG7CA,kBAAgCA,oBAAsBA,WAAtDA,AAA2DA,C;EAgRrDC,iEAE8BA;ALu0YlCA;AKt0YEA;QAAQA;;AAGRA;QAAQA;AACRA,OAAYA,MACDA,OAAcA;AAC7BA;GAE+BA;AACVA;AAArBA;AAEMA;QAAQA;AACRA,cAAmBA,MAA4BA;AAFnDA,oBAM6BA;aVsBXH;AUnBdG;QAAQA;;AAoE8BA;AL+harCC;GK7haFD;CAAKA;AL6uYRE;AKjzYIF,OAAYA;AAChBA,iBAGFA,kBAAyCA;AAIzCA,cAAqCA;AAOrCA,SAG0BA;AAAyBA;GAC5BA;;AA4BjBA,QAAQA;;;AAGNA,QAAQA;;AL+vYdG;AK5vYQH;AALYA;AAFXA;AA9BTA,UAQFA,QACFA,C;EAGKI,MACyCA;AAE5CA,WACEA,MAUJA;AAPkBA;AAChBA,WACEA;KAEAA;AACAA,CALcA,aAOlBA,C;EAeOC,MAAyCA,OV7YrCC,OU8YLD,WACAA,gBACDA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EChdAP,GAGiBA,kEACHA,6CACIA,2CAEMA;WAK3BA;WACAA,iBACFA,C;;;ECfKA,qEACwBA;AAE3BA,WACEA,MA6BJA;AA1B+CA,QAAjCA;AAEZA,iBAAiCA;APo54BGA;IOt44BxBA,eP+qZVA;;AA0tfAA,2CA1tfAA;;AA0tfAA,wCO/34BJA,C;;;ECtBKS,IACHA;AAGEA,MAoBJA;AAbIA,MAaJA,CATEA;AAEEA,MAOJA,4C;EClBKC,IAEHA,KCVAA,mEDU0DA,YAC5DA,C;EAeKC,GAEHA,KC5BAA,8DD4BmDA,YACrDA,C;ErCwCAC,UA6BEA,uBAEFA,C;EASAC,qBAGMA;AAAJA,eACMA,WACFA;4BAKJA,eAEeA;AAAbA,UAAoBA,UAuDxBA;AAtDIA,UAAmBA,QAsDvBA;AApDqCA;AAAjCA,SACEA,UAmDNA;IA/C8BA,OAKxBA,UAAUA,+BAA4CA,iBAOTA;WAC7CA;QAuCGC;;OAvCPD,WAAyBA,QAkC3BA;AA9BgBA;AACdA,WAAyBA,QA6B3BA;AAvBEA,wBAIEA,QAAOA,EAmBXA;AAhB8BA;AAA5BA,WAEEA,QAOOA,EAOXA;wBAPIA,QAAOA,EAOXA;AALEA,4BAUOE;;kCATsCF;AAC3CA,QAD2CA,EAI/CA,CADEA,QAH6CA,EAI/CA,C;E2BvKUG,MAWNA,qBACEA,UAAUA;AAEZA,OAAWA,oBACbA,C;EAmCQC,MAGNA,OACEA,UAAUA;AAEZA,oCACFA,C;EAUQC,MAGNA,OACEA,UAAUA;AAEZA,oCACFA,C;EAgBQC,MACJA,YAA0CA,mBAA8BA,C;EAK7DC,IYjCmCC;AZsChDD,QACFA,C;EA4gBWC,MACTA,gBACFA,C;EJrdYC,IAGVA,SACEA,2EASIA,QA4BRA;QA1BQA,QA0BRA,CAvBEA,gMAmBIA,QAINA;QAFMA,QAENA,E;EAIWC,MAAiDA;OAGpCA,QAAtBA,MACiBA;AAGVA,4BACHA,MAEFA,IAEFA,QACFA,C;EAIWC,MAAkDA;KAG3DA,SACmCA;AAAlBA;AAGVA,4BACHA,MAIJA,QACFA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AvBkE+BC;CAFjBC,MAAoBA,YAAsBA,C;EAEhDD,IAAYA,cAA+BA,C;CAE5CE,IAAcA,sBJ8JLA,WI9JiDA,C;EAoBxDC,IACLA,OH6mBGA,KADGA,WG5mByDA,C;;CAQ5DC,IAAcA,gBAAgCA,C;EAU7CC,IAAYA,sBAAwCA,C;EAGnDC,IAAeA,gBAAmCA,C;;;CAWpCC,MAAEA,cAAcA,C;CAGhCC,IAAcA,YAAMA,C;EAEnBC,IAAYA,QAACA,C;;;;;EA8CbC,IAAYA,QAACA,C;CAKdC,IAAcA,gBAA+BA,C;;;;CAyB7CC,IACiCA,OAClCA;AAAJA,WAAyBA,OAAaA,UAExCA;AADEA,iCAAkCA,OACpCA,C;;;EAcQC,IAAYA,QAACA,C;CAGdC,IAAcA,gBAA+BA,C;;EAkB5CC,IAAYA,QAACA,C;CAGdC,IAAcA,gBAA+BA,C;ATzUpDC;EoCRQC,MAAaA,kBAAKA,QpCQ1BD,4BoCR8CC,C;EAoIzCC,wBAxIDA,KAAMA;UA2IVA,C;CAqBOC,MACWA,cAAYA;AAC5BA,WAAyBA,QAAzBA,IACmBA;AAEnBA,gBACFA,C;EAgCEC,mBAEkBA;AAClBA,qBAIUA,UAAeA;IACdA,YAAkBA,UAAUA,SAEvCA,QACFA,C;EAXEC,kC;CAiEAC,MACAA,QAAWA,GACbA,C;EAEQC,eAGmBA;AAAzBA,OACEA,UAAUA;AAMVA,YACEA,UAAUA;AAGdA,SAAkBA,OAAUA,eAG9BA;AAFEA,wBAAWA,QAEbA,C;GAOMC,QACAA,UAAYA,QAAWA,GAE7BA;AADEA,UAA2BA,OAC7BA,C;GAEMC,WACAA;AAAJA,OAAgBA,QAAWA,KAE7BA;AADEA,UAA2BA,OAC7BA,C;EA6FKC,eACYA;AACfA,iBAIMA,SAAKA,KAAUA,QAIvBA;IAHaA,YAAeA,UAAUA,SAEpCA,QACFA,C;EAgBKC,MAAoCA;sBAxarCA,KAAMA;GA0aIA;AACZA,OAAaA,MAkEfA;WAjEcA;AACZA,aACgBA;GACAA;AACVA;OAMJA,MAuDJA,cAdoCA,SAChCA,eAAoBA,QAApBA,QAE6BA,wBAIzBA,UAxDUA;OA4DUA;AAE1BA,OAAoBA,YACtBA,C;EAUKC,eAEKA;KAIRA,kBAE2BA,wBAEjBA;AAANA,SAAkBA,MAGxBA,C;CA+CKC,MACHA;WAAoBA,QAApBA,IAEMA,gBAAkBA,QAG1BA;AADEA,QACFA,C;CAMOC,IAAcA,Oa/KJA,eb+K+BA,C;EAchCC,IAAYA,OA+H5BA,YAEyBA,QAjI6BA,C;EAE9CC,IAAYA,OAAWA,OAAoBA,C;EAE3CC,IAAUA,eAAiCA,C;CAuCxCC,oBAGmBA,SAASA,UAAMA;AAC3CA,WACFA,C;CAEcC,8BA/nBVA,KAAMA;cAmoBoBA,SAASA,UAAMA;MAE7CA,C;;;;;EA4EMC,IAAoBA,UAATA;wBAASA,SAAIA,C;CAEzBC,mBACUA,MAAUA;IAKnBA,OACFA,UAAMA;GAGJA;AAAJA,UACEA;AACAA,QAKJA,EAHEA,IAAWA;CACXA;AACAA,QACFA,C;;Ec/1BIC,MACFA;AACAA,OACEA,QAmBJA;KAlBSA,OACLA,QAiBJA;KAhBSA,UACLA,UACuBA;AACjBA,mBAA2BA,QAarCA;AAZUA,eAAYA,QAYtBA;AAXMA,QAWNA,CATIA,QASJA,+BANMA,QAMNA;AAJIA,QAIJA,MAFIA,QAEJA,C;GAESC,IAAcA,sBAAuCA,C;EAyF1DC,IACFA,QAGEA,WACEA,oBAYNA,MAVSA,UAMLA,wBAIJA;AADEA,UAAUA,qBACZA,C;CAkGOC,IACLA,gBACEA,YAIJA;KAFIA,UAEJA,C;EAEQC,IACFA;AAGJA,SAAsBA,kBA6BxBA;AAvB4CA;AAC/BA;AAI4BA;AAUvBA;AAOhBA,6EACFA,C;EAwBkBC,MAChBA;AAGAA,SAAiBA,QAOnBA;AANEA,OAAgBA,QAMlBA;AAFIA,UAEJA,C;EAeIC,MAEFA,sBAEMA,YACRA,C;EAEIC,MACEA;AACJA,iCAEEA,UAgBJA;AAdEA,QAGEA,WACEA,oBAUNA,MARSA,UAELA,mBAMJA;AAFEA,UAAUA,wCAC6BA,YAA0BA,iBACnEA,C;EA4BIC,MACFA;OACMA;;WADNA,QAOFA,C;EAEIC,MACFA,OAAeA,UAAMA;AACrBA,OAAOA,YACTA,C;EAEIC,MACFA,mBASFA,C;EAiDSC,IAAeA,gBAAkCA,C;;;AA+MlCC;EAAfA,IAAeA,gBAAkCA,C;;;AAWlCC;EAAfA,IAAeA,gBAAqCA,C;;;ElBzoB7CC,MAEdA,UACFA,C;CAiDOC,UAGcA,gBAAiCA;AAEpDA,OpBoPOA,mBAAmBA,coBnP5BA,C;CA8BKC,QAA6CA;WAElBA,QAC5BA,UAAUA,SAAgCA;KAIlBA;MAETA,QAAQA,QAI3BA;AAHIA,2BAGJA,C;CAbKC,2B;CAgBEC,QAGLA,qBADiBA,UAAiCA,SAEpDA,C;CAJOC,8B;EAMAC,IACLA,sBAEFA,C;EAqGOC,IAMDA,wBAAOA;AAAXA,SAAwBA,QAiB1BA;AAhBkBA,0BAGDA;AACbA,SAAiCA,QAYrCA,MAjBoBA;AAWeA;AAAlBA,wBAEFA;AAEbA,gBAAkDA,QAEpDA;AADEA,uBACFA,C;EA0DgBC,MACdA;QAAgBA,QAelBA;WAdyBA,YAAaA,QActCA;AAbEA,aAEEA,WAAYA;AAIdA,kBACEA,aAA6BA;AAEzBA;AAAJA,SAAgBA;AAChBA,KAEFA,QACFA,C;EAkBIC,QAA0CA;WAGdA,QAC5BA,UAAUA,SAAgCA;;AAG1CA,QAWJA,C;EAlBIC,4B;EA0CCC,eAEqCA;AAAxCA,OACEA,UAAUA;AAEZA,OAAOA,WACTA,C;CANKC,4B;EAYDC,MACFA;SACAA;;QAKFA,C;CAGOC,IAAcA,QAAIA,C;EAMjBC,IAGFA;OACgBA,gBAApBA;AAEoBA;QAGFA;AAEGA;AAArBA,kCACFA,C;EAGSC,IAAeA,gBAAqCA,C;EAErDC,IAAUA,eAA4BA,C;;;;EhCtc9BC,IAAgBA;AAAJA,OAgD5BA,SAhD2DA,KAARA,YAgDnDA,eAhDgCA,OAgDhCA,aAhDoEA,C;EAuB5DC,IAAUA,OAAQA,KAARA,WAAcA,C;CAO9BC,MAAwBA,OAAyBA,iBAAzBA,mBAA6BA,C;CAahDC,IAAcA,uBAAkBA,C;AAMpBC;CAAdA,GAAcA,iBAAkBA,C;EAC/BC,IAA2BA,UAAhBA;eAAgBA,QAARA,QAAYA,C;;;;AAqCMC;CAAhCA,MAAiBA,eAAeA,QAAfA,eAAmBA,C;CAEjCC,QACZA,cAAuBA,gBACzBA,C;;;AAuEAC;EAEQA,MAAaA,oBAAmBA,GAFxCA,qCAEgDA,C;;;C+C3IzCC,IAELA,sCADcA,EAIhBA,C;A9CsD0BC;EADlBC,IAAUA,aAAQA,OAAMA,C;CACnBD,MAAaA,2BAAqBA,C;;;ACuO/CE;EArSgBA,IAAYA,qBAuSHA,cAvSwBA,C;EA4IrCC,MAA+BA,OAAMA,YAAWA,C;;EA8JtDC,IAAoBA,UAATA;wBAASA,SAAIA,C;CAGzBC,GACoBA,gBAAVA,eAAUA;IACnBA,OACFA,UAAMA;GAEJA;AAAJA,UACEA;AACAA,QAKJA,CAHaA,CAAXA;AAEAA,QACFA,C;AA0CAC;EAxBgBA,IAAYA,gBAA+BA,SAAVA,QAAoBA,GAAGA,C;EAGhEC,IAAUA,OAAUA,SAAVA,GAAgBA,C;CAOhCC,MAAwBA,OAAEA,UAACA,eAA2BA,C;;;CAgBnDC,iBACCA;UACWA,CAAbA,IAAaA,MAAWA;AACxBA,QAIJA,EAFEA;AACAA,QACFA,C;EAEMC,IAAoBA,UAATA;wBAASA,YAAIA,C;AAcJC;EAAlBA,IAAUA,mBAAcA,C;CAC9BC,MAAwBA,OAAEA,UAACA,eAAyBA,C;AAsBtDC;EAXgBA,IAAYA,gBAA2BA,SAAVA,QAAoBA,GAAGA,C;;CAa/DC,GACHA;UAAOA,SACCA,GADDA,OACCA,QAAWA,SACfA,QAINA;AADEA,QACFA,C;EAEMC,IAAqBA,UAAVA;cAAiBA,C;;;CiDvWpBC,QACZA,UAAUA,0CACZA,C;;;;A/C5C6BC;CAAtBA,IAAcA,iBAAyBA,C;CAMhCC,QACZA,MACFA,C;;;EA6DQC,IAAUA,aAAQA,OAAMA,C;GAEpBC,aAENA;AAAJA,YAEWA,kBADaA;aAGxBA,QACFA,C;EAWKC,MAEHA,mBAAwBA,QAE1BA;AADEA,WAAwBA,oBAC1BA,C;CAEYC,MACLA,iBAAkBA,WAGzBA;AADEA,WAAsBA,OADKA,EACIA,IACjCA,C;CAEKC,MACUA,2BACEA;OACUA,YAAzBA,QAGEA,MAAEA,KAAKA,IAEXA,C;;CCgsCAC,iCAEyDA,IACnDA;AAAJA,WAAmBA,WAmBrBA;AAhBqCA;GAD/BA;AAAJA;GAGIA;AAAJA;GAGIA;AAAJA;GAGIA;AAAJA;GAGIA;AAAJA;AAIAA,QACFA,C;;CAqNOC,cACDA;AAAJA,WAAqBA,gCAA4BA,EAEnDA;AADEA,4DACFA,C;;CAaOC,+DACDA;AAAJA,WAAqBA,6BAA4BA,EAMnDA;GALMA;AAAJA,WACEA,kBAA0DA,MAI9DA;AAFEA,6BACoDA,MACtDA,C;;CAQOC,cAAcA;Q2BzrCDA,+B3ByrCgDA,C;;CAQ7DC,IAGLA,8BAD6BA,kDAE/BA,C;;;CAgMOC,gBACDA;AAAJA,WAAoBA,QAQtBA;MAL+BA;;AAI7BA,WAAOA,eACTA,C;;;CA+nBOC,IAMcA,UAFfA;AAEJA,+CACFA,C;;;;;;;;;;CAqBOC,cAGDA;AAAJA,WAAkBA,wCAEpBA;AADEA,kBAAmBA,WACrBA,C;;CA6BcC,MAAEA,mBAKhBA;AAJEA,YAA4BA,QAI9BA;AAIyBC,wBAPKD,QAG9BA;AAFEA,uCAC0BA,MAAiBA,EAC7CA,C;EAGQC,IAENA,gBADsCA,IACDA,wBACvCA,C;CAGOC,IAGLA,uDApiEcA,SAqiEgCA,QAChDA,C;;CA+LOC,IAELA,sCADwBA,gCAI1BA,C;;CAOOC,IAAcA,2BAAgBA,EAAQA,C;AoB93E7CC;EA7SQC,IAAUA,aAAOA,C;EAITD,IACdA,qBAAWA,UAwSbA,WAvSAA,C;GAEgBE,IAHHA;AAIXA,OAAWA,KAoSbF,4BApSwCE,gBAA3BA,UACbA,C;EAEKC,gBAEaA;AACdA,WAAqBA,QASzBA;AARIA,QAgQKA,SAxPTA,C;CAmBYC,MACVA;6BACgBA;AACdA,WAAqBA,QAWzBA;GATuBA;aAA2BA;AAA9CA,QASJA,MARSA,iDACMA;AACXA,WAAkBA,QAMtBA;GAJuBA;AAEZA,aAFuCA;AAA9CA,QAIJA,MAFIA,iBAEJA,C;EAEGC,kBACUA;AACXA,WAAkBA,WAMpBA;AA0KaA,GA9KyBA;AAAxBA;AACZA,OAAeA,WAGjBA;AADEA,QAAmBA,KACrBA,C;CAEcC,QACZA;0BACgBA;AAEdA,cADqBA,GAAqBA,mBAErCA,8CACMA;AAEXA,cADkBA,GAAeA,sBAQxBA;AACXA,WAAiCA,GAAfA;AACPA;GAEPA;AAAJA,WAC2BA;KAGbA;AACZA,SAEEA,GAAKA;YAEoBA,YAhB/BA,C;EAyDKC,IACHA;IAAIA,OACFA,IAAWA,IAAQA,IAAQA,IAASA;CACpCA;AACAA,OAEJA,C;CAEKC,oBACuBA,MACNA;KACpBA,UAGEA,MAAOA,IAAKA;QACSA,GACnBA,UAAMA;GAEIA,GAEhBA,C;EAEKC,eAECA;AAAJA,WAC6BA;MAEtBA,IAETA,C;EAWKC,OAKHA,OAAkBA,eACpBA,C;EAGkBC,MA6GlBA;IA3GMA,UACFA,IAASA;QAEgBA;CAAKA;CACzBA;CACLA,IAAaA;AAGfA;AACAA,QACFA,C;EAiCIC,IACFA,OAA4BA,kBAC9BA,C;EAOIC,MACFA;WAAoBA,QAOtBA;;AALEA,gBAEWA,SAALA,GAAKA,MAAuBA,QAGpCA;AADEA,QACFA,C;CAEOC,IAAcA,OAAQA,UAAiBA,C;EAwB9CC,GAQiBA;;;AAEfA,QACFA,C;;EArRwCC,IAAcA;AAAJA,eAAWA,kBAAIA,C;EAAzBC,gC;;;EAsShCC,IAAUA,aAAKA,EAAOA,C;EAGdC,IA2BhBA,UA1ByCA,iBAAWA;CA2BlDC,IAAaA;AA3BbD,QACFA,C;;EA8BME,IAAWA,aAAaA,C;CAEzBC,mBACmBA;IAAlBA,MAAuBA,GACzBA,UAAMA;GAEGA;AACXA,aACEA;AACAA,QAMJA,OAJIA;CACAA,IAAaA;AACbA,QAEJA,E;;ElBMiBC,IAAOA,WAA0BA,KAAUA,C;;;EAExDA,MAAmBA,WAA6BA,OAAsBA,C;;;EAEtEA,IAAgBA,WAAeA,KAAqBA,C;;AGtXnCC;CAAdA,IAAcA,kBAAgBA,C;EAE9BC,IACQA,4BACEA;OAMUA,iBAAzBA;GAEeA;AACbA;GAIcA;AAEQA,gBGwkBTA,OHlkBZA;AACHA,6BACFA,C;EAIaC;MAEJA,GAAmBA,YAAoBA,CAAvCA;MACAA;YAAiCA;CADjCA,SACPA,QACFA,C;EAEaC,GAU8CA,gBADnBA,0CAIlCA,4BAIMA,qBAAOA,kBAGUA;;AAC3BA,WACuBA;GAEPA;AACdA,cAAuBA,IAAgBA;MAARA,KGsZpBA;;;AHnZbA,QACFA,C;;EAsCcC,GAAqBA,WAACA,OAAIA,GAAGA,C;CAY7BC,MAAEA,mBAEhBA;AADEA,0CAVOA,aAAYA,KAAMA,aAAYA,GAWvCA,C;EAGQC,IAAYA,OAAOA,iBAAgBA,OAAIA,OAAGA,C;;CC5G3CC,IACHA,oBAASA,WAAoCA,QAAcA,C;GAW3DC,iBACEA;AAAJA,WAAiCA,QAGnCA;AAF+BA,GAeoBA;AAfjDA,QAAOA,SACHA,mDACNA,C;EA6EaC,MACKA;;AAGZA;AAAJA,WAAmBA,WAErBA;AADEA,OAsCFA,WArCAA,C;;GA+CQC,cAF4DA;AAErDA,0BAEQA,C;CAMNC,MAAiBA,WAFiBA,KAELA,C;;;;EAqD9BC,IAAoBA,UAATA;yBAAuBA,C;CAU7CC,2BACUA;AACbA,WAAoBA,QAyBtBA;GAxBMA;GAAqBA;AAAzBA,YACuBA;;AACrBA,aACEA;AACsBA;IAhFwCA,kBAjHrBC,eAuMnCD;;AAAeA,QACEA;AAAjBA,uBACkBA;AAlB5BA,0BAKoBA;AAgBdA,eAEFA;AACAA,QAMNA,GAFEA,IADAA;AAEAA,QACFA,C;;EG7PSE,IAAeA,WAAUA,C;;;;EAwXzBC,IAAeA,WAAQA,C;;;EAwQxBC,IAAUA,eAAgCA,C;;;CA2BlCC,MACdA,UAAmCA;AACnCA,WACFA,C;CAEcC,QACZA,UAAmCA;MAErCA,C;;;;CAkBcC,QACZA,UAAmCA;MAErCA,C;;;;EA4BSC,IAAeA,WAAWA,C;;;EAoC1BC,IAAeA,WAAWA,C;;;EAoC1BC,IAAeA,WAASA,C;CAEpBC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAoCSC,IAAeA,WAASA,C;CAEpBC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAoCSC,IAAeA,WAAQA,C;CAEnBC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAuCSC,IAAeA,WAAUA,C;CAErBC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAoCSC,IAAeA,WAAUA,C;CAErBC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAqCSC,IAAeA,WAAgBA,C;EAEhCC,IAAUA,eAAgCA,C;CAErCC,MACXA,UAAmCA;AACnCA,WACFA,C;;;EAgDSC,IAAeA,WAASA,C;EAEzBC,IAAUA,eAAgCA,C;CAErCC,MACXA,UAAmCA;AACnCA,WACFA,C;;;;;;;ARvmBiBC;CAxYbA,IAEFA,kCACFA,C;CAKIC,IAA8BA,OAwYjBA,MA4lFC1c,AAjmCP0G,qBAn4DgEgW,C;;AAm7BtDC;CAAdA,IAAcA,eAAaA,QAAWA,C;;CAiTtCC,IAAcA,aAAQA,C;;;EW/xCzBC,oBACUA;CACRA;AACCA,MACHA,C;;;EAMOC,IAAkBA;MAEvBA;MAG4DA;MACxDA;8CACLA,C;;;EASHC,GACEA,WACFA,C;;;EAOAC,GACEA,WACFA,C;;;EAkCFjW,+BAQIA,gBACIA,KAPiBA;KASrBA,UAAUA,iCAEdA,C;;EAXIkW,GAGEA,WACFA,C;;;EAmECC,MAA+BA;WAEFA;KAC3BA,GACHA;QAGAA;oBAFeA,KAEfA;KAMAA,QAEJA,C;EAEKC,gBAGDA;OADEA,GACFA;KAEAA,SAEJA,C;AAsEgBC;EAAZA,IAAYA,qBAAgDA,C;;;EAEvCA,MAGvBA,YZ21CFA,cY11CCA,C;;;EA0C0CC,UACvBA,OACnBA,C;;AG7SsBC;CAAhBA,IAAcA,eAAEA,GAAMA,C;;;;EFhBxBC,MAAsDA;AAEzDA;MACKA;KAyRmBA,WAzREA,UAAUA;WAMRA;AAuB5BA,SApBFA,C;EAZKC,2B;;EA0BAC,gBACEA;KAiQmBA,WAjQEA,UAAUA;AACpCA,OACFA,C;;EAqHKC,IAEIA,QApCiBA,WAmCLA,QAErBA;AADEA,WAxCiBA,EAAOA,UAgBiBA,IAwBkBA,GAC7DA,C;EAEYC,gBAEeA,aASkBA,SAtD1BA,EAAOA;AAiDNA,YACPA,YACuCA;KAEvCA;IAMFA;AAAPA,QAeJA,UAdIA,SAjB2CA,kBAzCrBA,UA6DpBA,UAAMA;AAMRA,UAAMA,wGA1BqCA,QA+B/CA,C;;EA+GKC,QAEHA,OAA0BA;IAC1BA,IACFA,C;EAEUC,mBCyRiBA;QDvREA,IAEbA,wBACAA,SACVA,UAAoBA,4BAQtBA,WAIYA;AArDhBA;;AAyDEA,QAxOFA;AAyOEA,QACFA,C;EAxBUC,+B;EA8BAC,QAjEVA,eAAyBA,GAAzBA;AAmEEA,QA5OFA;AA6OEA,QACFA,C;EAuEKC,QAEHA,OAAwBA;IACxBA,IACFA,C;EASKC,QAGHA,IACYA,UAAkCA;IAC9CA,IAA4BA,EAC9BA,C;EAEKC,kBA1IDA;AA4IFA,UACWA,IAAgBA;CACzBA,UAEAA,iBArCKA;KAzGgBA,YAoJjBA;AACAA,MAURA,CARMA,QCysCJA,gBDrsCEA,GAAwBA,eAI5BA,C;EAEKC,IACHA;;WAAuBA,MA+BzBA;GAnMIA;AAqKFA,YACuCA;CACrCA;AACAA,eAEiCA;AAC/BA,2BAEgBA;CAETA,WAGTA,iBAvEKA;KAzGgBA,YAsLjBA;AACAA,MAURA,CARMA,QAGUA,CAAZA;ACoqCFA,gBDnqCEA,GAAwBA,eAI5BA,C;EAEiBC,aAIYA;AAEpBA,IADPA;AACAA,iBACFA,C;EAEiBC,IACEA;AAEjBA,mCACkCA;CACxBA,KAIVA,QACFA,C;EASKC,IAAmCA;;IAOpCA,KAAYA,YAQAA,0BAfwBA;AAmBpCA;AAKAA,KAAkBA,iBAItBA,C;EAmFKC,IAG0BA;CAlO7BA;CACAA;AAmOAA,SACFA,C;EAEKC,MAG0BA;AA/N7BA,QAAoBA;AAiOpBA,YACFA,C;EAGKC,2BAaOA,MACRA;AACAA,MAOJA,CADEA,UACFA,C;EAqCKC;ACs8BHA,mBDp8BAA,GAAwBA,iBAG1BA,C;EAMKC,IAEOA,kBAERA;AACAA,MAIJA,CADEA,UACFA,C;EAEKC;ACg7BHA,mBD56BAA,GAAwBA,mBAG1BA,C;;;EA5R4BC,GACtBA,gBAA4BA,GAC7BA,C;;;EAgCuBC,GACtBA,kBAA4BA,GAC7BA,C;;;EAuCWC,oBAEVA;;IAEEA,KAAyBA,uBAJTA;AAKhBA;AACAA,UAEHA,C;;;EAAWA,MAEVA,cACDA,C;;;EAMiBA,GAChBA,cAAeA,OAAGA,GACnBA,C;;;EAuD4BC,GAC7BA,WAAqBA,OAAQA,GAC9BA,C;;;EA0GuBC,GACtBA,cAAmBA,GACpBA,C;;;EAsBuBC,GACtBA,cAAeA,OAAOA,GACvBA,C;;;EA8DGC,GAAkCA;SAQbA;AAnmBlBA,GA9EUC,EAAOA,OAqBcA,aAopBAD;AAS9BA;GACIA,OAAsBA,EA1Z3BA,EA0ZyCA;;AAAxCA,MACEA,MAAuBA,EA3Z1BA;KA6Z8BA,CAA3BA;CAEFA;AACAA,MAkBJA,wBAthBmBA,iBACFA;CAugBXA,IApaHA;CAqaGA,MAGFA,MAUJA,2BAJyBA;;AACEA,CAAvBA,QAA2CA;CAC3CA,MAEJA,C;;;EAH+CE,IAAOA,aAAcA,C;;;EAKpEC,GAA2BA;;GAEAA;AA5qBxBA,CA4qBCA,IA/sBSC,EAAOA,OASmBA,OAssBSD,aAFrBA;AAGvBA;;AAC2BA,CAA3BA;CACAA,MAEJA,C;;;EAEAE,GAAmBA;SAESA,EA/bzBA;;AAgcKA,eACAA,EA9sBYC,UA+sBSD,CAAvBA,IAAuBA;CACvBA,gBANaA;AAQfA;KACcA,EAtcfA;;IAsc6BA,QAC1BA;KAE2BA,CAA3BA;CAEFA,MAEJA,C;;;;;;ECugByBE,GACvBA,SAAoBA,OAAOA,GAClCA,C;;;EAgMIC,IAAqBA;QAERA,MAAgBA,IAC5BA;AACAA,MAMNA,CAJIA,gCANsBA;AAOtBA;AA4DFA,UAzDFA,C;EAEKC,MAAyCA;QAE5BA,MAAgBA,IAC5BA;AACAA,MAMNA,CAJIA,kCAN0CA;AAO1CA;AAgDFA,UA7CFA,C;EAVKC,8B;EAqCWC,IACdA,OAAOA,gBACTA,C;EAEiBC,MACfA,OAAOA,kBACTA,C;EAoBEC,IACgDA,IAA7BA,MAAUA,GAAYA,aAE3CA;AADEA,OAAOA,sBACTA,C;EAHEC,0B;EAMAC,MACgDA,IAA7BA,MAAUA,GAAYA,cAE3CA;AADEA,OAAOA,wBACTA,C;EAHEC,kC;EAKAC,QACgDA,IAA7BA,MAAUA,GAAYA,gBAE3CA;AADEA,OAAOA,0BACTA,C;EAHEC,0C;EAS4BC,IAE1BA,QAACA,C;EAFyBC,kC;AA7CVC;EAAXA,GAAMA,WAAKA,UAAWA,GAAEA,C;;AAIVC;EAAdA,IAASA,WAAKA,UAAgBA,KAAOA,C;EAArCC,2B;;EK3fOC,IA8XhBA,wBA7X0CA;CA8XxC9X,OAAaA;AA9Xb8X,QACFA,C;EAEQC,IAAUA,aAAOA,C;CAIpBC,MACHA;0BACgBA;AACdA,WAAqBA,QAWzBA;AATIA,iBASJA,MAFWA;AAAPA,QAEJA,E;EAEKC,cACQA;AACXA,WAAkBA,QAGpBA;AADEA,OAAOA,SAAiBA,CAiObA,iBAhObA,C;CA4CKC,MACHA;wCAGSA,GAFOA;AAEdA,qBADqBA,GAAqBA,WAS9CA,MAPSA,2CAGEA,GAFIA;AAEXA,qBADkBA,GAAeA,WAKrCA,MAFIA,OAAOA,SAEXA,C;EAEKC,wBACQA;AACXA,WAAiCA,GAAfA;AACPA;GAEPA;AAAJA,WAC4BA;KAGdA,gBACIA,QAKpBA;OAJ8BA,SAG5BA,QACFA,C;EAEKC,MACHA;mBACEA,OAAOA,YAAsBA,KAMjCA;KAFWA;AAAPA,QAEJA,E;EAEKC,4BACQA;AACXA,WAAkBA,QAYpBA;AAXaA;GAEkBA;AAAjBA;AACZA,OAAeA,QAQjBA;eAFcA;;AAAZA;AACAA,QACFA,C;EAiCKC,oBAEeA,QAGpBA;AAFiCA;AAC/BA,QACFA,C;EAEKC,MACHA;WAAmBA,QAMrBA;;AAJEA,WAAkBA,QAIpBA;AAHEA;;AAEAA,QACFA,C;EAEKC,OAIHA,OAA4BA,eAC9BA,C;EAGmBC,IA2LnBA;IAzLMA,UACFA,IAASA;QAEiBA;CAAKA;CAC1BA;CACLA,IAAaA;AAGfA;AACAA,QACFA,C;EAGKC,kBACiCA,MACJA;AAChCA,YAEEA;MAESA;AAEXA,YAEEA;MAEKA;AAGPA,MACFA,C;EAcIC,IAKFA,OAAkCA,kBACpCA,C;EAoBIC,MACFA;WAAoBA,QAOtBA;;AALEA,gBAEWA,SAALA,GAAKA,MAAqBA,QAGlCA;AADEA,QACFA,C;;;EAyHMC,IAAoBA,UAATA;wBAASA,SAAIA,C;CAEzBC,iBACQA,MACWA;IAAlBA,MAAuBA,GACzBA,UAAUA;KACLA,aACLA;AACAA,QAMJA,OAJIA,IAAgBA;CAChBA,IAAaA;AACbA,QAEJA,E;AtB/qCAC;E+C9RgBA,IAAYA,kB/CgSHA,W+ChSwBA,C;CAE/CC,MAAwBA,OAAIA,WAAOA,C;EA2Q7BC,MAAaA,OjDxIrBzP,WiDwI0ByP,QjDxI1BzP,8BiDwI8CyP,C;EAyDzCC,UAGDA;AACSA,SAAiCA;AAC5CA,gBACMA,aAERA,C;CA0KOC,IAAcA,OAWJA,eAXsBA,C;;;;CtBhgBlCC,MACHA;WAAcA,cACUA,iBADxBA;AACkBA;AAAhBA,eAAsBA,UAE1BA,C;EAoEQC,IAAUA,OAAKA,KAALA,WAAWA,C;CAItBC,IAAcA,cAAiBA,C;;;EAaxBC;KACHA,OACHA;CAEFA;MACAA;Ad4fWA;CA2BfjW;AA3BeiW,WczfZA,C;;;CA4ISC,QACZA,UAAMA,sCACRA,C;AAyD+BC;CAAnBA,MAAmBA,qBAASA,C;CAC1BC,QACZA,gBACFA,C;EAmBQC,IAAUA,OAAKA,SAALA,GAAWA,C;CAGtBC,IAAcA,mBAAeA,C;;;;CyBzS/BC,MACHA;qBAA4BA,SAA5BA,QACFA,C;CAyEOC,IAAcA,OAqKJA,kBArKqBA,C;CAuC/BC,MACuBA;AACvBA,UAAqBA,QAiB5BA;G5B0yCiBA;A4B1zCMA,e5B0zCGA;A4BzzCnBA,UAAqBA,QAe5BA;A5B0yC0BA;IQ3jCNA;MR2jCHA;AX72BAA,eW62BSA,gB4BnzCbA;;M5BmzCIA;AX72BAA,kBW62BSA,gB4B7yCbA;IAEXA,6BACFA,C;CAsFEC,MAAqBA;AACVA;AACSA;AAEpBA,QAAOA,QACLA,U5B+sCsBA,GAATA;A4B/sCOA,qB5B+sCEA,S4B1sC1BA,CAJIA,IAEFA,UAAiBA,wBAEnBA,C;;;;;;CxBlJSC,kBAwHeA;AAvHtBA,WACEA,OAAOA,aAQXA;KAPSA,sBACLA,WAMJA;KAHyCA,GAAlBA;AACnBA,yCAEJA,E;EAEQC,IAAUA,WA4GMA,aHzNNA,KG6GoCA,SAAeA,OAAMA,C;EAKtDC,IACnBA;OAsGsBA,UHoFxBtK,MAxSasK;AG8GMA,kBH9GNA,OAwSbtK,WGxLAsK,CADEA,OA8KFA,cA7KAA,C;CAOSC,QACPA;IA4FsBA,SA3FpBA;KACSA,iBACOA;;GAEDA;AACfA,wCAIAA,OAAUA,QAEdA,C;EAkBKC,MACqBA,OA6DFA,SA7DLA,qBAGnBA;AADEA,gDAAoBA,KACtBA,C;CA6BKC,MACHA;AAAwBA,IA4BFA,SA5BLA,iBAsBnBA;AArBsBA;AACpBA,WAAyBA,QAAzBA,QACeA;GAIYA,EACNA;AAAnBA,0BACUA,QAAoCA;CAC/BA,QAIfA;QAIqBA,GACnBA,UAAMA,SAGZA,C;EAgBaC,aAEEA;AACbA,WACqBA,MAAZA,uBAAoDA;AAE7DA,QACFA,C;EAEqBC,GACnBA;IApBsBA,SAoBLA,UA0BnBA;AAtBgCA;AACVA;AACpBA,WAAyBA,YAAzBA,QACeA;AACbA,QAAkBA,UAMpBA,SACEA;KAEAA;CAKFA,IAAYA;AAGZA,QAFAA,IAGFA,C;EAEAC,IACEA;6CAAkBA,MAAiBA,WAGrCA;AAFeA,WAAoCA;AACjDA,WAAoBA,OACtBA,C;;EAuBQC,IAAkBA,UAARA;cAAcA,C;CAEzBC,MAESA,UADPA;AAAPA,QA9EsBA,iBA+EHA,OACbA,MAAQA,GAChBA,C;EAKqBC,cACZA;IAvFeA,UAwFRA;AAAKA,eACbA;AQ2gBRrQ,cAEyBA,SR/gBvBqQ,QAGFA,C;;EA0GwBC,GAAGA;;AAEvBA,QAGHA,WADCA,WACDA,C;;;EAC+BC,GAAGA;;AAE/BA,QAGHA,WADCA,WACDA,C;;;EClXMC,cAAoDA;AACxCA,gBAAmCA;AAMfA;AAIrCA,4CAE+BA;AAAlBA;AAGXA,WACMA;AAAJA,U5BqBOA,OAAcA;AACdA,OAAcA;AACRA;A4BlBXA,UAdaA;mBAsBRA;AAATA,oBACcA;AACZA,SACkBA;AAChBA,SAA0BA;AAeRA,SAdbA,WAELA,wBhBifUA,EAAUA;WgB5gBtBA;AA6BmCA;IAGjCA;AAEAA,UAA4BA,SAKVA,IAHpBA,uBhBqeNA;AAOEA;AgB1egBA;AhBqYEzZ;;AgBlYZyZ,UAGJA,UAAMA,iCAERA,YACeA;GhB6dWA;AgB5dxBA,QAIEA;KAIgCA;AAChCA,SAEEA,UAAMA;KAERA,MACSA;ChB6ebzX,KgB5eMyX,KAGGA,GhBsemCA;AgBte1CA,6CAoBJA,CAjBeA;AACbA,QACEA;KAIgBA;AAChBA,SAEEA,UAAMA;AAERA,OAEWA,kCAGbA,SACFA,C;;;;;;CwB3COC,IAAcA,eAAKA,C;;CA0DnBC,IACKA,mBAAuBA;AACjCA,kBACFA,C;EAMQC,QACQA;AACdA,gCACWA,aAILA;AACAA;QAEqBA;AACrBA;QAEqBA;AACrBA;QAEqBA;AACrBA;QAEqBA;AACrBA;QAEsBA;AACtBA;QAEAA,OAAJA,uBxCkYJA;AwChYMA,OAA4BA;;AAEpBA,OAGZA,WAAoBA,WAGtBA;AAFEA,OAA8BA;GxCyZcA;AwCxZ5CA,6BACFA,C;;ECvCQC,QA6YyBA,aA1YHA,UA0YqBA;AA1Y5BA,QAEvBA,C;GAsBgBC,GACQA,QAAaA,EAErCA,C;;;;CxB9IUC,IAESA,yBADSA;AAG1BA,SAAiBA,wBAgBnBA;AAb4CA;;AAuC5CA;AAtCoBA,mBAShBA;AAEFA,sBhB49BgBA,aAFLA,QgB19B+BA,OAC5CA,C;;EAiCKC,iBACHA,MAAQA;;GACAA;;CACAA;QACVA,C;EAWKC,MACHA;sBAqOQA;GA/NNA;GAAQA;;;GACAA;;GACAA;;CACAA;;AACRA,QAMJA,MAHIA;AACAA,QAEJA,E;EASIC,QACFA;AAAqCA,4CAGnCA;OA6BIA,MADgCA,YAzBtCA,SACiBA;AAEfA,cACMA;AAAJA,QAAoCA;CAC5BA;YA4LXA;AA3LQA,kBACDA,OAAmCA;AAGLA;AAChBA,UADCA,0BAGdA,kBACDA,OAAmCA;AAEvCA,YAGAA,eACMA;;AAAJA,QAAwCA;CAChCA;;CACAA;sBAGJA;AAAJA,UAAwCA;GAChCA;;GACAA;;CACAA;gBAIdA,QACFA,C;;CAiHOC,IAGQA,UAAoBA;AACjCA,WACEA,QAIJA;AADEA,OFqHFA,YAISA,eExHTA,C;;EA6MOC,UAEgBA,8BAA2CA;AAEhEA,SAAkBA,QAsBpBA;AAbYA;AAMMA;GACCA;AAAjBA,cACmBA;CACjBA;AACAA,UAAMA,WAAkDA,KAE1DA,QACFA,C;EAEOC,UAGLA;aACmBA;AACLA;AAEAA,KADKA,UAASA,QAK9BA;AAHIA,sBAGJA,CADEA,OAAOA,aACTA,C;EAoBOC,UjBOPA,oCiBJcA,MACDA,0BAGAA;iBAeDA,GAbVA,UAEEA,QACuBA;AAMEA;AAFCA;AACxBA,UjBxGcta;AiB0GZsa,SAAcA;AACdA,WACKA,cACLA,KACEA,0BjB9GUta;AiBmHNsa;QjBnHMta,aiByHNsa;AACAA;QjB1HMta;CAgIlBA;AiBAYsa,YAIJA;CACAA;AACAA,QA2CVA,CAzEmBA,IAiCbA,SAAcA;AACDA;GAANA,IAIIA;GAANA;AACPA,UAEEA,qBAQIA;MAPWA;GAANA;AACPA,WACYA;;AACVA,MAJGA,IAQPA,UACEA,gBjB1JYta,WiB2JWsa;KAGHA;AAEtBA,SAAoBA;aAIxBA,WAEEA,KjBtKgBta;MiByKdsa;CACAA;AACAA,QAMNA,EAHEA;CACAA;GjBlD4CA;AiBmD5CA,6BACFA,C;AyBtlBqBC;CAAdA,IAAcA,gBAAeA,C;AlDk9B3BC;GQ11BOA,GAAcA,gCAAkCA,C;;CVnGzDC,cACDA;AAAJA,WACEA,2BAAkCA,OAGtCA;AADEA,wBACFA,C;;;GAoFWC,GAAcA,+BAAoBA,YAAwBA,C;GAC1DC,GAAqBA,QAAEA,C;CAE3BC,IAKaA,cAJEA,8BAEGA;AAKFA,KAFhBA,GAAWA,QAKlBA;AADEA,sBAD0BA,KAAaA,QAEzCA,C;;;GAWSC,GAAgBA,WAAMA,EAAYA,C;GA4IhCC,GAAcA,kBAAYA,C;GAC1BC,eAGSA,SACFA;AAChBA,WAEgDA;KAGzCA,WAC0CA;KAC1CA,OACoCA,0CAAQA;KAKXA;AAExCA,QACFA,C;;GAkBQC,GAAgBA,WAAMA,EAAYA,C;GA8D/BC,GAAcA,kBAAYA,C;GAC1BC,UA/DmBA,KAmE1BA,oCAMJA;UAJMA;AAAJA,SACEA,8BAGJA;AADEA,sCACFA,C;;;CAoCOC,IAAcA,oCAAyBA,EAAQA,C;;CAc/CC,IAELA,iCADmBA,EAIrBA,C;;CAoBOC,IAAcA,wBAAaA,EAAQA,C;;CAcnCC,cACDA;AAAJA,WACEA,iDAIJA;AAFEA,mDACaA,WACfA,C;;CAOOC,IAAcA,qBAAeA,C;GAEpBC,GAAcA,WAAIA,C;;;CAO3BC,IAAcA,sBAAgBA,C;GAErBC,GAAcA,WAAIA,C;;;CKrkB3BC,IAGLA,wBAFuBA,EAGzBA,C;;CAkDOC,oCAEkBA,0DAIJA,SACGA;AACtBA,uBACEA,qBAAqDA;KANnDA;AAMFA,KAIIA;AAAJA,gBACaA,WACAA;AAEXA,eAgENA,CA3DIA,8BACaA;AACXA,WACEA,aACEA;AAEUA;AAzBdA,UA2BOA,WACLA;AACYA;AA7BlBA,MAsEWA;GAhCYA;AACrBA,iBACaA;AACXA,mBAKWA;AAHTA,OAQJA,UAIEA,WACQA;;AAxDcA;AAYaA,aA8C5BA,WACGA;;AA3DYA,UA+DZA;AACFA;AApD2BA,qBAwDEA;AAAPA;AApERA;KAsExBA,WAFeA,oBAE6BA,gBADHA,cAS7CA,MAFIA,iCAF0BA,aAI9BA,C;AyBWyBC;EAAbA,MAAaA,sCAAwBA,C;EAiFrCC,MAA+BA,O/BoK3CA,gB+BpK2CA,U/BoK3CA,a+BpKuEA,C;EAoQ/DC,IAGiBA;AACvBA,QAAOA,OACLA;AAEFA,QACFA,C;EAgJMC,IACaA;AACZA,UAAeA,UAA2BA;AACjCA;AACVA,SAAeA,UAA2BA;AAC9CA,QACFA,C;CAyHEC,MAAqBA;AACVA;AACSA;AAEpBA,QAAOA,QACLA,SAAoBA,OAAgBA,OAKxCA,CAJIA,IAEFA,UAAiBA,wBAEnBA,C;CAgBOC,IAAcA,yBAAqCA,C;ApB1uBhCC;EAAlBA,IAAYA,uCAAcA,C;C2C/C3BC,IAAcA,YAAMA,C;A3C8BIC;CAHjBC,MAAoBA,eAAsBA,C;EAGhDD,IAAYA,iBAA+BA,C;CAG5CE,IAAcA,sBRoaLA,cQpaiDA,C;EAQxDC,IAAeA,iBAAgCA,C;;;C4ChBjDC,IAAcA,QAAWA,C;;;E5C8jBxBC,IAAUA,aAAUA,OAAMA,C;CA4B3BC,cAAuCA;AAAzBA,6BAAmCA,C;;EsB0pBrBC,MACnBA;AACZA,WACEA,UACEA,OAnEMA,UAC8BA,YAkEQA,gBAEzCA,UACKA;AACEA;MAC4BA;AAAxCA,OAxEQA,UAC8BA,cAD9BA,UAC8BA,eA0ExCA,QACDA,C;;;EAaDC,MACEA,UAAMA,mCAA8CA,MACtDA,C;;;EAiEAC,MACEA,UAAMA,mCAA8CA,MACtDA,C;;;EAGAC,MACEA;SACEA;AAEcA,OAAMA;AACtBA,gBACEA;AAEFA,QACFA,C;;;GAmHgBC;aAg2CZA;GH97EczX;GG+0EK0X;;AAmHvBD;GA3BIC;IHv6Ec1X;AG26ElB0X;GACIA;AAAJA,WtB9tEeC;IsB0vENF;GACLA;AAAJA;GAIIA;AAAJA;AA/2CgBA;sC;EAMHG;UAAsBA,SAANA;AAAhBA;;a;GAGgBC;aAqKXA;AApKwBA;AADbA;ARxoC/BA,GQwoC+BA,4B;GA+IpBC,GAAYA,aAASA,C;GAErBC,cACMA;AACfA,WAAkBA,QAKpBA;AAJMA,gBACFA,OAAOA,WAAuBA,UAGlCA;AADEA,QACFA,C;GAEQC,IACUA,UAATA;AAAPA,wBAA6BA,KAC/BA,C;GASWC,cAASA;mBAAYA,C;GAErBC,aAAYA;mBAAeA,C;EA2NlCC,4BAkBcA,mBAOEA,MAMJA,MAu0BSA;AA/zBhBA,iBHhhDWnY;GG2hDOmY;AACvBA,kBH5hDgBA;KGu/CdA;AAsCGA,oBACeA;AAiB8BA;AAX1CA;AAWVA,OAAYA,kBAHMA,GAIpBA,C;GA+xBSC,GAAgBA,mBAAaA,C;GAI7BC,GAAYA,mBAAcA,C;GAE1BC,GAAeA,mBAAiBA,C;CAqGlCC,IAAcA,iBAAKA,C;CA0BZC,MACZA;AADcA,mBAahBA;AAZEA,SAA4BA,QAY9BA;AAXeA,YACOA,IAAhBA,aACsBA,IAzIHA,mBA0IDA,IAnuCDA,aAouCjBA,cAAcA,SACdA,cAAcA,SACAA,IAAdA,kBAzIeA;;AA0IGA,sBAjtCGA;AAktCNA,oBAzIGA;;AA0IGA,sBAntCAA;AAotCHA,mBADNA,UADNA,UADGA,UADJA;KADAA;KADAA;KADIA;KADIA;KADNA;KADXA;QAWFA,C;;;;;EAzlBEC,gBACEA;MAAaA;CACbA;AA3mCUA,aAAgBA,MAA6BA;aH/xBvCzY,cnByOlBvD;AsBsjBYgc,WAAgBA,MAA6BA,OAinCzDA,C;;;EAEwBC,MACtBA;+BACEA;KAGAA,oBACEA,GADFA,OACEA,OADFA,QAIHA,C;;;GAqrCKC,gCACCA;eAOUA;GADAA;AACAA;GACDA;AAChBA,SACeA,gBACwBA;AAIZA,SACCA;AAixC9BC,GAjyCSD,0BAcKA,YACyBA,eAfrCA,QACFA,C;CAqXOE,cAC0CA;AAA7CA,WAACA,sBAA0DA,C;;EAiO/DC,gBACIA;AAAMA;AAANA,QAAkDA,C;;;EAMtDC,QACEA;OAA0BA,YAA1BA,QACaA,uBAGfA,C;;;EAQAC,QACEA;AAAaA,wBAAyBA,gBAAtCA,wBAGFA,C;;;GA0NSC,GAAgBA,eAAcA,C;GAE9BC,GAAWA,qBAAkBA,SAAiBA,EAAUA,C;GACxDC,GAAYA,kBAAcA,EAAcA,C;GACxCC,GAAeA,kBAAiBA,EAAKA,OAAMA,C;GAsBzCC,GACeA,UAAjBA;AAAPA,mBAAOA,cACTA,C;EAEOC,mBACDA;AAAJA,QAAqBA,QAMvBA;AA9BoBA;AAAmBA,wBAyBxBA,YAKfA;AA7BwCA,6BAyBxBA,aAIhBA;AA/BuCA,wBA4BxBA,YAGfA;AA5B0CA,+BA0BxBA,eAElBA;AADEA,OAAOA,cACTA,C;GAIWC,GACLA,UADkBA,SAAaA;AAAdA,qBACjBA,YACEA,C;GACGC,IACUA,UAAjBA;qBAAiBA,SAA2BA,MAAgBA,C;GACxDC,IACNA;AAAIA,WAASA,OAAWA,KAAMA,WAAeA,MAAgBA,SAI/DA;GA5CoBA;AAAmBA,4BAyCxBA,SAGfA;AA3CwCA,6BAyCxBA,UAEhBA;AADEA,QACFA,C;GAEWC,IAAQA,wBAAeA,OAAYA,GAAYA,C;GAC/CC,IACLA,UADeA,SAAcA;AAAfA,qBACdA,YACEA,C;GACGC,GAC0BA,UAAhCA,SAAiBA;AAAlBA,UAAuBA,uBAAiDA,C;GAyCpDC,GACjBA;ARhiIPA,IQ+7HqBA,KAAcA,GAiGlBA,QAAOA,GAExBA;AADEA,gBAA+CA,KAAiBA,cAClEA,C;EAwBIC,MAecA,sDAKLA,SACEA,WAAeA,aAOdA,QAAeA;GAQlBA;AAAJA,OACEA,eAA2BA;QH9jIlB9Z;GGwkIT8Z;WAAeA,IAAYA;AAClCA,kBHzkIgBA;KGoiIdA;AAsCGA,oBACQA;AAKAA;GAQJA;AACEA,KADoBA;AAIjCA,OAAYA,mBACdA,C;EA4PQC,IAAoCA,UAAxBA;iCAAmBA,KAAaA,C;CAEtCC,MAAEA,mBAGhBA;AAFEA,YAA4BA,QAE9BA;AADEA,OAAaA,cAAUA,KAAQA,MACjCA,C;CAaOC,IAAcA,aAAIA,C;;;;;EEjzIhBC,IAAOA,eAAMA,C;;CAoIfC,IAAcA,gBAA+BA,C;;CAsiB7CC,IAAcA,gBAA+BA,C;;;;;EA6xD3CC,IAAOA,eAAMA,C;;EA8vBDC,IAAOA,eAAMA,C;;;EAyT1BC,IAAOA,eAAMA,C;;;;;EA+nJZC,IAAOA,eAAMA,C;;EAoFbC,IAAOA,eAAMA,C;;EAiUbC,IAAOA,eAAMA,C;;;CA0+CfC,IAAcA,gBAA+BA,C;;EAspB5CC,IAAUA,eAA2BA,C;CAE1BC,aAC8CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCUC,MAAwBA,QAAIA,GAAOA,C;;;;;CAYtCC,aA2ISA;CAAKA;GAgBNA;CAAIA;AA1JjBA,4CAAiCA,uBAASA,eAC5CA,C;CAEcC,MACVA;AADYA,mBAKUA;AAJhBA,gBAsIMA;CAAKA;GAALA;CAAKA;AArIZA,aAqJMA;CAAIA;GAAJA;CAAIA;AApJXA,UACWA;AAAfA,gBAAeA,UACfA,aAAgBA,aAFZA,UADCA,UADLA;QAIsBA,C;EAElBC,aAgIQA;CAAKA;GAgBNA;AAhJYA,CAgJRA;AAhJCA,gBAAuBA,YAAOA,WAAOA,C;GAsHhDC,IAAQA,eAAMA,C;EAEfC,IAAUA;CAAOA;AAAPA,QAAQA,C;GA8BjBC,IAAOA,cAAMA,C;GAEdC,IAASA;CAAMA;AAANA,QAAOA,C;;;EAiChBC,IAAUA,eAA2BA,C;CAE7BC,aACiDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCOC,MAAwBA,QAAIA,GAAOA,C;;;;;EAiClCC,IAAOA,eAAMA,C;AAsgvBrB7b;GAzzsBwBA,IAAcA,kBAA8BA,C;EA8JpD8b,IAAWA,OAqluB3BA,WArluBwDA,C;CA0OjDC,IAAcA,kBAASA,C;CAwXbC,UAEfA;eAEQA;AAAJA,YA48xBiDC;AAyBvDD;AA6KEE,OAxFQD;AAwFRE,OAVQF;;;GAnoyBFD;AAAJA,aAC4DA;AAg/0BhEA;;UA9+0B8CA;CAArBA;SAQnBA;AACsCA,GAAdA;;AACEA;GAITA;AAAsCA;GACpCA;CAAOA;;AACRA,CAApBA,GA47HqBA,wBAx7HnBA;IAAgBA;AAEwBA,mBAKzBA;AADVA,gBAC0BA;CAAIA;AAQLA,UANDA;mBAAgBA;AAC3BA,CAApBA,GAAgBA,qBAkChBI,sEAA6DA,WA7BlDJ,CAAXA;GAGWA;AAAWA;AAIGA,GAAdA;QACWA,qBACpBA,yBAGkBA,GAAgBA,MACpCA;AAGWA;AAEbA;AAEAA,QACFA,C;EApEiBK,kC;EAiHbC,MACGA,YACPA,C;EAuBKC;AAMDA,cAAOA,sBAGXA,C;EAEYD,IAAaA,kBAAUA,C;;AAhmCIE;EAATA,IAAOA,eAAYA,C;;;;EA8hG5CC,UAKHA,WACEA,gBAEJA,C;CARKC,mC;EA0BAC,UAAiBA,wCACZA,C;;;EAsTFC,IAAUA,eAA2BA,C;CAE/BC,aACmDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCKC,MAAwBA,QAAIA,GAAOA,C;;;;;EA2N/BC,IAAOA,eAAMA,C;;EAmUbC,IAAOA,eAAMA,C;;;EA+1BdC,IAAOA,eAAMA,C;;EAkEbC,IAAUA,eAA2BA,C;CAE/BC,aACmDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCKC,MAAwBA,QAAIA,GAAOA,C;;;;;;EA4lBnCC,UAAIA,qBACgDA,C;;;EA7T7CC,WAAyBA;CAAYA;AAAhBA,QAAiBA,C;;;EAmJ9BC,oBACHA,MAAIA;CAAMA;AACnBA;AAQAA;AAEJA;MACEA;AADFA,KACEA;KAEAA,OAEHA,C;;;;;;CAqrEIC,IAAcA,gBAA+BA,C;;EA4hB3CC,IAAOA,eAAMA,C;AAo6BlBC;CAUUA,MAAmBA,qBAAaA,C;CAEzCC;KAEHA,KAE2BA;UAAQA,MAIrCA;AAHIA,gBACIA,kBAERA,C;EAEqBC,IACEA;AACrBA,SAAQA;AACRA,QACFA,C;EAQQC,IAAUA,aAAyBA,C;CAM7BC,QACZA,UAAUA,qBACZA,C;;AAlBoBC;EAAVA,MAAUA,qBAAWA,C;;AAkF3BC;CAUUA,MAAmBA,qBAAaA,C;CAEzCC;KAEHA,KAE2BA;UAAQA,MAIrCA;AAHIA,gBACIA,kBAERA,C;EAEqBC,IACEA;AACrBA,SAAQA;AACRA,QACFA,C;EAQQC,IAAUA,aAAyBA,C;CAM7BC,QACZA,UAAUA,qBACZA,C;;AAlBoBC;EAAVA,MAAUA,qBAAWA,C;;;;EA6FvBC,IAAUA,eAA2BA,C;CAE3BC,aAC+CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCSC,MAAwBA,QAAIA,GAAOA,C;;;;;EA63BnCC,cAwISA,MAAMA,WAAWA;AAtIjCA,SAAYA,UAAUA;AACtBA,OAAWA,UAAUA;;CACwBA;AAA7CA,QACFA,C;CAMKC,MACHA;wBAE2BA;MAAOA;AAAhCA,gBA0HoBA,WAAWA,YAxH7BA,YAC+BA;CAAUA;AAAvCA,iBAGJA,MAKJA,CAHEA,oBACEA,GADFA,OACEA,cADFA,QAGFA,C;CA4EcC,kBACZA;kBAwCmCA,eAvCrCA,C;EAEmBC,IA0zgBnBC,UA1zgB+BD,EAAMA;AAANA,mBA6zgBTC,QA7zgBkCD,C;EA+BhDE,IAAUA,aAAMA,WAAWA,OAAMA,C;CAM3BC,MAAiBA,aAAMA,cAAiBA,C;;EA8BjDC,WAGMA;AAATA,WAEEA,gBAEJA,C;EAKKC,MAA4BA;OAEJA;CAAUA;AAAxBA;AACXA,sBAEFA,QACFA,C;EA2BKC,IACHA;QAAOA,qBACLA,gBAEJA,C;CAKOC,IAEwBA,OADbA;AAChBA,2BACFA,C;EAyRKC,QAAaA,0BAA8BA,C;;;EA8ExCC,IAAUA,eAA2BA,C;CAE/BC,aACmDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCKC,MAAwBA,QAAIA,GAAOA,C;;;;;EA85D/BC,IAAOA,eAAMA,C;;;EAqBdC,IAAUA,eAA2BA,C;CAE7BC,aACiDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCOC,MAAwBA,QAAIA,GAAOA,C;;;;;AA8hDtCC;CAUUA,MAAmBA,qBAAaA,C;CAEzCC;KAEHA,KAE2BA;UAAQA,MAIrCA;AAHIA,gBACIA,kBAERA,C;EAEqBC,IACEA;AACrBA,SAAQA;AACRA,QACFA,C;EAQQC,IAAUA,aAAyBA,C;CAM7BC,QACZA,UAAUA,qBACZA,C;;AAlBoBC;EAAVA,MAAUA,qBAAWA,C;;;EAgXtBC,IAAOA,eAAMA,C;;;EAorBdC,IAAUA,eAA2BA,C;CAEvBC,aAC2CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCaC,MAAwBA,QAAIA,GAAOA,C;;;;;;EAmHxCC,IAAUA,eAA2BA,C;CAEtBC,aAC0CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCcC,MAAwBA,QAAIA,GAAOA,C;;;;;EAkSxCC,IAAOA,eAAMA,C;;AA6QcC;CAAnBA,MAAmBA,iBAAaA,QAAUA,C;CAE7CC,QACZA,cACFA,C;CAeKC,MACHA;gBACcA;AACZA,WAAiBA,MAIrBA;AA1BoCA;CAwBhBA;AAAhBA,UAEJA,C;EAEqBC,IACEA;AACrBA,SAAQA;AACRA,QACFA,C;EAQQC,IAAUA,eAAOA,C;;AAVLC;EAAVA,MAAUA,qBAAWA,C;;;;CA0ZdC,UAEfA;AACeA,wDAAbA,uBAWJA;AANkBA;AAtolBYA;AAqxY9BhjB,WAo3MiBgjB,IAp3MjBhjB;AAs3MEgjB,QACFA,C;;CA6EiBC,UAEfA;AACeA,wDAAbA,uBAaJA;;AAzulB8BA;AAqxY9BjjB,UA48MoBijB;AA58MpBjjB,UAg9MOijB;AAh9MPjjB,WAk9MiBijB,IAl9MjBjjB,QAi9M0BijB;AAExBA,QACFA,C;;CA+CiBC,UAEfA;AACeA,wDAAbA,uBAYJA;;AAvylB8BA;AAqxY9BljB,UA2gNoBkjB;AA3gNpBljB,WAghNiBkjB,IAhhNjBljB,QA+gNOkjB;AAELA,QACFA,C;;EAgFKC,MAC6DA;;GAEhEA;CAAOA;AAr/MPA;AAs/MeA;AAGRA,CAAPA,uBACFA,C;;;;;;EA8VQC,IAAUA,eAA2BA,C;CAEvBC,aAC2CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCaC,MAAwBA,QAAIA,GAAOA,C;;;;;EAgCxCC,IAAUA,eAA2BA,C;CAE1BC,aAC8CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCUC,MAAwBA,QAAIA,GAAOA,C;;;;;EA6CrCC,IAAOA,eAAMA,C;;;EAsLbC,IAAUA,eAA2BA,C;CAE9BC,aACkDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCMC,MAAwBA,QAAIA,GAAOA,C;;;;;EAuEhCC,IAAOA,eAAMA,C;;;CAuVfC,IAAcA,gBAA+BA,C;;EAknB3CC,IAAOA,eAAMA,C;;;EAo0FdC,IAAUA,eAA2BA,C;CAE5BC,aACgDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCQC,MAAwBA,QAAIA,GAAOA,C;;;;;CA8DpCC,iBA97sBSA;CAAKA;GAgBNA;CAAIA;GAojtBFA;CAAMA;GAZLA;CAAOA;AAzHvBA,+DACFA,C;CAEcC,MACVA;AADYA,mBAKUA;AAJhBA,gBAn8sBMA;CAAKA;GAALA;CAAKA;AAo8sBZA,aAp7sBMA;CAAIA;GAAJA;CAAIA;AAq7sBXA,aA+HSA;CAAMA;AA9HJA;oBAkHDA;CAAOA;AAjHLA;AADVA,mBADFA,UADCA,UADLA;QAIsBA,C;EAElBC,iBAz8sBQA;CAAKA;GAgBNA;CAAIA;GAojtBFA;CAAMA;GAZLA;AA/GSA,CA+GFA;AA/GLA,oBAAqCA,C;GA6GhDC,IAAQA,eAAMA,C;EAEfC,WAAUA;CAAOA;AAAPA,QAAQA,C;GAUjBC,IAAOA,cAAMA,C;GAEdC,WAASA;CAAMA;AAANA,QAAOA,C;;EA+EhBC,IAAUA,eAA2BA,C;CAE3BC,aAC+CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCSC,MAAwBA,QAAIA,GAAOA,C;;;;;EAsOpCC,IAAUA,eAA2BA,C;CAE/BC,aACmDA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCKC,MAAwBA,QAAIA,GAAOA,C;;;;;EAwJhCC,IAAUA,eAA2BA,C;CAEZC,aACgCA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCwBC,MAAwBA,QAAIA,GAAOA,C;;;;;EAkBnDC,IAAUA,eAA2BA,C;CAEzBC,aAC6CA;AAA/DA,mBACEA,UAAUA;AACZA,WACFA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCWC,MAAwBA,QAAIA,GAAOA,C;;;;;CAwYzCC,MACHA;AAAgBA,uBAAhBA,cA6DOA,UA7DPA;AApvsBOxkB;AAsvsBLwkB,eAAaA,WAEjBA,C;EAEqBC,0BAEFA,EAASA;CAAWA;AAClBA;OACcA,kBAAjCA,SAC6BA,OAAdA;IAmEiBA,wBAjEdA;CAAIA;AAAlBA,WAGJA,QACFA,C;AArwsBSzkB;CAgzsBQA,MACfA,WAAOA,gBAA0BA,QACnCA,C;CAEcS,QAjwsBZA,IAkwsBAA,oBACFA,C;EAQQikB,IACNA,OAAOA,aAAKA,OACdA,C;AAh0sBS1kB;CA+5sBQG,MAAmBA,aA9G3BA,wBAoK2BA,OAtDsBA,SAAWA,C;CAEvDwkB,QA92sBZlkB,IA+2sBAkkB,EA7GAA,wBAgKkCA,YAlDpCA,C;CAcKC,MACHA,WAAoBA,iBAKtBA,C;EAEqBC,IACEA;AACrBA,WAAoBA;AAKpBA,QACFA,C;EAYQC,IAAUA,oBAAKA,OAAMA,C;EAiBtBC,IACUA;OAEkBA,YAAjCA,YACgBA;IACFA,gBAEOA,kBAA2BA,WAGhDA,OAAOA,WACTA,C;CAGOC,IACDA;OACqBA,iBAAzBA,YACcA;AACGA;yBAGjBA,6BACFA,C;;EAlEsBC,MAoCOA,oBAlCvBA,UAmCuBA,IAnCrBA,MAmCkCA,cAjCvCA,C;;;EAKmBC,MA2BOA,oBAzBvBA,YA0BuBA,IA1BdA,MA0B2BA,YAxBvCA,C;;;CAuyBSC,GACEA;AAGQA,UAFJA,EAASA,yBAEzBA,qBACmBA,QADnBA;ILv9mCkBA,YK09mCdA,SAGJA,QACFA,C;EAEKC,IACkBA,IAArBA,uBACFA,C;EAEQC,IAAUA,WAA8BA,EAoIiBA,iBApIPA,C;CAYrDC,gBACSA,EAuCsCA;;AAvClDA,QACFA,C;EAEKC,MA8CIA,UA7C2BA,EA2CiBA;;AA3CnDA,QACFA,C;EAEKC,gBACYA,EAuDUC;AAvDzBD,QACFA,C;;;AAkd4CE;EAAfA,IAAOA,WAACA,QAAqBA,C;;;EA8mB1D1mB,IAEEA;IAAIA,GZ77pCcA,QY87pChBA,kBACEA,CAFAA,SACeA,GAAjBA,IAC+BA;AAG/BA,iBACEA,CANAA,SAKeA,EAAjBA,IAC+BA,QAGnCA,C;CAEK2mB,IACHA,OAAOA,OAAiBA,IAAiBA,QAC3CA,C;CAEKC,QAEaA,eADMA;AAEtBA,WACcA,GAFEA;AAIhBA,WACEA,QAGJA;AADEA,OAAOA,gBACTA,C;;AAk6DA1G;EAh5DgBA,IAIdA,kBA+4DoBA,WA94DtBA,C;AA4gDS2G;CADJA,IACHA,kBAAOA,GAAgBA,YACzBA,C;CAEKC,QACHA,OAAOA,cACEA,gBACXA,C;;AANgCC;EAAPA,IAAOA,eAAgBA,GAAQA,C;;AAKtCC;EAAPA,IAAOA,eAAkBA,OAASA,OAAeA,GAAMA,C;;;EAkFlE1mB,UAG6CA;AACtCA;AAGiBA,SACXA;AACcA,SACdA;AACNA;MACAA;OAR0CA;AAS1CA,QACPA,C;CAEK2mB,IACHA,OAAOA,WAAiCA,QAC1CA,C;CAEKC,QACmBA,0BAClBA;YACFA,OAAgBA,CAATA,QAaXA;;AAZaA,YACTA,OAAgBA,CAATA,QAWXA;QAVaA;YACTA,QASJA;KARaA,YACTA,QAOJA;KANaA,kBACTA,QAKJA;KAJaA,iBACTA,QAGJA,EADEA,QACFA,C;;AA5ByCC;EAA5BA,IAAOA,cAAqBA,KAA0BA,C;;AAE3BA;EAA3BA,IAAOA,cAAoBA,KAA0BA,C;;;CA0F7DC,QACOA,kBACRA,QAWJA;AAREA,0BACEA,QAOJA;AAnl0BSpmB,mCAgl0BLomB,OAAOA,aAGXA;AADEA,QACFA,C;;EAfkCC,IAAUA,oBAAiBA,C;;;CAmBxDC,IACHA;AAAYA,YACVA,QAcJA;AARcA;AACAA,gCACVA,QAMJA;AAJEA,KACEA,QAGJA;AADEA,QACFA,C;CAEKC,QAC0BA,2BAC3BA,QAGJA;AADEA,OAAOA,SACTA,C;;;CAiKKC,iBACgBA,QACAA;AAAnBA,QACaA,CAAXA,SAAWA;CACXA;AACAA,QAKJA,EAHEA;CACAA;AACAA,QACFA,C;EAEMC,IAAoBA,UAATA;wBAASA,SAAIA,C;;;EAk9BzBC,IACMA;SA8BqBA;AAC5BA,2BACoCA,GACxCA,C;EAGKC;iBAKkCA,YACnCA;KAEAA,gBAEJA,C;EAGKC,MAYCA;IAOcA;AAlz2BX5mB,GAizsBA4mB;;;;;;;;;;yDA8gKHA;IAEYA,wBAGeA;AAC7BA,gCAtCgEA,0BA0ChEA;KAGAA;;AACiDA;qFAErDA,C;EAKKC,gBAEHA;MACEA;;;AAGAA,MAsCJA,CApCOA,cACHA;;AAC8DA;;AAC9DA,MAiCJA,CA9BEA,WACOA,qBACHA;;;AAGAA,MAyBNA,CAnBmBA;iBDryuCXC;ACuvkCCD,aAAKA,aAdLA,6CA6jKPA,aACaA;GACNA;AAIDA;AAnkK2BA;AA+jK1BA,YAh32BA7mB;;;sBA432BK6mB,gBAEYA;CAAOA;AAA7BA,QAEJA,C;EAGKE,cACUA,kBAETA;AACAA;6BAKAA;QAEAA,aAENA,C;;EAlKEC,0BACEA;;GAEiBA;KACjBA;OAMsBA;AAClBA,eAAmCA;AAAYA;AAA/CA;SA8BFA;AA9BEA,MACQA;AAANA,uBAMUA;GAuBmBA;AAArCA,UAjwiBAL,WAEEA,sBAkwiBAK;AAzBIA;GACiBA,WAEnBA,WAAmBA;AACnBA,IAEJA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EqBv5vCKC,IACDA;I/C6G4BA,W+C7GGA,QAErCA;AADEA,UAAUA,0CACZA,C;CAEOC,IACLA,OAAOA,SAAcA,QACvBA,C;EASKC,MAAwCA;AAC3CA;AACgBA;AAEoBA;AACpCA,OACEA;AACAA,UAEAA;AANGA,KAQLA;AACAA,QACFA,C;EASqBC,IAAYA;OlCujCpBA,QAA6BA,GkCvjCaA,C;EAyB/CC,IAAUA,elCiiCAA,EkCjiCoBA,C;CAkCjCC,MAAkBA;AACrBA;AAGOA,YAAOA;AAAdA,mBACFA,C;EASKC,MACHA;AACAA;AACgBA;AACFA;AACdA;AACAA,QACFA,C;CA6EOC,MAAwBA,gBAAcA,MAAgBA,C;EAiB7DC,MACkBA,iBACNA;AACVA;AACAA,QACFA,C;AApHuBC;EAAPA,IAAOA,iBAAMA,GAAMA,C;;;GClFbC,GVmJqBA,UUlJvCA;OzD6UJC,SA6DAppB,WyD1YsBmpB,WzD0YtBnpB,gByD1YwDmpB,WzD6UxDC,iByD7U4ED,C;CAU9DE,QAwGoBA;AAvG5BA,KzD8UsBC,OAACA,eyD7U7BD,C;EAqGQE,IAAUA,OzDiOUA,KyDjOVA,UzDiOAA,GyDjOgBA,C;CACjBD,MAAiBA;OzDuONA,OAACA,YyDvO+BA,C;EAGtCE,IAnHdA,WAAmBA;AAmHOA,OvBqtBlClkB,YAEyBA,QuBvtB2BkkB,C;AArHrBC;EAATA,IAAOA,eAAYA,C;;AAAwBA;EAATA,IAAOA,eAAYA,C;;ApBic7BC;EAAPA,IAAOA,qBAAqBA,C;;;EAC9BA,IAInCA,WACEA,OAAOA,UqB9VXA,wBrBkWCA;AADCA,OAAOA,YACRA,C;;;CqB/VMC,IAELA,oDADiBA,2BAEnBA,C;;;ECk3DQC,IAAUA,eAA2BA,C;CAI7BC,gCAEZA,UAAUA,MAA6BA;AACzCA,OAAYA,YACdA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCOC,MAAwBA,OAAIA,WAAOA,C;;;;;EAyRlCC,IAAUA,eAA2BA,C;CAI7BC,gCAEZA,UAAUA,MAA6BA;AACzCA,OAAYA,YACdA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCOC,MAAwBA,OAAIA,WAAOA,C;;;;EA+HjCC,IAAOA,eAAMA,C;;;EAwTdC,IAAUA,eAA2BA,C;CAI7BC,gCAEZA,UAAUA,MAA6BA;AACzCA,OAAYA,YACdA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCOC,MAAwBA,OAAIA,WAAOA,C;;;;CAkE9BC,GxBqwTHjpB,kBwBpwTSipB,2BAKIA;AACpBA,WACEA,QASJA;AAPsBA,sBAApBA,qBACmBA,QADnBA;I7Bl/EkBA,Y6Bq/EdA,SAGJA,QACFA,C;EAEKC,IxBqyTHA,IwBpyTAA,wBAA+BA,WACjCA,C;AAvBAC;EAmDgBA,IAAWA,kBAA2BA,C;EAiB1CC,IAGVA,sCAD2CA,MAAZA;AxBsiR/BA,OsBx+WFC,WtB49sBA5qB;AwBxhnBE2qB,QxBqkVuBA,UwBpkVzBA,C;EAEIA,MACGA,YACPA,C;CAEiBE,UxBy3mCsCnN;AAsMrDC,OAxFQD;AAwFRE,OAVQF;AAURoN,OA+MEA;AAqpCJC,WAjhDAF;;GwBt4mCeA;CAAIA;;AxBgvOWA;AAqxY9B7qB;AwBjgnB4B6qB;QACdA,qBACVA;AAEFA,QACFA,C;;;;EA6wBQG,IAAUA,eAA2BA,C;CAI1BC,gCAEfA,UAAUA,MAA6BA;AACzCA,OAAYA,YACdA,C;CAEcC,QACZA,UAAUA,gDACZA,C;CAgCUC,MAAwBA,OAAIA,WAAOA,C;;;;;;;;;;;;EC/sHpCC,IAAOA,eAAMA,C;AA8VlBC;CAUUA,MAAmBA,qBAAaA,C;CAEzCC;KAEHA,KAE2BA;UAAQA,MAIrCA;AAHIA,gBACIA,kBAERA,C;EAEqBC,IACEA;AACrBA,SAAQA;AACRA,QACFA,C;EAQQC,IAAUA,aAAyBA,C;CAM7BC,QACZA,UAAUA,qBACZA,C;;AAlBoBC;EAAVA,MAAUA,qBAAWA,C;;;EAuHtBC,IAAOA,eAAMA,C;;;EAqiBbC,IAAOA,eAAMA,C;;;EC5mCnBC,uBA2ELA,C;CAlDSC,IAAcA;sBACHA;;OACAA;;OACGA;;OACLA;;OACCA;;OACFA;;OACIA;;OACDA;;OACDA;;OACDA;;QACDA;;QACAA;;QACEA;;QACEA;;QACHA;;QACEA;;QACLA;;QACEA;;QACWA;;QACAA;;QACTA;;QACMA;;QAtBFA,eAuBhBA,C;;EvB7CFC,iCAMLA,C;;EAakBC,MACdA;AACSA,IR8YSA,YQ9YhBA,kBA6DJA;AA7C4BA;AAZyCA;UAElDA,MAAjBA,WAYmBA,6BAZnBA;AACYA;AAONA,GAHiBA;AAIjBA,GAH0BA;AAE9BA,uBAGEA,MAAqBA;KAChBA,KACDA,eACAA,WACFA,MAAqBA;KRsXpBA;KAHPA;AQlXWA,KAELA,MAAqBA,MAK3BA,SAAgBA;AtC0JdA;AsC3HFA,YtCiUFlrB,WsCjUwBkrB,iBtC2HpBA,YsC1HJA,C;;EAtDIC,IACEA,YAAeA,aAAOA,MACxBA,C;;;EAoBcC,iBAIKA,EAjDiBA,IAiDCA,EAjDaA;AAkDlDA,SACEA,QAuBHA;GAnBgBA;GAAqBA;GAAhBA,IAAqBA;AACzCA,SACEA,QAiBHA;AAbqBA,UAAgBA;AACpCA,SACEA,QAWHA;GAPqBA,IAAyBA;AAC7CA,SACEA,QAKHA;AADCA,QAAcA,EAAKA,SAAgBA,EAAKA,OACzCA,C;;;EAEqBA,IAAWA,QAAMA,EAAIA,C;;;GAgErCC,cAAkBA,aAELA;;;AACDA;OADCA;AAEGA;QAFHA;AAGDA;QAHCA;AAIUA;QAJVA;AAKUA;QALVA;AAMCA;OAGCA;;;AACAA;OADAA;AAEGA;OAFHA;AAGAA;OAHAA;AAIFA;QAJEA;AAKAA;OAGDA;;;AACAA;QADAA;AAEFA;OAGEA;;;AACFA;QADEA;AAEEA;QAFFA;AAGDA;QAHCA;AAIJA;QAJIA;AAKMA;QA7BVA,eA8BbA,C;;;EC3IsDC,IAC3CA,SAAZA,KACDA,C;;;EAOwDA,IAC1CA,SAAbA,KACDA,C;;;EC9CoBC,GACVA;AL8oZJ9qB;AKxoZP8qB,mBAIHA,MAFGA,QAEHA,C;;;EAQCC,GACmDA;AXenDC;MWbED;;MACAA;;MACAA;0BACFA,C;;;EAE4CE,IACNA;mBADMA,cACNA;4BAAhBA;mBAGlBA;AACAA;;;GYgHFC;AZ7GWD;YsB5BsBA,6BtB4BtBA;OFrBuBA,WckIlCC;ApDiQFC;WAtMID,gBsC5LyBD,atC4LzBC;AwCnKcD,gCACQA,MAAeA;YAErBA;INiqBArtB,aM/pBOqtB,YAAMA;YAElBA,uBAAkBA;AACzBA;WAMFA;WACFA,QAAeA;GAEbA;WACFA,QAAeA;GAEbA;WACFA,QAAeA;OAElBA;AAnCqCA,wBAmCrCA,C;;;EAmBUG;;ALgnZTA;;GK7mZEA;;AACAA,QAAQA;AAJkBA,cAKnBA;AALmBA,cAMnBA;AANAA;;a;GAUAC;;AACPA,QAAQA;AADDA;;a;GAIAC;;AACPA,QAAQA;AADDA;;a;EAWNC,MAC0BA;;ALslZ7BA;;AKnlZAA,kBAAqCA;;AAWQA,QAAQA;AACrDA;ALukZAA;;CAwvuBkDjG;AKzznClDiG;cAEWA;AAEXA;AAIoBA,8CACFA,GAAJA,SAAmBA;AAC/BA,WACEA,MASNA;AAPYA;MACWA;AACnBA;AACAA;AACAA;QAGJA,C;EAaKC,IACiBA;AAEpBA,WACEA,MA+BJA;;;AA1BgDA,QAAQA;AAFtDA;;AAGyCA;AAHzCA;;AAKMA;QAAQA;AACRA,WAAcA;AANpBA;IAQIA,GjBhJcC,OiBiJoBD,OADlCA,gBxCyMNnkB,SAxB2DmkB,MAAVA,KAAoBA,MAmC3CA,YwCnNtBA,WxCmNaA;AwClNXA,sBxCkNoBA;AwC9MlBA;QAAQA;AACRA;AAIgBA,2FAEfA,KAAyBA;;ALogZhCA,sBFt2TmBA;;AO1pFjBA;AACAA,iBAEJA,C;EAEKE,GAAqBA,mBACtBA;;AL0/YFA;AK3/YwBA,QAEgBA,C;EAUrCC,QAEiBA;AAAFA,CAAlBA;GACAA;;AACAA;AACAA;GNofkBA;AMlflBA,UACEA;AACAA,MAkBJA,CAfEA,iDACEA,OAAuBA,QADzBA;AAMAA,aADiCA,CAbjCA,iBAcAA;AACEA,QAAcA,gBAEhBA;CA8I8BA;AA7N1BA,WAAcA,iBAChBA;GACIA;;ALuiZNC,uCKv/YyBD;GAAmBA;kEAmC9CA,C;EA3BKE,6B;EA8BAC,QAEHA;IAAIA,WACFA,MAgBJA;aV8JoBA,aU1KhBA,QAAsBA;AACtBA,MAWJA,CARoBA;GACcA;;GACPA;AAAzBA,OACgBA;CAGhBA;AACAA,WACFA,C;EAnBKC,6B;EAAAC,4B;EAAAC,6B;EAsBAC,IACoBA;CA8GOA;GA7G1BA;AAAJA;CAEEA,QAEFA,MACFA,C;EAEKC,IAGDA;AAFFA,gBAAuCA;AAIvCA,eAAsCA;AAItCA,gBAAuCA;AAIvCA,kBAAyCA,cAsF3CA,C;;EApQuCC,IACzBA,aACRA,MAMHA;AAJgDA,IAArCA,2BL+zYY7tB,AK/zYW6tB,iBAC/BA;AACAA,eAEHA,C;;;EA0JsCC,IACrCA,cAAaA,EAAaA,UAC3BA,C;;;EAEqCA,IACpCA,cAAYA,GACbA,C;;;EAEsCA,IACrCA,cAAaA,EAAaA,OAC3BA,C;;;EAEwCA,IACvCA;IAAUA,kBACRA,MAmFHA;AAhFeA;GAEJA;AAAVA,gBACEA;GACKA;;AAALA,cACaA;ALw2YVrsB,yBA84sBTC,SApGAC,aA2KoCC;AK5zlC5BksB,WACSA,uBAAkBA;AAE3BA,MAuELA,MAlEiBA,SAAoBA;AACXA,OAASA,sBACzBA,KAAyBA;AACvBA,uBPyiFMA;AOxiFbA,MA8DLA,KA1DiBA;;GAAmBA;GACLA;AAE9BA,iBACEA,WACEA;MAEAA;KAEGA,mBACLA,UAoD0BA;MAjDxBA;KAEGA,gBACLA,MAAYA;SAERA,WACFA;AACAA,MAAaA,EAAaA,QAE5BA,MAoCHA,CAjCKA;AAAJA,KAC8CA,MAA5CA,KAAoDA;GAGjDA;AAALA,cACiBA;AACNA,QAAQA;GAGbA;AAAJA,SACEA;KACKA,SACLA,iBLgya8BA,OAVdA,OKtxaIA;KLkxaPA;AAJGA,SK3waSA;AL2waTA;AAtkBfA,KAQEA;KAGFA,wBKvsZHA,cAAgBA,EAAaA;CAC7BA,UAAqBA,IAAgBA,GAAiBA,WAC7CA;AAAJA,gBAELA;CACAA,SAGFA,kBACDA,C;;;EAmCsCC,IACvCA,kBACDA,C;;;EAEoCA,cAC/BA,EAAMA;AAAVA,YACSA,uBAAkBA;AACzBA,mBAEHA,C;;AA8C8CC;EAA3CA,IAAWA,0CAAgCA,qBAAmBA,C;;;ECxclEC,cACEA;WAAYA,QAAQA;MACpBA;WAAgBA,QAAQA,cAC1BA,C;;;ECFiCvB,4DAC3BA,SACFA;IADQA,eP4rZVA;;AA0tfAA,2CA1tfAA;;AA0tfAA,MO344BS5qB,AACcA,AAIdA,AAIAA,AAjBA4qB,AAIAA,iCAEVA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cnC2CUwB,IACTA,0BADSA,A;cJ+sCmBC,IAC1BA,KAAeA;0CADWA,A;cAKAC,IAC1BA,KAAeA;0CADWA,A;cAKAC,IAC1BA,KAAeA,WADWA,A;cAKAC,IAC1BA,KA+N2BA;iEAhODA,A;cAKAC,IAC1BA,KAAeA,aADWA,A;cAKAC,IAC1BA,KAoO2BA;qEArODA,A;cAKAC,IAC1BA,KAAeA,WADWA,A;cAKAC,IAC1BA,KAsP2BA,2DAvPDA,A;cAKAC,IAC1BA,KAAeA,aADWA,A;cAKAC,IAC1BA,KA0P2BA,+DA3PDA,A;cYnyCRC,IAClBA,MADkBA,A;cW0aTC,IAAWA,WAKvBA,IALYA,A;cAMAC,IAAmBA,WAK/BA,IALYA,A;cCoFUC,IfsWnBA,KAASA,KetW+CA,kYAArCA,A;chB2PHC,IAAuBA,iCAAvBA,A;cqBzOZC,IrB/f8BA,MqB+fDA,IAA7BA,A;cCo6GYC,IAAiBA,MAAjBA,A;cEwohCKC,IAAuBA,guBAAvBA,A;cqBxlpCLC,IAAoBA,c1B0VtCjoB,G0B1VkBioB,A;chBGTC,IAAYA,WAWxBA,IAXYA,A;;;;;;;;;;QnCkEPC,uBFsrFwB7gC,AAAA8gC", - "x_org_dartlang_dart2js": { - "minified_names": { - "global": "nd,358,n7,364,n8,364,n9,364,id,1095,kX,1096,dK,1097,bh,1098,jb,1099,kT,1100,bR,1101,kl,27,kf,24,av,1102,nq,25,n2,56,fR,1103,lj,1104,t,1105,bC,93,T,153,mP,155,k6,148,mI,149,k0,150,n,89,km,10,p,12,iw,1106,iZ,5,O,1107,be,1108,jt,1109,bf,1110,cE,28,b,23,aY,1111,fr,1112,i2,129,jp,1112,aG,1113,ci,1114,hv,1115,jf,1116,jl,1117,A,1118,ix,1119,aE,1111,Z,280,cX,290,J,96,bT,1120,E,1121,db,1122,aA,77,iX,20,k2,136,ll,1123,fj,1124,aS,353,dh,1125,jY,352,fI,1126,b2,1127,iA,1128,fJ,1129,w,1130,bz,145,kh,37,dD,37,jn,1131,iB,1132,aN,1133,iF,1134,eZ,1135,bc,103,jG,1136,jI,1137,lD,1138,jH,1139,aQ,1140,lP,1141,ct,1142,lF,1143,lE,1144,jN,1145,iK,1146,jM,1147,lC,1148,jJ,1149,lH,1150,jF,1151,ek,1152,jL,1153,lQ,1154,cM,1111,cL,279,cr,1155,W,1156,az,1157,mp,111,mq,109,lK,1158,lL,1159,aI,1160,aC,217,cs,1161,lN,1162,cD,216,jr,1163,lO,1164,iJ,1165,iI,1166,lM,1167,hQ,1168,aR,84,cB,85,mN,87,mO,86,lG,1169,lU,1170,lm,1171,ff,26,cu,1172,jZ,105,hL,106,an,1173,l9,1174,mD,294,jq,1175,V,1176,c3,1177,dg,527,fS,1178,fM,1179,fL,1180,fU,1181,bN,1182,iY,1183,nb,63,jw,1111,ht,1184,ng,58,ke,1185,i7,1186,il,1187,ka,1188,im,61,ki,60,j_,376,o,1189,dW,288,nc,64,na,66,kk,1190,ni,62,bB,67,ia,1191,ib,1191,ic,1191,e9,1192,kQ,1193,kW,1194,kU,1195,ja,1196,j8,1197,j7,1198,j9,1199,kV,1200,kR,1201,dF,1202,bb,41,mX,42,mt,39,hg,1203,R,1204,cq,1205,jB,1206,iU,101,n_,107,kc,90,by,95,n3,100,iS,97,mr,98,lT,1207,n4,99,jO,1208,k_,119,lJ,1209,ml,117,mb,127,ma,125,mn,118,fb,112,ne,91,G,210,iE,1210,k1,211,mv,212,mz,215,jX,214,js,1211,j,1212,my,124,aB,110,mC,126,mo,114,k3,128,mu,123,mx,140,mA,144,nf,151,mw,116,mB,115,mY,68,mm,113,kj,354,ie,1095,ig,1213,ap,1214,e,1215,K,1216,fz,1217,a7,1218,jm,1219,fZ,1137,iH,1111,mf,227,mc,228,me,229,md,230,mR,232,mE,225,fp,1220,iQ,137,m9,139,v,1221,kS,1111,cS,1222,f,1223,c9,1224,aX,0,ak,1225,C,1226,i6,1227,fc,4,eM,1228,ai,33,aT,36,bL,1229,cn,1230,fQ,1231,aU,34,mQ,35,iz,1111,c2,1232,dX,1233,c4,1234,aw,1235,nk,71,fV,1236,jv,1237,fW,1238,de,32,mg,231,hT,1239,hU,1239,I,1240,is,1123,mJ,238,bv,1241,hh,1242,ba,249,k8,241,e4,1243,cz,1244,bA,1245,iT,1246,mG,239,cA,1247,lt,1248,h9,1249,h8,1250,lI,1111,hJ,224,hK,1251,r,1111,dZ,287,hb,1252,ha,1253,hx,1254,k4,246,i3,245,i4,1255,mL,242,l0,1256,l_,1257,ca,1258,hr,1259,hq,1260,hp,1261,jD,1262,ho,1263,fi,1111,cN,233,j5,1264,k5,247,mK,248,hs,1265,e3,1266,hi,1267,ly,1268,hl,1269,hm,1269,hn,1269,nl,243,hk,1270,hj,1271,hB,1272,iV,1273,i5,1274,b9,1275,mi,366,cF,375,fF,524,lh,1111,bV,1276,bJ,1277,ao,6,iR,371,hW,1278,hX,1278,mF,370,jd,1279,c1,1280,jE,1111,jK,1111,jc,1281,f0,1282,aH,1283,it,1284,hR,1285,dJ,1111,bq,289,bK,1286,ay,1287,fN,1288,em,1289,fO,1290,jj,1117,bS,1111,cb,1291,iG,1292,hu,1293,cc,254,eS,348,hI,1294,hG,1295,hH,1295,ax,1296,e2,1297,hz,1298,bw,343,d8,1299,L,1300,lx,1301,fs,1302,ft,1302,q,1303,eR,1304,kZ,1305,fo,1306,iv,1307,l8,1308,iD,1111,i0,1309,nn,73,h7,1310,k9,72,b3,1311,et,1312,jh,1313,N,1111,fu,291,fD,1314,j0,70,cO,1315,le,1316,lf,1317,jg,1318,fm,1319,lB,1111,ef,1320,ji,1321,n0,38,hC,1322,hD,1322,hE,1322,hF,1322,aP,1323,hd,1324,jk,1325,lb,1326,la,1327,lc,1328,hc,1329,hA,365,fC,1330,fA,1331,fB,1331,eF,1332,eE,1333,jx,1334,k7,332,eH,1335,m1,1336,bx,1337,m2,1338,lZ,1339,jo,1340,m0,1341,m_,1342,iN,1343,lY,1344,iL,1345,ik,1137,jP,1346,jz,1347,bt,1348,h1,1349,iP,1350,cV,1351,lX,1352,lr,1353,hO,1354,m7,1355,m8,1356,ar,1357,ju,1358,lk,1359,ls,1360,jA,1361,h5,1362,h4,1363,kY,1364,cw,1365,cx,1366,jT,1367,iO,1368,iM,1369,mT,22,i9,1,hM,1370,hN,1371,jV,1372,hP,1373,mh,78,mZ,21,m3,1374,m5,1375,m6,1376,jS,1377,jQ,1378,jR,1379,lW,1380,jU,1381,jy,1382,m4,1383,h_,1384,h0,1385,lq,1386,fY,1387,lV,1388,mj,331,hY,1389,hZ,1390,i_,1391,ea,1392,fX,1393,j6,1394,mk,75,li,1395,lg,1396,mH,257,hV,258,ep,1397,eq,1398,nj,373,b8,1399,io,1400,ip,1400,fP,1401,i1,1402,ih,1403,je,1404,ii,1405,ij,1405,l3,1406,fx,1407,fy,1408,jC,1111,hf,1409,mS,351,eh,342,hy,635,jW,1410,iy,1411,bj,1412,u,1413,dc,1414,F,1415,bQ,1416,a,1417,aL,1418,dA,1419,b7,1420,b_,1421,al,1422,bl,1423,bm,1424,fE,1425,H,1426,U,1427,bk,1428,k,1429,bP,1430,dd,1431,d,1432,aK,1433,aO,1434,c6,1435,fT,1436,bM,1437,dY,1438,bs,1439,y,1440,bF,1441,bG,1442,ae,1443,cT,1444,cU,1445,dP,1446,iC,1447,fK,1448,dn,1449,bY,1450,dp,1451,bo,1452,bW,1453,bX,1454,dq,1455,dr,1456,ds,1457,dt,1458,du,1459,dv,1460,dw,1461,bZ,1462,b6,1463,c_,1464,eg,1465,z,1466,c7,1467,hS,1468,hw,1469,f_,1470,bU,1471,aM,1472,at,1473,cj,1474,fk,1475,fl,1476,cW,1477,cY,1478,fq,1479,fw,1480,fv,1481,fG,1482,fH,1483,h2,1484,h6,1485,h3,1486,he,1487,dz,1488,eP,1489,e_,1490,l,1491,ns,1492,nt,1493,cI,1494,cJ,1495,nu,1496,cK,1497,nw,1498,bg,1499,bE,1500,aW,1501,nz,1502,a3,1503,nA,1504,nB,1505,nD,1506,nE,1507,d_,1508,nF,1509,x,1510,bi,1511,fn,1512,nG,1513,P,1514,a_,1515,d0,1516,d1,1517,nH,1518,d2,1519,aZ,1520,nJ,1521,d3,1522,bH,1523,b4,1524,bI,1525,d4,1526,d5,1527,ah,1528,m,1529,h,1530,c,1531,nK,1532,a4,1533,d6,1534,d7,1535,d9,1536,a5,1537,da,1538,b0,1539,bO,1540,nM,1541,a6,1542,as,1543,b1,1544,nN,1545,aJ,1546,bn,1547,nO,1548,nP,1549,di,1550,nQ,1551,nR,1552,dj,1553,dk,1554,dl,1555,a8,1556,dm,1557,c0,1558,nS,1559,aa,1560,dB,1561,dE,1562,dG,1563,nU,1564,nV,1565,ab,1566,dH,1567,ac,1568,dI,1569,ad,1570,dL,1571,X,1572,c5,1573,dN,1574,dO,1575,br,1576,nX,1577,b5,1578,af,1579,Y,1580,dQ,1581,dR,1582,dS,1583,ag,1584,dT,1585,dU,1586,S,1587,e0,1588,e1,1589,o9,1590,oa,1591,bu,1592,e7,1593,c8,1594,el,1595,cd,1596,oe,1597,eK,1598,eQ,1599,e5,1600,iu,1601,a9,1602,D,1603,ck,349,cZ,1604,nr,1605,nL,1606,am,1607,df,1608,aq,1609,dx,1610,dC,1611,bp,1612,dM,1613,i,1614,au,1615,dV,1616,cP,1617,nv,1618,cQ,1619,cR,1620,aF,1621,dy,1622,B,1623,Q,1624,cy,1625,ce,1626,cf,1627,cg,1628,ch,1629,cv,1630,e8,1631,eb,1632,ec,1633,ed,1634,ee,1635,ei,1636,ej,1637,en,1638,eo,1639,eu,1640,ev,1641,ew,1642,ex,1643,ey,1644,ez,1645,eC,1646,eD,1647,eG,1648,cl,1649,cm,1650,eI,1651,eJ,1652,eL,1653,eT,1654,eU,1655,co,1656,cp,1657,eV,1658,eW,1659,f1,1660,f2,1661,f3,1662,f4,1663,f5,1664,f6,1665,f7,1666,f8,1667,f9,1668,fa,1669,er,1670,es,1671,eA,1672,eB,1673,eN,1674,eO,1675,eX,1676,eY,1677,e6,1678,nh,357,i8,377,ld,1679,kg,11,iW,49,no,55,ov,57,fd,83,a0,108,og,130,oi,131,oh,132,oj,133,ol,134,ok,135,om,138,on,141,op,142,oo,143,or,146,oq,147,lS,1680,lR,1681,lu,1682,lv,1683,lw,1684,mM,240,nW,1111,lz,1685,lA,1686,l4,1687,np,374,nI,1072,nY,1688,nZ,1689,o_,1690,o0,1691,o3,1692,o4,1693,o2,1694,o1,1695,o6,1696,o5,1697,ob,1698,o7,1699,o8,1700,oc,1701,of,1702,os,1088,ou,1089,od,1703,nC,1704,ot,1092,nx,1705,ny,1706,l1,1707,l2,1708,l5,1709,l6,1710,l7,1711,ln,1712,lo,1713,lp,1714,nT,1715,ko,1072,iq,1088,cG,1092,kp,1688,kq,1689,kr,1690,ks,1691,kv,1692,kw,1693,ku,1694,kt,1695,ky,1696,kx,1697,j1,1698,kC,1703,kn,1704,kA,1700,kz,1699,kD,1702,kE,1089,kB,1701,aD,1716,bd,1717,a2,1718,cC,1719,aV,1720,kK,1721,bD,1722,M,1723,aj,1724,ir,1725,kN,1726,kI,1727,nm,1728,cH,1729,kb,1730,mU,1731,mV,1732,mW,1733,a1,1734,fh,1735,kF,1736,j3,1737,kL,1738,kP,1739,n5,1740,n6,1741,kM,1742,j4,1743,kG,1744,ms,1745,kJ,1746,fg,1747,kO,1748,j2,1749,kH,1750,fe,1751,kd,1752,n1,1753", - "instance": "bL,1754,bJ,1754,bP,1111,bM,1755,bO,1111,bK,1756,bN,1111,au,1757,L,1758,a_,1759,ga_,1759,Y,1760,gY,1760,b5,1761,gb5,1761,be,1762,gbe,1762,n,1763,q,1764,gq,1764,j,1754,bc,1765,c_,1766,b4,1767,bV,1768,k,1769,aD,1770,gaD,1770,aC,1771,gaC,1771,aP,1772,gaP,1772,h,1773,gh,1773,sh,1773,p,1774,D,1775,gD,1775,A,1776,aF,1777,aY,1778,bs,1779,aG,1780,bt,1781,b6,1782,G,1783,cB,1784,t,1785,gt,1785,v,1786,gv,1786,bR,1787,a7,1788,co,1789,aS,1790,gaS,1790,bk,1791,ct,1792,gct,1792,aO,1793,b3,1794,a3,1795,ga3,1795,bw,1796,ak,1797,ae,1798,J,1799,b9,1800,ai,1801,ba,1802,aV,1788,av,1803,ab,1804,bh,1805,cM,1806,ad,1807,aI,1808,b8,1809,aH,1810,cC,1811,cw,1812,aa,1813,gaa,1813,cK,1814,aU,1815,cI,1816,a0,1817,b_,1818,ca,1819,aZ,1820,b0,1821,az,1822,bT,1823,bS,1824,u,1825,bx,1826,U,1827,gU,1827,bF,1828,E,1829,X,1830,cA,1831,bG,1832,aM,1833,cS,1834,bI,1835,by,1834,ah,1836,a8,1837,ga8,1837,bB,1838,gbB,1838,bu,1839,gbu,1839,P,1840,gP,1840,I,1841,gI,1841,sI,1841,a9,1842,H,1757,aX,1843,bE,1844,c9,1845,a2,1846,c8,1847,W,1848,O,1755,bg,1849,cg,1850,b1,1851,bQ,1852,aA,1853,aw,1854,aE,1855,b2,1856,bX,1857,N,1858,ao,1756,ac,1859,gac,1859,cn,1757,V,1860,gV,1860,B,1861,m,1862,M,1862,bZ,1863,cr,1864,gcr,1864,c2,1865,gc2,1865,R,1866,aJ,1867,cD,1868,ap,1869,T,1870,aT,1871,af,1872,gaf,1872,bY,1873,S,1874,bi,1875,bm,1831,a5,1876,a6,1877,bb,1878,c5,1879,c4,1880,bd,1881,cz,1831,bH,1882,c7,1883,aQ,1884,gaQ,1884,b7,1885,gb7,1885,bz,1886,gbz,1886,F,1861,Z,1887,ar,1888,gar,1888,bn,1889,gbn,1889,bA,1890,gbA,1890,aN,1891,gaN,1891,an,1892,gan,1892,bv,1893,gbv,1893,bq,1894,gbq,1894,aR,1895,gaR,1895,bo,1896,gbo,1896,bl,1897,gbl,1897,bp,1898,gbp,1898,bW,1899,cv,1900,br,1901,cm,1902,aB,1903,cc,1904,cp,1905,cd,1906,c1,1907,gc1,1907,a4,1908,cb,1909,c0,1910,aK,1911,cf,1912,am,1913,gam,1913,al,1901,cs,1914,cE,1915,cq,1916,gcq,1916,a1,1917,ce,1918,c3,1919,aj,1797,aW,1920,cF,1921,ck,1797,gck,1797,cj,1922,cP,1923,C,1924,gC,1924,ag,1925,cu,1900,bj,1926,cQ,1927,cR,1928,cl,1829,cT,1929,gcT,1929,cO,1923,cJ,1816,cN,1815,cL,1814,cG,1796,ci,1930,gci,1930,bf,1758,cH,1876,bU,1931,c6,1932,aL,1831,bC,1933,i,1934,l,1935,bD,1936,aq,1937,K,1938" - }, - "frames": "ohIAuEiBulCyC;QAEF4zByC;sXE4RF5zB2C;QAEF4zB2C;eAkqBwB5zBsB;eAEFA6B;+tDGllBb6zBiB;cAAAAa;6CAuBQCM;gJAYVDiB;6MA+BIEW;qbAkmBUnzBoB;0KAgCnBAwB;gBASAAuB;8DAyCcZsC;yfAyQZAmR;iZA+MJAW;8fA2DOA+B;qZAAAAiE;mBAkCcA+B;gBAOpBAkC;wFAKCAU;4EAWiBAqE;wHASjBAU;0EAiCuBAW;4DAGtBAW;4UAwHFAAGz4D0BAgE,A;2fH0iEtBAgD;AAEAA6O;gvCAyPFA4D;6sBAqF6Bg0BuC;AACHCmC;yEA4HtBr2DAC5gETs2DoB,M;qDDkiEcl0BiD;kKAuJXAY;u2BEl/ED5hCAA2BT0gC4G,A;8HAZS1gCAAYT0gC4G,A;6dArEuBpgCAAzChBy1DmD,A;qrBAiRSv1D4D;2nBKtIhBurDADjBQnqBgD,A;WCiBR6oB0B;AAC+DuLa;AAA7DCQ;oBACAAI;yBAGFAQ;iyDN7HQCmB;WASeCO;mBACfDiB;AADeCM;4qCA+hBACO;AACICS;2LA4BsBCAA9QR10Bc,A;AA+QrB20BM;AAEACM;AAEACK;iHAwCFCS;iEAaZz0DAA9CkC00DK,A;sEAqEpCx0DAAxEuCw0DG,A;sUA8Jd10DAA3JW00DoE,A;uGAiL5Bn1D4B;mEAyEyBmBAI12BtBi0DqB,A;aJ02BsBj0DAI12BtBi0DW,A;CJ22BKCgBAlFlB50DAAzKsC00DiB,A,A;4EAiQLGO;wBAOMj0DU;gBAAAAAAKrCk0DY,A;oBAQgBvxB0B;iBAGX5DAAmCTAAAAAAAACMm1BG,A,A,W;6BAhCFl0DM;gBAAAAAAfAk0DY,A;sDAuBWjBsB;mCAQFkBwB;mBAGNlBwB;qBAKkBt0D0B;+DAgErBoEmD;8BAGIqxDG;+EAgBAAG;oMAsBACU;wEAUCCgB;mEASLCK;0CAsCAxxDoC;8EAUAyxDK;8PAsBGCmB;wHAwBOCG;iBAKVp1DAAthBuCw0DG,A;8IA6iB7BYG;iBAKVp1DAAljBuCw0DG,A;uYA2nBvB7uBuB;sDAiBT0vBS;imEAqPF5xDAAs5DPkEG,6E;2DA74DmB2tDAA5yCCCO,A;20BAg8CJCAA56CIDG,A;gDDtOFEmB;qNCo1DHCgB;iMA0DLCoC;gCAOMCG;cAGVCa;+BAIIFkC;kCAMMGI;cAGVCiB;+FAiDFbS;AACADQ;+DAyF8BeAAIpB7BAAtyDP10BsB,A,AAuyDHw2BM,AACACM,0B;8BAKSCAA/CXCsB,A;oKAkEYjCAAh0DP10BsB,A;AAi0DHw2BM;AACAIK;CACAHM;sCAMSIAAzEXFsB,A;yTAyGYjCAAz2DP10BsB,A;AA02DHw2BM;AACAIK;CACAHM;sCAMSKAAhHXHsB,A;4FA2HmBtBG;AACfrxDiE;8BAGKuwDgB;sCAKGGAAt4DP10BsB,A;AAu4DHw2BM;AACAIK;CACAHM;gFAUAMAAKUrCAAx5DP10BsB,A,AAy5DHw2BO,AACAIM,AACAHM,0B;kKAqBmBjCO;wEA0BVwC6B;kCAKMCAAKLvCAAp9DP10BsB,A,AAq9DHw2BM,AACAIM,AACAMS,WAGE5CS,AAEFmCM,0B;2DAyBSUkB;QAEACGAlBNCuB,A;kCAuBYCAAKL5CAAjgEP10BsB,A,AAkgEHw2BO,AACAIM,AACAMM,AACATM,0B;qBAgBScoC;gCAKTCAAKU9CAA/hEP10BsB,A,AAgiEHw2BO,AACAIM,AACAMM,AACATM,0B;qBA6CSgBAAtCPCiB,AADY9zBO,AACZ8zBkJ,A;8CA2CFCAAKUjDAA1lEP10BsB,A,AA2lEHw2BO,AACAIM,AACAMM,AACATM,0B;uBAcSmBSARXCwB,A;8PA4CYnDAAhpEP10BsB,A;AAipEHw2BO;AACAIM;AACAMK;CACATM;6FAyKOqBgB;qUA4BCCmB;qBAIkB9BiB;qBAIA+BiB;sBAIACiB;sBAItBCAAgFRCS,AACACQ,A;qQAtCQFAAqCRCS,AACACQ,A;8CA9BQFAA6BRCS,AACACQ,A;cA1BQCAA2KS71BYAoCE81BI,gBAEnBFiC,A,A;uBA7MQFAAqBRCS,AACACQ,A;eAlBQGAAyKSCYAqCEFI,gBAEnBFiC,A,A;cA5MYK0BA+KZNqC,AAEADAApKACS,AACACQ,A,M;oXAsBoDMoB;2DAUpCCiH;6eAsFyCjEAAj+ElB10Bc,A;AAk+Ef20BM;AAEACM;AAEACY;sKA+CA+DkB;wBAIACkB;0FAOLPI;gBAEnBFY;qmBA0IEp0D0B;q6CAgMsB8wDI;sDAQAAI;wDASAAM;8FAoBXgES;oGAQArEM;sBAEQKM;kIAuCEiEQ;2NAgBTCAAroGwBCG,A;GAsoGxBDAAtoGwBCG,A;uFA0pGpBnEO;AACAAI;8wCWh1GZoES;4BA2BRl5BU;wBA4GWASAxCSm5BAAAAn5ByB,A,a;uCAuDHo5BE;yMA2DMp5BqB;AAAAq5BW;4HAiCXxQM;oLC2OIyQiB;AACICG;6GAqBJDkB;AACICI;mGAoBX3vDgB;uFA+IkB4vDqB;gCAGYCG;AACxBCM;sHA+BcCG;2CACDCK;0CAIbFM;mDA4EIGG;wLAkBTCwB;wBAMgBCe;AACFCuB;AACZCyB;gDAcIDyB;iBAEVXiB;AAGAamB;uQG31BQCU;iBAUqBn6BqB;qCAKrBm6BU;sFAoBkBn6BiB;+KAuD3Bp2BW;iBCy4EGo2BqB;OAAAAU;6pDE5/DmCAwC;kBAQ9BAuC;gBA0eMAsB;uIAqdnBAAAAAAO,A;uKG/2CeAkB;kFAoBNmoBG;oqBC7BAnoB+B;qmDfmFMo6BgB;0TAqQNCO;+LA2EECmC;0BA8EHt6BiC;kDA+DQu6BgB;AAEDCO;2BAGFAO;qBAGEAU;2FAiIoBCgBF7qBcCK,A;cEorBnCCkB;oEAKRCAAjLaCyC,A;sKV1iBVCO;4zB8B4vBCCmB;8EAqBc/6Ba;qBAGpB+6B6B;qBAMK5SG;gtBCrqBa6Se;iEAGACoB;2DAIAC2B;wHCsrBFCkH;+sBAAAAS;YAAAAI;4eAsOTn7B0B;CAIGo7BiF;KAAAAsEA0dAhBO,iG;KA1dAgByD;OAAAA4C;28DAi7BMvqBkC;iMAoCP7QiD;+GAeIAc;2GASXq0BAtBp+CJgHO,A;+BsBw+CaC0B;+BAGIt7Bc;wJAHJs7Ba;2BAqBGt7Bc;AAAJq0BoB;kFAYLlMG;0LA4BQnoBc;6GAWXq0BAtBhjDJgHO,A;+BsBojDaE2B;+BAGIv7Bc;wDAQJw7ByB;+MAaGx7Bc;AAAJq0BoB;0GAaLlMG;gNAeAsT0B;iYA4CIlBa;sFAeAAY;iPAoBEv6Be;wCAuBNmoBG;yNAiCHuT2C;OAIYbkC;0vBAmGoBW0B;wMAkBpBx7Bc;AAAJq0Ba;oBAAAACtBx2DZgHY,A;0DsBq3DOlTG;iOAwEQwTAC/1DOpBa,A;YDi2DLAY;4OAsCDAgC;iFAYLAQ;sBAA4CAiB;0mBAuZhDjQK;2BAAAAU;mCAtBgCsRAHtnFV57BW,A;oRG4oFtBsqBS;8nBAg1BQsJe;ggHE6mRCvLAYhxYyBroBW,A;AZgxYzB67BAA6tUL77BQ,A;2BA7tUKqoBAYhxYyBroBmB,A;mKZuijBrBAA4BljhBKAA/C7nCvBAAA9B0Bo5BAAAAp5B0B,A,A,kB,A;0CmB2ujBxB87Bc;kBAmBAAe;wEA0mlBN97BAAAAAAAQE+7B8B,A,A;kCA8mB6B/7BAAi2FJAAAeag8BAAAAh8BoC,A,4B,A;cAj3FxCAQ;6DAoCiBmuBoL;6EAgtDXnuBAA5KkCi8BQ,AACECQ,AACGCc,A;AA2E7Cn8BU;AAkGco8BAD/5sCDp8BU,A;qDC22uCJ6oBG;89GChqvCLwT2B;gdCmdcr8BA0BwsBSAA/C7nCvBAAA9B0Bo5BAAAAp5BiC,A,A,gC,A;+sBsBuHtBs8B4FAIoB1IW,+O;OAJpB0IAAUW1IoB,gB;mcClHY2IAJgimCKAAA9G3BCyB,A,A;AIl7lCsBCAJgzZQz8BS,AAAkBmzBAA9LfnzBa,A,A;AIlnZXu8BAJgimCiBGsB,A;iCI1hmCpBHAJ0hmCQAAA9G3BCyB,A,A;AI56lCmBCAJ0yZWz8BS,AAAkBmzBAA9LfnzBa,A,A;AI5mZdu8BAJ0hmCoBGgB,A;6FIhhmCXHAJghmCDAAA9G3BCyB,A,A;AIl6lC4BCAJgyZEz8BS,AAAkBmzBAA9LfnzBa,A,A;AIlmZLu8BAJghmCWGoB,A;gEI7gmC3BfATmYGpBqB,A;mCS7XagCAJugmCDAAA9G3BCyB,A,A;AIz5lC4BCAJuxZEz8BS,AAAkBmzBAA9LfnzBa,A,A;AIzlZLu8BAJugmCWGoB,A;yDIpgmC3BfAT0XGpBqB,A;iPUzYxBoCS;SAAAAuC;gDA0EkDCoB;AACLCY;0HAoRjBCyC;+UAmBqBnBAVuBzBpB6C,A;2EUpBI/oDSAoEpBurDgB,kB;AApEFCALojlCJF0B,A;kJKlilCEprDyIAkCoBorDyB,kD;+JAMsBGAVlZhCCO,A;y7BYvCHXyC;AACcAsD;eAErBO0B;AACAA0B;AACOE2C;AAEPF0B;AACAA0B;AACOEwC;+REX0BGmE;yBAkBAA8D;2XrCiHnBhrDAA8CgB4sB0D,A;qMAfhC3sBAAmB0B2sBqF,A;sd2B6bRq+BqB;2tH3BrUYrJW;gBAqB5BsJgB;giB2BtLsBCA8ByFuBt9BkB,A;gC9BzFvBs9BA8ByFuBt9B4B,A;6B9B4C/Cu9B6B;gtBA0RACqB;4ZAsJ4BCe;gBAcEz9BoB;kJAmD9Bw9BuC;umDJjrBOEiC;+wChC/FuB19BS;iBAAAAe;OAAAAa;4YAoKPAmB;6BAAAAqC;gNE9IGAmB;yBAAAAc;iPA2UAAmB;0XA6DAAmB;66CG4rCEu6B+B;g5BAo6BVxGS;gKoB19EP/zBmB;yDAAAAW;UAIqBwpBgB;YAAAAAAJrBxpB4B,A;8EAWF29BS;qSA8CICG;wPAiBXCkI;kRA6G2B79BiC;ghBAuHlBAU;sBAAAAAA0BbAAAAAAO,A,A;kiBfnUMq0BO;iYA4CQyJ2D;8HAoDqCCkC;gKCzFpCCG;0JAmFFh+BW;qCAgDGo0BG;+CAQkB6JK;mNAuElB7JkB;AAII8JAA5GECe,A;4EA+GVC0B;6rCLnLHlKiB;qDAMyBkBM;AAymC3BMqB;02BWl7BG11Bc;iMC5QIq+BW;iEAQZCS;6EAgBYDW;qFAwHPEW;oBACE3EY;AAA6B4EI;8CAazB5EK;kGAQLDU;qTAmIkB9QW;kGAoBA7oBuC;QACPqqBwD;wDASOrqB+B;QACPy+BwD;6GAgGbCG;6CAQiBnFQ;AACLQY;uBAQdnwDgB;gFAQE80DG;kGAiBiBnFQ;AACLQY;mCAQdnwDgB;mSAqJFyvDW;oCAQAsFmB;iGAkEA/0DmB;kGAwBAAmB;kkBAwEyBg1DGAnmBlBhFS,AAAUiFa,A;gCAqmBwBpFE;2BACDAQ;mDAOcMiB;AAC3BPmB;IACqBCI;+LAkBjBqFC;IAAAAAA5qBxBlFS,AAA+BmFO,A;gIAqrBCtFS;iBAElBuFAA7rBdCU,A;0DAksBsBxFa;6QCwtB3BCU;4GAYAAU;soBKxdS15BwB;KAAAAAA6XbAAAAAAU,A,A;yMAnWe49BiB;qzBA+JiB59B+B;qhByBvvCJAkB;sBAAAAW;8CA6QFs9BAiBvDuBt9BW,A;QjBuDvBs9BAiBvDuBt9B8B,A;sFjBkS5By9Be;sStBlafpJe;AACAAAd2fJgHU,A;Ac1fIhHW;sUyBGe6KkB;4DA0CErWG;eAAAAiB;mBAMKAe;AAFS0RuB;AAET1RG;AAAtBwLe;AAAsBxLgB;0BAMHAG;AAFnBwLkB;AAEmBxLgB;sHA+FeAM;qBAAAAS;iIxB5IlCsWG;iJAWYAa;AAA2B7VK;sCAMvC6VU;AAAiC3VAH9G1BxpBM,G;kBG8G0BwpBOH9G1BxpBW,A;QG+GJAc;+BASHm/BS;4HA+BAAS;4GAiCAAS;4QAgDAAS;2VA0DWAiB;0CASAAU;kCAEchVAQ4YCnqBuB,A;6dPtnBjBo/BqE;wNAqBmB9VqB;oEAQdtpBc;AAAJq0Ba;mBAAAuGAhBgfGCiB,A;0FgBheYvRQ;uGASvB+KAhBkdNgHK,A;QgB9cyClTG;kmBwBsE1BnoBc;0FAQRmoBG;2DCnCqB4Ea;UAAAAI;4LxB5GDsSc;gDAYZjSqB;iKAmDFkSiC;6UAqCACU;0YAoJNv/BY;AAAAw/Be;8VA8QqBx/BoC;0lBAatB46BAjBCWCa,A;iFiBQLDAjBRKCa,A;ciBaLDAjBbKCa,A;kBiBoBLDAjBpBKCe,A;AiBqBLDAjBrBKCC,AAAjBQa,A;wMiBiDQTAjBjDSCW,A;iFiB6DbDAjB7DaCmB,A;oCiBsEV1SG;yEjB7dgCsXmB;s1BVoQfpWK;2hD8BzOiBrpBgB;UAAAAa;8fpBnMX+zBc;qRsBgvCpB2LsB;wEAKFAwB;AACAAyB;weAoNqBCMAg2ClBhEAH57EWpB2B,A,AGg8ElB7Ja,+BAIFkPOA/BYjEAHr6EQpBsB,A,4BG46EpBlG4B,A,yD;sLAt0C8DrDG;qCAA9DhxBG;wVAwac0wBG;iBAEIiLAHhhDEpBmC,A;qBG0hDyBAiB;iSA47B3C7JmB;IACACa;oEAIAIa;sBACACK;oBACACa;sBADADK;kPAnlBe6OuC;AACUlEAH14DPpBc,A;AG24DlBlGAtB/rDJgHS,A;AsBgsDqBwEW;AAHFAa;0NAssCEC2FAgBd9/BG,A;0BAhBc8/B2B;2kBA02BjBCgC;aACAC6B;cACACwB;aACAC+B;8OAaAH+B;UACAC6B;oNAoDGhgCI;AADF+wBQ;4MAgEe4KAH7jIEpBgC,A;wCGukIkBAiB;koCE0rNpB4FoB;AAAOCgB;wIAKzBDoB;AAAcAiB;aACdCmB;AAAaAgB;0HAIeDoB;AAAMCK;CAAAAU;odAi9CIpgCmB;sCA8JXAW;mFAumBCqgCAA28xBuBCc,cAyBvDDAAAAAAACEEAAoFA7TO,Y,AAnFA8TAAiKA9TO,+B,A,A,A;2BAloyB4B1sB+B;+LAkBVygCwB;iLAkBdCAA0BDCiF,A;orDAk7P4BCkB;4TA0GAAkB;+lBAmhClBtXyB;sMAeuBAuB;0JAsFLiTe;SAGepSAA86cnCnqBU,A;iCA96cmCmqBAA86cnCnqBQ,A;06BA55UoB4gCkB;wiCAg0DlBrEgB;mVA0aMv8BoC;AACV67BAA1sME77BW,A;IA0sMiB67BAA1sMjB77BY,A;0IAiyMQA6B;AAId67BAAryMM77BU,A;uCAuyMO67BAAvyMP77BU,A;SAwyMF67BAAxyME77BW,A;IAwyMe67BAAxyMf77BQ,A;oJAg2MQA6B;AAId67BAAp2MM77BU,A;uCAs2MF67BAAt2ME77BW,A;IAs2MmB67BAAt2MnB77BQ,A;gGA27MFqtBQ;qzCAiqJW8SoB;AAAOCmB;AAAM5XqB;AAASCmB;qHAKxC0XoB;AAAcAiB;aACdCmB;AAAaAgB;aACb5XkB;6BACACmB;wFAE4B0XoB;AAAMCmB;AAAK5XqB;AAAOCQ;CAAAAU;upCA4oC9B8TU;8CAAAAAA4DXCoB,A;kJAjDDqEwB;uCAiDCrEkB;qDAIPMI;2DA0GkCPAA9G3BCkB,A;mBA8G2BDwB;AAAYGO;qBAG9CMAA7GAFI,A;EA6GAEwB;AAAYNY;6bAiBNmEoB;UACACI;MAAAAc;kCAQADoB;YACOCI;MAAAAY;iIA+yBEvGY;2EAWCwGiB;sBAaTCoC;mBAImBCU;EAAAAuC;+BAInBCAAiDDCqB,A;uIAkhCmB5GQ;sPA+Cdv6BkB;sBAAAAW;g2BAitDCu8BAA9xHLCmC,A;mrBAogKIDAApgKJCG,kvB;iwBA4jKU4EADzyuCJCS,A;AC0yuCM/X0B;AAObiT6C;iCAAAAQ;YAAAAAApkKCC2B,A;AAskKiBDAAtkKjBCmH,A;sVA+8JD8EK;iEAAAAsBAwBJzRiC,iB;iyBqBv6vCE4KW;8OAqCyCtQW;wBAyBfbE;qTC3C5BjBU;mBAAY+TAzDgZZxIS,A;AyDhZAvLAVkJuCroBW,A;WUlJvCqoBAVkJuCroBgB,A;WUlJ3Bo8BAzDgZZxIiB,A;YyDrYE2IiB;KAAAAAAuG4BhTsB,A;gBADNDK;UAAAAG;kCACMCmB;SAGAgY8B;OAAUpXAvBslBZnqBoB,A;2MGnQxBAwB;u+BsBg7EmBu8BAxBqjgClBCkB,A;qHwB1igCQjCY;0BAQfuCI;sCA6B6B98BkB;4FAoBnB2uBO;AAAuB6SAAlBDxhCWFh7FT67BAtBqotBZ77Ba,A,A,A;QwBlsnBM+8BU;qCAWGsDAxBq3mCiCC0B,AAyBvDDAAAAAAACEEAAoFA7TO,Y,AAnFA8TAAiKA9TO,Q,A,A,A;AwBjjnCoB+UAxB0+mCpB/UO,AAAQ1sBY,A;AwBx+mCcAAxBozpChBAW,A;AwBtzpCcqgC2B;gEAUErgC6B;AAEF67BAxB2qnBT77Ba,A;+gByBptsBoB4gCkB;ktCtB3alBrGY;uSAuBEzNgB;AACPAmB;AADOAK;sCAsCGsUM;YAAXhFAJoOIp8BW,A;iBIpOOohCY;yGA3BGMI;EAAAAG;+zBEhDdnFAL27lCACqD,A;AKz7lCKDALy7lCLCmC,A;uGK56lCPxgCAyBnBA2lCuD,A;uUzBmCoBCAFtBHCG,A;gBEqBSC6B;QACNFWFtBHCqB,AACJzFAS0JuBp8BkC,A,AT1JbohCgB,aAAAAc,A;gFE6BTzFANkqBQpBa,A;6TM5nBMuCiC;AAAAA2C;kcA2B5BA2D;8FAcAAqC;AAAAAsC;AAIIpQALoxnCGsU2B,A;6iBKlunCWrFAjB/IIpBO,A;uBiBgJpBpQAxCgLwBnqBS,iB;AwChLxB6oBY;WAAAAG;sBAAAAwC;8QAaoBiUsB;AACK3U6C;qFAOH2UwC;6GAmBRvCQ;6KAgBhBwHM;AAEACiEAlFElFuC,A;AAmFFmFmF;kGAUqC1Ha;oOAiBrCwHS;+pBA+BqDxFALuwlCnBAAA9G3BCyB,A,A;AKzplC8CCALuhZhBz8BS,AAAkBmzBAA9LfnzBa,A,A;AKz1Yau8BALuwlCPGW,A;qJK3vlCjBvUS;uHAgBvB4ZY;kOA0BQGO;AAAoBCO;2BAEHCsB;AACQCS;qBAEcAiE;AAC7CC6D;gmBE5VNxF0B;AACAA0B;AACOE2C;AAEPF0B;AACAA0B;AACOEM;knuBvC4wCQuF0G;mEAUAC8G;iEAUACuD;mEAUAC2D;wHwBhyBgCCU;2cKkB/BCM;qtC3B1ZOCAAsE3B/jCAElJA5gCuB,A,A;AA+EkBiUAA8CgB4sBAANK9gC" - } -} diff --git a/docs/static-assets/favicon.png b/docs/static-assets/favicon.png deleted file mode 100644 index 43d2ffa079..0000000000 Binary files a/docs/static-assets/favicon.png and /dev/null differ diff --git a/docs/static-assets/github.css b/docs/static-assets/github.css deleted file mode 100644 index 791932b87e..0000000000 --- a/docs/static-assets/github.css +++ /dev/null @@ -1,99 +0,0 @@ -/* - -github.com style (c) Vasily Polovnyov - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #333; - background: #f8f8f8; -} - -.hljs-comment, -.hljs-quote { - color: #998; - font-style: italic; -} - -.hljs-keyword, -.hljs-selector-tag, -.hljs-subst { - color: #333; - font-weight: bold; -} - -.hljs-number, -.hljs-literal, -.hljs-variable, -.hljs-template-variable, -.hljs-tag .hljs-attr { - color: #008080; -} - -.hljs-string, -.hljs-doctag { - color: #d14; -} - -.hljs-title, -.hljs-section, -.hljs-selector-id { - color: #900; - font-weight: bold; -} - -.hljs-subst { - font-weight: normal; -} - -.hljs-type, -.hljs-class .hljs-title { - color: #458; - font-weight: bold; -} - -.hljs-tag, -.hljs-name, -.hljs-attribute { - color: #000080; - font-weight: normal; -} - -.hljs-regexp, -.hljs-link { - color: #009926; -} - -.hljs-symbol, -.hljs-bullet { - color: #990073; -} - -.hljs-built_in, -.hljs-builtin-name { - color: #0086b3; -} - -.hljs-meta { - color: #999; - font-weight: bold; -} - -.hljs-deletion { - background: #fdd; -} - -.hljs-addition { - background: #dfd; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/docs/static-assets/highlight.pack.js b/docs/static-assets/highlight.pack.js deleted file mode 100644 index 3cf5abcf69..0000000000 --- a/docs/static-assets/highlight.pack.js +++ /dev/null @@ -1,780 +0,0 @@ -/*! - Highlight.js v11.8.0 (git: d27be507cb) - (c) 2006-2023 Ivan Sagalaev and other contributors - License: BSD-3-Clause - */ -var hljs=function(){"use strict";function e(n){ -return n instanceof Map?n.clear=n.delete=n.set=()=>{ -throw Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=()=>{ -throw Error("set is read-only") -}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach((t=>{ -const a=n[t],i=typeof a;"object"!==i&&"function"!==i||Object.isFrozen(a)||e(a) -})),n}class n{constructor(e){ -void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} -ignoreMatch(){this.isMatchIgnored=!0}}function t(e){ -return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") -}function a(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n] -;return n.forEach((e=>{for(const n in e)t[n]=e[n]})),t}const i=e=>!!e.scope -;class s{constructor(e,n){ -this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){ -this.buffer+=t(e)}openNode(e){if(!i(e))return;const n=((e,{prefix:n})=>{ -if(e.startsWith("language:"))return e.replace("language:","language-") -;if(e.includes(".")){const t=e.split(".") -;return[`${n}${t.shift()}`,...t.map(((e,n)=>`${e}${"_".repeat(n+1)}`))].join(" ") -}return`${n}${e}`})(e.scope,{prefix:this.classPrefix});this.span(n)} -closeNode(e){i(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ -this.buffer+=``}}const r=(e={})=>{const n={children:[]} -;return Object.assign(n,e),n};class o{constructor(){ -this.rootNode=r(),this.stack=[this.rootNode]}get top(){ -return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ -this.top.children.push(e)}openNode(e){const n=r({scope:e}) -;this.add(n),this.stack.push(n)}closeNode(){ -if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){ -for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} -walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){ -return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n), -n.children.forEach((n=>this._walk(e,n))),e.closeNode(n)),e}static _collapse(e){ -"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ -o._collapse(e)})))}}class l extends o{constructor(e){super(),this.options=e} -addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){ -this.closeNode()}__addSublanguage(e,n){const t=e.root -;n&&(t.scope="language:"+n),this.add(t)}toHTML(){ -return new s(this,this.options).value()}finalize(){ -return this.closeAllNodes(),!0}}function c(e){ -return e?"string"==typeof e?e:e.source:null}function d(e){return b("(?=",e,")")} -function g(e){return b("(?:",e,")*")}function u(e){return b("(?:",e,")?")} -function b(...e){return e.map((e=>c(e))).join("")}function m(...e){const n=(e=>{ -const n=e[e.length-1] -;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{} -})(e);return"("+(n.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"} -function p(e){return RegExp(e.toString()+"|").exec("").length-1} -const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ -;function f(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t -;let a=c(e),i="";for(;a.length>0;){const e=h.exec(a);if(!e){i+=a;break} -i+=a.substring(0,e.index), -a=a.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+(Number(e[1])+n):(i+=e[0], -"("===e[0]&&t++)}return i})).map((e=>`(${e})`)).join(n)} -const _="[a-zA-Z]\\w*",E="[a-zA-Z_]\\w*",N="\\b\\d+(\\.\\d+)?",y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",v={ -begin:"\\\\[\\s\\S]",relevance:0},k={scope:"string",begin:"'",end:"'", -illegal:"\\n",contains:[v]},x={scope:"string",begin:'"',end:'"',illegal:"\\n", -contains:[v]},O=(e,n,t={})=>{const i=a({scope:"comment",begin:e,end:n, -contains:[]},t);i.contains.push({scope:"doctag", -begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", -end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}) -;const s=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/) -;return i.contains.push({begin:b(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i -},S=O("//","$"),A=O("/\\*","\\*/"),M=O("#","$");var C=Object.freeze({ -__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:_,UNDERSCORE_IDENT_RE:E, -NUMBER_RE:N,C_NUMBER_RE:y,BINARY_NUMBER_RE:w, -RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", -SHEBANG:(e={})=>{const n=/^#![ ]*\// -;return e.binary&&(e.begin=b(n,/.*\b/,e.binary,/\b.*/)),a({scope:"meta",begin:n, -end:/$/,relevance:0,"on:begin":(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)}, -BACKSLASH_ESCAPE:v,APOS_STRING_MODE:k,QUOTE_STRING_MODE:x,PHRASAL_WORDS_MODE:{ -begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ -},COMMENT:O,C_LINE_COMMENT_MODE:S,C_BLOCK_COMMENT_MODE:A,HASH_COMMENT_MODE:M, -NUMBER_MODE:{scope:"number",begin:N,relevance:0},C_NUMBER_MODE:{scope:"number", -begin:y,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:w,relevance:0}, -REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//, -end:/\/[gimuy]*/,illegal:/\n/,contains:[v,{begin:/\[/,end:/\]/,relevance:0, -contains:[v]}]}]},TITLE_MODE:{scope:"title",begin:_,relevance:0}, -UNDERSCORE_TITLE_MODE:{scope:"title",begin:E,relevance:0},METHOD_GUARD:{ -begin:"\\.\\s*"+E,relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{ -"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{ -n.data._beginMatch!==e[1]&&n.ignoreMatch()}})});function T(e,n){ -"."===e.input[e.index-1]&&n.ignoreMatch()}function R(e,n){ -void 0!==e.className&&(e.scope=e.className,delete e.className)}function D(e,n){ -n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", -e.__beforeBegin=T,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, -void 0===e.relevance&&(e.relevance=0))}function I(e,n){ -Array.isArray(e.illegal)&&(e.illegal=m(...e.illegal))}function B(e,n){ -if(e.match){ -if(e.begin||e.end)throw Error("begin & end are not supported with match") -;e.begin=e.match,delete e.match}}function L(e,n){ -void 0===e.relevance&&(e.relevance=1)}const $=(e,n)=>{if(!e.beforeMatch)return -;if(e.starts)throw Error("beforeMatch cannot be used with starts") -;const t=Object.assign({},e);Object.keys(e).forEach((n=>{delete e[n] -})),e.keywords=t.keywords,e.begin=b(t.beforeMatch,d(t.begin)),e.starts={ -relevance:0,contains:[Object.assign(t,{endsParent:!0})] -},e.relevance=0,delete t.beforeMatch -},F=["of","and","for","in","not","or","if","then","parent","list","value"],z="keyword" -;function U(e,n,t=z){const a=Object.create(null) -;return"string"==typeof e?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach((t=>{ -Object.assign(a,U(e[t],n,t))})),a;function i(e,t){ -n&&(t=t.map((e=>e.toLowerCase()))),t.forEach((n=>{const t=n.split("|") -;a[t[0]]=[e,j(t[0],t[1])]}))}}function j(e,n){ -return n?Number(n):(e=>F.includes(e.toLowerCase()))(e)?0:1}const P={},K=e=>{ -console.error(e)},H=(e,...n)=>{console.log("WARN: "+e,...n)},Z=(e,n)=>{ -P[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),P[`${e}/${n}`]=!0) -},G=Error();function q(e,n,{key:t}){let a=0;const i=e[t],s={},r={} -;for(let e=1;e<=n.length;e++)r[e+a]=i[e],s[e+a]=!0,a+=p(n[e-1]) -;e[t]=r,e[t]._emit=s,e[t]._multi=!0}function W(e){(e=>{ -e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope, -delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={ -_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope -}),(e=>{if(Array.isArray(e.begin)){ -if(e.skip||e.excludeBegin||e.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), -G -;if("object"!=typeof e.beginScope||null===e.beginScope)throw K("beginScope must be object"), -G;q(e,e.begin,{key:"beginScope"}),e.begin=f(e.begin,{joinWith:""})}})(e),(e=>{ -if(Array.isArray(e.end)){ -if(e.skip||e.excludeEnd||e.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"), -G -;if("object"!=typeof e.endScope||null===e.endScope)throw K("endScope must be object"), -G;q(e,e.end,{key:"endScope"}),e.end=f(e.end,{joinWith:""})}})(e)}function X(e){ -function n(n,t){ -return RegExp(c(n),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(t?"g":"")) -}class t{constructor(){ -this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} -addRule(e,n){ -n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]), -this.matchAt+=p(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null) -;const e=this.regexes.map((e=>e[1]));this.matcherRe=n(f(e,{joinWith:"|" -}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex -;const n=this.matcherRe.exec(e);if(!n)return null -;const t=n.findIndex(((e,n)=>n>0&&void 0!==e)),a=this.matchIndexes[t] -;return n.splice(0,t),Object.assign(n,a)}}class i{constructor(){ -this.rules=[],this.multiRegexes=[], -this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ -if(this.multiRegexes[e])return this.multiRegexes[e];const n=new t -;return this.rules.slice(e).forEach((([e,t])=>n.addRule(e,t))), -n.compile(),this.multiRegexes[e]=n,n}resumingScanAtSamePosition(){ -return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,n){ -this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){ -const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex -;let t=n.exec(e) -;if(this.resumingScanAtSamePosition())if(t&&t.index===this.lastIndex);else{ -const n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,t=n.exec(e)} -return t&&(this.regexIndex+=t.position+1, -this.regexIndex===this.count&&this.considerAll()),t}} -if(e.compilerExtensions||(e.compilerExtensions=[]), -e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") -;return e.classNameAliases=a(e.classNameAliases||{}),function t(s,r){const o=s -;if(s.isCompiled)return o -;[R,B,W,$].forEach((e=>e(s,r))),e.compilerExtensions.forEach((e=>e(s,r))), -s.__beforeBegin=null,[D,I,L].forEach((e=>e(s,r))),s.isCompiled=!0;let l=null -;return"object"==typeof s.keywords&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords), -l=s.keywords.$pattern, -delete s.keywords.$pattern),l=l||/\w+/,s.keywords&&(s.keywords=U(s.keywords,e.case_insensitive)), -o.keywordPatternRe=n(l,!0), -r&&(s.begin||(s.begin=/\B|\b/),o.beginRe=n(o.begin),s.end||s.endsWithParent||(s.end=/\B|\b/), -s.end&&(o.endRe=n(o.end)), -o.terminatorEnd=c(o.end)||"",s.endsWithParent&&r.terminatorEnd&&(o.terminatorEnd+=(s.end?"|":"")+r.terminatorEnd)), -s.illegal&&(o.illegalRe=n(s.illegal)), -s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((n=>a(e,{ -variants:null},n)))),e.cachedVariants?e.cachedVariants:Q(e)?a(e,{ -starts:e.starts?a(e.starts):null -}):Object.isFrozen(e)?a(e):e))("self"===e?s:e)))),s.contains.forEach((e=>{t(e,o) -})),s.starts&&t(s.starts,r),o.matcher=(e=>{const n=new i -;return e.contains.forEach((e=>n.addRule(e.begin,{rule:e,type:"begin" -}))),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:"end" -}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n})(o),o}(e)}function Q(e){ -return!!e&&(e.endsWithParent||Q(e.starts))}class V extends Error{ -constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}} -const J=t,Y=a,ee=Symbol("nomatch"),ne=t=>{ -const a=Object.create(null),i=Object.create(null),s=[];let r=!0 -;const o="Could not find the language '{}', did you forget to load/include a language module?",c={ -disableAutodetect:!0,name:"Plain text",contains:[]};let p={ -ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i, -languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", -cssSelector:"pre code",languages:null,__emitter:l};function h(e){ -return p.noHighlightRe.test(e)}function f(e,n,t){let a="",i="" -;"object"==typeof n?(a=e, -t=n.ignoreIllegals,i=n.language):(Z("10.7.0","highlight(lang, code, ...args) has been deprecated."), -Z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), -i=e,a=n),void 0===t&&(t=!0);const s={code:a,language:i};O("before:highlight",s) -;const r=s.result?s.result:_(s.language,s.code,t) -;return r.code=s.code,O("after:highlight",r),r}function _(e,t,i,s){ -const l=Object.create(null);function c(){if(!O.keywords)return void A.addText(M) -;let e=0;O.keywordPatternRe.lastIndex=0;let n=O.keywordPatternRe.exec(M),t="" -;for(;n;){t+=M.substring(e,n.index) -;const i=w.case_insensitive?n[0].toLowerCase():n[0],s=(a=i,O.keywords[a]);if(s){ -const[e,a]=s -;if(A.addText(t),t="",l[i]=(l[i]||0)+1,l[i]<=7&&(C+=a),e.startsWith("_"))t+=n[0];else{ -const t=w.classNameAliases[e]||e;g(n[0],t)}}else t+=n[0] -;e=O.keywordPatternRe.lastIndex,n=O.keywordPatternRe.exec(M)}var a -;t+=M.substring(e),A.addText(t)}function d(){null!=O.subLanguage?(()=>{ -if(""===M)return;let e=null;if("string"==typeof O.subLanguage){ -if(!a[O.subLanguage])return void A.addText(M) -;e=_(O.subLanguage,M,!0,S[O.subLanguage]),S[O.subLanguage]=e._top -}else e=E(M,O.subLanguage.length?O.subLanguage:null) -;O.relevance>0&&(C+=e.relevance),A.__addSublanguage(e._emitter,e.language) -})():c(),M=""}function g(e,n){ -""!==e&&(A.startScope(n),A.addText(e),A.endScope())}function u(e,n){let t=1 -;const a=n.length-1;for(;t<=a;){if(!e._emit[t]){t++;continue} -const a=w.classNameAliases[e[t]]||e[t],i=n[t];a?g(i,a):(M=i,c(),M=""),t++}} -function b(e,n){ -return e.scope&&"string"==typeof e.scope&&A.openNode(w.classNameAliases[e.scope]||e.scope), -e.beginScope&&(e.beginScope._wrap?(g(M,w.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap), -M=""):e.beginScope._multi&&(u(e.beginScope,n),M="")),O=Object.create(e,{parent:{ -value:O}}),O}function m(e,t,a){let i=((e,n)=>{const t=e&&e.exec(n) -;return t&&0===t.index})(e.endRe,a);if(i){if(e["on:end"]){const a=new n(e) -;e["on:end"](t,a),a.isMatchIgnored&&(i=!1)}if(i){ -for(;e.endsParent&&e.parent;)e=e.parent;return e}} -if(e.endsWithParent)return m(e.parent,t,a)}function h(e){ -return 0===O.matcher.regexIndex?(M+=e[0],1):(D=!0,0)}function f(e){ -const n=e[0],a=t.substring(e.index),i=m(O,e,a);if(!i)return ee;const s=O -;O.endScope&&O.endScope._wrap?(d(), -g(n,O.endScope._wrap)):O.endScope&&O.endScope._multi?(d(), -u(O.endScope,e)):s.skip?M+=n:(s.returnEnd||s.excludeEnd||(M+=n), -d(),s.excludeEnd&&(M=n));do{ -O.scope&&A.closeNode(),O.skip||O.subLanguage||(C+=O.relevance),O=O.parent -}while(O!==i.parent);return i.starts&&b(i.starts,e),s.returnEnd?0:n.length} -let N={};function y(a,s){const o=s&&s[0];if(M+=a,null==o)return d(),0 -;if("begin"===N.type&&"end"===s.type&&N.index===s.index&&""===o){ -if(M+=t.slice(s.index,s.index+1),!r){const n=Error(`0 width match regex (${e})`) -;throw n.languageName=e,n.badRule=N.rule,n}return 1} -if(N=s,"begin"===s.type)return(e=>{ -const t=e[0],a=e.rule,i=new n(a),s=[a.__beforeBegin,a["on:begin"]] -;for(const n of s)if(n&&(n(e,i),i.isMatchIgnored))return h(t) -;return a.skip?M+=t:(a.excludeBegin&&(M+=t), -d(),a.returnBegin||a.excludeBegin||(M=t)),b(a,e),a.returnBegin?0:t.length})(s) -;if("illegal"===s.type&&!i){ -const e=Error('Illegal lexeme "'+o+'" for mode "'+(O.scope||"")+'"') -;throw e.mode=O,e}if("end"===s.type){const e=f(s);if(e!==ee)return e} -if("illegal"===s.type&&""===o)return 1 -;if(R>1e5&&R>3*s.index)throw Error("potential infinite loop, way more iterations than matches") -;return M+=o,o.length}const w=v(e) -;if(!w)throw K(o.replace("{}",e)),Error('Unknown language: "'+e+'"') -;const k=X(w);let x="",O=s||k;const S={},A=new p.__emitter(p);(()=>{const e=[] -;for(let n=O;n!==w;n=n.parent)n.scope&&e.unshift(n.scope) -;e.forEach((e=>A.openNode(e)))})();let M="",C=0,T=0,R=0,D=!1;try{ -if(w.__emitTokens)w.__emitTokens(t,A);else{for(O.matcher.considerAll();;){ -R++,D?D=!1:O.matcher.considerAll(),O.matcher.lastIndex=T -;const e=O.matcher.exec(t);if(!e)break;const n=y(t.substring(T,e.index),e) -;T=e.index+n}y(t.substring(T))}return A.finalize(),x=A.toHTML(),{language:e, -value:x,relevance:C,illegal:!1,_emitter:A,_top:O}}catch(n){ -if(n.message&&n.message.includes("Illegal"))return{language:e,value:J(t), -illegal:!0,relevance:0,_illegalBy:{message:n.message,index:T, -context:t.slice(T-100,T+100),mode:n.mode,resultSoFar:x},_emitter:A};if(r)return{ -language:e,value:J(t),illegal:!1,relevance:0,errorRaised:n,_emitter:A,_top:O} -;throw n}}function E(e,n){n=n||p.languages||Object.keys(a);const t=(e=>{ -const n={value:J(e),illegal:!1,relevance:0,_top:c,_emitter:new p.__emitter(p)} -;return n._emitter.addText(e),n})(e),i=n.filter(v).filter(x).map((n=>_(n,e,!1))) -;i.unshift(t);const s=i.sort(((e,n)=>{ -if(e.relevance!==n.relevance)return n.relevance-e.relevance -;if(e.language&&n.language){if(v(e.language).supersetOf===n.language)return 1 -;if(v(n.language).supersetOf===e.language)return-1}return 0})),[r,o]=s,l=r -;return l.secondBest=o,l}function N(e){let n=null;const t=(e=>{ -let n=e.className+" ";n+=e.parentNode?e.parentNode.className:"" -;const t=p.languageDetectRe.exec(n);if(t){const n=v(t[1]) -;return n||(H(o.replace("{}",t[1])), -H("Falling back to no-highlight mode for this block.",e)),n?t[1]:"no-highlight"} -return n.split(/\s+/).find((e=>h(e)||v(e)))})(e);if(h(t))return -;if(O("before:highlightElement",{el:e,language:t -}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e) -;if(e.children.length>0&&(p.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), -console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), -console.warn("The element with unescaped HTML:"), -console.warn(e)),p.throwUnescapedHTML))throw new V("One of your code blocks includes unescaped HTML.",e.innerHTML) -;n=e;const a=n.textContent,s=t?f(a,{language:t,ignoreIllegals:!0}):E(a) -;e.innerHTML=s.value,e.dataset.highlighted="yes",((e,n,t)=>{const a=n&&i[n]||t -;e.classList.add("hljs"),e.classList.add("language-"+a) -})(e,t,s.language),e.result={language:s.language,re:s.relevance, -relevance:s.relevance},s.secondBest&&(e.secondBest={ -language:s.secondBest.language,relevance:s.secondBest.relevance -}),O("after:highlightElement",{el:e,result:s,text:a})}let y=!1;function w(){ -"loading"!==document.readyState?document.querySelectorAll(p.cssSelector).forEach(N):y=!0 -}function v(e){return e=(e||"").toLowerCase(),a[e]||a[i[e]]} -function k(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ -i[e.toLowerCase()]=n}))}function x(e){const n=v(e) -;return n&&!n.disableAutodetect}function O(e,n){const t=e;s.forEach((e=>{ -e[t]&&e[t](n)}))} -"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{ -y&&w()}),!1),Object.assign(t,{highlight:f,highlightAuto:E,highlightAll:w, -highlightElement:N, -highlightBlock:e=>(Z("10.7.0","highlightBlock will be removed entirely in v12.0"), -Z("10.7.0","Please use highlightElement now."),N(e)),configure:e=>{p=Y(p,e)}, -initHighlighting:()=>{ -w(),Z("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")}, -initHighlightingOnLoad:()=>{ -w(),Z("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.") -},registerLanguage:(e,n)=>{let i=null;try{i=n(t)}catch(n){ -if(K("Language definition for '{}' could not be registered.".replace("{}",e)), -!r)throw n;K(n),i=c} -i.name||(i.name=e),a[e]=i,i.rawDefinition=n.bind(null,t),i.aliases&&k(i.aliases,{ -languageName:e})},unregisterLanguage:e=>{delete a[e] -;for(const n of Object.keys(i))i[n]===e&&delete i[n]}, -listLanguages:()=>Object.keys(a),getLanguage:v,registerAliases:k, -autoDetection:x,inherit:Y,addPlugin:e=>{(e=>{ -e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=n=>{ -e["before:highlightBlock"](Object.assign({block:n.el},n)) -}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=n=>{ -e["after:highlightBlock"](Object.assign({block:n.el},n))})})(e),s.push(e)}, -removePlugin:e=>{const n=s.indexOf(e);-1!==n&&s.splice(n,1)}}),t.debugMode=()=>{ -r=!1},t.safeMode=()=>{r=!0},t.versionString="11.8.0",t.regex={concat:b, -lookahead:d,either:m,optional:u,anyNumberOfTimes:g} -;for(const n in C)"object"==typeof C[n]&&e(C[n]);return Object.assign(t,C),t -},te=ne({});te.newInstance=()=>ne({});var ae=te -;const ie=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],se=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],re=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],oe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],le=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse() -;var ce="[0-9](_*[0-9])*",de=`\\.(${ce})`,ge="[0-9a-fA-F](_*[0-9a-fA-F])*",ue={ -className:"number",variants:[{ -begin:`(\\b(${ce})((${de})|\\.)?|(${de}))[eE][+-]?(${ce})[fFdD]?\\b`},{ -begin:`\\b(${ce})((${de})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{ -begin:`(${de})[fFdD]?\\b`},{begin:`\\b(${ce})[fFdD]\\b`},{ -begin:`\\b0[xX]((${ge})\\.?|(${ge})?\\.(${ge}))[pP][+-]?(${ce})[fFdD]?\\b`},{ -begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${ge})[lL]?\\b`},{ -begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}], -relevance:0};function be(e,n,t){return-1===t?"":e.replace(n,(a=>be(e,n,t-1)))} -const me="[A-Za-z$_][0-9A-Za-z$_]*",pe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],he=["true","false","null","undefined","NaN","Infinity"],fe=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],_e=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ee=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ne=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ye=[].concat(Ee,fe,_e),we=e=>b(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ve=["Protocol","Type"].map(we),ke=["init","self"].map(we),xe=["Any","Self"],Oe=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Se=["false","nil","true"],Ae=["assignment","associativity","higherThan","left","lowerThan","none","right"],Me=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Ce=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Te=m(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Re=m(Te,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),De=b(Te,Re,"*"),Ie=m(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Be=m(Ie,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Le=b(Ie,Be,"*"),$e=b(/[A-Z]/,Be,"*"),Fe=["autoclosure",b(/convention\(/,m("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",b(/objc\(/,Le,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],ze=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"] -;var Ue=Object.freeze({__proto__:null,grmr_bash:e=>{const n=e.regex,t={},a={ -begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]} -;Object.assign(t,{className:"variable",variants:[{ -begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={ -className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={ -begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/, -end:/(\w+)/,className:"string"})]}},r={className:"string",begin:/"/,end:/"/, -contains:[e.BACKSLASH_ESCAPE,t,i]};i.contains.push(r);const o={begin:/\$?\(\(/, -end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t] -},l=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10 -}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0, -contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{ -name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/, -keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"], -literal:["true","false"], -built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"] -},contains:[l,e.SHEBANG(),c,o,e.HASH_COMMENT_MODE,s,{match:/(\/[a-z._-]+)+/},r,{ -className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}, -grmr_c:e=>{const n=e.regex,t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}] -}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="("+a+"|"+n.optional(i)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",r={ -className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{ -match:/\batomic_[a-z]{3,6}\b/}]},o={className:"string",variants:[{ -begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{ -begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)", -end:"'",illegal:"."},e.END_SAME_AS_BEGIN({ -begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={ -className:"number",variants:[{begin:"\\b(0b[01']+)"},{ -begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" -},{ -begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" -}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{ -keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" -},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"string"}),{ -className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},d={ -className:"title",begin:n.optional(i)+e.IDENT_RE,relevance:0 -},g=n.optional(i)+e.IDENT_RE+"\\s*\\(",u={ -keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"], -type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"], -literal:"true false NULL", -built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr" -},b=[c,r,t,e.C_BLOCK_COMMENT_MODE,l,o],m={variants:[{begin:/=/,end:/;/},{ -begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}], -keywords:u,contains:b.concat([{begin:/\(/,end:/\)/,keywords:u, -contains:b.concat(["self"]),relevance:0}]),relevance:0},p={ -begin:"("+s+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0, -keywords:u,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:u,relevance:0},{ -begin:g,returnBegin:!0,contains:[e.inherit(d,{className:"title.function"})], -relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/, -keywords:u,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,o,l,r,{begin:/\(/, -end:/\)/,keywords:u,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,o,l,r] -}]},r,t,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:u, -disableAutodetect:!0,illegal:"=]/,contains:[{ -beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c, -strings:o,keywords:u}}},grmr_css:e=>{const n=e.regex,t=(e=>({IMPORTANT:{ -scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{ -scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/}, -FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/}, -ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$", -contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{ -scope:"number", -begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?", -relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/} -}))(e),a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS", -case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"}, -classNameAliases:{keyframePosition:"selector-tag"},contains:[t.BLOCK_COMMENT,{ -begin:/-(webkit|moz|ms|o)-(?=[a-z])/},t.CSS_NUMBER_MODE,{ -className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{ -className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0 -},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{ -begin:":("+re.join("|")+")"},{begin:":(:)?("+oe.join("|")+")"}] -},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+le.join("|")+")\\b"},{ -begin:/:/,end:/[;}{]/, -contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...a,{ -begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri" -},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0, -excludeEnd:!0}]},t.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]", -relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/ -},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{ -$pattern:/[a-z-]+/,keyword:"and or not only",attribute:se.join(" ")},contains:[{ -begin:/[a-z-]+(?=:)/,className:"attribute"},...a,t.CSS_NUMBER_MODE]}]},{ -className:"selector-tag",begin:"\\b("+ie.join("|")+")\\b"}]}},grmr_xml:e=>{ -const n=e.regex,t=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a={ -className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/, -contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}] -},s=e.inherit(i,{begin:/\(/,end:/\)/}),r=e.inherit(e.APOS_STRING_MODE,{ -className:"string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={ -endsWithParent:!0,illegal:/`]+/}]}]}]};return{ -name:"HTML, XML", -aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"], -case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,o,r,s,{begin:/\[/,end:/\]/,contains:[{ -className:"meta",begin://,contains:[i,s,o,r]}]}] -},e.COMMENT(//,{relevance:10}),{begin://, -relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/, -relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{ -end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{ -end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{ -className:"tag",begin:/<>|<\/>/},{className:"tag", -begin:n.concat(//,/>/,/\s/)))), -end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:l}]},{ -className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(t,/>/))),contains:[{ -className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]} -},grmr_markdown:e=>{const n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml", -relevance:0},t={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{ -begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/, -relevance:2},{ -begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/), -relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{ -begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/ -},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0, -returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)", -excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[", -end:"\\]",excludeBegin:!0,excludeEnd:!0}]},a={className:"strong",contains:[], -variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}] -},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{ -begin:/_(?![_\s])/,end:/_/,relevance:0}]},s=e.inherit(a,{contains:[] -}),r=e.inherit(i,{contains:[]});a.contains.push(r),i.contains.push(s) -;let o=[n,t];return[a,i,s,r].forEach((e=>{e.contains=e.contains.concat(o) -})),o=o.concat(a,i),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{ -className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:o},{ -begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n", -contains:o}]}]},n,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)", -end:"\\s+",excludeEnd:!0},a,i,{className:"quote",begin:"^>\\s+",contains:o, -end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{ -begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{ -begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))", -contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{ -begin:"^[-\\*]{3,}",end:"$"},t,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{ -className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{ -className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_dart:e=>{ -const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},t={ -className:"subst",variants:[{begin:/\$\{/,end:/\}/}], -keywords:"true false null this is new super"},a={className:"string",variants:[{ -begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'", -illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''", -contains:[e.BACKSLASH_ESCAPE,n,t]},{begin:'"""',end:'"""', -contains:[e.BACKSLASH_ESCAPE,n,t]},{begin:"'",end:"'",illegal:"\\n", -contains:[e.BACKSLASH_ESCAPE,n,t]},{begin:'"',end:'"',illegal:"\\n", -contains:[e.BACKSLASH_ESCAPE,n,t]}]};t.contains=[e.C_NUMBER_MODE,a] -;const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],s=i.map((e=>e+"?")) -;return{name:"Dart",keywords:{ -keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"], -built_in:i.concat(s).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]), -$pattern:/[A-Za-z][A-Za-z0-9_]*\??/}, -contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0 -}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".", -end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{ -className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0, -contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE] -},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}, -grmr_diff:e=>{const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{ -className:"meta",relevance:10, -match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/) -},{className:"comment",variants:[{ -begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/), -end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{ -className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/, -end:/$/}]}},grmr_java:e=>{ -const n=e.regex,t="[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*",a=t+be("(?:<"+t+"~~~(?:\\s*,\\s*"+t+"~~~)*>)?",/~~~/g,2),i={ -keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"], -literal:["false","true","null"], -type:["char","boolean","long","float","int","byte","short","double"], -built_in:["super","this"]},s={className:"meta",begin:"@"+t,contains:[{ -begin:/\(/,end:/\)/,contains:["self"]}]},r={className:"params",begin:/\(/, -end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0} -;return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/, -contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/, -relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{ -begin:/import java\.[a-z]+\./,keywords:"import",relevance:2 -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/, -className:"string",contains:[e.BACKSLASH_ESCAPE] -},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{ -match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,t],className:{ -1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{ -begin:[n.concat(/(?!else)/,t),/\s+/,t,/\s+/,/=(?!=)/],className:{1:"type", -3:"variable",5:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword", -3:"title.class"},contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ -beginKeywords:"new throw return else",relevance:0},{ -begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{ -2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/, -end:/\)/,keywords:i,relevance:0, -contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,ue,e.C_BLOCK_COMMENT_MODE] -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},ue,s]}},grmr_javascript:e=>{ -const n=e.regex,t=me,a={begin:/<[A-Za-z0-9\\._:-]+/, -end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{ -const t=e[0].length+e.index,a=e.input[t] -;if("<"===a||","===a)return void n.ignoreMatch();let i -;">"===a&&(((e,{after:n})=>{const t="",S={ -match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(O)], -keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]} -;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{ -PARAMS_CONTAINS:f,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/, -contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{ -label:"use_strict",className:"meta",relevance:10, -begin:/^\s*['"]use (strict|asm)['"]/ -},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,g,u,b,m,{match:/\$\d+/},l,N,{ -className:"attr",begin:t+n.lookahead(":"),relevance:0},S,{ -begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*", -keywords:"return throw case",relevance:0,contains:[m,e.REGEXP_MODE,{ -className:"function",begin:O,returnBegin:!0,end:"\\s*=>",contains:[{ -className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{ -className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0, -excludeEnd:!0,keywords:i,contains:f}]}]},{begin:/,/,relevance:0},{match:/\s+/, -relevance:0},{variants:[{begin:"<>",end:""},{ -match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:a.begin, -"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{ -begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},y,{ -beginKeywords:"while if switch catch for"},{ -begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", -returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:t, -className:"title.function"})]},{match:/\.\.\./,relevance:0},k,{match:"\\$"+t, -relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"}, -contains:[_]},w,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/, -className:"variable.constant"},E,x,{match:/\$[(.]/}]}},grmr_json:e=>{ -const n=["true","false","null"],t={scope:"literal",beginKeywords:n.join(" ")} -;return{name:"JSON",keywords:{literal:n},contains:[{className:"attr", -begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/, -className:"punctuation",relevance:0 -},e.QUOTE_STRING_MODE,t,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE], -illegal:"\\S"}},grmr_kotlin:e=>{const n={ -keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual", -built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing", -literal:"true false null"},t={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@" -},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={ -className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string", -variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,a]},{begin:"'",end:"'", -illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/, -contains:[e.BACKSLASH_ESCAPE,i,a]}]};a.contains.push(s);const r={ -className:"meta", -begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?" -},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/, -end:/\)/,contains:[e.inherit(s,{className:"string"}),"self"]}] -},l=ue,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={ -variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/, -contains:[]}]},g=d;return g.variants[1].contains=[d],d.variants[1].contains=[g], -{name:"Kotlin",aliases:["kt","kts"],keywords:n, -contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag", -begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword", -begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol", -begin:/@\w+/}]}},t,r,o,{className:"function",beginKeywords:"fun",end:"[(]|$", -returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{ -begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0, -contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://, -keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/, -endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/, -endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,c],relevance:0 -},e.C_LINE_COMMENT_MODE,c,r,o,s,e.C_NUMBER_MODE]},c]},{ -begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{ -3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0, -illegal:"extends implements",contains:[{ -beginKeywords:"public protected internal private constructor" -},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0, -excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/, -excludeBegin:!0,returnEnd:!0},r,o]},s,{className:"meta",begin:"^#!/usr/bin/env", -end:"$",illegal:"\n"},l]}},grmr_objectivec:e=>{ -const n=/[a-zA-Z@][a-zA-Z0-9_]*/,t={$pattern:n, -keyword:["@interface","@class","@protocol","@implementation"]};return{ -name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"], -keywords:{"variable.language":["this","super"],$pattern:n, -keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"], -literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"], -built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"], -type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"] -},illegal:"/,end:/$/,illegal:"\\n" -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class", -begin:"("+t.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:t, -contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE, -relevance:0}]}},grmr_plaintext:e=>({name:"Plain text",aliases:["text","txt"], -disableAutodetect:!0}),grmr_shell:e=>({name:"Shell Session", -aliases:["console","shellsession"],contains:[{className:"meta.prompt", -begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/, -subLanguage:"bash"}}]}),grmr_swift:e=>{const n={match:/\s+/,relevance:0 -},t=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,t],i={ -match:[/\./,m(...ve,...ke)],className:{2:"keyword"}},s={match:b(/\./,m(...Oe)), -relevance:0},r=Oe.filter((e=>"string"==typeof e)).concat(["_|0"]),o={variants:[{ -className:"keyword", -match:m(...Oe.filter((e=>"string"!=typeof e)).concat(xe).map(we),...ke)}]},l={ -$pattern:m(/\b\w+/,/#\w+/),keyword:r.concat(Me),literal:Se},c=[i,s,o],g=[{ -match:b(/\./,m(...Ce)),relevance:0},{className:"built_in", -match:b(/\b/,m(...Ce),/(?=\()/)}],u={match:/->/,relevance:0},p=[u,{ -className:"operator",relevance:0,variants:[{match:De},{match:`\\.(\\.|${Re})+`}] -}],h="([0-9]_*)+",f="([0-9a-fA-F]_*)+",_={className:"number",relevance:0, -variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{ -match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/ -},{match:/\b0b([01]_*)+\b/}]},E=(e="")=>({className:"subst",variants:[{ -match:b(/\\/,e,/[0\\tnr"']/)},{match:b(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}] -}),N=(e="")=>({className:"subst",match:b(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/) -}),y=(e="")=>({className:"subst",label:"interpol",begin:b(/\\/,e,/\(/),end:/\)/ -}),w=(e="")=>({begin:b(e,/"""/),end:b(/"""/,e),contains:[E(e),N(e),y(e)] -}),v=(e="")=>({begin:b(e,/"/),end:b(/"/,e),contains:[E(e),y(e)]}),k={ -className:"string", -variants:[w(),w("#"),w("##"),w("###"),v(),v("#"),v("##"),v("###")]},x={ -match:b(/`/,Le,/`/)},O=[x,{className:"variable",match:/\$\d+/},{ -className:"variable",match:`\\$${Be}+`}],S=[{match:/(@|#(un)?)available/, -className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ze, -contains:[...p,_,k]}]}},{className:"keyword",match:b(/@/,m(...Fe))},{ -className:"meta",match:b(/@/,Le)}],A={match:d(/\b[A-Z]/),relevance:0,contains:[{ -className:"type", -match:b(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Be,"+") -},{className:"type",match:$e,relevance:0},{match:/[?!]+/,relevance:0},{ -match:/\.\.\./,relevance:0},{match:b(/\s+&\s+/,d($e)),relevance:0}]},M={ -begin://,keywords:l,contains:[...a,...c,...S,u,A]};A.contains.push(M) -;const C={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{ -match:b(Le,/\s*:/),keywords:"_|0",relevance:0 -},...a,...c,...g,...p,_,k,...O,...S,A]},T={begin://,contains:[...a,A] -},R={begin:/\(/,end:/\)/,keywords:l,contains:[{ -begin:m(d(b(Le,/\s*:/)),d(b(Le,/\s+/,Le,/\s*:/))),end:/:/,relevance:0, -contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Le}] -},...a,...c,...p,_,k,...S,A,C],endsParent:!0,illegal:/["']/},D={ -match:[/func/,/\s+/,m(x.match,Le,De)],className:{1:"keyword",3:"title.function" -},contains:[T,R,n],illegal:[/\[/,/%/]},I={ -match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"}, -contains:[T,R,n],illegal:/\[|%/},B={match:[/operator/,/\s+/,De],className:{ -1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,$e],className:{ -1:"keyword",3:"title"},contains:[A],keywords:[...Ae,...Se],end:/}/} -;for(const e of k.variants){const n=e.contains.find((e=>"interpol"===e.label)) -;n.keywords=l;const t=[...c,...g,...p,_,k,...O];n.contains=[...t,{begin:/\(/, -end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l, -contains:[...a,D,I,{beginKeywords:"struct protocol class extension enum actor", -end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{ -className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c] -},B,L,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0 -},...c,...g,...p,_,k,...O,...S,A,C]}},grmr_ruby:e=>{ -const n=e.regex,t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=n.concat(a,/(::\w+)*/),s={ -"variable.constant":["__FILE__","__LINE__","__ENCODING__"], -"variable.language":["self","super"], -keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"], -built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"], -literal:["true","false","nil"]},r={className:"doctag",begin:"@[A-Za-z]+"},o={ -begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[r] -}),e.COMMENT("^=begin","^=end",{contains:[r],relevance:10 -}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/, -end:/\}/,keywords:s},d={className:"string",contains:[e.BACKSLASH_ESCAPE,c], -variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{ -begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{ -begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//, -end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{ -begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{ -begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{ -begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{ -begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{ -begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)), -contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/, -contains:[e.BACKSLASH_ESCAPE,c]})]}]},g="[0-9](_?[0-9])*",u={className:"number", -relevance:0,variants:[{ -begin:`\\b([1-9](_?[0-9])*|0)(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{ -begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b" -},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{ -begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{ -begin:"\\b0(_?[0-7])+r?i?\\b"}]},b={variants:[{match:/\(\)/},{ -className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0, -keywords:s}]},m=[d,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{ -match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class", -4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{ -2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{ -1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/, -className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{ -match:[/def/,/\s+/,t],scope:{1:"keyword",3:"title.function"},contains:[b]},{ -begin:e.IDENT_RE+"::"},{className:"symbol", -begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol", -begin:":(?!\\s)",contains:[d,{begin:t}],relevance:0},u,{className:"variable", -begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{ -className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0, -relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*", -keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c], -illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{ -begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[", -end:"\\][a-z]*"}]}].concat(o,l),relevance:0}].concat(o,l) -;c.contains=m,b.contains=m;const p=[{begin:/^\s*=>/,starts:{end:"$",contains:m} -},{className:"meta.prompt", -begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])", -starts:{end:"$",keywords:s,contains:m}}];return l.unshift(o),{name:"Ruby", -aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/, -contains:[e.SHEBANG({binary:"ruby"})].concat(p).concat(l).concat(m)}}, -grmr_yaml:e=>{ -const n="true false yes no null",t="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={ -className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/ -},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable", -variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(a,{ -variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={ -end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},r={begin:/\{/, -end:/\}/,contains:[s],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]", -contains:[s],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{ -begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{ -begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$", -relevance:10},{className:"string", -begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{ -begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0, -relevance:0},{className:"type",begin:"!\\w+!"+t},{className:"type", -begin:"!<"+t+">"},{className:"type",begin:"!"+t},{className:"type",begin:"!!"+t -},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta", -begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)", -relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{ -className:"number", -begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b" -},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},r,o,a],c=[...l] -;return c.pop(),c.push(i),s.contains=c,{name:"YAML",case_insensitive:!0, -aliases:["yml"],contains:l}}});const je=ae;for(const e of Object.keys(Ue)){ -const n=e.replace("grmr_","").replace("_","-");je.registerLanguage(n,Ue[e])} -return je}() -;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs); diff --git a/docs/static-assets/play_button.svg b/docs/static-assets/play_button.svg deleted file mode 100644 index c39a2f4a87..0000000000 --- a/docs/static-assets/play_button.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static-assets/readme.md b/docs/static-assets/readme.md deleted file mode 100644 index 357c11ca44..0000000000 --- a/docs/static-assets/readme.md +++ /dev/null @@ -1,22 +0,0 @@ -# highlight.js - -Generated from https://highlightjs.org/download/ on 2021-07-13 - -**Included languages:** - -* bash -* c -* css -* dart -* diff -* html, xml -* java -* javascript -* json -* kotlin -* markdown -* objective-c -* plaintext -* shell -* swift -* yaml diff --git a/docs/static-assets/search.svg b/docs/static-assets/search.svg deleted file mode 100644 index 58f4299fc4..0000000000 --- a/docs/static-assets/search.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static-assets/styles.css b/docs/static-assets/styles.css deleted file mode 100644 index 09b85b5188..0000000000 --- a/docs/static-assets/styles.css +++ /dev/null @@ -1,1200 +0,0 @@ -.light-theme { - /*background-color body, listdropdown*/ - --main-bg-color: #fff; - /*header id-tittle*/ - --main-header-color: #eeeeee; - /*package-name*/ - --main-sidebar-color: #727272; - /*section-title and section subtitle, desc markdown(body, dd, h3), header a*/ - --main-text-color: #111111; - /*typehead search-box*/ - --main-search-bar: #fff; - /* scrollbar-thumb */ - --main-scrollbar-color: #CCC; - /* footer */ - --main-footer-background: #111111; - /*header text color*/ - --main-h-text: black; - /* hyperlinks*/ - --main-hyperlinks-color: #0175C2; - /*search background*/ - --main-search-background: transparent; - - /*code snippets*/ - --main-code-bg: #f8f8f8; - --main-keyword-color: #333; - --main-tag-color: #000080; - --main-section-color: #900; - --main-comment-color: #998; - --main-var-color: #008080; - --main-string-color: #d14; - - --main-number-filter: invert(0%); - --main-icon-color: black; -} - -.dark-theme { - /*background-color body, listdropdown*/ - --main-bg-color: #10161E; - /*header id-tittle*/ - --main-header-color: #1C2834; - /*package-name*/ - --main-sidebar-color: #fff; - /*section-title and section subtitle, desc markdown(body, dd, h3), header a*/ - --main-text-color: #fff; - /*typehead search-box*/ - --main-search-bar: #454545; - /* scrollbar-thumb */ - --main-scrollbar-color: #5f6368; - /* footer */ - --main-footer-background: #27323a; - /* hyperlinks*/ - --main-hyperlinks-color: #00D2FA; - /*search background*/ - --main-search-background: black; - - /*code snippets*/ - --main-code-bg: #10161E; - --main-keyword-color: white; - --main-tag-color: #00D2FA; - --main-section-color: #FF2D64; - --main-comment-color: #909CC3; - --main-var-color: #55A09B; - --main-string-color: #FF2D64; - - --main-number-filter: invert(100%); - --main-icon-color: white; -} - -#theme { - display: none; -} - -#theme-button { - position: absolute; - right: 30px; - height: 24px; -} - -#theme-button .material-symbols-outlined { - color: var(--main-icon-color); - user-select: none; - cursor: pointer; -} - -.light-theme #light-theme-button { - display: none; -} - -.dark-theme #dark-theme-button { - display: none; -} - -/* -Only show images that fit their theme using GitHub's syntax, see: -https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/ -*/ -.dark-theme img[src$="#gh-light-mode-only"] { - display: none; -} - -.light-theme img[src$="#gh-dark-mode-only"] { - display: none; -} - -/* for layout */ -html, -body { - margin: 0; - padding: 0; - height: 100%; - width: 100%; - overflow: hidden; - box-sizing: border-box; -} - -*, *:before, *:after { - box-sizing: inherit; -} - -body { - display: flex; - flex-direction: column; - -webkit-overflow-scrolling: touch; -} - -header { - flex: 0 0 50px; - display: flex; - flex-direction: row; - align-items: center; - padding-left: 30px; - padding-right: 30px; - background-color: var(--main-header-color); -} - -header ol { - list-style: none; - margin: 0; - padding: 0; -} - -header ol li { - display: inline; -} - -header form { - display: flex; - flex: 1; - justify-content: flex-end; -} - -header#header-search-sidebar { - height: 50px; - margin-bottom: 25px; -} - -footer { - flex: 0 0 16px; - text-align: center; - padding: 16px 20px; -} - -main { - flex: 1; - display: flex; - flex-direction: row; - padding: 20px; - min-height: 0; -} - -.sidebar-offcanvas-left { - flex: 0 1 230px; - order: 1; - overflow-y: scroll; - padding: 20px 0 15px 30px; - margin: 5px 20px 0 0; -} - -::-webkit-scrollbar-button{ display: none; height: 13px; border-radius: 0; background-color: #AAA; } -::-webkit-scrollbar-button:hover{ background-color: #AAA; } -::-webkit-scrollbar-thumb{ background-color: var(--main-scrollbar-color); } -::-webkit-scrollbar-thumb:hover{ background-color: var(--main-scrollbar-color); } -::-webkit-scrollbar{ width: 4px; } - -.main-content::-webkit-scrollbar{ width: 8px; } - -.main-content { - flex: 1; - order: 2; - overflow-y: scroll; - padding: 10px 20px 0 20px; -} - -.sidebar-offcanvas-right { - flex: 0 1 12em; - order: 3; - overflow-y: scroll; - padding: 20px 15px 15px 15px; - margin-top: 5px; - margin-right: 20px; -} -/* end for layout */ - -body { - -webkit-text-size-adjust: 100%; - overflow-x: hidden; - font-family: Roboto, sans-serif; - font-size: 16px; - line-height: 1.42857143; - color: var(--main-text-color); - background-color: var(--main-bg-color); -} - -nav.navbar { - background-color: inherit; - min-height: 50px; - border: 0; -} - -@media (max-width: 840px) { - .hidden-xs { - display: none !important; - } -} - -@media (min-width: 841px) { - .hidden-l { - display: none !important; - } -} - -nav.navbar .row { - padding-top: 8px; -} - -nav .container { - white-space: nowrap; -} - -header { - background-color: var(--main-header-color); - box-shadow: 0 3px 5px rgba(0,0,0,0.1); -} - -.pre { - border: 1px solid #ddd; - font-size: 14px; -} - -.hljs-string, .hljs-doctag { - color: var(--main-string-color); -} - -.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { - color: var(--main-var-color); -} - -.hljs-comment, .hljs-quote { - color: var(--main-comment-color); - font-style: italic; -} - -.hljs-title, .hljs-section, .hljs-selector-id { - color: var(--main-section-color); - font-weight: bold; -} - -.hljs-tag, .hljs-name, .hljs-attribute { - color: var(--main-tag-color); - font-weight: normal; -} - -.hljs-keyword, .hljs-selector-tag, .hljs-subst { - color: var(--main-keyword-color); - font-weight: bold; -} - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: var(--main-text-color); - background: var(--main-code-bg); -} - -a { - text-decoration: none; -} - -section { - margin-bottom: 36px; -} - -dl { - margin: 0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: Roboto, sans-serif; - font-weight: 400; - margin-top: 1.5em; - color: var(--main-text-color); -} - -h1.title { - overflow: hidden; - text-overflow: ellipsis; -} - -h1 { - font-size: 37px; - margin-top: 0; - margin-bottom: 0.67em; -} - -h2 { - font-size: 28px; -} - -h5 { - font-size: 16px; -} - -p { - margin-bottom: 1em; - margin-top: 0; -} - -a { - color: var(--main-hyperlinks-color); -} - -a:hover { - color: #13B9FD; -} - -pre.prettyprint { - font-family: 'Roboto Mono', Menlo, monospace; - color: black; - border-radius: 0; - font-size: 15px; - word-wrap: normal; - line-height: 1.4; - border: 0; - margin: 16px 0 16px 0; - padding: 8px; -} - -pre code { - white-space: pre; - word-wrap: initial; - font-size: 100% -} - -.fixed { - white-space: pre; -} - -pre { - border: 1px solid #ddd; - background-color: #eee; - font-size: 14px; -} - -code { - font-family: 'Roboto Mono', Menlo, monospace; - color: inherit; - padding: 0.2em 0.4em; - font-size: 85%; - background-color: rgba(27,31,35,0.05); - border-radius: 3px; -} - -@media(max-width: 840px) { - nav .container { - width: 100% - } - - h1 { - font-size: 24px; - } - - pre { - margin: 16px 0; - } -} - -header h1 { - font-weight: 400; - margin-bottom: 16px; -} - -header a, -header p, -header li { - color: #0175C2; -} - -header a:hover { - color: #0175C2; -} - -header h1 .kind { - color: #555; -} - -dt { - font-weight: normal; -} - -dd { - color: var(--main-text-color); - margin-bottom: 1em; - margin-left: 0; -} - -dd.callable, dd.constant, dd.property { - margin-bottom: 24px; -} - -dd p { - overflow-x: hidden; - text-overflow: ellipsis; - margin-bottom: 0; -} - -/* Enum values do not have their own pages; their full docs are presented on the - * enum class's page. */ -dt.constant + dd p { - margin-bottom: 1em; -} - -/* indents wrapped lines */ -section.summary dt { - margin-left: 24px; - text-indent: -24px; -} - -.dl-horizontal dd { - margin-left: initial; -} - -dl.dl-horizontal dt { - font-style: normal; - text-align: left; - color: #727272; - margin-right: 20px; - width: initial; -} - -dt .name { - font-weight: 500; -} - -dl dt.callable .name { - float: none; - width: auto; -} - -.type-parameter { - white-space: nowrap; -} - -.multi-line-signature .type-parameter .parameter { - margin-left: 0; - display: unset; -} - -.parameter-list { - display: table-cell; - margin-left: 10px; - list-style-type: none; - padding-inline-start: unset; -} - -.signature { - color: var(--main-text-color); -} - -.signature a { - color: var(--main-hyperlinks-color); -} - -.optional { - font-style: italic; -} - -.undocumented { - font-style: italic; -} - -.is-const { - font-style: italic; -} - -.deprecated { - text-decoration: line-through; -} - -.category.linked { - font-weight: bold; - opacity: 1; -} - -/* Colors for category based on categoryOrder in dartdoc_options.config. */ -.category.cp-0 { - background-color: #54b7c4 -} - -.category.cp-1 { - background-color: #54c47f -} - -.category.cp-2 { - background-color: #c4c254 -} - -.category.cp-3 { - background-color: #c49f54 -} - -.category.cp-4 { - background-color: #c45465 -} - -.category.cp-5 { - background-color: #c454c4 -} - -.category a { - color: white; -} - -.category { - padding: 2px 4px; - font-size: 12px; - border-radius: 4px; - background-color: #999; - text-transform: uppercase; - color: white; - opacity: .5; -} - -h1 .category { - vertical-align: middle; -} - -/* The badge under a declaration for things like "const", "read-only", etc. and for the badges inline like sealed or interface */ -/* See https://github.com/dart-lang/dartdoc/blob/main/lib/src/model/feature.dart */ -.feature { - display: inline-block; - background: var(--main-bg-color); - border: 1px solid var(--main-hyperlinks-color); - border-radius: 20px; - color: var(--main-hyperlinks-color); - - font-size: 12px; - padding: 1px 6px; - margin: 0 8px 0 0; -} - -a.feature:hover { - border-color: #13B9FD; -} - -h1 .feature { - vertical-align: middle; - margin: 0 -2px 0 0; -} - -.source-link { - padding: 18px 4px; - font-size: 18px; - vertical-align: middle; -} - -@media (max-width: 840px) { - .source-link { - padding: 7px 2px; - font-size: 10px; - } -} - -#external-links { - float: right; -} - -.btn-group { - position: relative; - display: inline-flex; - vertical-align: middle; -} - -footer { - color: #fff; - background-color: var(--main-footer-background); - width: 100%; -} - -footer p { - margin: 0; -} - -footer .no-break { - white-space: nowrap; -} - -footer .container { - padding-left: 0; - padding-right: 0; -} - -footer a, footer a:hover { - color: #fff; -} - -.markdown.desc { - max-width: 700px; -} - -.markdown h1 { - font-size: 24px; - margin-bottom: 8px; -} - -.markdown h2 { - font-size: 20px; - margin-top: 24px; - margin-bottom: 8px; -} - -.markdown h3 { - font-size: 18px; - margin-bottom: 8px; - color: var(--main-text-color); -} - -.markdown h4 { - font-size: 16px; - margin-bottom: 0; -} - -.markdown li p { - margin: 0; -} - -table { - margin-bottom: 1em; -} - -table, -th, -td { - border: 1px solid lightgrey; - border-collapse: collapse; -} - -th, -td { - padding: 8px; -} - -.gt-separated { - list-style: none; - padding: 0; - margin: 0; -} - -.gt-separated li { - display: inline-block; -} - -.gt-separated li:before { - background-image: url("data:image/svg+xml;utf8,"); - background-position: center; - content: "\00a0"; - margin: 0 6px 0 4px; - padding: 0 3px 0 0; -} - -.gt-separated.dark li:before { - background-image: url("data:image/svg+xml;utf8,"); -} - -.gt-separated li:first-child:before { - background-image: none; - content: ""; - margin: 0; - padding: 0; -} - -.multi-line-signature { - font-size: 17px; - color: #727272; -} - -.multi-line-signature .parameter { - margin-left: 24px; - display: block; -} - -.breadcrumbs { - padding: 0; - margin: 8px 0 8px 0; - white-space: nowrap; - line-height: 1; -} - -@media screen and (min-width: 840px) { - nav ol.breadcrumbs { - float: left; - } -} - -@media screen and (max-width: 840px) { - .breadcrumbs { - margin: 0 0 24px 0; - overflow-x: hidden; - } -} - -.breadcrumbs .gt-separated .dark .hidden-xs li+li:before { - color: var(--main-h-text); -} - -ol.breadcrumbs li a { - color: var(--main-hyperlinks-color); -} - -.self-crumb { - color: var(--main-h-text); -} - -.self-name { - color: #555; - display: none; -} - -.annotation-list { - list-style: none; - padding: 0; - display: inline; -} - -.comma-separated { - list-style: none; - padding: 0; - display: inline; -} - -.comma-separated li { - display: inline; -} - -.comma-separated li:after { - content: ", "; -} - -.comma-separated li:last-child:after { - content: ""; -} - -.end-with-period li:last-child:after { - content: "."; -} - -.container > section:first-child { - border: 0; -} - -.constructor-modifier { - font-style: italic; -} - -section.multi-line-signature div.parameters { - margin-left: 24px; -} - -/* sidebar styles */ - -.sidebar ol { - list-style: none; - line-height: 22px; - margin-top: 0; - margin-bottom: 0; - padding: 0 0 15px 0; -} - -.sidebar h5 a, -.sidebar h5 a:hover { - color: var(--main-sidebar-color); -} - -.sidebar h5, -.sidebar ol li { - text-overflow: ellipsis; - overflow: hidden; - padding: 3px 0 3px 3px; -} - -.sidebar h5 { - color: var(--main-sidebar-color); - font-size: 18px; - margin: 0 0 22px 0; - padding-top: 0; -} - -.sidebar ol li.section-title { - font-size: 18px; - font-weight: normal; - text-transform: uppercase; - padding-top: 25px; -} - -.sidebar ol li.section-subtitle a { - color: inherit; -} - -.sidebar ol li.section-subtitle { - font-weight: 400; - text-transform: uppercase; -} - -.sidebar ol li.section-subitem { - margin-left: 12px; -} - -.sidebar ol li:first-child { - padding-top: 3px; - margin-top: 0; -} - -button { - padding: 0; -} - -#sidenav-left-toggle { - display: none; - vertical-align: text-bottom; - padding: 0; - color: var(--main-icon-color); - user-select: none; - cursor: pointer; -} - -/* left-nav disappears, and can transition in from the left */ -@media screen and (max-width:840px) { - #sidenav-left-toggle { - display: inline; - width: 24px; - height: 24px; - border: none; - margin-right: 24px; - margin-left: 24px; - font-size: 24px; - } - - #overlay-under-drawer.active { - opacity: 0.4; - height: 100%; - z-index: 1999; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: black; - display: block; - } - - .sidebar-offcanvas-left { - left: -100%; - position: fixed; - -webkit-transition:all .25s ease-out; - -o-transition:all .25s ease-out; - transition:all .25s ease-out; - z-index: 2000; - top: 0; - width: 280px; /* works all the way down to an iphone 4 */ - height: 90%; - background-color: var(--main-bg-color); - overflow-y: scroll; /* TODO: how to hide scroll bars? */ - padding: 10px; - margin: 10px 10px; - box-shadow: 5px 5px 5px 5px #444444; - } - - ol#sidebar-nav { - font-size: 18px; - white-space: pre-line; - } - - .sidebar-offcanvas-left.active { - left: 0; /* this animates our drawer into the page */ - } - - .self-name { - display: inline-block; - color: var(--main-hyperlinks-color); - } -} - -.sidebar-offcanvas-left h5 { - margin-bottom: 10px; -} - -.sidebar-offcanvas-left h5:last-of-type { - border: 0; - margin-bottom: 25px; -} - -/* the right nav disappears out of view when the window shrinks */ -@media screen and (max-width: 992px) { - .sidebar-offcanvas-right { - display: none; - } -} - -#overlay-under-drawer { - display: none; -} - -/* find-as-you-type search box */ - -.form-control { - border-radius: 0; - border: 0; -} - -@media screen and (max-width: 840px) { - form.search { - display: none; - } -} - -.typeahead { - width: 200px; - padding: 2px 7px 1px 7px; - line-height: 20px; - outline: none; -} - -.tt-wrapper { - position: relative; - display: inline-block; -} - -.tt-input { - position: relative; - vertical-align: top; -} - -.navbar-right .tt-menu { - right: 0; - left: inherit !important; - width: 540px; - max-height: 280px; - overflow-y: scroll; -} - -.navbar-right { - padding-right: 60px; -} - -.tt-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 100; - font-size: 14px; - margin: 0; - background-color: var(--main-bg-color); - border: 1px solid var(--main-header-color); - -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); - -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); - box-shadow: 0 5px 10px rgba(0,0,0,.2); -} - - -.typeahead { - padding: 17px 17px 17px 50px; - width: 422px; - height: 20px; - font-size: 13px; - background-image: url("./search.svg"); - background-repeat: no-repeat; - background-position: 4%; - outline: 0; - background-size: 20px; - filter: var(--main-number-filter); - -webkit-filter: var(--main-number-filter); -} - -.search-summary { - margin-bottom: 10px; -} - -a.tt-container { - font-size: 16px; - color: var(--main-hyperlinks-color); -} - -.enter-search-message { - position: -webkit-sticky; - position: sticky; - top: 0; - background-color: #AAA; - padding: 0; - font-size: 14px; - margin: 0; - clear: both; - text-align: center; - color: black; -} - -.tt-suggestion:hover { - cursor: pointer; - color: #fff; - background-color: #0097cf; -} - -.tt-suggestion:hover .search-from-lib { - color: #ddd; -} - -.tt-suggestion.tt-cursor { - color: #fff; - background-color: #0097cf; -} - -.tt-suggestion.tt-cursor .search-from-lib { - color: #ddd; -} - -.tt-suggestion p { - margin: 0; -} - -.tt-container { - font-size: 14px; - margin-bottom: 0; - margin-top: 15px; -} - -.tt-container-text { - color: var(--main-text-color); -} - - -/* Search results formatting for mini results below search bar. */ - -.tt-search-results .tt-container { - margin-top: 5px; - margin-bottom: 5px; -} - -/* Do not show the container as a section. */ -.tt-search-results .tt-container-text { - display: none -} - -/* An inline style. */ -.tt-search-results .tt-suggestion { - color: var(--main-text-color); - margin-top: 5px; - overflow: hidden; - padding-left: 10px; - padding-right: 10px; - text-overflow: ellipsis; - white-space: nowrap; -} - -.tt-search-results .tt-suggestion-title { - font-size: 14px; - padding-right: 5px; -} - -.tt-search-results .tt-suggestion-container { - color: var(--main-keyword-color); - font-size: 14px; - font-style: italic; - padding-right: 5px; -} - -.tt-search-results .one-line-description { - color: var(--main-keyword-color); - display: inline; - margin-left: 0; -} - - -.tt-search-results .one-line-description::before { - content: open-quote; -} - -.tt-search-results .one-line-description::after { - content: close-quote; -} - -/* Search results formatting for `search.html`. */ - -/* A block style. */ -#dartdoc-main-content .tt-suggestion { - color: var(--main-text-color); - margin-top: 5px; - margin-bottom: 10px; - border-style: solid; - border-color: lightgrey; - border-width: 0.5px; -} - -#dartdoc-main-content .tt-suggestion-title { - display: block; - font-weight: 500; - margin: 4px 10px 0; -} - -#dartdoc-main-content .one-line-description { - display: block; - margin: 2px 10px 3px; -} - -/* Do not show a result's container. */ -#dartdoc-main-content .tt-suggestion-container { - display: none; -} - -@media screen and (max-width: 840px) { - .typeahead { - padding: 17px 17px 17px 33px; - width: 240px; - height: 17px; - border: 1px solid #f5f5f5; - background-position: 3%; - margin: 10px 10px 10px 9px; - } - - header { - padding-left: 0; - } -} - -@media screen and (max-width: 320px) { - #sidenav-left-toggle { - margin-right: 10px; - margin-left: 20px; - } - - .self-name { - margin-right: 10px; - } -} - -::placeholder { - filter: brightness(0.85); -} - -.search-body { - border: 1px solid #7f7f7f; - max-width: 400px; - box-shadow: 3px 3px 5px rgba(0,0,0,0.1); -} - -section#setter { - border-top: 1px solid #ddd; - padding-top: 36px; -} - -li.inherited a { - opacity: 0.65; - font-style: italic; -} - -#instance-methods dt.inherited .name, -#instance-properties dt.inherited .name, -#operators dt.inherited .name { - font-weight: 400; - font-style: italic; -} - -#instance-methods dt.inherited .signature, -#instance-properties dt.inherited .signature, -#operators dt.inherited .signature { - font-weight: 400; -} - -@media print { - .subnav, .sidebar { - display: none; - } - - a[href]:after { - content: "" !important; - } -} \ No newline at end of file diff --git a/example/.gitignore b/example/.gitignore index 1ba9c339ef..79c113f9b5 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -5,9 +5,12 @@ *.swp .DS_Store .atom/ +.build/ .buildlog/ .history .svn/ +.swiftpm/ +migrate_working_dir/ # IntelliJ related *.iml @@ -22,22 +25,21 @@ # Flutter/Dart/Pub related **/doc/api/ +**/ios/Flutter/.last_build_id .dart_tool/ .flutter-plugins .flutter-plugins-dependencies -.packages .pub-cache/ .pub/ /build/ -# Web related -lib/generated_plugin_registrant.dart - # Symbolication related app.*.symbols # Obfuscation related app.*.map.json -# Exceptions to above rules. -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/example/.metadata b/example/.metadata new file mode 100644 index 0000000000..fac5aec07d --- /dev/null +++ b/example/.metadata @@ -0,0 +1,45 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3" + channel: "stable" + +project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: android + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: ios + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: linux + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: macos + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: web + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + - platform: windows + create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3 + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/example/.vscode/launch.json b/example/.vscode/launch.json new file mode 100644 index 0000000000..2e08f749e1 --- /dev/null +++ b/example/.vscode/launch.json @@ -0,0 +1,10 @@ +{ + "configurations": [ + { + "name": "Flutter", + "request": "launch", + "type": "dart", + "flutterMode": "profile" + } + ] + } \ No newline at end of file diff --git a/example/.vscode/settings.json b/example/.vscode/settings.json new file mode 100644 index 0000000000..d780454b65 --- /dev/null +++ b/example/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "dart.flutterRunAdditionalArgs": [ + "--profile" + ] +} \ No newline at end of file diff --git a/example/README.md b/example/README.md index f3e2ad5bc7..939ec94cbb 100644 --- a/example/README.md +++ b/example/README.md @@ -1,27 +1,19 @@ -# How to build demo application +# Demo application for Document Reader plugin -1. Get the trial license at [client.regulaforensics.com](https://client.regulaforensics.com/) (`regula.license` file). The license creation wizard will guide you through the necessary steps. -2. Get the trial database at [client.regulaforensics.com/customer/databases](https://client.regulaforensics.com/customer/databases) (`db.dat`) -3. Download or clone this repository using the command `git clone https://github.com/regulaforensics/DocumentReader-Flutter.git`. -4. Copy the `regula.license` file to the `example/assets` folder. -5. Copy the `db.dat` file to the `example/android/app/src/main/assets/Regula/` folder. -6. Copy the `db.dat` file to the `example/ios/Runner/` folder. -7. Run the following commands in Terminal: -```bash -$ cd example -# Install packages -$ flutter pub get -# Check that supported devices are running -$ flutter devices -# Run the app -$ flutter run -``` +## How to build demo application -# Troubleshooting license issues +1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/DocumentReader-Flutter.git`. +2. Put `regula.license` file at `assets/` (you can get a trial license [here](https://client.regulaforensics.com)). +3. Put `db.dat` file at `ios/Runner/` and `android/app/src/main/assets/Regula/` (you can get a trial database [here](https://client.regulaforensics.com/customer/databases)) +4. Execute `flutter pub get && (cd ios && pod install || pod update)` within this directory. +5. Run the app: `flutter run`. -If you have issues with license verification when running the application, please verify that next is true: -1. The OS, which you use, is specified in the license (e.g., Android and/or iOS). -2. The license is valid (not expired). -3. The date and time on the device, where you run the application, are valid. -4. You use the latest release version of the Document Reader SDK. -5. You placed the `license` into the correct folder as described [here](#how-to-build-demo-application). +## Additional examples + +### Bluetooth device + +In order to connect to an external scanning device, change the `useBtDevice` constant to true in `src/extra/bt_device`, and set `btDeviceName` to the name of your device. After running the app, click `Connect`. + +### RFID self hosted UI + +This app also demonstraits how you can implement you own UI for the RFID reading process. To enable it, change the `useRfidSelfHostedUI` constant to true in `src/extra/custom_rfid`. Run the app and initiate RFID reading. diff --git a/example/analysis_options.yaml b/example/analysis_options.yaml new file mode 100644 index 0000000000..c36c2c5d39 --- /dev/null +++ b/example/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/core.yaml diff --git a/example/android/.gitignore b/example/android/.gitignore index bc2100d8f7..55afd919c6 100644 --- a/example/android/.gitignore +++ b/example/android/.gitignore @@ -5,3 +5,9 @@ gradle-wrapper.jar /gradlew.bat /local.properties GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/to/reference-keystore +key.properties +**/*.keystore +**/*.jks diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 91d92eba83..934a776574 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -1,51 +1,34 @@ -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' +plugins { + id "com.android.application" + id "kotlin-android" + id "dev.flutter.flutter-gradle-plugin" } -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} +android { + namespace = "com.regula.example.dr.flutter" + compileSdk = flutter.compileSdkVersion + ndkVersion = "27.0.12077973" -apply plugin: 'com.android.application' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" + compileOptions { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 + } -android { - compileSdk 34 - defaultConfig { - applicationId "com.regula.documentreader" - minSdk 21 - targetSdk 34 - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName + applicationId = "com.regula.example.dr.flutter" + minSdk = flutter.minSdkVersion + targetSdk = flutter.targetSdkVersion + versionCode = flutter.versionCode + versionName = flutter.versionName } buildTypes { release { - signingConfig signingConfigs.debug + signingConfig = signingConfigs.debug } } - namespace 'io.flutter.plugins.regula.documentreader.flutter_document_reader_api_example' - lint { - disable 'InvalidPackage' - } } flutter { - source '../..' + source = "../.." } diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml index bbd7ee7776..02872909ce 100644 --- a/example/android/app/src/debug/AndroidManifest.xml +++ b/example/android/app/src/debug/AndroidManifest.xml @@ -1,3 +1,5 @@ - + + + diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index ef4d90bf5a..3d0da8f530 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,37 +1,40 @@ + - + + android:label="Document" + android:usesCleartextTraffic="true" + tools:targetApi="23"> - + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" /> - - + + + + + + + + diff --git a/example/android/app/src/main/assets/Regula/.gitignore b/example/android/app/src/main/assets/Regula/.gitkeep similarity index 100% rename from example/android/app/src/main/assets/Regula/.gitignore rename to example/android/app/src/main/assets/Regula/.gitkeep diff --git a/example/android/app/src/main/java/io/flutter/plugins/regula/documentreader/flutter_document_reader_api_example/MainActivity.java b/example/android/app/src/main/java/io/flutter/plugins/regula/documentreader/flutter_document_reader_api_example/MainActivity.java deleted file mode 100644 index e86611a55b..0000000000 --- a/example/android/app/src/main/java/io/flutter/plugins/regula/documentreader/flutter_document_reader_api_example/MainActivity.java +++ /dev/null @@ -1,6 +0,0 @@ -package io.flutter.plugins.regula.documentreader.flutter_document_reader_api_example; - -import io.flutter.embedding.android.FlutterActivity; - -public class MainActivity extends FlutterActivity { -} diff --git a/example/android/app/src/main/kotlin/com/regula/example/dr/flutter/MainActivity.kt b/example/android/app/src/main/kotlin/com/regula/example/dr/flutter/MainActivity.kt new file mode 100644 index 0000000000..756e50c79f --- /dev/null +++ b/example/android/app/src/main/kotlin/com/regula/example/dr/flutter/MainActivity.kt @@ -0,0 +1,5 @@ +package com.regula.example.dr.flutter + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() diff --git a/example/android/app/src/main/res/drawable-v21/launch_background.xml b/example/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 0000000000..f74085f3f6 --- /dev/null +++ b/example/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/example/android/app/src/main/res/values-night/styles.xml b/example/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000000..06952be745 --- /dev/null +++ b/example/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml index 1f83a33fd4..cb1ef88056 100644 --- a/example/android/app/src/main/res/values/styles.xml +++ b/example/android/app/src/main/res/values/styles.xml @@ -1,18 +1,18 @@ - - - diff --git a/example/android/app/src/profile/AndroidManifest.xml b/example/android/app/src/profile/AndroidManifest.xml index bbd7ee7776..02872909ce 100644 --- a/example/android/app/src/profile/AndroidManifest.xml +++ b/example/android/app/src/profile/AndroidManifest.xml @@ -1,3 +1,5 @@ - + + + diff --git a/example/android/build.gradle b/example/android/build.gradle index 9e88a9d3db..d2ffbffa4c 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,16 +1,3 @@ -//file:noinspection GrDeprecatedAPIUsage -buildscript { - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:8.2.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22" - } -} - allprojects { repositories { google() @@ -18,14 +5,14 @@ allprojects { } } -rootProject.buildDir = '../build' +rootProject.buildDir = "../build" subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { - project.evaluationDependsOn(':app') + project.evaluationDependsOn(":app") } -tasks.register('clean', Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/example/android/gradle.properties b/example/android/gradle.properties index 0d41251b7f..2597170821 100644 --- a/example/android/gradle.properties +++ b/example/android/gradle.properties @@ -1,6 +1,3 @@ -org.gradle.jvmargs=-Xmx1536M +org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true -android.enableJetifier=false -android.defaults.buildfeatures.buildconfig=true -android.nonTransitiveRClass=true -android.nonFinalResIds=true \ No newline at end of file +android.enableJetifier=true diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index 5e6b542711..afa1e8eb0a 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip diff --git a/example/android/settings.gradle b/example/android/settings.gradle index 5a2f14fb18..3f4554ad3c 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -1,15 +1,25 @@ -include ':app' +pluginManagement { + def flutterSdkPath = { + def properties = new Properties() + file("local.properties").withInputStream { properties.load(it) } + def flutterSdkPath = properties.getProperty("flutter.sdk") + assert flutterSdkPath != null, "flutter.sdk not set in local.properties" + return flutterSdkPath + }() -def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() + includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") -def plugins = new Properties() -def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') -if (pluginsFile.exists()) { - pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } + repositories { + google() + mavenCentral() + gradlePluginPortal() + } } -plugins.each { name, path -> - def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() - include ":$name" - project(":$name").projectDir = pluginDirectory +plugins { + id "dev.flutter.flutter-plugin-loader" version "1.0.0" + id "com.android.application" version '8.8.0' apply false + id "org.jetbrains.kotlin.android" version "1.9.25" apply false } + +include ":app" diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 9625e105df..4620da1781 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 15.6 diff --git a/example/ios/Flutter/Debug.xcconfig b/example/ios/Flutter/Debug.xcconfig index 72e78765ea..ec97fc6f30 100644 --- a/example/ios/Flutter/Debug.xcconfig +++ b/example/ios/Flutter/Debug.xcconfig @@ -1,4 +1,2 @@ #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" - -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" \ No newline at end of file diff --git a/example/ios/Flutter/Release.xcconfig b/example/ios/Flutter/Release.xcconfig index 7a6a945a7b..c4855bfe20 100644 --- a/example/ios/Flutter/Release.xcconfig +++ b/example/ios/Flutter/Release.xcconfig @@ -1,5 +1,2 @@ #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "Generated.xcconfig" - -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig" \ No newline at end of file diff --git a/example/ios/Podfile b/example/ios/Podfile index ebaf3182ab..3cbd4302be 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,3 +1,5 @@ +source "https://github.com/CocoaPods/Specs.git" + platform :ios, '13.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock new file mode 100644 index 0000000000..b958f5acd6 --- /dev/null +++ b/example/ios/Podfile.lock @@ -0,0 +1,58 @@ +PODS: + - Flutter (1.0.0) + - flutter_document_reader_api (7.6.98): + - Flutter + - flutter_document_reader_btdevice (7.5.41): + - Flutter + - flutter_document_reader_core_fullauthrfid (7.5.887): + - Flutter + - image_picker_ios (0.0.1): + - Flutter + - path_provider_foundation (0.0.1): + - Flutter + - FlutterMacOS + +DEPENDENCIES: + - Flutter (from `Flutter`) + - flutter_document_reader_api (from `.symlinks/plugins/flutter_document_reader_api/ios`) + - flutter_document_reader_btdevice (from `.symlinks/plugins/flutter_document_reader_btdevice/ios`) + - flutter_document_reader_core_fullauthrfid (from `.symlinks/plugins/flutter_document_reader_core_fullauthrfid/ios`) + - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) + +SPEC REPOS: + https://github.com/CocoaPods/Specs.git: + - BTDevice + - DocumentReader + - DocumentReaderFullAuthRFID + - RegulaCommon + +EXTERNAL SOURCES: + Flutter: + :path: Flutter + flutter_document_reader_api: + :path: ".symlinks/plugins/flutter_document_reader_api/ios" + flutter_document_reader_btdevice: + :path: ".symlinks/plugins/flutter_document_reader_btdevice/ios" + flutter_document_reader_core_fullauthrfid: + :path: ".symlinks/plugins/flutter_document_reader_core_fullauthrfid/ios" + image_picker_ios: + :path: ".symlinks/plugins/image_picker_ios/ios" + path_provider_foundation: + :path: ".symlinks/plugins/path_provider_foundation/darwin" + +SPEC CHECKSUMS: + BTDevice: c27e5547dc55e28cb45c761ba07971a390118092 + DocumentReader: f69fec81e53ca0ce52e8298f44299059f3c2391c + DocumentReaderFullAuthRFID: 638b2a1716d9f9c349d4be47e1ef2126241e25af + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + flutter_document_reader_api: 9ccda59f43c837bdd71423f765d2e4e091f81348 + flutter_document_reader_btdevice: a41da909b33c908eba5e9af9bda240c8bd57fb34 + flutter_document_reader_core_fullauthrfid: 48e8196ef3ddaf7158c6068d16bb3b4a39194d2b + image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a + path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 + RegulaCommon: 8f212fc65e045ced82f28be371da9b0598d16690 + +PODFILE CHECKSUM: 54d85b47c8d60ae7253b9a38905f64c617325429 + +COCOAPODS: 1.16.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index ea109e6a4d..e40d2d7ffc 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -8,16 +8,15 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; + 331C808B294A63AB00263BE5 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* Tests.swift */; }; 343450152B07B4D3008D8706 /* json in Resources */ = {isa = PBXBuildFile; fileRef = 343450142B07B4D3008D8706 /* json */; }; 34A6AF2A2B86298700266440 /* db.dat in Resources */ = {isa = PBXBuildFile; fileRef = 34A6AF292B86298700266440 /* db.dat */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 611478B6F46082E770818257 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B3B020E691177878CE29670 /* Pods_Runner.framework */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; - FB44C4DD7D4C9DADCE89327B /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2101D6CB43D8FBF681ED91D5 /* Pods_RunnerTests.framework */; }; + C311E6862D36F55D00718A18 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = C311E6852D36F55D00718A18 /* Utils.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -46,22 +45,13 @@ /* Begin PBXFileReference section */ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 1C52BCAE213ED73C2CF5744E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 2101D6CB43D8FBF681ED91D5 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 23297EFB4982AE43B55A4C2F /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 29212E5D514AB368FCB789A7 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 2DE7CA1F13FD232BD0BDF051 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 331C807B294A618700263BE5 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 343450112B07A3CE008D8706 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; - 343450142B07B4D3008D8706 /* json */ = {isa = PBXFileReference; lastKnownFileType = folder; name = json; path = ../../../test/json; sourceTree = ""; }; + 343450142B07B4D3008D8706 /* json */ = {isa = PBXFileReference; lastKnownFileType = text; name = json; path = ../../../test/json; sourceTree = ""; }; 34A6AF292B86298700266440 /* db.dat */ = {isa = PBXFileReference; lastKnownFileType = file; path = db.dat; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 544529F4B81A2BC66DA7E916 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; - 6B3B020E691177878CE29670 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 77C9F2053DA916987F14AEC3 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; @@ -70,6 +60,8 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C311E6842D36D6FF00718A18 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; + C311E6852D36F55D00718A18 /* Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -77,50 +69,20 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 611478B6F46082E770818257 /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A4761820BF68C780C863B3CD /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FB44C4DD7D4C9DADCE89327B /* Pods_RunnerTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { + 331C8082294A63A400263BE5 /* Tests */ = { isa = PBXGroup; children = ( 343450142B07B4D3008D8706 /* json */, - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 510DFD354C518E25254C8CC6 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 6B3B020E691177878CE29670 /* Pods_Runner.framework */, - 2101D6CB43D8FBF681ED91D5 /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 8008E6352022A501AE193C38 /* Pods */ = { - isa = PBXGroup; - children = ( - 1C52BCAE213ED73C2CF5744E /* Pods-Runner.debug.xcconfig */, - 29212E5D514AB368FCB789A7 /* Pods-Runner.release.xcconfig */, - 23297EFB4982AE43B55A4C2F /* Pods-Runner.profile.xcconfig */, - 2DE7CA1F13FD232BD0BDF051 /* Pods-RunnerTests.debug.xcconfig */, - 544529F4B81A2BC66DA7E916 /* Pods-RunnerTests.release.xcconfig */, - 77C9F2053DA916987F14AEC3 /* Pods-RunnerTests.profile.xcconfig */, + 331C807B294A618700263BE5 /* Tests.swift */, + C311E6852D36F55D00718A18 /* Utils.swift */, ); - path = Pods; + path = Tests; sourceTree = ""; }; 9740EEB11CF90186004384FC /* Flutter */ = { @@ -140,9 +102,7 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - 8008E6352022A501AE193C38 /* Pods */, - 510DFD354C518E25254C8CC6 /* Frameworks */, + 331C8082294A63A400263BE5 /* Tests */, ); sourceTree = ""; }; @@ -158,8 +118,7 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( - 34A6AF292B86298700266440 /* db.dat */, - 343450112B07A3CE008D8706 /* Runner.entitlements */, + C311E6842D36D6FF00718A18 /* Runner.entitlements */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, @@ -168,6 +127,7 @@ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + 34A6AF292B86298700266440 /* db.dat */, ); path = Runner; sourceTree = ""; @@ -179,10 +139,8 @@ isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( - 303A3E8311E694F167EB475D /* [CP] Check Pods Manifest.lock */, 331C807D294A63A400263BE5 /* Sources */, 331C807F294A63A400263BE5 /* Resources */, - A4761820BF68C780C863B3CD /* Frameworks */, ); buildRules = ( ); @@ -198,14 +156,12 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - 5CA7846DE5F2C42503D7D72C /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 7DBBBC52915F522687C0DF73 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -223,12 +179,11 @@ isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 331C8080294A63A400263BE5 = { CreatedOnToolsVersion = 14.0; - LastSwiftMigration = 1500; TestTargetID = 97C146ED1CF9000F007C117D; }; 97C146ED1CF9000F007C117D = { @@ -280,28 +235,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 303A3E8311E694F167EB475D /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -318,45 +251,6 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 5CA7846DE5F2C42503D7D72C /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 7DBBBC52915F522687C0DF73 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -379,7 +273,8 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, + 331C808B294A63AB00263BE5 /* Tests.swift in Sources */, + C311E6862D36F55D00718A18 /* Utils.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -426,6 +321,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -455,6 +351,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -463,7 +360,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -482,34 +379,29 @@ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = regula.DocumentReader; + PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; }; 331C8088294A63A400263BE5 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2DE7CA1F13FD232BD0BDF051 /* Pods-RunnerTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ENABLE_MODULES = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.regula.documentreader.flutterDocumentReaderApiExample.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterDocumentReaderApiExample.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -520,15 +412,14 @@ }; 331C8089294A63A400263BE5 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 544529F4B81A2BC66DA7E916 /* Pods-RunnerTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ENABLE_MODULES = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.regula.documentreader.flutterDocumentReaderApiExample.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterDocumentReaderApiExample.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -537,15 +428,14 @@ }; 331C808A294A63A400263BE5 /* Profile */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 77C9F2053DA916987F14AEC3 /* Pods-RunnerTests.profile.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ENABLE_MODULES = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.regula.documentreader.flutterDocumentReaderApiExample.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterDocumentReaderApiExample.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -556,6 +446,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -585,6 +476,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -599,7 +491,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -611,6 +503,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -640,6 +533,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -648,7 +542,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -669,20 +563,16 @@ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = regula.DocumentReader; + PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -697,19 +587,15 @@ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = regula.DocumentReader; + PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 87131a09be..f08940f69f 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ - - diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index 70693e4a8c..626664468b 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ -import UIKit import Flutter +import UIKit -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/example/ios/Runner/Base.lproj/Main.storyboard b/example/ios/Runner/Base.lproj/Main.storyboard index c9569a0a26..f3c28516fb 100644 --- a/example/ios/Runner/Base.lproj/Main.storyboard +++ b/example/ios/Runner/Base.lproj/Main.storyboard @@ -1,10 +1,8 @@ - - - + + - - + @@ -16,14 +14,13 @@ - + - + - diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index ce2f135983..7a88af3f79 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -7,15 +7,13 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Flutter Document Reader Api + Document CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 - UIApplicationSupportsIndirectInputEvents - CFBundleName flutter_document_reader_api_example CFBundlePackageType @@ -30,10 +28,14 @@ NFCReaderUsageDescription To use NFC + NSBluetoothAlwaysUsageDescription + To use bluetooth device NSCameraUsageDescription To use camera NSPhotoLibraryUsageDescription To use gallery + UIApplicationSupportsIndirectInputEvents + UILaunchStoryboardName LaunchScreen UIMainStoryboardFile @@ -41,9 +43,9 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight - UIViewControllerBasedStatusBarAppearance - com.apple.developer.nfc.readersession.iso7816.select-identifiers A0000002471001 @@ -52,7 +54,9 @@ A0000002480100 A0000002480200 A0000002480300 + A0000002480400 A00000045645444C2D3031 + D2760000850101 diff --git a/example/ios/RunnerTests/RunnerTests.swift b/example/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 08a545a5ad..0000000000 --- a/example/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,434 +0,0 @@ -// -// RunnerTests.swift -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -import XCTest -import DocumentReader -import flutter_document_reader_api - -class RunnerTests: XCTestCase { - // config - - func test_imageInputData() { - compare(name: "imageInputData", fromJson: RGLWJSONConstructor.imageInput, generate: RGLWJSONConstructor.generate) - } - - func test_initConfig() { - compare(name: "initConfig", fromJson: RGLWJSONConstructor.config, generate: RGLWJSONConstructor.generate, - omit: ["blackList", - "customDb"]) - } - - func test_onlineProcessingConfig() { - compare(name: "onlineProcessingConfig", fromJson: RGLWJSONConstructor.onlineProcessingConfig, generate: RGLWJSONConstructor.generate, - omit: ["processParams.sessionLogFolder", - "processParams.uvTorchEnabled"]) - } - - func test_recognizeConfig() { - compare(name: "recognizeConfig", fromJson: RGLWJSONConstructor.recognizeConfig, generate: RGLWJSONConstructor.generate, - omit: ["onlineProcessingConfig.processParams.sessionLogFolder", - "onlineProcessingConfig.processParams.uvTorchEnabled"]) - } - - func test_recognizeConfig2() { - compare(name: "recognizeConfig2", fromJson: RGLWJSONConstructor.recognizeConfig, generate: RGLWJSONConstructor.generate, - omit: ["onlineProcessingConfig.processParams.sessionLogFolder", - "onlineProcessingConfig.processParams.uvTorchEnabled"]) - } - - func test_scannerConfig() { - compare(name: "scannerConfig", fromJson: RGLWJSONConstructor.scannerConfig, generate: RGLWJSONConstructor.generate, - omit: ["cameraId", - "onlineProcessingConfig.processParams.sessionLogFolder", - "onlineProcessingConfig.processParams.uvTorchEnabled"]) - } - - // params.process_params - - func test_faceApiSearchParams() { - compare(name: "faceApiSearchParams", fromJson: RGLWJSONConstructor.faceAPISearchParams, generate: RGLWJSONConstructor.generate) - } - - func test_faceApiParams() { - compare(name: "faceApiParams", fromJson: RGLWJSONConstructor.faceAPIParams, generate: RGLWJSONConstructor.generate) - } - - func test_livenessParams() { - compare(name: "livenessParams", fromJson: RGLWJSONConstructor.livenessParams, generate: RGLWJSONConstructor.generate) - } - - func test_authenticityParams() { - compare(name: "authenticityParams", fromJson: RGLWJSONConstructor.authenticityParams, generate: RGLWJSONConstructor.generate) - } - - func test_glaresCheckParams() { - compare(name: "glaresCheckParams", fromJson: RGLWJSONConstructor.glaresCheckParams, generate: RGLWJSONConstructor.generate) - } - - func test_imageQA() { - compare(name: "imageQA", fromJson: RGLWJSONConstructor.imageQA, generate: RGLWJSONConstructor.generate) - } - - func test_rfidParams() { - compare(name: "rfidParams", fromJson: RGLWJSONConstructor.rfidParams, generate: RGLWJSONConstructor.generate) - } - - func test_backendProcessingConfig() { - compare(name: "backendProcessingConfig", fromJson: RGLWJSONConstructor.backendProcessingConfig, generate: RGLWJSONConstructor.generate) - } - - func test_processParams() { - compare(name: "processParams", fromJson: RGLWJSONConstructor.processParams, generate: RGLWJSONConstructor.generate, - omit: ["sessionLogFolder", - "uvTorchEnabled"]) - } - - // params.rfid_scenario - - func test_eDLDataGroups() { - compare(name: "eDLDataGroups", fromJson: RGLWJSONConstructor.eDLDataGroups, generate: RGLWJSONConstructor.generateEDLDataGroups) - } - - func test_ePassportDataGroups() { - compare(name: "ePassportDataGroups", fromJson: RGLWJSONConstructor.ePassportDataGroups, generate: RGLWJSONConstructor.generateEPassportDataGroups) - } - - func test_eIDDataGroups() { - compare(name: "eIDDataGroups", fromJson: RGLWJSONConstructor.eIDDataGroups, generate: RGLWJSONConstructor.generateEIDDataGroups) - } - - func test_rfidScenario() { - compare(name: "rfidScenario", fromJson: RGLWJSONConstructor.rfidScenario, generate: RGLWJSONConstructor.generate) - } - - // params - - func test_customization() { - compare(name: "customization", fromJson: RGLWJSONConstructor.customization, generate: RGLWJSONConstructor.generate, - omit: ["helpAnimationImageMatrix", - "multipageAnimationFrontImageMatrix", - "multipageAnimationBackImageMatrix", - "livenessAnimationImageMatrix", - "borderBackgroundImageMatrix", - "statusTextFont", - "resultStatusTextFont", - "fonts"]) - } - - func test_functionality() { - compare(name: "functionality", fromJson: RGLWJSONConstructor.functionality, generate: RGLWJSONConstructor.generate, - omit: ["useAuthenticator", - "pictureOnBoundsReady", - "isCameraTorchCheckDisabled", - "rfidTimeout", - "exposure", - "excludedCamera2Models", - "cameraSize", - "cameraMode"]) - } - - // info - - func test_documentsDatabase() { - compare(name: "documentsDatabase", fromJson: RGLWJSONConstructor.docReaderDocumentsDatabase, generate: RGLWJSONConstructor.generate) - } - - func test_docReaderScenario() { - compare(name: "docReaderScenario", fromJson: RGLWJSONConstructor.scenario, generate: RGLWJSONConstructor.generate) - } - - func test_docReaderException() { - compare(name: "docReaderException", fromJson: RGLWJSONConstructor.error, generate: RGLWJSONConstructor.generateError) - } - - // results.authenticity - - func test_authenticityElement() { - compare(name: "authenticityElement", fromJson: RGLWJSONConstructor.authenticityElement, generate: RGLWJSONConstructor.generate) - } - - func test_authenticityCheck() { - compare(name: "authenticityCheck", fromJson: RGLWJSONConstructor.authenticityCheck, generate: RGLWJSONConstructor.generate) - } - - func test_authenticityResult() { - compare(name: "authenticityResult", fromJson: RGLWJSONConstructor.documentReaderAuthenticityResult, generate: RGLWJSONConstructor.generate) - } - - // results.barcode - - func test_pdf417Info() { - compare(name: "pdf417Info", fromJson: RGLWJSONConstructor.pdf417Info, generate: RGLWJSONConstructor.generate) - } - - func test_barcodeField() { - compare(name: "barcodeField", fromJson: RGLWJSONConstructor.documentReaderBarcodeField, generate: RGLWJSONConstructor.generate) - } - - func test_barcodeResult() { - compare(name: "barcodeResult", fromJson: RGLWJSONConstructor.documentReaderBarcodeResult, generate: RGLWJSONConstructor.generate) - } - - // results.image_quality - - func test_imageQuality() { - compare(name: "imageQuality", fromJson: RGLWJSONConstructor.imageQuality, generate: RGLWJSONConstructor.generate) - } - - func test_imageQualityGroup() { - compare(name: "imageQualityGroup", fromJson: RGLWJSONConstructor.imageQualityGroup, generate: RGLWJSONConstructor.generate) - } - - // results.rfid - - func test_accessControlProcedureType() { - compare(name: "accessControlProcedureType", fromJson: RGLWJSONConstructor.accessControlProcedureType, generate: RGLWJSONConstructor.generate) - } - - func test_fileData() { - compare(name: "fileData", fromJson: RGLWJSONConstructor.fileData, generate: RGLWJSONConstructor.generate) - } - - func test_certificateData() { - compare(name: "certificateData", fromJson: RGLWJSONConstructor.certificateData, generate: RGLWJSONConstructor.generate) - } - - func test_securityObjectCertificates() { - compare(name: "securityObjectCertificates", fromJson: RGLWJSONConstructor.securityObjectCertificates, generate: RGLWJSONConstructor.generate) - } - - func test_file() { - compare(name: "file", fromJson: RGLWJSONConstructor.file, generate: RGLWJSONConstructor.generate) - } - - func test_application() { - compare(name: "application", fromJson: RGLWJSONConstructor.application, generate: RGLWJSONConstructor.generate) - } - - func test_rfidValue() { - compare(name: "rfidValue", fromJson: RGLWJSONConstructor.rfidValue, generate: RGLWJSONConstructor.generate) - } - - func test_attribute() { - compare(name: "attribute", fromJson: RGLWJSONConstructor.attribute, generate: RGLWJSONConstructor.generate) - } - - func test_authority() { - compare(name: "authority", fromJson: RGLWJSONConstructor.authority, generate: RGLWJSONConstructor.generate) - } - - func test_cardProperties() { - compare(name: "cardProperties", fromJson: RGLWJSONConstructor.cardProperties, generate: RGLWJSONConstructor.generate) - } - - func test_extension() { - compare(name: "extension", fromJson: RGLWJSONConstructor.extension, generate: RGLWJSONConstructor.generate) - } - - func test_rfidValidity() { - compare(name: "rfidValidity", fromJson: RGLWJSONConstructor.validity, generate: RGLWJSONConstructor.generate) - } - - func test_certificateChain() { - compare(name: "certificateChain", fromJson: RGLWJSONConstructor.certificateChain, generate: RGLWJSONConstructor.generate) - } - - func test_dataField() { - compare(name: "dataField", fromJson: RGLWJSONConstructor.dataField, generate: RGLWJSONConstructor.generate) - } - - func test_signerInfo() { - compare(name: "signerInfo", fromJson: RGLWJSONConstructor.signerInfo, generate: RGLWJSONConstructor.generate) - } - - func test_securityObject() { - compare(name: "securityObject", fromJson: RGLWJSONConstructor.securityObject, generate: RGLWJSONConstructor.generate) - } - - func test_rfidSessionData() { - compare(name: "rfidSessionData", fromJson: RGLWJSONConstructor.rfidSessionData, generate: RGLWJSONConstructor.generate) - } - - func test_bytesData() { - compare(name: "sytesData", fromJson: RGLWJSONConstructor.bytesData, generate: RGLWJSONConstructor.generate) - } - - func test_vdsncData() { - compare(name: "vdsncData", fromJson: RGLWJSONConstructor.vdsncData, generate: RGLWJSONConstructor.generate) - } - - // results.status - - func test_opticalStatus() { - compare(name: "opticalStatus", fromJson: RGLWJSONConstructor.opticalStatus, generate: RGLWJSONConstructor.generate) - } - - func test_rfidStatus() { - compare(name: "rfidStatus", fromJson: RGLWJSONConstructor.rfidSessionDataStatus, generate: RGLWJSONConstructor.generate) - } - - func test_resultsStatus() { - compare(name: "resultsStatus", fromJson: RGLWJSONConstructor.documentReaderResultsStatus, generate: RGLWJSONConstructor.generate) - } - - // results.visual_results - - func test_rect() { - do{ - var rect = try readJSONFile(forName: "rect")! - XCTAssertEqual(rect as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.rect(fromJson: rect))! as NSDictionary?) - rect = try readJSONFile(forName: "rectNullable")! - XCTAssertEqual(rect as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.rect(fromJson: rect))! as NSDictionary?) - }catch{} - } - - func test_Comparison() { - compare(name: "comparison", fromJson: RGLWJSONConstructor.documentReaderComparison, generate: RGLWJSONConstructor.generate) - } - - func test_GraphicField() { - compare(name: "graphicField", fromJson: RGLWJSONConstructor.documentReaderGraphicField, generate: RGLWJSONConstructor.generate) - } - - func test_GraphicResult() { - compare(name: "graphicResult", fromJson: RGLWJSONConstructor.documentReaderGraphicResult, generate: RGLWJSONConstructor.generate) - } - - func test_rfidOrigin() { - compare(name: "rfidOrigin", fromJson: RGLWJSONConstructor.documentReaderRfidOrigin, generate: RGLWJSONConstructor.generate) - } - - func test_symbol() { - compare(name: "symbol", fromJson: RGLWJSONConstructor.documentReaderSymbol, generate: RGLWJSONConstructor.generate) - } - - func test_validity() { - compare(name: "validity", fromJson: RGLWJSONConstructor.documentReaderValidity, generate: RGLWJSONConstructor.generate) - } - - func test_value() { - compare(name: "value", fromJson: RGLWJSONConstructor.documentReaderValue, generate: RGLWJSONConstructor.generate) - } - - func test_textField() { - compare(name: "textField", fromJson: RGLWJSONConstructor.documentReaderTextField, generate: RGLWJSONConstructor.generate) - } - - func test_textSource() { - compare(name: "textSource", fromJson: RGLWJSONConstructor.documentReaderTextSource, generate: RGLWJSONConstructor.generate) - } - - func test_textResult() { - compare(name: "textResult", fromJson: RGLWJSONConstructor.documentReaderTextResult, generate: RGLWJSONConstructor.generate) - } - - // results - - func test_documentType() { - compare(name: "documentType", fromJson: RGLWJSONConstructor.documentReaderDocumentType, generate: RGLWJSONConstructor.generate) - } - - func test_coordinate() { - do{ - var coordinate = try readJSONFile(forName: "coordinate")! - XCTAssertEqual(coordinate as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.point(fromJson: coordinate))! as NSDictionary?) - coordinate = try readJSONFile(forName: "coordinateNullable")! - XCTAssertEqual(coordinate as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.point(fromJson: coordinate))! as NSDictionary?) - } catch {} - } - - func test_position() { - compare(name: "position", fromJson: RGLWJSONConstructor.position, generate: RGLWJSONConstructor.generate) - } - - func test_transactionInfo() { - compare(name: "transactionInfo", fromJson: RGLWJSONConstructor.transactionInfo, generate: RGLWJSONConstructor.generate) - } - - func test_results() { - compare(name: "results", fromJson: RGLWJSONConstructor.documentReaderResults, generate: RGLWJSONConstructor.generate); - } - - // rfid - - func test_paAttribute() { - compare(name: "paAttribute", fromJson: RGLWJSONConstructor.paAttribute, generate: RGLWJSONConstructor.generate) - } - - func test_paResourcesIssuer() { -// compare(name: "paResourcesIssuer", fromJson: RGLWJSONConstructor.paResourcesIssuer, generate: RGLWJSONConstructor.generate) - } - - func test_pkdCertificate() { - compare(name: "pkdCertificate", fromJson: RGLWJSONConstructor.pkdCertificate, generate: RGLWJSONConstructor.generate) - } - - func test_taChallenge() { - compare(name: "taChallenge", fromJson: RGLWJSONConstructor.taChallenge, generate: RGLWJSONConstructor.generate) - } - - func test_TccParams() { - compare(name: "tccParams", fromJson: RGLWJSONConstructor.tccParams, generate: RGLWJSONConstructor.generate) - } - - func compareSingle(name: String, - fromJson: ([AnyHashable : Any]?) -> T?, - generate: (T?) -> [AnyHashable: Any]?, - omit: [String] = [] - ) { - do { - var expected = try readJSONFile(forName: name)! - for s in omit { - expected = omitDeep(dict: expected, path: s.components(separatedBy: "."), index: 0) - } - var actual = generate(fromJson(expected))! - for s in omit { - actual = omitDeep(dict: actual as! [String: Any], path: s.components(separatedBy: "."), index: 0) - } - XCTAssertEqual(expected as NSDictionary?, actual as NSDictionary?) - } catch { } - } - - func compare(name: String, - fromJson: ([AnyHashable : Any]?) -> T?, - generate: (T?) -> [AnyHashable: Any]?, - omit: [String] = [] - ) { - compareSingle(name: name, fromJson: fromJson, generate: generate, omit: omit) - compareSingle(name: name + "Nullable", fromJson: fromJson, generate: generate, omit: omit) - } - - func omitDeep(dict: [String: Any], path: [String], index: Int) -> [String: Any] { - var mutableDict = dict - if(dict[path[index]] == nil) { - // not found - return mutableDict - } - if (index < path.count - 1) { - mutableDict[path[index]] = omitDeep(dict: dict[path[index]] as! [String : Any], path: path, index: index + 1) - } else { - mutableDict.removeValue(forKey: path[index]) - } - return mutableDict - } - - func readJSONFile(forName name: String) throws -> [String: Any]? { - do { - let path = Bundle(for: RunnerTests.self).path(forResource: "json/" + name, ofType: "json") - if(path == nil){ - throw "file not found" - } - let data = try String(contentsOfFile: path!).data(using: .utf8)! - return try JSONSerialization.jsonObject(with: data, options: .mutableLeaves) as? [String: Any] - } catch { - throw(error) - } - } -} - -extension String: Error {} diff --git a/example/ios/Tests/Tests.swift b/example/ios/Tests/Tests.swift new file mode 100644 index 0000000000..93e259fb68 --- /dev/null +++ b/example/ios/Tests/Tests.swift @@ -0,0 +1,462 @@ +import XCTest +import DocumentReader +import flutter_document_reader_api + +class Tests: XCTestCase { + // config + + func test_imageInputData() { + compare(name: "imageInputData", fromJson: RGLWJSONConstructor.imageInput, generate: RGLWJSONConstructor.generate) + } + + func test_initConfig() { + compare(name: "initConfig", fromJson: RGLWJSONConstructor.config, generate: RGLWJSONConstructor.generate, + omit: ["blackList", + "customDb", + "useBleDevice"]) + } + + func test_onlineProcessingConfig() { + compare(name: "onlineProcessingConfig", fromJson: RGLWJSONConstructor.onlineProcessingConfig, generate: RGLWJSONConstructor.generate, + omit: ["requestHeaders", + "processParams.sessionLogFolder", + "processParams.checkCaptureProcessIntegrity", + "processParams.uvTorchEnabled"]) + } + + func test_recognizeConfig() { + compare(name: "recognizeConfig", fromJson: RGLWJSONConstructor.recognizeConfig, generate: RGLWJSONConstructor.generate, + omit: ["onlineProcessingConfig.processParams.sessionLogFolder", + "onlineProcessingConfig.processParams.checkCaptureProcessIntegrity", + "onlineProcessingConfig.processParams.uvTorchEnabled"]) + } + + func test_recognizeConfig2() { + compare(name: "recognizeConfig2", fromJson: RGLWJSONConstructor.recognizeConfig, generate: RGLWJSONConstructor.generate, + omit: ["onlineProcessingConfig.processParams.sessionLogFolder", + "onlineProcessingConfig.processParams.uvTorchEnabled", + "onlineProcessingConfig.processParams.checkCaptureProcessIntegrity", + "onlineProcessingConfig.requestHeaders"]) + } + + func test_scannerConfig() { + compare(name: "scannerConfig", fromJson: RGLWJSONConstructor.scannerConfig, generate: RGLWJSONConstructor.generate, + omit: ["cameraId", + "onlineProcessingConfig.processParams.sessionLogFolder", + "onlineProcessingConfig.processParams.uvTorchEnabled", + "onlineProcessingConfig.processParams.checkCaptureProcessIntegrity", + "onlineProcessingConfig.requestHeaders"]) + } + + func test_finalizeConfig() { + compare(name: "finalizeConfig", fromJson: RGLWJSONConstructor.finalizeConfig, generate: RGLWJSONConstructor.generate) + } + + // params.process_params + + func test_faceApiSearchParams() { + compare(name: "faceApiSearchParams", fromJson: RGLWJSONConstructor.faceAPISearchParams, generate: RGLWJSONConstructor.generate) + } + + func test_faceApiParams() { + compare(name: "faceApiParams", fromJson: RGLWJSONConstructor.faceAPIParams, generate: RGLWJSONConstructor.generate) + } + + func test_livenessParams() { + compare(name: "livenessParams", fromJson: RGLWJSONConstructor.livenessParams, generate: RGLWJSONConstructor.generate) + } + + func test_authenticityParams() { + compare(name: "authenticityParams", fromJson: RGLWJSONConstructor.authenticityParams, generate: RGLWJSONConstructor.generate) + } + + func test_glaresCheckParams() { + compare(name: "glaresCheckParams", fromJson: RGLWJSONConstructor.glaresCheckParams, generate: RGLWJSONConstructor.generate) + } + + func test_imageQA() { + compare(name: "imageQA", fromJson: RGLWJSONConstructor.imageQA, generate: RGLWJSONConstructor.generate) + } + + func test_rfidParams() { + compare(name: "rfidParams", fromJson: RGLWJSONConstructor.rfidParams, generate: RGLWJSONConstructor.generate) + } + + func test_backendProcessingConfig() { + compare(name: "backendProcessingConfig", fromJson: RGLWJSONConstructor.backendProcessingConfig, generate: RGLWJSONConstructor.generate) + } + + func test_bsi() { + compare(name: "bsi", fromJson: RGLWJSONConstructor.bsi, generate: RGLWJSONConstructor.generate) + } + + func test_processParams() { + compare(name: "processParams", fromJson: RGLWJSONConstructor.processParams, generate: RGLWJSONConstructor.generate, + omit: ["sessionLogFolder", + "uvTorchEnabled", + "checkCaptureProcessIntegrity",]) + } + + // params.rfid_scenario + + func test_eDLDataGroups() { + compare(name: "eDLDataGroups", fromJson: RGLWJSONConstructor.eDLDataGroups, generate: RGLWJSONConstructor.generateEDLDataGroups) + } + + func test_ePassportDataGroups() { + compare(name: "ePassportDataGroups", fromJson: RGLWJSONConstructor.ePassportDataGroups, generate: RGLWJSONConstructor.generateEPassportDataGroups) + } + + func test_eIDDataGroups() { + compare(name: "eIDDataGroups", fromJson: RGLWJSONConstructor.eIDDataGroups, generate: RGLWJSONConstructor.generateEIDDataGroups) + } + + func test_dtcDataGroup() { + compare(name: "dtcDataGroup", fromJson: RGLWJSONConstructor.dtcDataGroup, generate: RGLWJSONConstructor.generateRGLDTCDataGroup) + } + + func test_rfidScenario() { + compare(name: "rfidScenario", fromJson: RGLWJSONConstructor.rfidScenario, generate: RGLWJSONConstructor.generate) + } + + // params + + func test_customization() { + compare(name: "customization", fromJson: RGLWJSONConstructor.customization, generate: RGLWJSONConstructor.generate, + omit: ["helpAnimationImageMatrix", + "multipageAnimationFrontImageMatrix", + "multipageAnimationBackImageMatrix", + "livenessAnimationImageMatrix", + "borderBackgroundImageMatrix", + "statusTextFont.style", + "resultStatusTextFont.style", + "multipageButtonTextFont.style", + "colors.rfidEnableNfcButtonBackground", + "colors.rfidEnableNfcButtonText", + "colors.rfidEnableNfcDescriptionText", + "colors.rfidEnableNfcTitleText", + "colors.mdlEnableNfcTitleText", + "colors.mdlEnableNfcDescriptionText", + "colors.mdlEnableNfcButtonText", + "colors.mdlEnableNfcButtonBackground", + "fonts.rfidProcessingScreenHintLabel.style", + "fonts.rfidProcessingScreenProgressLabel.style", + "fonts.rfidProcessingScreenResultLabel.style", + "fonts.mdlProcessingScreenHintLabel.style", + "fonts.mdlProcessingScreenProgressLabel.style", + "fonts.mdlProcessingScreenResultLabel.style", + "fonts.rfidEnableNfcTitleText", + "fonts.rfidEnableNfcDescriptionText", + "fonts.rfidEnableNfcButtonText", + "fonts.mdlEnableNfcTitleText", + "fonts.mdlEnableNfcDescriptionText", + "fonts.mdlEnableNfcButtonText", + "images.rfidEnableNfcImage", + "images.rfidDisableNfcImage", + "images.mdlEnableNfcImage", + "images.mdlDisableNfcImage", + "matrices", + ]) + } + + func test_functionality() { + compare(name: "functionality", fromJson: RGLWJSONConstructor.functionality, generate: RGLWJSONConstructor.generate, + omit: ["useAuthenticator", + "pictureOnBoundsReady", + "isCameraTorchCheckDisabled", + "rfidTimeout", + "exposure", + "videoRecordingSizeDownscaleFactor", + "excludedCamera2Models", + "cameraSize", + "hideStatusBar", + "cameraMode"]) + } + + // info + + func test_documentsDatabase() { + compare(name: "documentsDatabase", fromJson: RGLWJSONConstructor.docReaderDocumentsDatabase, generate: RGLWJSONConstructor.generate) + } + + func test_docReaderScenario() { + compare(name: "docReaderScenario", fromJson: RGLWJSONConstructor.scenario, generate: RGLWJSONConstructor.generate) + } + + func test_docReaderException() { + compare(name: "docReaderException", fromJson: RGLWJSONConstructor.error, generate: RGLWJSONConstructor.generateError) + } + + // results.authenticity + + func test_authenticityElement() { + compare(name: "authenticityElement", fromJson: RGLWJSONConstructor.authenticityElement, generate: RGLWJSONConstructor.generate) + } + + func test_authenticityCheck() { + compare(name: "authenticityCheck", fromJson: RGLWJSONConstructor.authenticityCheck, generate: RGLWJSONConstructor.generate) + } + + func test_authenticityResult() { + compare(name: "authenticityResult", fromJson: RGLWJSONConstructor.documentReaderAuthenticityResult, generate: RGLWJSONConstructor.generate) + } + + // results.barcode + + func test_pdf417Info() { + compare(name: "pdf417Info", fromJson: RGLWJSONConstructor.pdf417Info, generate: RGLWJSONConstructor.generate) + } + + func test_barcodeField() { + compare(name: "barcodeField", fromJson: RGLWJSONConstructor.documentReaderBarcodeField, generate: RGLWJSONConstructor.generate) + } + + func test_barcodeResult() { + compare(name: "barcodeResult", fromJson: RGLWJSONConstructor.documentReaderBarcodeResult, generate: RGLWJSONConstructor.generate) + } + + // results.image_quality + + func test_imageQuality() { + compare(name: "imageQuality", fromJson: RGLWJSONConstructor.imageQuality, generate: RGLWJSONConstructor.generate) + } + + func test_imageQualityGroup() { + compare(name: "imageQualityGroup", fromJson: RGLWJSONConstructor.imageQualityGroup, generate: RGLWJSONConstructor.generate) + } + + // results.rfid + + func test_accessControlProcedureType() { + compare(name: "accessControlProcedureType", fromJson: RGLWJSONConstructor.accessControlProcedureType, generate: RGLWJSONConstructor.generate) + } + + func test_fileData() { + compare(name: "fileData", fromJson: RGLWJSONConstructor.fileData, generate: RGLWJSONConstructor.generate) + } + + func test_certificateData() { + compare(name: "certificateData", fromJson: RGLWJSONConstructor.certificateData, generate: RGLWJSONConstructor.generate) + } + + func test_securityObjectCertificates() { + compare(name: "securityObjectCertificates", fromJson: RGLWJSONConstructor.securityObjectCertificates, generate: RGLWJSONConstructor.generate) + } + + func test_file() { + compare(name: "file", fromJson: RGLWJSONConstructor.file, generate: RGLWJSONConstructor.generate) + } + + func test_application() { + compare(name: "application", fromJson: RGLWJSONConstructor.application, generate: RGLWJSONConstructor.generate) + } + + func test_rfidValue() { + compare(name: "rfidValue", fromJson: RGLWJSONConstructor.rfidValue, generate: RGLWJSONConstructor.generate) + } + + func test_attribute() { + compare(name: "attribute", fromJson: RGLWJSONConstructor.attribute, generate: RGLWJSONConstructor.generate) + } + + func test_authority() { + compare(name: "authority", fromJson: RGLWJSONConstructor.authority, generate: RGLWJSONConstructor.generate) + } + + func test_cardProperties() { + compare(name: "cardProperties", fromJson: RGLWJSONConstructor.cardProperties, generate: RGLWJSONConstructor.generate) + } + + func test_extension() { + compare(name: "extension", fromJson: RGLWJSONConstructor.extension, generate: RGLWJSONConstructor.generate) + } + + func test_rfidValidity() { + compare(name: "rfidValidity", fromJson: RGLWJSONConstructor.validity, generate: RGLWJSONConstructor.generate) + } + + func test_certificateChain() { + compare(name: "certificateChain", fromJson: RGLWJSONConstructor.certificateChain, generate: RGLWJSONConstructor.generate) + } + + func test_dataField() { + compare(name: "dataField", fromJson: RGLWJSONConstructor.dataField, generate: RGLWJSONConstructor.generate) + } + + func test_signerInfo() { + compare(name: "signerInfo", fromJson: RGLWJSONConstructor.signerInfo, generate: RGLWJSONConstructor.generate) + } + + func test_securityObject() { + compare(name: "securityObject", fromJson: RGLWJSONConstructor.securityObject, generate: RGLWJSONConstructor.generate) + } + + func test_rfidSessionData() { + compare(name: "rfidSessionData", fromJson: RGLWJSONConstructor.rfidSessionData, generate: RGLWJSONConstructor.generate) + } + + func test_bytesData() { + compare(name: "sytesData", fromJson: RGLWJSONConstructor.bytesData, generate: RGLWJSONConstructor.generate) + } + + func test_vdsncData() { + compare(name: "vdsncData", fromJson: RGLWJSONConstructor.vdsncData, generate: RGLWJSONConstructor.generate) + } + + func test_docFeature() { + compare(name: "docFeature", fromJson: RGLWJSONConstructor.docFeature, generate: RGLWJSONConstructor.generate) + } + + func test_vdsData() { + compare(name: "vdsData", fromJson: RGLWJSONConstructor.vdsData, generate: RGLWJSONConstructor.generate) + } + + // results.status + + func test_opticalStatus() { + compare(name: "opticalStatus", fromJson: RGLWJSONConstructor.opticalStatus, generate: RGLWJSONConstructor.generate) + } + + func test_rfidStatus() { + compare(name: "rfidStatus", fromJson: RGLWJSONConstructor.rfidSessionDataStatus, generate: RGLWJSONConstructor.generate) + } + + func test_ageStatus() { + compare(name: "ageStatus", fromJson: RGLWJSONConstructor.detailsAge, generate: RGLWJSONConstructor.generate) + } + + func test_resultsStatus() { + compare(name: "resultsStatus", fromJson: RGLWJSONConstructor.documentReaderResultsStatus, generate: RGLWJSONConstructor.generate, + omit: ["captureProcessIntegrity"]) + } + + // results.visual_results + + func test_rect() { + do{ + var rect = try readJSONFile(forName: "rect") + XCTAssertEqual(rect as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.rect(fromJson: rect))! as NSDictionary?) + rect = try readJSONFile(forName: "rectNullable") + XCTAssertEqual(rect as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.rect(fromJson: rect))! as NSDictionary?) + }catch{} + } + + func test_Comparison() { + compare(name: "comparison", fromJson: RGLWJSONConstructor.documentReaderComparison, generate: RGLWJSONConstructor.generate) + } + + func test_GraphicField() { + compare(name: "graphicField", fromJson: RGLWJSONConstructor.documentReaderGraphicField, generate: RGLWJSONConstructor.generate) + } + + func test_GraphicResult() { + compare(name: "graphicResult", fromJson: RGLWJSONConstructor.documentReaderGraphicResult, generate: RGLWJSONConstructor.generate) + } + + func test_rfidOrigin() { + compare(name: "rfidOrigin", fromJson: RGLWJSONConstructor.documentReaderRfidOrigin, generate: RGLWJSONConstructor.generate) + } + + func test_symbol() { + compare(name: "symbol", fromJson: RGLWJSONConstructor.documentReaderSymbol, generate: RGLWJSONConstructor.generate) + } + + func test_validity() { + compare(name: "validity", fromJson: RGLWJSONConstructor.documentReaderValidity, generate: RGLWJSONConstructor.generate) + } + + func test_value() { + compare(name: "value", fromJson: RGLWJSONConstructor.documentReaderValue, generate: RGLWJSONConstructor.generate) + } + + func test_textField() { + compare(name: "textField", fromJson: RGLWJSONConstructor.documentReaderTextField, generate: RGLWJSONConstructor.generate) + } + + func test_textSource() { + compare(name: "textSource", fromJson: RGLWJSONConstructor.documentReaderTextSource, generate: RGLWJSONConstructor.generate) + } + + func test_textResult() { + compare(name: "textResult", fromJson: RGLWJSONConstructor.documentReaderTextResult, generate: RGLWJSONConstructor.generate) + } + + // results + + func test_documentType() { + compare(name: "documentType", fromJson: RGLWJSONConstructor.documentReaderDocumentType, generate: RGLWJSONConstructor.generate) + } + + func test_coordinate() { + do{ + var coordinate = try readJSONFile(forName: "coordinate") + XCTAssertEqual(coordinate as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.point(fromJson: coordinate))! as NSDictionary?) + coordinate = try readJSONFile(forName: "coordinateNullable") + XCTAssertEqual(coordinate as NSDictionary?, RGLWJSONConstructor.generate(RGLWJSONConstructor.point(fromJson: coordinate))! as NSDictionary?) + } catch {} + } + + func test_position() { + compare(name: "position", fromJson: RGLWJSONConstructor.position, generate: RGLWJSONConstructor.generate) + } + + func test_transactionInfo() { + compare(name: "transactionInfo", fromJson: RGLWJSONConstructor.transactionInfo, generate: RGLWJSONConstructor.generate) + } + + func test_results() { + compare(name: "results", fromJson: RGLWJSONConstructor.documentReaderResults, generate: RGLWJSONConstructor.generate, + omit: ["status.captureProcessIntegrity"]); + } + + // rfid + + func test_paAttribute() { + compare(name: "paAttribute", fromJson: RGLWJSONConstructor.paAttribute, generate: RGLWJSONConstructor.generate) + } + + func test_paResourcesIssuer() { +// compare(name: "paResourcesIssuer", fromJson: RGLWJSONConstructor.paResourcesIssuer, generate: RGLWJSONConstructor.generate) + } + + func test_pkdCertificate() { + compare(name: "pkdCertificate", fromJson: RGLWJSONConstructor.pkdCertificate, generate: RGLWJSONConstructor.generate) + } + + func test_taChallenge() { + compare(name: "taChallenge", fromJson: RGLWJSONConstructor.taChallenge, generate: RGLWJSONConstructor.generate) + } + + func test_TccParams() { + compare(name: "tccParams", fromJson: RGLWJSONConstructor.tccParams, generate: RGLWJSONConstructor.generate) + } + + func test_paceProtocol() { + compare(name: "paceProtocol", fromJson: RGLWJSONConstructor.paceProtocol, generate: RGLWJSONConstructor.generatePaceProtocol) + } + + func test_caProtocol() { + compare(name: "caProtocol", fromJson: RGLWJSONConstructor.caProtocol, generate: RGLWJSONConstructor.generateCaProtocol) + } + + // mdl + + func test_deviceRetrievalMethod() { + compare(name: "deviceRetrievalMethod", fromJson: RGLWJSONConstructor.deviceRetrievalMethod, generate: RGLWJSONConstructor.generate) + } + func test_deviceEngagement() { + compare(name: "deviceEngagement", fromJson: RGLWJSONConstructor.deviceEngagement, generate: RGLWJSONConstructor.generate) + } + func test_nameSpaceMDL() { + compare(name: "nameSpaceMDL", fromJson: RGLWJSONConstructor.nameSpaceMDL, generate: RGLWJSONConstructor.generate) + } + func test_documentRequestMDL() { + compare(name: "documentRequestMDL", fromJson: RGLWJSONConstructor.documentRequestMDL, generate: RGLWJSONConstructor.generate) + } + func test_documentRequest18013MDL() { + compare(name: "documentRequest18013MDL", fromJson: RGLWJSONConstructor.documentRequest18013MDL, generate: RGLWJSONConstructor.generate) + } + func test_dataRetrieval() { + compare(name: "dataRetrieval", fromJson: RGLWJSONConstructor.dataRetrieval, generate: RGLWJSONConstructor.generate) + } +} diff --git a/example/ios/Tests/Utils.swift b/example/ios/Tests/Utils.swift new file mode 100644 index 0000000000..18381ed850 --- /dev/null +++ b/example/ios/Tests/Utils.swift @@ -0,0 +1,82 @@ +import XCTest + +func compare(name: String, + fromJson: ([AnyHashable : Any]?) -> T?, + generate: (T?) -> [AnyHashable: Any]?, + omit: [String] = [] +) { + compareSingle(name: name, fromJson: fromJson, generate: generate, omit: omit) + compareSingle(name: name + "Nullable", fromJson: fromJson, generate: generate, omit: omit) +} + +func compareSingle(name: String, + fromJson: ([AnyHashable : Any]?) -> T?, + generate: (T?) -> [AnyHashable: Any]?, + omit: [String] = [] +) { + do { + var expected = try readJSONFile(forName: name) + for s in omit { + expected = omitDeep(dict: expected, path: s.components(separatedBy: "."), index: 0) + } + var actual = generate(fromJson(expected))! + for s in omit { + actual = omitDeep(dict: actual as! [String: Any], path: s.components(separatedBy: "."), index: 0) + } + actual = removeNulls(input: actual as! [String: Any]) + XCTAssertEqual(expected as NSDictionary, actual as NSDictionary) + } catch { } +} + +func omitDeep(dict: [String: Any], path: [String], index: Int) -> [String: Any] { + var mutableDict = dict + if (index < path.count - 1) { + if(dict[path[index]] == nil) { + return dict // not found + } + let node = dict[path[index]] + if (node is [String : Any]) { + mutableDict[path[index]] = omitDeep(dict: node as! [String : Any], path: path, index: index + 1) + } else if (node is Array) { + mutableDict[path[index]] = omitDeep(arr: node as! Array, path: path, index: index + 1) + } + } else { + mutableDict.removeValue(forKey: path[index]) + } + return mutableDict +} + +func omitDeep(arr: Array, path: [String], index: Int) -> Array { + var mutableArr = arr + for (i, item) in arr.enumerated() { + mutableArr[i] = omitDeep(dict: item as! [String : Any], path: path, index: index) + } + return mutableArr +} + +func removeNulls(input: [String: Any]) -> [String: Any] { + var result = input + for (key, value) in input { + if (value as! NSObject == NSNull()) { + result.removeValue(forKey: key) + } else if (value is [String: Any]) { + result[key] = removeNulls(input: value as! [String: Any]) + } + } + return result +} + +func readJSONFile(forName name: String) throws -> [String: Any] { + do { + let path = Bundle(for: Tests.self).path(forResource: "json/" + name, ofType: "json") + if(path == nil){ + throw "file not found" + } + let data = try String(contentsOfFile: path!).data(using: .utf8)! + return try JSONSerialization.jsonObject(with: data, options: .mutableLeaves) as! [String: Any] + } catch { + throw(error) + } +} + +extension String: Error {} diff --git a/example/lib/extra/bt_device.dart b/example/lib/extra/bt_device.dart new file mode 100644 index 0000000000..2630d32f6c --- /dev/null +++ b/example/lib/extra/bt_device.dart @@ -0,0 +1,39 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_document_reader_api/flutter_document_reader_api.dart'; +import 'package:flutter_document_reader_api_example/main.dart'; + +var useBtDevice = false; +var btDeviceName = "Regula 0000"; + +void setupBTDevice() { + setStatus("Connect to a bluetooth device"); +} + +void connect() async { + setStatus("Searching for devices..."); + if (await DocumentReader.instance.connectBluetoothDevice(btDeviceName)) { + await init(); + DocumentReader.instance.functionality.useAuthenticator = true; + useBtDevice = false; + } else { + setStatus("Failed to connect"); + } +} + +Future initializeWithBTDevice() async { + setStatus("Initializing..."); + + var initConfig = InitConfig.withBleDevice(); + initConfig.delayedNNLoad = true; + var (success, error) = await DocumentReader.instance.initialize(initConfig); + + handleException(error); + return success; +} + +Widget btDeviceUI() { + return Visibility( + visible: useBtDevice, + child: Row(children: [Expanded(child: button("Connect", () => connect()))]), + ); +} diff --git a/example/lib/extra/rfid_custom_ui.dart b/example/lib/extra/rfid_custom_ui.dart index 6a7376645a..efdf1dd842 100644 --- a/example/lib/extra/rfid_custom_ui.dart +++ b/example/lib/extra/rfid_custom_ui.dart @@ -1,152 +1,95 @@ -// -// rfid_custom_ui.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:flutter_document_reader_api/flutter_document_reader_api.dart'; +import 'package:flutter_document_reader_api_example/main.dart'; + +var useRfidSelfHostedUI = false; + +void rfidSelfHostedUI() { + var config = RFIDConfig.withoutUI((action, results, _) { + action.stopped() ? stop() : null; + action.finished() ? displayResults(results) : null; + action.interrupted() ? setStatus("Error reading RFID") : null; + }); + + config.onProgress = (notification) async { + if (notification.progress == 1) return; + if (notification.notificationCode == + RFIDNotificationCodes.PCSC_READING_DATAGROUP) { + setDescription(await notification.dataFileType.getTranslation()); + } + setStatus("Reading RFID"); + setProgress(notification.progress); + }; + + setup(); + DocumentReader.instance.rfid(config); +} -class RFIDCustomUI { - var documentReader = DocumentReader.instance; - var setState; - var setStatus; - var displayResults; - - var isShowing = false; - var rfidUIHeader = "Reading RFID"; - var rfidUIHeaderColor = Colors.black; - var rfidDescription = "Place your phone on top of the NFC tag"; - double rfidProgress = -1; - - RFIDCustomUI.empty(); - RFIDCustomUI(this.setState, this.setStatus, this.displayResults); - - void run() { - showRfidUI(); - - RFIDConfig config = RFIDConfig.withoutUI((action, results, error) { - if (error != null) print(error.message); - if (action.stopped()) finish(results); - }); - - config.onProgress = (notification) async { - if (notification.progress == 1) return; - if (notification.notificationCode == - RFIDNotificationCodes.PCSC_READING_DATAGROUP) { - var translation = await notification.dataFileType.getTranslation(); - setState(() => rfidDescription = translation); - } +void setup() { + setStatus("Reading RFID"); + setDescription("Place your phone on top of the NFC tag"); + setProgress(-1); + currentProgress = -1; + setShowing(true); +} - setState(() { - rfidUIHeader = "Reading RFID"; - rfidUIHeaderColor = Colors.black; - rfidProgress = notification.progress / 100; - }); +void stop() { + DocumentReader.instance.stopRFIDReader(); + displayResults(null); + setShowing(false); +} - if (Platform.isIOS) { - var status = rfidDescription + "\n"; - var progress = notification.progress; - if (progress > 0 && progress < 100) { - status += notification.progress.toString() + "%"; - } - documentReader.rfidSessionStatus = status; - } - }; +var rfidDescription = "Place your phone on top of the NFC tag"; +void setDescription(String data) { + MyAppState.update(() => rfidDescription = data); +} - documentReader.rfid(config); - } +var currentProgress = -1; +var isIncreasing = true; +void setProgress(int next) { + // make progress bar look better + if (next == 0) return; // ignore idle 0s, leave progress at 100 instead + if (next < currentProgress) next = 0; // move to 0 if progress is moving + if (next >= 95) next = 100; // rfid never returns 100 and it looks ugly - void showRfidUI() { - setStatus(""); - setState(() => isShowing = true); - } + MyAppState.update(() => isIncreasing = next > currentProgress); + MyAppState.update(() => currentProgress = next); +} - void finish(Results? results) { - documentReader.stopRFIDReader(); - setState(() { - isShowing = false; - rfidUIHeader = "Reading RFID"; - rfidUIHeaderColor = Colors.black; - rfidDescription = "Place your phone on top of the NFC tag"; - rfidProgress = -1; - }); - displayResults(results); - } +var isShowingRfidSelfHostedUI = false; +void setShowing(bool data) { + MyAppState.update(() => isShowingRfidSelfHostedUI = data); +} - Widget build() { - return Visibility( - visible: isShowing, - child: Container( - child: Column( - children: [ - Row(mainAxisAlignment: MainAxisAlignment.center), - header(), - description(), - progressBar(), - cancelButton(), - spacer() - ], +List rfidCustomUI() { + return [ + label(rfidDescription), + TweenAnimationBuilder( + tween: Tween(begin: currentProgress / 100, end: currentProgress / 100), + duration: Duration(milliseconds: isIncreasing ? 500 : 0), + builder: (context, value, child) => Container( + width: MediaQuery.of(context).size.width * 0.75, + margin: EdgeInsets.only(top: 30), + decoration: BoxDecoration( + border: Border.all(color: Colors.black26, width: 3), + borderRadius: BorderRadius.circular(8), ), - ), - ); - } - - Widget header() { - return Container( - padding: const EdgeInsets.only(bottom: 40), - child: Text( - rfidUIHeader, - textScaler: TextScaler.linear(1.75), - style: TextStyle(color: rfidUIHeaderColor), - ), - ); - } - - Widget description() { - return Container( - child: Text(rfidDescription, textScaler: TextScaler.linear(1.4)), - padding: const EdgeInsets.only(bottom: 40)); - } - - Widget progressBar() { - return FractionallySizedBox( - widthFactor: 0.6, - child: LinearProgressIndicator( - value: rfidProgress, - minHeight: 10, - valueColor: const AlwaysStoppedAnimation( - Color(0xFF4285F4), + child: LinearProgressIndicator( + value: value, + minHeight: 20, + backgroundColor: Colors.white, + borderRadius: BorderRadius.all(Radius.circular(4)), ), ), - ); - } - - Widget cancelButton() { - return TextButton( - onPressed: () => finish(null), - child: const Text("X"), + ), + TextButton( + onPressed: () => stop(), + child: Text("X"), style: TextButton.styleFrom( - padding: const EdgeInsets.only(top: 50), + padding: EdgeInsets.only(top: 50), + textStyle: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), ), - ); - } - - Widget spacer() { - return Column( - children: [ - Text(""), - Text(""), - Text(""), - Text(""), - Text(""), - Text(""), - Text("") - ], - ); - } + ), + SizedBox(height: 100) + ]; } diff --git a/example/lib/main.dart b/example/lib/main.dart index e7ddbb01a5..9cfcee86cb 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,303 +1,285 @@ -// -// main.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - import 'package:flutter/material.dart'; +import 'package:flutter_document_reader_api_example/extra/bt_device.dart'; import 'package:flutter_document_reader_api_example/extra/rfid_custom_ui.dart'; import 'dart:async'; import 'package:image_picker/image_picker.dart'; import 'package:flutter/services.dart'; import 'package:flutter_document_reader_api/flutter_document_reader_api.dart'; -void main() => runApp(MyApp()); - -class MyAppState extends State { - var documentReader = DocumentReader.instance; - - var status = "Loading..."; - var portrait = Image.asset('assets/images/portrait.png'); - var docImage = Image.asset('assets/images/id.png'); - var selectedScenario = Scenario.MRZ; - List scenarios = []; - Object setStatus(String s) => {setState(() => status = s)}; +void main() => runApp(new MaterialApp(home: new MyApp())); +var documentReader = DocumentReader.instance; +var selectedScenario = Scenario.MRZ; +var doRfid = false; +var isReadingRfid = false; + +Future init() async { + if (!await initialize()) return; + setScenarios(documentReader.availableScenarios); + setCanRfid(await documentReader.isRFIDAvailableForUse()); + setStatus("Ready"); +} - var doRfid = false; - var isReadingRfid = false; - var rfidCustomUiExample = RFIDCustomUI.empty(); - var rfidOption = RfidOption.Basic; +void scan() async { + if (!await documentReader.isReady) return; + clearResults(); + documentReader.startScanner( + ScannerConfig.withScenario(selectedScenario), + handleCompletion, + ); +} - var colorPrimary = Colors.blue; +void recognize() async { + if (!await documentReader.isReady) return; + var image = await pickImage(); + if (image == null) return; - void init() async { - super.initState(); - if (!await initializeReader()) return; - setStatus("Ready"); - setState(() => scenarios = documentReader.availableScenarios); - } + clearResults(); + documentReader.recognize( + RecognizeConfig.withScenario(selectedScenario, image: image), + handleCompletion, + ); +} - void handleCompletion( - DocReaderAction action, Results? results, DocReaderException? error) { - if (error != null) print(error.message); - if (action.stopped() && !shouldRfid(results)) - displayResults(results); - else if (action.finished() && shouldRfid(results)) readRfid(); +void handleCompletion( + DocReaderAction action, + Results? results, + DocReaderException? error, +) { + handleException(error); + if (action.stopped() && !shouldRfid(results)) { + displayResults(results); + } else if (action.finished() && shouldRfid(results)) { + isReadingRfid = true; + readRfid(); } +} - void displayResults(Results? results) async { - isReadingRfid = false; - clearResults(); - if (results == null) return; - - var name = - await results.textFieldValueByType(FieldType.SURNAME_AND_GIVEN_NAMES); - var newDocImage = - await results.graphicFieldImageByType(GraphicFieldType.DOCUMENT_IMAGE); - var newPortrait = - await results.graphicFieldImageByType(GraphicFieldType.PORTRAIT); - - setState(() { - status = name ?? "Ready"; - if (newDocImage != null) docImage = Image.memory(newDocImage); - if (newPortrait != null) portrait = Image.memory(newPortrait); - }); - } +void displayResults(Results? results) async { + isReadingRfid = false; + clearResults(); + if (results == null) return; + + var name = + await results.textFieldValueByType(FieldType.SURNAME_AND_GIVEN_NAMES); + var docImage = + await results.graphicFieldImageByType(GraphicFieldType.DOCUMENT_IMAGE); + var portrait = + await results.graphicFieldImageByType(GraphicFieldType.PORTRAIT); + portrait = await results.graphicFieldImageByTypeSource( + GraphicFieldType.PORTRAIT, + ResultType.RFID_IMAGE_DATA, + ) ?? + portrait; + + setStatus(name); + setPortrait(portrait); + setDocImage(docImage); +} - void clearResults() { - setState(() { - status = "Ready"; - docImage = Image.asset('assets/images/id.png'); - portrait = Image.asset('assets/images/portrait.png'); - }); - } +var readRfid = () => documentReader.rfid(RFIDConfig(handleCompletion)); - void readRfid() { - isReadingRfid = true; - if (rfidOption == RfidOption.Basic) basicRfid(); - if (rfidOption == RfidOption.Advanced) advancedRfid(); - if (rfidOption == RfidOption.Custom) rfidCustomUiExample.run(); - } +bool shouldRfid(Results? results) => + doRfid && !isReadingRfid && results != null && results.chipPage != 0; - void basicRfid() { - documentReader.rfid(RFIDConfig(handleCompletion)); - } +var initialize = () async { + setStatus("Initializing..."); - void advancedRfid() { - var config = RFIDConfig(handleCompletion); + ByteData license = await rootBundle.load("assets/regula.license"); + var initConfig = InitConfig(license); + initConfig.delayedNNLoad = true; + var (success, error) = await documentReader.initialize(initConfig); - config.onChipDetected = () => print("Chip detected, reading rfid."); - config.onRetryReadChip = (error) async { - var message = await error.code.getTranslation(); - print("Reading interrupted: $message. Retrying..."); - }; + handleException(error); + return success; +}; - documentReader.rfid(config); +void handleException(DocReaderException? error) { + if (error != null) { + setStatus(error.message); + print("${error.code}: ${error.message}"); } +} - bool shouldRfid(Results? results) => - doRfid && !isReadingRfid && results != null && results.chipPage != 0; - - Widget ui() { - return Column( - children: [ - documentImages(), - scenarioSelector(), - rfidCheckbox(), - scanButtons() - ], - ); - } +// -------------------------------------------------------------------------------------------------------------------- - Widget documentImages() { - return Container( - padding: const EdgeInsets.only(top: 10, bottom: 10), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - image("Portrait", 150, 150, portrait.image), - image("Document image", 150, 200, docImage.image), - ], - ), - ); +var status = "Loading..."; +void setStatus(String? s) { + if (s != null) { + MyAppState.update(() => status = s); } +} - Widget scenarioSelector() { - return Expanded( - child: Container( - color: const Color.fromARGB(5, 10, 10, 10), - child: ListView.builder( - itemCount: scenarios.length, - itemBuilder: (_, int index) => radioButton(index), - ), - ), - ); +var portraitUIImage = Image.asset('assets/images/portrait.png'); +void setPortrait(Uint8List? data) { + if (data != null) { + MyAppState.update(() => portraitUIImage = Image.memory(data)); } +} - Widget rfidCheckbox() { - var rfidCheckboxTitle = "Process rfid reading"; - if (!documentReader.isRFIDAvailableForUse) - rfidCheckboxTitle += " (unavailable)"; - - return CheckboxListTile( - value: doRfid, - title: Text(rfidCheckboxTitle), - onChanged: (bool? value) { - setState(() => doRfid = value! && documentReader.isRFIDAvailableForUse); - }, - ); +var documentUIImage = Image.asset('assets/images/id.png'); +void setDocImage(Uint8List? data) { + if (data != null) { + MyAppState.update(() => documentUIImage = Image.memory(data)); } +} - Widget scanButtons() { - return Container( - padding: const EdgeInsets.only(top: 10, bottom: 25), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - button("Scan document", () { - clearResults(); - documentReader.scan( - ScannerConfig.withScenario(selectedScenario), - handleCompletion, - ); - }), - button("Scan image", () async { - clearResults(); - documentReader.recognize( - RecognizeConfig.withScenario( - selectedScenario, - RecognizeData.withImages(await getImages()), - ), - handleCompletion, - ); - }) - ], - ), - ); - } +void clearResults() { + MyAppState.update(() { + status = "Ready"; + portraitUIImage = Image.asset('assets/images/portrait.png'); + documentUIImage = Image.asset('assets/images/id.png'); + }); +} - Widget image( - String title, - double height, - double width, - ImageProvider image, - ) { - return Column( - children: [ - Text(title), - Image( - height: height, - width: width, - image: image, - ) - ], - ); - } +var canRfid = false; +void setCanRfid(bool data) { + MyAppState.update(() => canRfid = data); +} - Widget radioButton(int index) { - Radio radio = Radio( - value: scenarios[index].name, - groupValue: selectedScenario.value, - onChanged: (value) => setState(() { - selectedScenario = Scenario.getByValue(value)!; - }), - ); - return Container( - padding: const EdgeInsets.only(left: 40), - child: ListTile( - leading: radio, - title: GestureDetector( - onTap: () => radio.onChanged!(scenarios[index].name), - child: Text(scenarios[index].caption), +List scenarios = []; +void setScenarios(List data) { + MyAppState.update(() => scenarios = data); +} + +List ui() { + return [ + Row(mainAxisAlignment: MainAxisAlignment.center, children: [ + image("Portrait", portraitUIImage.image), + image("Document image", documentUIImage.image), + ]), + Expanded( + child: Container( + color: Color.fromARGB(5, 0, 0, 0), + margin: EdgeInsets.only(top: 10), + padding: EdgeInsets.only(left: 40), + child: RadioGroup( + groupValue: selectedScenario.value, + onChanged: (value) => MyAppState.update( + () => selectedScenario = Scenario.getByValue(value)!), + child: ListView.builder( + itemCount: scenarios.length, + itemBuilder: (context, int index) => ListTile( + leading: Radio(value: scenarios[index].name), + title: Text(scenarios[index].caption), + onTap: () => MyAppState.update(() => selectedScenario = + Scenario.getByValue(scenarios[index].name)!), + ), + ), ), ), - ); - } + ), + CheckboxListTile( + value: doRfid, + title: Text("Process rfid reading" + (canRfid ? "" : " (unavailable)")), + onChanged: (value) => MyAppState.update(() => doRfid = value! && canRfid), + ), + Row(children: [ + Expanded(child: button("Scan document", scan)), + Expanded(child: button("Scan image", recognize)) + ]), + btDeviceUI() + ]; +} - Widget button(String text, VoidCallback onPress) { - return Container( - width: 160, +Widget image(String title, ImageProvider image) => Column(children: [ + Text(title), + Padding( + padding: EdgeInsets.all(5), + child: Image(height: 150, image: image), + ) + ]); + +Widget button(String text, VoidCallback onPressed) => Padding( + padding: EdgeInsets.all(5), + child: SizedBox( height: 40, - padding: const EdgeInsets.fromLTRB(5, 0, 5, 0), - transform: Matrix4.translationValues(0, -7.5, 0), - child: TextButton( - style: ButtonStyle( - foregroundColor: MaterialStateProperty.all(colorPrimary), - backgroundColor: MaterialStateProperty.all(Colors.black12), + child: FilledButton(onPressed: onPressed, child: Text(text)), + )); + +Widget label(String text, {bool small = false}) => Text(text, + textAlign: TextAlign.center, + style: TextStyle( + fontSize: small ? 15 : 18, + fontWeight: FontWeight.w600, + )); + +Widget header(List children, {bool top = true}) => Container( + padding: EdgeInsets.only(top: top ? 70 : 13), + color: Colors.black.withValues(alpha: 0.03), + child: Column(children: [ + ...children, + Container( + margin: EdgeInsets.only(top: 13), + child: Divider( + height: 1, + thickness: 1, + color: Color.fromRGBO(0, 0, 0, 0.075), ), - onPressed: onPress, - child: Text(text), ), - ); - } + ])); - Future initializeReader() async { - setStatus("Initializing..."); +// -------------------------------------------------------------------------------------------------------------------- - ByteData license = await rootBundle.load("assets/regula.license"); - var initConfig = InitConfig(license); - initConfig.delayedNNLoad = true; - var (success, error) = await documentReader.initializeReader(initConfig); +Future pickImage() async { + XFile? file = await ImagePicker().pickImage(source: ImageSource.gallery); + if (file == null) return null; + return await file.readAsBytes(); +} - if (!success) { - setStatus(error!.message); - printError(error); - } - rfidCustomUiExample = RFIDCustomUI(setState, setStatus, displayResults); - return success; - } +class MyAppState extends State { + @override + void initState() { + super.initState(); + instance = this; - void printError(DocReaderException error) => - print("Error: \n code: ${error.code}\n message: ${error.message}"); + // custom rfid + if (useRfidSelfHostedUI) readRfid = () => rfidSelfHostedUI(); - Future> getImages() async { - setStatus("Processing image..."); - List files = await ImagePicker().pickMultiImage(); - List result = []; - for (XFile file in files) { - result.add(await file.readAsBytes()); + // bt device + if (!useBtDevice) { + init(); + } else { + setupBTDevice(); + initialize = initializeWithBTDevice; } - return result; } @override - Widget build(_) { - final ThemeData theme = ThemeData(); - return MaterialApp( - theme: theme.copyWith( - colorScheme: theme.colorScheme - .copyWith(primary: colorPrimary, surfaceTint: colorPrimary), - ), + Widget build(_) => MaterialApp( + theme: ThemeData(colorScheme: theme), home: Scaffold( - appBar: AppBar(title: Center(child: Text(status))), - body: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - rfidCustomUiExample.build(), - Visibility( - visible: !rfidCustomUiExample.isShowing, - child: Expanded( - child: ui(), + body: Column(children: [ + header([label(status)]), + Visibility( + visible: !isShowingRfidSelfHostedUI, + child: Expanded( + child: Padding( + padding: EdgeInsets.fromLTRB(10, 10, 10, 35), + child: Column(children: ui()), ), - ) - ], - ), - ), - ); - } - - @override - void initState() { - super.initState(); - init(); - } + ), + ), + Visibility( + visible: isShowingRfidSelfHostedUI, + child: Expanded( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: rfidCustomUI(), + ), + ), + ) + ]), + )); + + static final theme = ColorScheme.fromSwatch(accentColor: Color(0xFF4285F4)); + static late MyAppState instance; + static update(VoidCallback state) => {instance.setState(state)}; } -enum RfidOption { Basic, Advanced, Custom } - class MyApp extends StatefulWidget { @override - MyAppState createState() => MyAppState(); + MyAppState createState() { + SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); + return MyAppState(); + } } diff --git a/example/pubspec.lock b/example/pubspec.lock new file mode 100644 index 0000000000..f3e3795ccd --- /dev/null +++ b/example/pubspec.lock @@ -0,0 +1,465 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + async: + dependency: transitive + description: + name: async + sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63 + url: "https://pub.dev" + source: hosted + version: "2.12.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + characters: + dependency: transitive + description: + name: characters + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + clock: + dependency: transitive + description: + name: clock + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b + url: "https://pub.dev" + source: hosted + version: "1.1.2" + collection: + dependency: transitive + description: + name: collection + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" + url: "https://pub.dev" + source: hosted + version: "1.19.1" + cross_file: + dependency: transitive + description: + name: cross_file + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" + url: "https://pub.dev" + source: hosted + version: "0.3.4+2" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 + url: "https://pub.dev" + source: hosted + version: "1.0.8" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc" + url: "https://pub.dev" + source: hosted + version: "1.3.2" + ffi: + dependency: transitive + description: + name: ffi + sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + file_selector_linux: + dependency: transitive + description: + name: file_selector_linux + sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" + url: "https://pub.dev" + source: hosted + version: "0.9.3+2" + file_selector_macos: + dependency: transitive + description: + name: file_selector_macos + sha256: "271ab9986df0c135d45c3cdb6bd0faa5db6f4976d3e4b437cf7d0f258d941bfc" + url: "https://pub.dev" + source: hosted + version: "0.9.4+2" + file_selector_platform_interface: + dependency: transitive + description: + name: file_selector_platform_interface + sha256: a3994c26f10378a039faa11de174d7b78eb8f79e4dd0af2a451410c1a5c3f66b + url: "https://pub.dev" + source: hosted + version: "2.6.2" + file_selector_windows: + dependency: transitive + description: + name: file_selector_windows + sha256: "320fcfb6f33caa90f0b58380489fc5ac05d99ee94b61aa96ec2bff0ba81d3c2b" + url: "https://pub.dev" + source: hosted + version: "0.9.3+4" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_document_reader_api: + dependency: "direct main" + description: + path: ".." + relative: true + source: path + version: "7.5.1093" + flutter_document_reader_btdevice: + dependency: "direct main" + description: + name: flutter_document_reader_btdevice + sha256: "6282a7cfe3731756df24f79925e995329110a35e233e7a3f2857dc2521a588b9" + url: "https://pub.dev" + source: hosted + version: "7.5.41" + flutter_document_reader_core_fullauthrfid: + dependency: "direct main" + description: + name: flutter_document_reader_core_fullauthrfid + sha256: "3a258f5bd26e988db0419a591941af9d67741e4bc1287ea78231c7b4a1693515" + url: "https://pub.dev" + source: hosted + version: "7.5.887" + flutter_plugin_android_lifecycle: + dependency: transitive + description: + name: flutter_plugin_android_lifecycle + sha256: "5a1e6fb2c0561958d7e4c33574674bda7b77caaca7a33b758876956f2902eea3" + url: "https://pub.dev" + source: hosted + version: "2.0.27" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + http: + dependency: transitive + description: + name: http + sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f + url: "https://pub.dev" + source: hosted + version: "1.3.0" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" + url: "https://pub.dev" + source: hosted + version: "4.1.2" + image_picker: + dependency: "direct main" + description: + name: image_picker + sha256: "021834d9c0c3de46bf0fe40341fa07168407f694d9b2bb18d532dc1261867f7a" + url: "https://pub.dev" + source: hosted + version: "1.1.2" + image_picker_android: + dependency: transitive + description: + name: image_picker_android + sha256: "82652a75e3dd667a91187769a6a2cc81bd8c111bbead698d8e938d2b63e5e89a" + url: "https://pub.dev" + source: hosted + version: "0.8.12+21" + image_picker_for_web: + dependency: transitive + description: + name: image_picker_for_web + sha256: "717eb042ab08c40767684327be06a5d8dbb341fe791d514e4b92c7bbe1b7bb83" + url: "https://pub.dev" + source: hosted + version: "3.0.6" + image_picker_ios: + dependency: transitive + description: + name: image_picker_ios + sha256: "05da758e67bc7839e886b3959848aa6b44ff123ab4b28f67891008afe8ef9100" + url: "https://pub.dev" + source: hosted + version: "0.8.12+2" + image_picker_linux: + dependency: transitive + description: + name: image_picker_linux + sha256: "4ed1d9bb36f7cd60aa6e6cd479779cc56a4cb4e4de8f49d487b1aaad831300fa" + url: "https://pub.dev" + source: hosted + version: "0.2.1+1" + image_picker_macos: + dependency: transitive + description: + name: image_picker_macos + sha256: "1b90ebbd9dcf98fb6c1d01427e49a55bd96b5d67b8c67cf955d60a5de74207c1" + url: "https://pub.dev" + source: hosted + version: "0.2.1+2" + image_picker_platform_interface: + dependency: transitive + description: + name: image_picker_platform_interface + sha256: "886d57f0be73c4b140004e78b9f28a8914a09e50c2d816bdd0520051a71236a0" + url: "https://pub.dev" + source: hosted + version: "2.10.1" + image_picker_windows: + dependency: transitive + description: + name: image_picker_windows + sha256: "6ad07afc4eb1bc25f3a01084d28520496c4a3bb0cb13685435838167c9dcedeb" + url: "https://pub.dev" + source: hosted + version: "0.2.1+1" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec + url: "https://pub.dev" + source: hosted + version: "10.0.8" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573 + url: "https://pub.dev" + source: hosted + version: "3.0.9" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" + lints: + dependency: "direct dev" + description: + name: lints + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" + url: "https://pub.dev" + source: hosted + version: "4.0.0" + matcher: + dependency: transitive + description: + name: matcher + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 + url: "https://pub.dev" + source: hosted + version: "0.12.17" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec + url: "https://pub.dev" + source: hosted + version: "0.11.1" + meta: + dependency: transitive + description: + name: meta + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c + url: "https://pub.dev" + source: hosted + version: "1.16.0" + mime: + dependency: transitive + description: + name: mime + sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + path: + dependency: transitive + description: + name: path + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + path_provider: + dependency: "direct main" + description: + name: path_provider + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" + url: "https://pub.dev" + source: hosted + version: "2.1.5" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" + url: "https://pub.dev" + source: hosted + version: "2.2.15" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 + url: "https://pub.dev" + source: hosted + version: "2.3.0" + platform: + dependency: transitive + description: + name: platform + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" + url: "https://pub.dev" + source: hosted + version: "3.1.6" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + source_span: + dependency: transitive + description: + name: source_span + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" + url: "https://pub.dev" + source: hosted + version: "1.10.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" + url: "https://pub.dev" + source: hosted + version: "1.12.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" + url: "https://pub.dev" + source: hosted + version: "1.4.1" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" + url: "https://pub.dev" + source: hosted + version: "1.2.2" + test_api: + dependency: transitive + description: + name: test_api + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd + url: "https://pub.dev" + source: hosted + version: "0.7.4" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14" + url: "https://pub.dev" + source: hosted + version: "14.3.1" + web: + dependency: transitive + description: + name: web + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" + url: "https://pub.dev" + source: hosted + version: "1.1.1" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + url: "https://pub.dev" + source: hosted + version: "1.1.0" +sdks: + dart: ">=3.7.0 <4.0.0" + flutter: ">=3.27.0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 05d60fad37..d4923e3773 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,24 +1,27 @@ name: flutter_document_reader_api_example description: Demonstrates how to use the flutter_document_reader_api plugin. publish_to: none +version: 1.0.0 environment: sdk: '>=3.1.5 <4.0.0' flutter: '>=3.10.0' dependencies: - path_provider: ^2.1.2 - image_picker: ^1.0.7 + path_provider: ^2.1.5 + image_picker: ^1.1.2 flutter: sdk: flutter flutter_document_reader_api: path: ../ - flutter_document_reader_core_fullrfid: 7.2.0 - cupertino_icons: ^1.0.6 + flutter_document_reader_core_fullauthrfid: 9.4.2203 + flutter_document_reader_btdevice: 9.4.46 + cupertino_icons: ^1.0.8 dev_dependencies: flutter_test: sdk: flutter + lints: ^5.0.0 flutter: assets: diff --git a/ios/Classes/FlutterDocumentReaderApiPlugin.h b/ios/Classes/FlutterDocumentReaderApiPlugin.h index bc2b046504..a1bd886561 100644 --- a/ios/Classes/FlutterDocumentReaderApiPlugin.h +++ b/ios/Classes/FlutterDocumentReaderApiPlugin.h @@ -1,47 +1,10 @@ -// -// FlutterDocumentReaderApiPlugin.h -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #import -#import -#import "RGLWJSONConstructor.h" -#import "RGLWConfig.h" - -typedef void (^RGLWCallback)(id _Nullable response); -typedef void (^RGLWEventSender)(NSString* _Nonnull event, id _Nullable data); -typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature); - -@interface FlutterDocumentReaderApiPlugin : NSObject - -@property (strong, nonatomic, class) FlutterMethodChannel* _Nullable channel; -@property NSNumber* _Nonnull doRequestPACertificates; -@property NSNumber* _Nonnull doRequestTACertificates; -@property NSNumber* _Nonnull doRequestTASignature; +#import "RGLWMain.h" +@interface FlutterDocumentReaderApiPlugin : NSObject @end - -NSString* _Nonnull RGLWCompletionEvent; -NSString* _Nonnull RGLWDatabaseProgressEvent; -NSString* _Nonnull RGLWRfidOnProgressEvent; -NSString* _Nonnull RGLWRfidOnChipDetectedEvent; -NSString* _Nonnull RGLWRfidOnRetryReadChipEvent; -NSString* _Nonnull RGLWPaCertificateCompletionEvent; -NSString* _Nonnull RGLWTaCertificateCompletionEvent; -NSString* _Nonnull RGLWTaSignatureCompletionEvent; -NSString* _Nonnull RGLWBleOnServiceConnectedEvent; -NSString* _Nonnull RGLWBleOnServiceDisconnectedEvent; -NSString* _Nonnull RGLWBleOnDeviceReadyEvent; -NSString* _Nonnull RGLWVideoEncoderCompletionEvent; -NSString* _Nonnull RGLWOnCustomButtonTappedEvent; +static NSMutableDictionary* _Nonnull eventSinks; @interface RGLWCompletionStreamHandler : NSObject @end @@ -59,14 +22,11 @@ NSString* _Nonnull RGLWOnCustomButtonTappedEvent; @end @interface RGLWTASignatureCompletionStreamHandler : NSObject @end -@interface RGLWBleOnServiceConnectedStreamHandler : NSObject -@end -@interface RGLWBleOnServiceDisconnectedStreamHandler : NSObject +@interface RGLWPACEProtocolCompletionStreamHandler : NSObject @end -@interface RGLWBleOnDeviceReadyStreamHandler : NSObject +@interface RGLWCAProtocolCompletionStreamHandler : NSObject @end @interface RGLWVideoEncoderCompletionStreamHandler : NSObject @end @interface RGLWOnCustomButtonTappedStreamHandler : NSObject @end - diff --git a/ios/Classes/FlutterDocumentReaderApiPlugin.m b/ios/Classes/FlutterDocumentReaderApiPlugin.m index e822a6f4c8..8a2451b622 100644 --- a/ios/Classes/FlutterDocumentReaderApiPlugin.m +++ b/ios/Classes/FlutterDocumentReaderApiPlugin.m @@ -1,35 +1,76 @@ -// -// FlutterDocumentReaderApiPlugin.m -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #import "FlutterDocumentReaderApiPlugin.h" -NSMutableDictionary* RGLWEventSinks; +@implementation FlutterDocumentReaderApiPlugin + +UIViewController*(^RGLWRootViewController)(void) = ^UIViewController*() { + for (UIScene *scene in UIApplication.sharedApplication.connectedScenes) + if ([scene isKindOfClass:[UIWindowScene class]]) { + UIWindowScene *windowScene = (UIWindowScene *)scene; + for (UIWindow *window in windowScene.windows) + if (window.isKeyWindow) + return window.rootViewController; + } + return nil; +}; + ++ (void)registerWithRegistrar:(NSObject*)registrar { + eventSinks = [NSMutableDictionary new]; + void(^setupEventChannel)(NSObject* registrar, NSString*eventId, NSObject*handler) = ^(NSObject* registrar, NSString*eventId, NSObject*handler) { + [[FlutterEventChannel eventChannelWithName:[NSString stringWithFormat:@"%@%@", @"flutter_document_reader_api/event/", eventId] binaryMessenger:[registrar messenger]] setStreamHandler:handler]; + }; + setupEventChannel(registrar, completionEvent, [RGLWCompletionStreamHandler new]); + setupEventChannel(registrar, databaseProgressEvent, [RGLWDatabaseProgressStreamHandler new]); + setupEventChannel(registrar, rfidOnProgressEvent, [RGLWRfidOnProgressEventStreamHandler new]); + setupEventChannel(registrar, rfidOnChipDetectedEvent, [RGLWRfidOnChipDetectedEventStreamHandler new]); + setupEventChannel(registrar, rfidOnRetryReadChipEvent, [RGLWRfidOnRetryReadChipEventStreamHandler new]); + setupEventChannel(registrar, paCertificateCompletionEvent, [RGLWPACertificateCompletionStreamHandler new]); + setupEventChannel(registrar, taCertificateCompletionEvent, [RGLWTACertificateCompletionStreamHandler new]); + setupEventChannel(registrar, taSignatureCompletionEvent, [RGLWTASignatureCompletionStreamHandler new]); + setupEventChannel(registrar, paceProtocolCompletionEvent, [RGLWPACEProtocolCompletionStreamHandler new]); + setupEventChannel(registrar, caProtocolCompletionEvent, [RGLWCAProtocolCompletionStreamHandler new]); + setupEventChannel(registrar, drVideoEncoderCompletionEvent, [RGLWVideoEncoderCompletionStreamHandler new]); + setupEventChannel(registrar, drOnCustomButtonTappedEvent, [RGLWOnCustomButtonTappedStreamHandler new]); + + FlutterMethodChannel* channel = [FlutterMethodChannel methodChannelWithName:@"flutter_document_reader_api/method" binaryMessenger:[registrar messenger]]; + [registrar addMethodCallDelegate:[FlutterDocumentReaderApiPlugin new] channel:channel]; +} + +- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result { + RGLWEventSender sendEvent = ^(NSString* event, id data) { + dispatch_async(dispatch_get_main_queue(), ^{ + if (eventSinks[event] != nil) eventSinks[event]([RGLWJSONConstructor toSendable:data]); + }); + }; + + [RGLWMain methodCall:call.method + :call.arguments + :^(id data) { result([RGLWJSONConstructor toSendable:data]); } + :sendEvent]; +} + +@end + @implementation RGLWCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWCompletionEvent] = eventSink; + eventSinks[completionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWCompletionEvent] = nil; + eventSinks[completionEvent] = nil; return nil; } @end @implementation RGLWDatabaseProgressStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWDatabaseProgressEvent] = eventSink; + eventSinks[databaseProgressEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWDatabaseProgressEvent] = nil; + eventSinks[databaseProgressEvent] = nil; return nil; } @@ -37,817 +78,120 @@ - (FlutterError*)onCancelWithArguments:(id)arguments { @implementation RGLWRfidOnProgressEventStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWRfidOnProgressEvent] = eventSink; + eventSinks[rfidOnProgressEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWRfidOnProgressEvent] = nil; + eventSinks[rfidOnProgressEvent] = nil; return nil; } @end @implementation RGLWRfidOnChipDetectedEventStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWRfidOnChipDetectedEvent] = eventSink; + eventSinks[rfidOnChipDetectedEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWRfidOnChipDetectedEvent] = nil; + eventSinks[rfidOnChipDetectedEvent] = nil; return nil; } @end @implementation RGLWRfidOnRetryReadChipEventStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWRfidOnRetryReadChipEvent] = eventSink; + eventSinks[rfidOnRetryReadChipEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWRfidOnRetryReadChipEvent] = nil; + eventSinks[rfidOnRetryReadChipEvent] = nil; return nil; } @end @implementation RGLWPACertificateCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWPaCertificateCompletionEvent] = eventSink; + eventSinks[paCertificateCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWPaCertificateCompletionEvent] = nil; + eventSinks[paCertificateCompletionEvent] = nil; return nil; } @end @implementation RGLWTACertificateCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWTaCertificateCompletionEvent] = eventSink; + eventSinks[taCertificateCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWTaCertificateCompletionEvent] = nil; + eventSinks[taCertificateCompletionEvent] = nil; return nil; } @end @implementation RGLWTASignatureCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWTaSignatureCompletionEvent] = eventSink; - return nil; -} - -- (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWTaSignatureCompletionEvent] = nil; - return nil; -} -@end - -@implementation RGLWBleOnServiceConnectedStreamHandler -- (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWBleOnServiceConnectedEvent] = eventSink; + eventSinks[taSignatureCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWBleOnServiceConnectedEvent] = nil; + eventSinks[taSignatureCompletionEvent] = nil; return nil; } @end -@implementation RGLWBleOnServiceDisconnectedStreamHandler +@implementation RGLWPACEProtocolCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWBleOnServiceDisconnectedEvent] = eventSink; + eventSinks[paceProtocolCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWBleOnServiceDisconnectedEvent] = nil; + eventSinks[paceProtocolCompletionEvent] = nil; return nil; } @end -@implementation RGLWBleOnDeviceReadyStreamHandler +@implementation RGLWCAProtocolCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWBleOnDeviceReadyEvent] = eventSink; + eventSinks[caProtocolCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWBleOnDeviceReadyEvent] = nil; + eventSinks[caProtocolCompletionEvent] = nil; return nil; } @end @implementation RGLWVideoEncoderCompletionStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWVideoEncoderCompletionEvent] = eventSink; + eventSinks[drVideoEncoderCompletionEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWVideoEncoderCompletionEvent] = nil; + eventSinks[drVideoEncoderCompletionEvent] = nil; return nil; } @end @implementation RGLWOnCustomButtonTappedStreamHandler - (FlutterError*)onListenWithArguments:(id)arguments eventSink:(FlutterEventSink)eventSink { - RGLWEventSinks[RGLWOnCustomButtonTappedEvent] = eventSink; + eventSinks[drOnCustomButtonTappedEvent] = eventSink; return nil; } - (FlutterError*)onCancelWithArguments:(id)arguments { - RGLWEventSinks[RGLWOnCustomButtonTappedEvent] = nil; + eventSinks[drOnCustomButtonTappedEvent] = nil; return nil; } @end - - -@implementation FlutterDocumentReaderApiPlugin - -static FlutterMethodChannel * _channel; -+ (FlutterMethodChannel *)channel { return _channel; } -+ (void)setChannel:(FlutterMethodChannel *)newChannel { _channel = newChannel; } - -RGLWEventSender sendEvent = ^(NSString* event, id _Nullable data) { - dispatch_async(dispatch_get_main_queue(), ^{ - if(RGLWEventSinks[event] != nil) RGLWEventSinks[event](data); - }); -}; - -+ (void)registerWithRegistrar:(NSObject*)registrar { - RGLWEventSinks = [NSMutableDictionary new]; - [self setupEventChannel:registrar :RGLWCompletionEvent :[RGLWCompletionStreamHandler new]]; - [self setupEventChannel:registrar :RGLWDatabaseProgressEvent :[RGLWDatabaseProgressStreamHandler new]]; - [self setupEventChannel:registrar :RGLWRfidOnProgressEvent :[RGLWRfidOnProgressEventStreamHandler new]]; - [self setupEventChannel:registrar :RGLWRfidOnChipDetectedEvent :[RGLWRfidOnChipDetectedEventStreamHandler new]]; - [self setupEventChannel:registrar :RGLWRfidOnRetryReadChipEvent :[RGLWRfidOnRetryReadChipEventStreamHandler new]]; - [self setupEventChannel:registrar :RGLWPaCertificateCompletionEvent :[RGLWPACertificateCompletionStreamHandler new]]; - [self setupEventChannel:registrar :RGLWTaCertificateCompletionEvent :[RGLWTACertificateCompletionStreamHandler new]]; - [self setupEventChannel:registrar :RGLWTaSignatureCompletionEvent :[RGLWTASignatureCompletionStreamHandler new]]; - [self setupEventChannel:registrar :RGLWBleOnServiceConnectedEvent :[RGLWBleOnServiceConnectedStreamHandler new]]; - [self setupEventChannel:registrar :RGLWBleOnServiceDisconnectedEvent :[RGLWBleOnServiceDisconnectedStreamHandler new]]; - [self setupEventChannel:registrar :RGLWBleOnDeviceReadyEvent :[RGLWBleOnDeviceReadyStreamHandler new]]; - [self setupEventChannel:registrar :RGLWVideoEncoderCompletionEvent :[RGLWVideoEncoderCompletionStreamHandler new]]; - [self setupEventChannel:registrar :RGLWOnCustomButtonTappedEvent :[RGLWOnCustomButtonTappedStreamHandler new]]; - FlutterMethodChannel* channel = [FlutterMethodChannel methodChannelWithName:@"flutter_document_reader_api/method" binaryMessenger:[registrar messenger]]; - [FlutterDocumentReaderApiPlugin setChannel:channel]; - FlutterDocumentReaderApiPlugin* instance = [FlutterDocumentReaderApiPlugin new]; - [registrar addMethodCallDelegate:instance channel:channel]; -} - -+ (void)setupEventChannel:(NSObject*)registrar :(NSString*)eventId :(NSObject*)handler { - [[FlutterEventChannel eventChannelWithName:[NSString stringWithFormat:@"%@%@", @"flutter_document_reader_api/event/", eventId] binaryMessenger:[registrar messenger]] setStreamHandler:handler]; -} - -- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result { - NSString* action = call.method; - NSMutableArray* args = call.arguments; - - RGLWCallback successCallback = ^(id _Nullable data){ - result(data); - }; - RGLWCallback errorCallback = ^(NSString* error){ - result([FlutterError errorWithCode:@"error" message:error details:nil]); - }; - - if([action isEqualToString:@"getDocumentReaderIsReady"]) - [self getDocumentReaderIsReady :successCallback :errorCallback]; - else if([action isEqualToString:@"getDocumentReaderStatus"]) - [self getDocumentReaderStatus :successCallback :errorCallback]; - else if([action isEqualToString:@"isAuthenticatorAvailableForUse"]) - [self isAuthenticatorAvailableForUse :successCallback :errorCallback]; - else if([action isEqualToString:@"isBlePermissionsGranted"]) - [self isBlePermissionsGranted :successCallback :errorCallback]; - else if([action isEqualToString:@"getRfidSessionStatus"]) - [self getRfidSessionStatus :successCallback :errorCallback]; - else if([action isEqualToString:@"setRfidSessionStatus"]) - [self setRfidSessionStatus :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getTag"]) - [self getTag :successCallback :errorCallback]; - else if([action isEqualToString:@"setTag"]) - [self setTag :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getFunctionality"]) - [self getFunctionality :successCallback :errorCallback]; - else if([action isEqualToString:@"setFunctionality"]) - [self setFunctionality :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getProcessParams"]) - [self getProcessParams :successCallback :errorCallback]; - else if([action isEqualToString:@"setProcessParams"]) - [self setProcessParams :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getCustomization"]) - [self getCustomization :successCallback :errorCallback]; - else if([action isEqualToString:@"setCustomization"]) - [self setCustomization :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getRfidScenario"]) - [self getRfidScenario :successCallback :errorCallback]; - else if([action isEqualToString:@"setRfidScenario"]) - [self setRfidScenario :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"resetConfiguration"]) - [self resetConfiguration :successCallback :errorCallback]; - else if([action isEqualToString:@"initializeReader"]) - [self initializeReader :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"initializeReaderWithBleDeviceConfig"]) - [self initializeReaderWithBleDeviceConfig :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"deinitializeReader"]) - [self deinitializeReader :successCallback :errorCallback]; - else if([action isEqualToString:@"prepareDatabase"]) - [self prepareDatabase :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"removeDatabase"]) - [self removeDatabase :successCallback :errorCallback]; - else if([action isEqualToString:@"runAutoUpdate"]) - [self runAutoUpdate :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"cancelDBUpdate"]) - [self cancelDBUpdate :successCallback :errorCallback]; - else if([action isEqualToString:@"checkDatabaseUpdate"]) - [self checkDatabaseUpdate :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"scan"]) - [self scan :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"recognize"]) - [self recognize :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"startNewPage"]) - [self startNewPage :successCallback :errorCallback]; - else if([action isEqualToString:@"stopScanner"]) - [self stopScanner :successCallback :errorCallback]; - else if([action isEqualToString:@"startRFIDReader"]) - [self startRFIDReader :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"readRFID"]) - [self readRFID :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"stopRFIDReader"]) - [self stopRFIDReader :successCallback :errorCallback]; - else if([action isEqualToString:@"providePACertificates"]) - [self providePACertificates :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"provideTACertificates"]) - [self provideTACertificates :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"provideTASignature"]) - [self provideTASignature :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"setTCCParams"]) - [self setTCCParams :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"addPKDCertificates"]) - [self addPKDCertificates :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"clearPKDCertificates"]) - [self clearPKDCertificates :successCallback :errorCallback]; - else if([action isEqualToString:@"startNewSession"]) - [self startNewSession :successCallback :errorCallback]; - else if([action isEqualToString:@"startBluetoothService"]) - [self startBluetoothService :successCallback :errorCallback]; - else if([action isEqualToString:@"setLocalizationDictionary"]) - [self setLocalizationDictionary :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"getLicense"]) - [self getLicense :successCallback :errorCallback]; - else if([action isEqualToString:@"getAvailableScenarios"]) - [self getAvailableScenarios :successCallback :errorCallback]; - else if([action isEqualToString:@"getIsRFIDAvailableForUse"]) - [self getIsRFIDAvailableForUse :successCallback :errorCallback]; - else if([action isEqualToString:@"getDocReaderVersion"]) - [self getDocReaderVersion :successCallback :errorCallback]; - else if([action isEqualToString:@"getDocReaderDocumentsDatabase"]) - [self getDocReaderDocumentsDatabase :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByType"]) - [self textFieldValueByType :[args objectAtIndex:0] :[args objectAtIndex:1] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByTypeLcid"]) - [self textFieldValueByTypeLcid :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByTypeSource"]) - [self textFieldValueByTypeSource :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByTypeLcidSource"]) - [self textFieldValueByTypeLcidSource :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByTypeSourceOriginal"]) - [self textFieldValueByTypeSourceOriginal :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldValueByTypeLcidSourceOriginal"]) - [self textFieldValueByTypeLcidSourceOriginal :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :[args objectAtIndex:4] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldByType"]) - [self textFieldByType :[args objectAtIndex:0] :[args objectAtIndex:1] :successCallback :errorCallback]; - else if([action isEqualToString:@"textFieldByTypeLcid"]) - [self textFieldByTypeLcid :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldByTypeSource"]) - [self graphicFieldByTypeSource :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldByTypeSourcePageIndex"]) - [self graphicFieldByTypeSourcePageIndex :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldByTypeSourcePageIndexLight"]) - [self graphicFieldByTypeSourcePageIndexLight :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :[args objectAtIndex:4] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldImageByType"]) - [self graphicFieldImageByType :[args objectAtIndex:0] :[args objectAtIndex:1] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldImageByTypeSource"]) - [self graphicFieldImageByTypeSource :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldImageByTypeSourcePageIndex"]) - [self graphicFieldImageByTypeSourcePageIndex :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :successCallback :errorCallback]; - else if([action isEqualToString:@"graphicFieldImageByTypeSourcePageIndexLight"]) - [self graphicFieldImageByTypeSourcePageIndexLight :[args objectAtIndex:0] :[args objectAtIndex:1] :[args objectAtIndex:2] :[args objectAtIndex:3] :[args objectAtIndex:4] :successCallback :errorCallback]; - else if([action isEqualToString:@"containers"]) - [self containers :[args objectAtIndex:0] :[args objectAtIndex:1] :successCallback :errorCallback]; - else if([action isEqualToString:@"encryptedContainers"]) - [self encryptedContainers :[args objectAtIndex:0] :successCallback :errorCallback]; - else if([action isEqualToString:@"finalizePackage"]) - [self finalizePackage :successCallback :errorCallback]; - else if([action isEqualToString:@"getTranslation"]) - [self getTranslation :[args objectAtIndex:0] :[args objectAtIndex:1] :successCallback :errorCallback]; - else - errorCallback([NSString stringWithFormat:@"%@/%@", @"method not implemented: ", action]); -} - -NSString* RGLWCompletionEvent = @"completion"; -NSString* RGLWDatabaseProgressEvent = @"database_progress"; - -NSString* RGLWRfidOnProgressEvent = @"rfidOnProgressCompletion"; -NSString* RGLWRfidOnChipDetectedEvent = @"rfidOnChipDetectedEvent"; -NSString* RGLWRfidOnRetryReadChipEvent = @"rfidOnRetryReadChipEvent"; - -NSString* RGLWPaCertificateCompletionEvent = @"pa_certificate_completion"; -NSString* RGLWTaCertificateCompletionEvent = @"ta_certificate_completion"; -NSString* RGLWTaSignatureCompletionEvent = @"ta_signature_completion"; - -NSString* RGLWBleOnServiceConnectedEvent = @"bleOnServiceConnectedEvent"; -NSString* RGLWBleOnServiceDisconnectedEvent = @"bleOnServiceDisconnectedEvent"; -NSString* RGLWBleOnDeviceReadyEvent = @"bleOnDeviceReadyEvent"; - -NSString* RGLWVideoEncoderCompletionEvent = @"video_encoder_completion"; -NSString* RGLWOnCustomButtonTappedEvent = @"onCustomButtonTappedEvent"; - -- (void) getDocumentReaderIsReady:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLDocReader.shared isDocumentReaderIsReady] ? @YES : @NO); -} - -- (void) getDocumentReaderStatus:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback(RGLDocReader.shared.documentReaderStatus); -} - -- (void) isAuthenticatorAvailableForUse:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback(RGLDocReader.shared.isAuthenticatorAvailableForUse ? @YES : @NO); -} - -- (void) isBlePermissionsGranted:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - errorCallback(@"isBlePermissionsGranted() is an android-only method"); -} - -- (void) getRfidSessionStatus:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback(RGLDocReader.shared.rfidSessionStatus); -} - -- (void) setRfidSessionStatus:(NSString*)status :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocReader.shared.rfidSessionStatus = status; -} - -- (void) getTag:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLDocReader.shared tag]); -} - -- (void) setTag:(NSString*)tag :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared setTag:tag]; -} - -- (void) getFunctionality:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLWJSONConstructor dictToString: [RGLWConfig getFunctionality: RGLDocReader.shared.functionality]]); -} - -- (void) setFunctionality:(NSDictionary*)functionality :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLWConfig setFunctionality:functionality :RGLDocReader.shared.functionality]; - successCallback(@""); -} - -- (void) getProcessParams:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLWJSONConstructor dictToString: [RGLWConfig getProcessParams:RGLDocReader.shared.processParams]]); -} - -- (void) setProcessParams:(NSDictionary*)processParams :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLWConfig setProcessParams:processParams :RGLDocReader.shared.processParams]; - successCallback(@""); -} - -- (void) getCustomization:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLWJSONConstructor dictToString: [RGLWConfig getCustomization :RGLDocReader.shared.customization]]); -} - -- (void) setCustomization:(NSDictionary*)customization :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLWConfig setCustomization:customization :RGLDocReader.shared.customization]; - successCallback(@""); -} - -- (void) getRfidScenario:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback([RGLWJSONConstructor dictToString: [RGLWConfig getRfidScenario:RGLDocReader.shared.rfidScenario]]); -} - -- (void) setRfidScenario:(NSDictionary*)rfidScenario :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLWConfig setRfidScenario:rfidScenario :RGLDocReader.shared.rfidScenario]; -} - -- (void) resetConfiguration:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocReader.shared.functionality = [RGLFunctionality new]; - RGLDocReader.shared.processParams = [RGLProcessParams new]; - RGLDocReader.shared.customization = [RGLCustomization new]; - RGLDocReader.shared.rfidScenario = [RGLRFIDScenario new]; -} - -- (void) initializeReader:(NSDictionary*)config :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared initializeReaderWithConfig:[RGLWJSONConstructor configFromJson:config] completion:[self getInitCompletion :successCallback :errorCallback]]; -} - -- (void) initializeReaderWithBleDeviceConfig:(NSDictionary*)config :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - errorCallback(@"initializeReaderWithBleDeviceConfig() is an android-only method"); -} - -- (void) deinitializeReader:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared deinitializeReader]; - successCallback(@""); -} - -- (void) prepareDatabase:(NSString*)databaseID :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared prepareDatabase:databaseID progressHandler:nil completion:[self getPrepareCompletion :successCallback :errorCallback]]; -} - -- (void) removeDatabase:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared removeDatabase:^(BOOL success, NSError * _Nullable error) { - successCallback(success ? @YES : @NO); - }]; -} - --(void) runAutoUpdate:(NSString*)databaseID :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared runAutoUpdate:databaseID progressHandler:nil completion:[self getPrepareCompletion :successCallback :errorCallback]]; -} - -- (void) cancelDBUpdate:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared cancelDBUpdate]; - successCallback(@""); -} - -- (void) checkDatabaseUpdate:(NSString*)databaseID :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared checkDatabaseUpdate:databaseID completion:^(RGLDocReaderDocumentsDatabase* database) { - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocReaderDocumentsDatabase:database]]); - }]; -} - -- (void) scan:(NSDictionary*)config :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - dispatch_async(dispatch_get_main_queue(), ^{ - #pragma clang diagnostic ignored "-Wdeprecated-declarations" - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES]; - #pragma clang diagnostic pop - UIViewController *currentViewController = [[[UIApplication sharedApplication] keyWindow] rootViewController]; - [RGLDocReader.shared showScannerFromPresenter:currentViewController config:[RGLWJSONConstructor scannerConfigFromJson:config] completion:[self getCompletion]]; - }); -} - -- (void) recognize:(NSDictionary*)config :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - dispatch_async(dispatch_get_main_queue(), ^{ - UIViewController *currentViewController = [[[UIApplication sharedApplication] keyWindow] rootViewController]; - [RGLDocReader.shared recognizeImageFromPresenter:currentViewController config:[RGLWJSONConstructor recognizeConfigFromJson:config] completion:[self getCompletion]]; - }); -} - -- (void) startNewPage:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared startNewPage]; - successCallback(@""); -} - -- (void) stopScanner:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - dispatch_async(dispatch_get_main_queue(), ^{ - [RGLDocReader.shared stopScanner:^(){ - successCallback(@""); - }]; - }); -} - -- (void) startRFIDReader:(NSNumber*)paCert :(NSNumber*)taCert :(NSNumber*)taSig :(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - self.doRequestPACertificates = paCert; - self.doRequestTACertificates = taCert; - self.doRequestTASignature = taSig; - dispatch_async(dispatch_get_main_queue(), ^{ - [RGLDocReader.shared startRFIDReaderFromPresenter:UIApplication.sharedApplication.keyWindow.rootViewController completion:[self getCompletion]]; - }); -} - -- (void) readRFID:(NSNumber*)paCert :(NSNumber*)taCert :(NSNumber*)taSig :(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - self.doRequestPACertificates = paCert; - self.doRequestTACertificates = taCert; - self.doRequestTASignature = taSig; - [RGLDocReader.shared readRFID:^(RGLRFIDNotificationAction notificationAction, RGLRFIDNotify* _Nullable notification) { - if(notification != nil) sendEvent(RGLWRfidOnProgressEvent, [RGLWJSONConstructor generateDocumentReaderNotification:notification]); - } completion:^(RGLRFIDCompleteAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error, RGLRFIDErrorCodes errorCode) { - sendEvent(RGLWCompletionEvent, [RGLWJSONConstructor generateCompletion:[RGLWConfig generateRFIDCompleteAction: action] :results :error]); - }]; -} - -- (void) stopRFIDReader:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared stopRFIDReader:^(){successCallback(@"");}]; -} - -- (void) providePACertificates:(NSArray*)certificates :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - if(paCertificateCompletion == nil) { - errorCallback(@"paCertificateCompletion is nil"); - return; - } - NSMutableArray *certificatesMutable = [NSMutableArray new]; - for(NSDictionary* certificateJSON in certificates) - [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; - paCertificateCompletion(certificatesMutable); - successCallback(@""); -} - -- (void) provideTACertificates:(NSArray*)certificates :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - if(taCertificateCompletion == nil) { - errorCallback(@"taCertificateCompletion is nil"); - return; - } - NSMutableArray *certificatesMutable = [NSMutableArray new]; - for(NSDictionary* certificateJSON in certificates) - [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; - taCertificateCompletion(certificatesMutable); - successCallback(@""); -} - -- (void) provideTASignature:(NSString*)signature :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - if(taSignatureCompletion == nil) { - errorCallback(@"taSignatureCompletion is nil"); - return; - } - taSignatureCompletion([RGLWJSONConstructor base64Decode:signature]); - successCallback(@""); -} - -- (void) setTCCParams:(NSDictionary*)params :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared setTCCParams:[RGLWJSONConstructor tccParamsFromJson:params] completion:^(BOOL success, NSError * _Nullable error) { - successCallback([RGLWJSONConstructor generateSuccessCompletion:success :error]); - }]; -} - -- (void) addPKDCertificates:(NSArray*)certificates :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - NSMutableArray *certificatesMutable = [NSMutableArray new]; - for(NSDictionary* certificateJSON in certificates) - [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; - [RGLDocReader.shared addPKDCertificates:certificatesMutable]; - successCallback(@""); -} - -- (void) clearPKDCertificates:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared clearPKDCertificates]; - successCallback(@""); -} - -- (void) startNewSession:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared startNewSession]; - successCallback(@""); -} - -- (void) startBluetoothService:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - errorCallback(@"startBluetoothService() is an android-only method"); -} - -- (void) setLocalizationDictionary:(NSDictionary*)dictionary :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocReader.shared.localizationHandler = ^NSString * _Nullable(NSString * _Nonnull localizationKey) { - if(dictionary != nil && ![dictionary isEqual:[NSNull null]] && [dictionary valueForKey:localizationKey] != nil) - return [dictionary valueForKey:localizationKey]; - return nil; - }; - successCallback(@""); -} - -- (void) getLicense:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - successCallback([RGLWJSONConstructor generateLicense:RGLDocReader.shared.license]); -} - -- (void) getAvailableScenarios:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - NSMutableArray *availableScenarios = [NSMutableArray new]; - for(RGLScenario *scenario in RGLDocReader.shared.availableScenarios) - [availableScenarios addObject:[RGLWJSONConstructor generateScenario:scenario]]; - successCallback([RGLWJSONConstructor arrayToString:availableScenarios]); -} - -- (void) getIsRFIDAvailableForUse:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - successCallback(RGLDocReader.shared.isRFIDAvailableForUse ? @YES : @NO); -} - -- (void) getDocReaderVersion:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - successCallback([RGLWJSONConstructor generateDocReaderVersion:RGLDocReader.shared.version]); -} - -- (void) getDocReaderDocumentsDatabase:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - if(RGLDocReader.shared.version != nil) - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocReaderDocumentsDatabase:RGLDocReader.shared.version.database]]); - else - successCallback(nil); -} - -- (void) textFieldValueByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue]]); -} - -- (void) textFieldValueByTypeLcid:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue]]); -} - -- (void) textFieldValueByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue] source:[source integerValue]]); -} - -- (void) textFieldValueByTypeLcidSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(NSNumber*)source :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue] source:[source integerValue]]); -} - -- (void) textFieldValueByTypeSourceOriginal:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(BOOL)original :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue] source:[source integerValue] original:original]); -} - -- (void) textFieldValueByTypeLcidSourceOriginal:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(NSNumber*)source :(BOOL)original :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue] source:[source integerValue] original:original]); -} - -- (void) textFieldByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - RGLDocumentReaderTextField* result = [results getTextFieldByType:[fieldType integerValue]]; - if(result == nil) - successCallback(nil); - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderTextField:result]]); -} - -- (void) textFieldByTypeLcid:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - RGLDocumentReaderTextField* result = [results getTextFieldByType:[fieldType integerValue] lcid:[lcid integerValue]]; - if(result == nil) - successCallback(nil); - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderTextField:result]]); -} - -- (void) graphicFieldByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue]]; - if(result == nil) - successCallback(nil); - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); -} - -- (void) graphicFieldByTypeSourcePageIndex:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue]]; - if(result == nil) - successCallback(nil); - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); -} - -- (void) graphicFieldByTypeSourcePageIndexLight:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(NSNumber*)light :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue] light:[light integerValue]]; - if(result == nil) - successCallback(nil); - successCallback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); -} - -- (void) graphicFieldImageByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue]]]); -} - -- (void) graphicFieldImageByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue]]]); -} - -- (void) graphicFieldImageByTypeSourcePageIndex:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue]]]); -} - -- (void) graphicFieldImageByTypeSourcePageIndexLight:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(NSNumber*)light :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue] light:[light integerValue]]]); -} - -- (void) containers:(NSString*)rawResult :(NSArray*)resultType :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getContainersByResultTypes:resultType]); -} - -- (void) encryptedContainers:(NSString*)rawResult :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; - successCallback([results getEncryptedContainers]); -} - -- (void) finalizePackage:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - [RGLDocReader.shared finalizePackageWithCompletion:^(RGLDocReaderAction action, RGLTransactionInfo* info, NSError* error){ - successCallback([RGLWJSONConstructor generateFinalizePackageCompletion:[RGLWConfig generateDocReaderAction: action] :info :error]); - }]; -} - -- (void) getTranslation:(NSString*)className :(NSNumber*)value :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{ - if([className isEqualToString:@"RFIDErrorCodes"]) - successCallback(RGLRFIDErrorCodesGetStringValue([value intValue])); - else if([className isEqualToString:@"LDSParsingErrorCodes"]) - successCallback(eLDS_ParsingErrorCodesGetStringValue([value intValue])); - else if([className isEqualToString:@"LDSParsingNotificationCodes"]) - successCallback(eLDS_ParsingNotificationCodesGetStringValue([value intValue])); - else if([className isEqualToString:@"ImageQualityCheckType"]) - successCallback(RGLImageQualityCheckTypeGetStringValue([RGLWConfig imageQualityCheckTypeWithNumber:value])); - else if([className isEqualToString:@"RFIDDataFileType"]) - successCallback(RGLRFIDDataFileTypeGetStringValue([value intValue])); - else if([className isEqualToString:@"VisualFieldType"]) - successCallback(RGLFieldTypeGetStringValue([value intValue])); - else if([className isEqualToString:@"LCID"]) - successCallback([RGLDocumentReaderTextField lcidName:[value intValue]]); -} - --(RGLDocumentReaderCompletion _Nonnull)getCompletion { - return ^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { - sendEvent(RGLWCompletionEvent, [RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); - }; -} - --(RGLDocumentReaderPrepareCompletion _Nonnull)getPrepareCompletion:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - RGLDocReader.shared.databaseFetchDelegate = self; - return ^(BOOL success, NSError * _Nullable error) { - successCallback([RGLWJSONConstructor generateSuccessCompletion:success :error]); - }; -} - --(RGLDocumentReaderInitializationCompletion)getInitCompletion:(RGLWCallback)successCallback :(RGLWCallback)errorCallback { - return ^(BOOL success, NSError * _Nullable error ) { - if (success) { - RGLDocReader.shared.rfidDelegate = self; - RGLDocReader.shared.functionality.recordScanningProcessDelegate = self; - RGLDocReader.shared.customization.actionDelegate = self; - } - successCallback([RGLWJSONConstructor generateSuccessCompletion:success :error]); - }; -} - -// RGLDocReaderDatabaseFetchDelegate -- (void)onProgressChanged:(NSNumber *)downloadedBytes totalBytes:(NSNumber *)totalBytes { - int progress = 0; - if (downloadedBytes > 0 && totalBytes > 0) { - double percent = [downloadedBytes doubleValue] / [totalBytes doubleValue]; - progress = (int) (percent * 100); - } - NSDictionary* result = @{ - @"downloadedBytes":downloadedBytes, - @"totalBytes":totalBytes, - @"progress":@(progress) - }; - sendEvent(RGLWDatabaseProgressEvent, [RGLWJSONConstructor dictToString: result]); -} - -// RGLCustomizationActionDelegate -- (void)onCustomButtonTappedWithTag:(NSInteger)tag { - sendEvent(RGLWOnCustomButtonTappedEvent, @(tag)); -} - -// RGLRecordScanningProcessDelegate -- (void)didFinishRecordingToFile:(NSURL *)fileURL { - sendEvent(RGLWVideoEncoderCompletionEvent, fileURL.absoluteString); -} - -- (void)didFailWithError:(NSError *)error { - // ignore error to match android -} - -RGLRFIDCertificatesCallback paCertificateCompletion; -RGLRFIDCertificatesCallback taCertificateCompletion; -RGLWRFIDSignatureCallback taSignatureCompletion; - -- (void)onRequestPACertificatesWithSerial:(NSData *)serialNumber issuer:(RGLPAResourcesIssuer *)issuer callback:(RGLRFIDCertificatesCallback)callback { - if([self.doRequestPACertificates boolValue]) { - paCertificateCompletion = callback; - sendEvent(RGLWPaCertificateCompletionEvent, [RGLWJSONConstructor generatePACertificateCompletion:serialNumber :issuer]); - } else { - paCertificateCompletion = nil; - callback(nil); - } -} - -- (void)onRequestTACertificatesWithKey:(NSString *)keyCAR callback:(RGLRFIDCertificatesCallback)callback { - if([self.doRequestTACertificates boolValue]) { - taCertificateCompletion = callback; - sendEvent(RGLWTaCertificateCompletionEvent, keyCAR); - } else { - taCertificateCompletion = nil; - callback(nil); - } -} - -- (void)onRequestTASignatureWithChallenge:(RGLTAChallenge *)challenge callback:(void(^)(NSData *signature))callback { - if([self.doRequestTASignature boolValue]) { - taSignatureCompletion = callback; - sendEvent(RGLWTaSignatureCompletionEvent, [RGLWJSONConstructor dictToString: [RGLWJSONConstructor generateTAChallenge:challenge]]); - } else { - taSignatureCompletion = nil; - callback(nil); - } -} - -- (void)didChipConnected { - sendEvent(RGLWRfidOnChipDetectedEvent, @""); -} - -- (void)didReceivedError:(RGLRFIDErrorCodes)errorCode { - NSMutableDictionary *result = [NSMutableDictionary new]; - result[@"code"] = [NSNumber numberWithInteger:errorCode]; - sendEvent(RGLWRfidOnRetryReadChipEvent, [RGLWJSONConstructor dictToString:result]); -} - -@end diff --git a/ios/Classes/RGLWConfig.h b/ios/Classes/RGLWConfig.h index 35c0934771..63e07c97d3 100644 --- a/ios/Classes/RGLWConfig.h +++ b/ios/Classes/RGLWConfig.h @@ -1,11 +1,3 @@ -// -// RGLWConfig.h -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #ifndef RGLWConfig_h #define RGLWConfig_h @@ -23,6 +15,7 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization; +(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario; +(void)setDataGroups:(RGLDataGroup*)dataGroup dict:(NSDictionary*)dict; ++(void)setDTCDataGroup:(RGLDTCDataGroup*)dataGroup dict:(NSDictionary*)dict; +(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input; +(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input; +(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input; @@ -32,6 +25,7 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization; +(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario; +(NSDictionary*)getDataGroups:(RGLDataGroup*)dataGroup; ++(NSDictionary*)getDTCDataGroup:(RGLDTCDataGroup*)dataGroup; +(NSDictionary*)getImageQA:(RGLImageQA*)input; +(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input; +(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input; diff --git a/ios/Classes/RGLWConfig.m b/ios/Classes/RGLWConfig.m index 8b48d51cdf..9fbc4fe3ce 100644 --- a/ios/Classes/RGLWConfig.m +++ b/ios/Classes/RGLWConfig.m @@ -1,11 +1,3 @@ -// -// RGLWConfig.m -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #import #import "RGLWConfig.h" @@ -41,6 +33,9 @@ +(void)setFunctionality:(NSDictionary*)options :(RGLFunctionality*)functionality functionality.manualMultipageMode = [[options valueForKey:@"manualMultipageMode"] boolValue]; if([options valueForKey:@"singleResult"] != nil) functionality.singleResult = [[options valueForKey:@"singleResult"] boolValue]; + if(options[@"torchTurnedOn"]) functionality.torchTurnedOn = [options[@"torchTurnedOn"] boolValue]; + if(options[@"preventScreenRecording"]) functionality.preventScreenRecording = [options[@"preventScreenRecording"] boolValue]; + if(options[@"homeIndicatorAutoHide"]) functionality.homeIndicatorAutoHide = [options[@"homeIndicatorAutoHide"] boolValue]; // Int if([options valueForKey:@"showCaptureButtonDelayFromDetect"] != nil) @@ -67,10 +62,7 @@ +(void)setFunctionality:(NSDictionary*)options :(RGLFunctionality*)functionality // Float if([options valueForKey:@"zoomFactor"] != nil) functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue]; - - // JSONObject - if([options valueForKey:@"onlineProcessingConfiguration"] != nil) - functionality.onlineProcessingConfig = [RGLWJSONConstructor onlineProcessingConfigFromJson:[options valueForKey:@"onlineProcessingConfiguration"]]; + if(options[@"mdlTimeout"]) functionality.mDLTimeout = [options[@"mdlTimeout"] doubleValue]; // Custom // in android - cameraSize @@ -98,6 +90,9 @@ +(NSDictionary*)getFunctionality:(RGLFunctionality*)functionality { result[@"recordScanningProcess"] = [NSNumber numberWithBool:functionality.recordScanningProcess]; result[@"manualMultipageMode"] = [NSNumber numberWithBool:functionality.manualMultipageMode]; result[@"singleResult"] = [NSNumber numberWithBool:functionality.singleResult]; + result[@"torchTurnedOn"] = @(functionality.torchTurnedOn); + result[@"preventScreenRecording"] = @(functionality.preventScreenRecording); + result[@"homeIndicatorAutoHide"] = @(functionality.homeIndicatorAutoHide); // Int result[@"showCaptureButtonDelayFromDetect"] = [NSNumber numberWithDouble:functionality.showCaptureButtonDelayFromDetect]; @@ -115,9 +110,7 @@ +(NSDictionary*)getFunctionality:(RGLFunctionality*)functionality { // Float result[@"zoomFactor"] = [NSNumber numberWithFloat:functionality.zoomFactor]; - - // JSONObject - result[@"onlineProcessingConfiguration"] = [RGLWJSONConstructor generateOnlineProcessingConfig:functionality.onlineProcessingConfig]; + result[@"mdlTimeout"] = @(functionality.mDLTimeout); // Custom // in android - cameraSize @@ -170,8 +163,6 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.noGraphics = [options valueForKey:@"noGraphics"]; if([options valueForKey:@"multiDocOnImage"] != nil) processParams.multiDocOnImage = [options valueForKey:@"multiDocOnImage"]; - if([options valueForKey:@"forceReadMrzBeforeLocate"] != nil) - processParams.forceReadMrzBeforeLocate = [options valueForKey:@"forceReadMrzBeforeLocate"]; if([options valueForKey:@"parseBarcodes"] != nil) processParams.parseBarcodes = [options valueForKey:@"parseBarcodes"]; if([options valueForKey:@"shouldReturnPackageForReprocess"] != nil) @@ -180,6 +171,7 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.disablePerforationOCR = [options valueForKey:@"disablePerforationOCR"]; if([options valueForKey:@"respectImageQuality"] != nil) processParams.respectImageQuality = [options valueForKey:@"respectImageQuality"]; + if (options[@"strictImageQuality"]) processParams.strictImageQuality = options[@"strictImageQuality"]; if([options valueForKey:@"splitNames"] != nil) processParams.splitNames = [options valueForKey:@"splitNames"]; if([options valueForKey:@"doDetectCan"] != nil) @@ -190,7 +182,21 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.useAuthenticityCheck = [options valueForKey:@"useAuthenticityCheck"]; if([options valueForKey:@"checkHologram"] != nil) processParams.checkHologram = [options valueForKey:@"checkHologram"]; - + if (options[@"generateNumericCodes"]) processParams.generateNumericCodes = options[@"generateNumericCodes"]; + if (options[@"strictBarcodeDigitalSignatureCheck"]) processParams.strictBarcodeDigitalSignatureCheck = options[@"strictBarcodeDigitalSignatureCheck"]; + if (options[@"selectLongestNames"]) processParams.selectLongestNames = options[@"selectLongestNames"]; + if (options[@"generateDTCVC"]) processParams.generateDTCVC = options[@"generateDTCVC"]; + if (options[@"strictDLCategoryExpiry"]) processParams.strictDLCategoryExpiry = options[@"strictDLCategoryExpiry"]; + if (options[@"generateAlpha2Codes"]) processParams.generateAlpha2Codes = options[@"generateAlpha2Codes"]; + if (options[@"disableAuthResolutionFilter"]) processParams.disableAuthResolutionFilter = options[@"disableAuthResolutionFilter"]; + if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"]; + if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"]; + if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"]; + if (options[@"strictExpiryDate"]) processParams.strictExpiryDate = options[@"strictExpiryDate"]; + if (options[@"debugSaveBinarySession"]) processParams.debugSaveBinarySession = options[@"debugSaveBinarySession"]; + if (options[@"checkVDS"]) processParams.checkVDS = options[@"checkVDS"]; + if (options[@"strictAgeCheck"]) processParams.strictAgeCheck = options[@"strictAgeCheck"]; + // Int if([options valueForKey:@"measureSystem"] != nil) processParams.measureSystem = [[options valueForKey:@"measureSystem"] integerValue]; @@ -218,7 +224,10 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.processAuth = [options valueForKey:@"processAuth"]; if([options valueForKey:@"convertCase"] != nil) processParams.convertCase = [self textProcessingWithNumber:[options valueForKey:@"convertCase"]]; - + if(options[@"logLevel"]) processParams.logLevel = options[@"logLevel"]; + if(options[@"mrzDetectMode"]) processParams.mrzDetectMode = options[@"mrzDetectMode"]; + if(options[@"pdfPagesLimit"]) processParams.pdfPagesLimit = options[@"pdfPagesLimit"]; + // String if([options valueForKey:@"dateFormat"] != nil) processParams.dateFormat = [options valueForKey:@"dateFormat"]; @@ -226,7 +235,7 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.scenario = [options valueForKey:@"scenario"]; if([options valueForKey:@"captureButtonScenario"] != nil) processParams.captureButtonScenario = [options valueForKey:@"captureButtonScenario"]; - + // Double if([options valueForKey:@"timeout"] != nil) processParams.timeout = [options valueForKey:@"timeout"]; @@ -236,7 +245,9 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.timeoutFromFirstDocType = [options valueForKey:@"timeoutFromFirstDocType"]; if([options valueForKey:@"documentAreaMin"] != nil) processParams.documentAreaMin = [options valueForKey:@"documentAreaMin"]; - + if([options valueForKey:@"timeoutLiveness"] != nil) + processParams.timeoutLiveness = [options valueForKey:@"timeoutLiveness"]; + // JSONArray if([options valueForKey:@"documentIDList"] != nil) processParams.documentIDList = [options valueForKey:@"documentIDList"]; @@ -252,31 +263,29 @@ +(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams processParams.documentGroupFilter = [options mutableArrayValueForKey:@"documentGroupFilter"]; if([options valueForKey:@"lcidIgnoreFilter"] != nil) processParams.lcidIgnoreFilter = [options mutableArrayValueForKey:@"lcidIgnoreFilter"]; - if([options valueForKey:@"lcidFilter"] != nil) - processParams.lcidFilter = [options mutableArrayValueForKey:@"lcidFilter"]; - + if (options[@"lcidFilter"]) processParams.lcidFilter = options[@"lcidFilter"]; + if (options[@"fieldTypesIgnoreFilter"]) processParams.fieldTypesIgnoreFilter = options[@"fieldTypesIgnoreFilter"]; + // JSONObject - if([options valueForKey:@"imageQA"] != nil) + if (options[@"customParams"]) processParams.customParams = options[@"customParams"]; + if ([options valueForKey:@"imageQA"] != nil) [self setImageQA:processParams.imageQA input:[options valueForKey:@"imageQA"]]; - if([options valueForKey:@"rfidParams"] != nil) - processParams.rfidParams = [RGLWJSONConstructor rfidParamsFromJson:[options valueForKey:@"rfidParams"]]; - if([options valueForKey:@"faceApiParams"] != nil) - processParams.faceApiParams = [RGLWJSONConstructor faceAPIParamsFromJson:[options valueForKey:@"faceApiParams"]]; - if([options valueForKey:@"backendProcessingConfig"] != nil) - processParams.backendProcessingConfig = [RGLWJSONConstructor backendProcessingConfigFromJson:[options valueForKey:@"backendProcessingConfig"]]; - if([options valueForKey:@"authenticityParams"] != nil) { + if ([options valueForKey:@"authenticityParams"] != nil) { if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams]; [self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]]; } - - // Custom - if([options valueForKey:@"customParams"] != nil) - processParams.customParams = [options valueForKey:@"customParams"]; + if ([options valueForKey:@"rfidParams"] != nil) + processParams.rfidParams = [RGLWJSONConstructor rfidParamsFromJson:[options valueForKey:@"rfidParams"]]; + if ([options valueForKey:@"faceApiParams"] != nil) + processParams.faceApiParams = [RGLWJSONConstructor faceAPIParamsFromJson:[options valueForKey:@"faceApiParams"]]; + if ([options valueForKey:@"backendProcessingConfig"] != nil) + processParams.backendProcessingConfig = [RGLWJSONConstructor backendProcessingConfigFromJson:[options valueForKey:@"backendProcessingConfig"]]; + if (options[@"bsiTr03135"]) processParams.bsiTr03135 = [RGLWJSONConstructor bsiFromJson:options[@"bsiTr03135"]]; } +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams { NSMutableDictionary *result = [NSMutableDictionary new]; - + // Boolean result[@"multipageProcessing"] = processParams.multipageProcessing; result[@"logs"] = processParams.logs; @@ -298,16 +307,30 @@ +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams { result[@"updateOCRValidityByGlare"] = processParams.updateOCRValidityByGlare; result[@"noGraphics"] = processParams.noGraphics; result[@"multiDocOnImage"] = processParams.multiDocOnImage; - result[@"forceReadMrzBeforeLocate"] = processParams.forceReadMrzBeforeLocate; result[@"parseBarcodes"] = processParams.parseBarcodes; result[@"shouldReturnPackageForReprocess"] = processParams.shouldReturnPackageForReprocess; result[@"disablePerforationOCR"] = processParams.disablePerforationOCR; result[@"respectImageQuality"] = processParams.respectImageQuality; + result[@"strictImageQuality"] = processParams.strictImageQuality; result[@"splitNames"] = processParams.splitNames; result[@"doDetectCan"] = processParams.doDetectCan; result[@"useFaceApi"] = processParams.useFaceApi; result[@"useAuthenticityCheck"] = processParams.useAuthenticityCheck; result[@"checkHologram"] = processParams.checkHologram; + result[@"generateNumericCodes"] = processParams.generateNumericCodes; + result[@"strictBarcodeDigitalSignatureCheck"] = processParams.strictBarcodeDigitalSignatureCheck; + result[@"selectLongestNames"] = processParams.selectLongestNames; + result[@"generateDTCVC"] = processParams.generateDTCVC; + result[@"strictDLCategoryExpiry"] = processParams.strictDLCategoryExpiry; + result[@"generateAlpha2Codes"] = processParams.generateAlpha2Codes; + result[@"disableAuthResolutionFilter"] = processParams.disableAuthResolutionFilter; + result[@"strictSecurityChecks"] = processParams.strictSecurityChecks; + result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields; + result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity; + result[@"strictExpiryDate"] = processParams.strictExpiryDate; + result[@"debugSaveBinarySession"] = processParams.debugSaveBinarySession; + result[@"checkVDS"] = processParams.checkVDS; + result[@"strictAgeCheck"] = processParams.strictAgeCheck; // Int result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem]; @@ -323,18 +346,21 @@ +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams { result[@"imageOutputMaxWidth"] = processParams.imageOutputMaxWidth; result[@"processAuth"] = processParams.processAuth; result[@"convertCase"] = [self generateWithTextProcessing:processParams.convertCase]; + result[@"logLevel"] = processParams.logLevel; + result[@"mrzDetectMode"] = processParams.mrzDetectMode; + result[@"pdfPagesLimit"] = processParams.pdfPagesLimit; // String result[@"dateFormat"] = processParams.dateFormat; result[@"scenario"] = processParams.scenario; result[@"captureButtonScenario"] = processParams.captureButtonScenario; - result[@"sessionLogFolder"] = processParams.sessionLogFolder; // Double result[@"timeout"] = processParams.timeout; result[@"timeoutFromFirstDetect"] = processParams.timeoutFromFirstDetect; result[@"timeoutFromFirstDocType"] = processParams.timeoutFromFirstDocType; result[@"documentAreaMin"] = processParams.documentAreaMin; + result[@"timeoutLiveness"] = processParams.timeoutLiveness; // JSONArray result[@"documentIDList"] = processParams.documentIDList; @@ -343,15 +369,17 @@ +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams { result[@"documentGroupFilter"] = processParams.documentGroupFilter; result[@"lcidIgnoreFilter"] = processParams.lcidIgnoreFilter; result[@"lcidFilter"] = processParams.lcidFilter; + result[@"fieldTypesIgnoreFilter"] = processParams.fieldTypesIgnoreFilter; result[@"mrzFormatsFilter"] = processParams.mrzFormatsFilter; result[@"resultTypeOutput"] = processParams.resultTypeOutput; // JSONObject result[@"imageQA"] = [self getImageQA:processParams.imageQA]; + result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams]; result[@"rfidParams"] = [RGLWJSONConstructor generateRFIDParams:processParams.rfidParams]; result[@"faceApiParams"] = [RGLWJSONConstructor generateFaceAPIParams:processParams.faceApiParams]; result[@"backendProcessingConfig"] = [RGLWJSONConstructor generateBackendProcessingConfig:processParams.backendProcessingConfig]; - result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams]; + result[@"bsiTr03135"] = [RGLWJSONConstructor generateBsi:processParams.bsiTr03135]; // Custom result[@"customParams"] = processParams.customParams; @@ -381,12 +409,15 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization customization.cameraFrameShapeType = [[options valueForKey:@"cameraFrameShapeType"] integerValue]; if([options valueForKey:@"cameraFrameOffsetWidth"] != nil) customization.cameraFrameOffsetWidth = [[options valueForKey:@"cameraFrameOffsetWidth"] floatValue]; + if(options[@"nextPageAnimationStartDelay"]) customization.nextPageAnimationStartDelay = [options[@"nextPageAnimationStartDelay"] floatValue]; + if(options[@"nextPageAnimationEndDelay"]) customization.nextPageAnimationEndDelay = [options[@"nextPageAnimationEndDelay"] floatValue]; // String if([options valueForKey:@"status"] != nil) customization.status = [options valueForKey:@"status"]; if([options valueForKey:@"resultStatus"] != nil) customization.resultStatus = [options valueForKey:@"resultStatus"]; + if(options[@"multipageButtonText"]) customization.multipageButtonText = options[@"multipageButtonText"]; // Color if([options valueForKey:@"cameraFrameDefaultColor"] != nil) @@ -409,6 +440,9 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization customization.statusBackgroundColor = [self colorWithInt:[options valueForKey:@"statusBackgroundColor"]]; if([options valueForKey:@"cameraPreviewBackgroundColor"] != nil) customization.cameraPreviewBackgroundColor = [self colorWithInt:[options valueForKey:@"cameraPreviewBackgroundColor"]]; + if([options valueForKey:@"backgroundMaskColor"] != nil) + customization.backgroundMaskColor = [self colorWithInt:[options valueForKey:@"backgroundMaskColor"]]; + if(options[@"multipageButtonTextColor"]) customization.multipageButtonTextColor = [self colorWithInt:options[@"multipageButtonTextColor"]]; // Float if([options valueForKey:@"statusPositionMultiplier"] != nil) @@ -431,6 +465,10 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization customization.cameraFrameCornerRadius = [[options valueForKey:@"cameraFrameCornerRadius"] floatValue]; if([options valueForKey:@"livenessAnimationPositionMultiplier"] != nil) customization.livenessAnimationPositionMultiplier = [[options valueForKey:@"livenessAnimationPositionMultiplier"] floatValue]; + if(options[@"activityIndicatorPortraitPositionMultiplier"]) customization.activityIndicatorPortraitPositionMultiplier = [options[@"activityIndicatorPortraitPositionMultiplier"] floatValue]; + if(options[@"activityIndicatorLandscapePositionMultiplier"]) customization.activityIndicatorLandscapePositionMultiplier = [options[@"activityIndicatorLandscapePositionMultiplier"] floatValue]; + if(options[@"cameraPreviewVerticalPositionMultiplier"]) customization.previewLayerPositionMultiplier = [options[@"cameraPreviewVerticalPositionMultiplier"] floatValue]; + if(options[@"multipageButtonPositionMultiplier"]) customization.multipageButtonPositionMultiplier = [options[@"multipageButtonPositionMultiplier"] floatValue]; // Drawable if([options valueForKey:@"multipageAnimationFrontImage"] != nil) @@ -457,12 +495,14 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization customization.torchButtonOffImage = [RGLWJSONConstructor imageWithBase64:[options valueForKey:@"torchButtonOffImage"]]; if([options valueForKey:@"livenessAnimationImage"] != nil) customization.livenessAnimationImage = [RGLWJSONConstructor imageWithBase64:[options valueForKey:@"livenessAnimationImage"]]; + if(options[@"multipageButtonImage"]) customization.multipageButtonImage = [RGLWJSONConstructor imageWithBase64:options[@"multipageButtonImage"]]; // Font if([options valueForKey:@"statusTextFont"] != nil) customization.statusTextFont = [self UIFontFromJSON:[options valueForKey:@"statusTextFont"]]; if([options valueForKey:@"resultStatusTextFont"] != nil) customization.resultStatusTextFont = [self UIFontFromJSON:[options valueForKey:@"resultStatusTextFont"]]; + if(options[@"multipageButtonTextFont"]) customization.multipageButtonTextFont = [self UIFontFromJSON:options[@"multipageButtonTextFont"]]; // Custom if([options valueForKey:@"customLabelStatus"] != nil) @@ -483,13 +523,12 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization customization.livenessAnimationImageContentMode = [self viewContentModeWithNumber:[options valueForKey:@"livenessAnimationImageContentMode"]]; if([options valueForKey:@"borderBackgroundImageContentMode"] != nil) customization.borderBackgroundImageContentMode = [self viewContentModeWithNumber:[options valueForKey:@"borderBackgroundImageContentMode"]]; - - if([options valueForKey:@"colors"] != nil) - [self setColors:[customization.uiConfiguration valueForKey:@"colors"] input:[options valueForKey:@"colors"]]; - if([options valueForKey:@"fonts"] != nil) - [self setFonts:[customization.uiConfiguration valueForKey:@"fonts"] input:[options valueForKey:@"fonts"]]; - if([options valueForKey:@"images"] != nil) - [self setImages:[customization.uiConfiguration valueForKey:@"images"] input:[options valueForKey:@"images"]]; + + if(options[@"colors"]) [self setColors:[customization.uiConfiguration valueForKey:@"colors"] input:options[@"colors"]]; + if(options[@"fonts"]) [self setFonts:[customization.uiConfiguration valueForKey:@"fonts"] input:options[@"fonts"]]; + if(options[@"images"]) [self setImages:[customization.uiConfiguration valueForKey:@"images"] input:options[@"images"]]; + if(options[@"timings"]) [self setTimings:[customization.uiConfiguration valueForKey:@"timings"] input:options[@"timings"]]; + if(options[@"contentModes"]) [self setContentModes:[customization.uiConfiguration valueForKey:@"contentModes"] input:options[@"contentModes"]]; } +(NSDictionary*)getCustomization:(RGLCustomization*)customization { @@ -507,10 +546,13 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization { result[@"cameraFrameLineLength"] = [NSNumber numberWithFloat:customization.cameraFrameLineLength]; result[@"cameraFrameShapeType"] = [NSNumber numberWithFloat:customization.cameraFrameShapeType]; result[@"cameraFrameOffsetWidth"] = [NSNumber numberWithFloat:customization.cameraFrameOffsetWidth]; + result[@"nextPageAnimationStartDelay"] = [NSNumber numberWithFloat:customization.nextPageAnimationStartDelay]; + result[@"nextPageAnimationEndDelay"] = [NSNumber numberWithFloat:customization.nextPageAnimationEndDelay]; // String result[@"status"] = customization.status; result[@"resultStatus"] = customization.resultStatus; + result[@"multipageButtonText"] = customization.multipageButtonText; // Color result[@"cameraFrameDefaultColor"] = [self intWithColor:customization.cameraFrameDefaultColor]; @@ -523,6 +565,8 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization { result[@"activityIndicatorColor"] = [self intWithColor:customization.activityIndicatorColor]; result[@"statusBackgroundColor"] = [self intWithColor:customization.statusBackgroundColor]; result[@"cameraPreviewBackgroundColor"] = [self intWithColor:customization.cameraPreviewBackgroundColor]; + result[@"backgroundMaskColor"] = [self intWithColor:customization.backgroundMaskColor]; + result[@"multipageButtonTextColor"] = [self intWithColor:customization.multipageButtonTextColor]; // Float result[@"statusPositionMultiplier"] = [NSNumber numberWithFloat:customization.statusPositionMultiplier]; @@ -535,6 +579,10 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization { result[@"cameraFramePortraitAspectRatio"] = [NSNumber numberWithFloat:customization.cameraFramePortraitAspectRatio]; result[@"cameraFrameCornerRadius"] = [NSNumber numberWithFloat:customization.cameraFrameCornerRadius]; result[@"livenessAnimationPositionMultiplier"] = [NSNumber numberWithFloat:customization.livenessAnimationPositionMultiplier]; + result[@"activityIndicatorPortraitPositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorPortraitPositionMultiplier]; + result[@"activityIndicatorLandscapePositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorLandscapePositionMultiplier]; + result[@"cameraPreviewVerticalPositionMultiplier"] = [NSNumber numberWithFloat:customization.previewLayerPositionMultiplier]; + result[@"multipageButtonPositionMultiplier"] = [NSNumber numberWithFloat:customization.multipageButtonPositionMultiplier]; // Drawable result[@"multipageAnimationFrontImage"] = [RGLWJSONConstructor base64WithImage:customization.multipageAnimationFrontImage]; @@ -549,10 +597,12 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization { result[@"torchButtonOnImage"] = [RGLWJSONConstructor base64WithImage:customization.torchButtonOnImage]; result[@"torchButtonOffImage"] = [RGLWJSONConstructor base64WithImage:customization.torchButtonOffImage]; result[@"livenessAnimationImage"] = [RGLWJSONConstructor base64WithImage:customization.livenessAnimationImage]; + result[@"multipageButtonImage"] = [RGLWJSONConstructor base64WithImage:customization.multipageButtonImage]; // Font result[@"statusTextFont"] = [self generateUIFont:customization.statusTextFont]; result[@"resultStatusTextFont"] = [self generateUIFont:customization.resultStatusTextFont]; + result[@"multipageButtonTextFont"] = [self generateUIFont:customization.multipageButtonTextFont]; // Custom if(customization.customLabelStatus != nil) result[@"customLabelStatus"] = customization.customLabelStatus.string; @@ -569,6 +619,8 @@ +(NSDictionary*)getCustomization:(RGLCustomization*)customization { result[@"colors"] = [self getColors: [customization.uiConfiguration valueForKey:@"colors"]]; result[@"fonts"] = [self getFonts: [customization.uiConfiguration valueForKey:@"fonts"]]; result[@"images"] = [self getImages: [customization.uiConfiguration valueForKey:@"images"]]; + result[@"timings"] = [self getTimings: [customization.uiConfiguration valueForKey:@"timings"]]; + result[@"contentModes"] = [self getContentModes: [customization.uiConfiguration valueForKey:@"contentModes"]]; return result; } @@ -643,12 +695,16 @@ +(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario { rfidScenario.autoSettings = [[options valueForKey:@"autoSettings"] boolValue]; if([options valueForKey:@"proceedReadingAlways"] != nil) rfidScenario.proceedReadingAlways = [[options valueForKey:@"proceedReadingAlways"] boolValue]; + if(options[@"readDTC"]) rfidScenario.readDTC = [options[@"readDTC"] boolValue]; + if(options[@"mrzStrictCheck"]) rfidScenario.mrzStrictCheck = options[@"mrzStrictCheck"]; + if(options[@"loadCRLFromRemote"]) rfidScenario.loadCRLFromRemote = [options[@"loadCRLFromRemote"] boolValue]; + if(options[@"independentSODStatus"]) rfidScenario.independentSODStatus = options[@"independentSODStatus"]; // Int if([options valueForKey:@"signManagementAction"] != nil) rfidScenario.signManagementAction = [[options valueForKey:@"signManagementAction"] integerValue]; if([options valueForKey:@"readingBuffer"] != nil) - rfidScenario.readingBuffer = [[options valueForKey:@"readingBuffer"] intValue]; + rfidScenario.readingBuffer = [[options valueForKey:@"readingBuffer"] integerValue]; if([options valueForKey:@"onlineTAToSignDataType"] != nil) rfidScenario.onlineTAToSignDataType = [[options valueForKey:@"onlineTAToSignDataType"] intValue]; if([options valueForKey:@"profilerType"] != nil) @@ -677,6 +733,11 @@ +(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario { rfidScenario.eSignPINDefault = [options valueForKey:@"eSignPINDefault"]; if([options valueForKey:@"eSignPINNewValue"] != nil) rfidScenario.eSignPINNewValue = [options valueForKey:@"eSignPINNewValue"]; + if(options[@"cardAccess"]) rfidScenario.cardAccess = options[@"cardAccess"]; + if(options[@"mrzHash"]) rfidScenario.mrzHash = options[@"mrzHash"]; + if(options[@"documentNumber"]) rfidScenario.documentNumber = options[@"documentNumber"]; + if(options[@"dateOfBirth"]) rfidScenario.dateOfBirth = options[@"dateOfBirth"]; + if(options[@"dateOfExpiry"]) rfidScenario.dateOfExpiry = options[@"dateOfExpiry"]; // DataGroup if([options valueForKey:@"ePassportDataGroups"] != nil) @@ -685,6 +746,7 @@ +(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario { [self setDataGroups :rfidScenario.eIDDataGroups dict:[options valueForKey:@"eIDDataGroups"]]; if([options valueForKey:@"eDLDataGroups"] != nil) [self setDataGroups :rfidScenario.eDLDataGroups dict:[options valueForKey:@"eDLDataGroups"]]; + if(options[@"dtcDataGroups"]) [self setDTCDataGroup :rfidScenario.DTCDataGroups dict:options[@"dtcDataGroups"]]; } +(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario { @@ -725,6 +787,10 @@ +(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario { result[@"applyAmendments"] = [NSNumber numberWithBool:rfidScenario.applyAmendments]; result[@"autoSettings"] = [NSNumber numberWithBool:rfidScenario.autoSettings]; result[@"proceedReadingAlways"] = [NSNumber numberWithBool:rfidScenario.proceedReadingAlways]; + result[@"readDTC"] = [NSNumber numberWithBool:rfidScenario.readDTC]; + result[@"mrzStrictCheck"] = rfidScenario.mrzStrictCheck; + result[@"loadCRLFromRemote"] = @(rfidScenario.loadCRLFromRemote); + result[@"independentSODStatus"] = rfidScenario.independentSODStatus; // Int result[@"signManagementAction"] = [NSNumber numberWithInteger:rfidScenario.signManagementAction]; @@ -744,11 +810,17 @@ +(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario { result[@"mrz"] = rfidScenario.mrz; result[@"eSignPINDefault"] = rfidScenario.eSignPINDefault; result[@"eSignPINNewValue"] = rfidScenario.eSignPINNewValue; + result[@"cardAccess"] = rfidScenario.cardAccess; + result[@"mrzHash"] = rfidScenario.mrzHash; + result[@"documentNumber"] = rfidScenario.documentNumber; + result[@"dateOfBirth"] = rfidScenario.dateOfBirth; + result[@"dateOfExpiry"] = rfidScenario.dateOfExpiry; // DataGroup result[@"eDLDataGroups"] = [self getDataGroups:rfidScenario.eDLDataGroups]; result[@"ePassportDataGroups"] = [self getDataGroups:rfidScenario.ePassportDataGroups]; result[@"eIDDataGroups"] = [self getDataGroups:rfidScenario.eIDDataGroups]; + result[@"dtcDataGroups"] = [self getDTCDataGroup:rfidScenario.DTCDataGroups]; return result; } @@ -851,6 +923,26 @@ +(NSDictionary *)getDataGroups:(RGLDataGroup*)dataGroup { return result; } ++(void)setDTCDataGroup:(RGLDTCDataGroup*)dataGroup dict:(NSDictionary*)dict { + if(dict[@"DG17"]) dataGroup.dG17 = [dict[@"DG17"] boolValue]; + if(dict[@"DG18"]) dataGroup.dG18 = [dict[@"DG18"] boolValue]; + if(dict[@"DG22"]) dataGroup.dG22 = [dict[@"DG22"] boolValue]; + if(dict[@"DG23"]) dataGroup.dG23 = [dict[@"DG23"] boolValue]; + if(dict[@"DG24"]) dataGroup.dG24 = [dict[@"DG24"] boolValue]; +} + ++(NSDictionary *)getDTCDataGroup:(RGLDTCDataGroup*)dataGroup { + NSMutableDictionary *result = [NSMutableDictionary new]; + + result[@"DG17"] = @(dataGroup.dG17); + result[@"DG18"] = @(dataGroup.dG18); + result[@"DG22"] = @(dataGroup.dG22); + result[@"DG23"] = @(dataGroup.dG23); + result[@"DG24"] = @(dataGroup.dG24); + + return result; +} + +(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input { if([input valueForKey:@"dpiThreshold"] != nil) result.dpiThreshold = [input valueForKey:@"dpiThreshold"]; @@ -875,6 +967,7 @@ +(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input { result.glaresCheckParams = [RGLWJSONConstructor glaresCheckParamsFromJson:[input valueForKey:@"glaresCheckParams"]]; if([input valueForKey:@"brightnessThreshold"] != nil) result.brightnessThreshold = [input valueForKey:@"brightnessThreshold"]; + if(input[@"occlusionCheck"]) result.occlusionCheck = input[@"occlusionCheck"]; } +(NSDictionary*)getImageQA:(RGLImageQA*)input { @@ -894,6 +987,7 @@ +(NSDictionary*)getImageQA:(RGLImageQA*)input { result[@"documentPositionIndent"] = input.documentPositionIndent; result[@"glaresCheckParams"] = [RGLWJSONConstructor generateGlaresCheckParams:input.glaresCheckParams]; result[@"brightnessThreshold"] = input.brightnessThreshold; + result[@"occlusionCheck"] = input.occlusionCheck; return result; } @@ -931,6 +1025,7 @@ +(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary* result.checkPhotoComparison = [input valueForKey:@"checkPhotoComparison"]; if([input valueForKey:@"checkLetterScreen"] != nil) result.checkLetterScreen = [input valueForKey:@"checkLetterScreen"]; + if(input[@"checkSecurityText"]) result.checkSecurityText = input[@"checkSecurityText"]; } +(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input { @@ -952,6 +1047,7 @@ +(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input { result[@"checkPhotoEmbedding"] = input.checkPhotoEmbedding; result[@"checkPhotoComparison"] = input.checkPhotoComparison; result[@"checkLetterScreen"] = input.checkLetterScreen; + result[@"checkSecurityText"] = input.checkSecurityText; return result; } @@ -965,6 +1061,10 @@ +(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input { result.checkHolo = [input valueForKey:@"checkHolo"]; if([input valueForKey:@"checkED"] != nil) result.checkED = [input valueForKey:@"checkED"]; + if(input[@"checkBlackAndWhiteCopy"]) result.checkBlackAndWhiteCopy = input[@"checkBlackAndWhiteCopy"]; + if(input[@"checkDynaprint"]) result.checkDynaprint = input[@"checkDynaprint"]; + if(input[@"checkGeometry"]) result.checkGeometry = input[@"checkGeometry"]; + if(input[@"checkBarcodeBackground"]) result.checkBarcodeBackground = input[@"checkBarcodeBackground"]; } +(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input { @@ -975,6 +1075,10 @@ +(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input { result[@"checkMLI"] = input.checkMLI; result[@"checkHolo"] = input.checkHolo; result[@"checkED"] = input.checkED; + result[@"checkBlackAndWhiteCopy"] = input.checkBlackAndWhiteCopy; + result[@"checkDynaprint"] = input.checkDynaprint; + result[@"checkGeometry"] = input.checkGeometry; + result[@"checkBarcodeBackground"] = input.checkBarcodeBackground; return result; } @@ -994,18 +1098,42 @@ +(void)setColors:(NSMutableDictionary*)result input:(NSDictionary*)input { result[@(RFIDProcessingScreenProgressBarBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenProgressBarBackground"]]; if([input valueForKey:@"rfidProcessingScreenResultLabelText"] != nil) result[@(RFIDProcessingScreenResultLabelText)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenResultLabelText"]]; + if(input[@"rfidProcessingScreenLoadingBar"]) result[@(RFIDProcessingScreenLoadingBar)] = [self colorWithInt:input[@"rfidProcessingScreenLoadingBar"]]; + if(input[@"mdlProcessingScreenBackground"]) result[@(MDLProcessingScreenBackground)] = [self colorWithInt:input[@"mdlProcessingScreenBackground"]]; + if(input[@"mdlProcessingScreenHintLabelText"]) result[@(MDLProcessingScreenHintLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelText"]]; + if(input[@"mdlProcessingScreenHintLabelBackground"]) result[@(MDLProcessingScreenHintLabelBackground)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelBackground"]]; + if(input[@"mdlProcessingScreenProgressLabelText"]) result[@(MDLProcessingScreenProgressLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenProgressLabelText"]]; + if(input[@"mdlProcessingScreenResultLabelText"]) result[@(MDLProcessingScreenResultLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenResultLabelText"]]; + if(input[@"mdlProcessingScreenLoadingBar"]) result[@(MDLProcessingScreenLoadingBar)] = [self colorWithInt:input[@"mdlProcessingScreenLoadingBar"]]; + if(input[@"nextPageIdCardFront"]) result[@(RGLCustomizationColorNextPageIdCardFront)] = [self colorWithInt:input[@"nextPageIdCardFront"]]; + if(input[@"nextPageIdCardBack"]) result[@(RGLCustomizationColorNextPageIdCardBack)] = [self colorWithInt:input[@"nextPageIdCardBack"]]; + if(input[@"nextPagePassportShift"]) result[@(RGLCustomizationColorNextPagePassportShift)] = [self colorWithInt:input[@"nextPagePassportShift"]]; + if(input[@"nextPagePassportFlip"]) result[@(RGLCustomizationColorNextPagePassportFlip)] = [self colorWithInt:input[@"nextPagePassportFlip"]]; } +(NSDictionary*)getColors:(NSDictionary*)input { - return @{ - @"rfidProcessingScreenBackground": [self intWithColor:input[@(RFIDProcessingScreenBackground)]], - @"rfidProcessingScreenHintLabelText": [self intWithColor:input[@(RFIDProcessingScreenHintLabelText)]], - @"rfidProcessingScreenHintLabelBackground": [self intWithColor:input[@(RFIDProcessingScreenHintLabelBackground)]], - @"rfidProcessingScreenProgressLabelText": [self intWithColor:input[@(RFIDProcessingScreenProgressLabelText)]], - @"rfidProcessingScreenProgressBar": [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]], - @"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]], - @"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]], - }; + id result = @{}.mutableCopy; + + if(input[@(RFIDProcessingScreenBackground)]) result[@"rfidProcessingScreenBackground"] = [self intWithColor:input[@(RFIDProcessingScreenBackground)]]; + if(input[@(RFIDProcessingScreenHintLabelText)]) result[@"rfidProcessingScreenHintLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenHintLabelText)]]; + if(input[@(RFIDProcessingScreenHintLabelBackground)]) result[@"rfidProcessingScreenHintLabelBackground"] = [self intWithColor:input[@(RFIDProcessingScreenHintLabelBackground)]]; + if(input[@(RFIDProcessingScreenProgressLabelText)]) result[@"rfidProcessingScreenProgressLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenProgressLabelText)]]; + if(input[@(RFIDProcessingScreenProgressBar)]) result[@"rfidProcessingScreenProgressBar"] = [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]]; + if(input[@(RFIDProcessingScreenProgressBarBackground)]) result[@"rfidProcessingScreenProgressBarBackground"] = [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]]; + if(input[@(RFIDProcessingScreenResultLabelText)]) result[@"rfidProcessingScreenResultLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]]; + if(input[@(RFIDProcessingScreenLoadingBar)]) result[@"rfidProcessingScreenLoadingBar"] = [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]]; + if(input[@(MDLProcessingScreenBackground)]) result[@"mdlProcessingScreenBackground"] = [self intWithColor:input[@(MDLProcessingScreenBackground)]]; + if(input[@(MDLProcessingScreenHintLabelText)]) result[@"mdlProcessingScreenHintLabelText"] = [self intWithColor:input[@(MDLProcessingScreenHintLabelText)]]; + if(input[@(MDLProcessingScreenHintLabelBackground)]) result[@"mdlProcessingScreenHintLabelBackground"] = [self intWithColor:input[@(MDLProcessingScreenHintLabelBackground)]]; + if(input[@(MDLProcessingScreenProgressLabelText)]) result[@"mdlProcessingScreenProgressLabelText"] = [self intWithColor:input[@(MDLProcessingScreenProgressLabelText)]]; + if(input[@(MDLProcessingScreenResultLabelText)]) result[@"mdlProcessingScreenResultLabelText"] = [self intWithColor:input[@(MDLProcessingScreenResultLabelText)]]; + if(input[@(MDLProcessingScreenLoadingBar)]) result[@"mdlProcessingScreenLoadingBar"] = [self intWithColor:input[@(MDLProcessingScreenLoadingBar)]]; + if(input[@(RGLCustomizationColorNextPageIdCardFront)]) result[@"nextPageIdCardFront"] = [self intWithColor:input[@(RGLCustomizationColorNextPageIdCardFront)]]; + if(input[@(RGLCustomizationColorNextPageIdCardBack)]) result[@"nextPageIdCardBack"] = [self intWithColor:input[@(RGLCustomizationColorNextPageIdCardBack)]]; + if(input[@(RGLCustomizationColorNextPagePassportShift)]) result[@"nextPagePassportShift"] = [self intWithColor:input[@(RGLCustomizationColorNextPagePassportShift)]]; + if(input[@(RGLCustomizationColorNextPagePassportFlip)]) result[@"nextPagePassportFlip"] = [self intWithColor:input[@(RGLCustomizationColorNextPagePassportFlip)]]; + + return result; } +(void)setFonts:(NSMutableDictionary*)result input:(NSDictionary*)input { @@ -1013,26 +1141,126 @@ +(void)setFonts:(NSMutableDictionary*)result input:(NSDictionary*)input { result[@(RFIDProcessingScreenHintLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenHintLabel"]]; if([input valueForKey:@"rfidProcessingScreenProgressLabel"] != nil) result[@(RFIDProcessingScreenProgressLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenProgressLabel"]]; - if([input valueForKey:@"rfidProcessingScreenResultLabel"] != nil) - result[@(RFIDProcessingScreenResultLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenResultLabel"]]; + if(input[@"rfidProcessingScreenResultLabel"]) result[@(RFIDProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"rfidProcessingScreenResultLabel"]]; + if(input[@"mdlProcessingScreenHintLabel"]) result[@(MDLProcessingScreenHintLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenHintLabel"]]; + if(input[@"mdlProcessingScreenProgressLabel"]) result[@(MDLProcessingScreenProgressLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenProgressLabel"]]; + if(input[@"mdlProcessingScreenResultLabel"]) result[@(MDLProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenResultLabel"]]; } +(NSDictionary*)getFonts:(NSDictionary*)input { - return @{ - @"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]], - @"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]], - @"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]], + return @{ + @"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]], + @"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]], + @"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]], + @"mdlProcessingScreenHintLabel": [self generateUIFont:input[@(MDLProcessingScreenHintLabel)]], + @"mdlProcessingScreenProgressLabel": [self generateUIFont:input[@(MDLProcessingScreenProgressLabel)]], + @"mdlProcessingScreenResultLabel": [self generateUIFont:input[@(MDLProcessingScreenResultLabel)]], }; } +(void)setImages:(NSMutableDictionary*)result input:(NSDictionary*)input { - if([input valueForKey:@"rfidProcessingScreenFailureImage"] != nil) - result[@(RFIDProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:[input valueForKey:@"rfidProcessingScreenFailureImage"]]; + if(input[@"helpAnimation"]) result[RGLCustomizationImageHelpAnimation] = [RGLWJSONConstructor imageWithBase64:input[@"helpAnimation"]]; + if(input[@"livenessAnimation"]) result[RGLCustomizationImageLivenessAnimation] = [RGLWJSONConstructor imageWithBase64:input[@"livenessAnimation"]]; + if(input[@"borderBackground"]) result[RGLCustomizationImageBorderBackground] = [RGLWJSONConstructor imageWithBase64:input[@"borderBackground"]]; + if(input[@"torchButtonOn"]) result[RGLCustomizationImageTorchButtonOn] = [RGLWJSONConstructor imageWithBase64:input[@"torchButtonOn"]]; + if(input[@"torchButtonOff"]) result[RGLCustomizationImageTorchButtonOff] = [RGLWJSONConstructor imageWithBase64:input[@"torchButtonOff"]]; + if(input[@"captureButton"]) result[RGLCustomizationImageCaptureButton] = [RGLWJSONConstructor imageWithBase64:input[@"captureButton"]]; + if(input[@"switchButton"]) result[RGLCustomizationImageSwitchButton] = [RGLWJSONConstructor imageWithBase64:input[@"switchButton"]]; + if(input[@"closeButton"]) result[RGLCustomizationImageCloseButton] = [RGLWJSONConstructor imageWithBase64:input[@"closeButton"]]; + if(input[@"multipageButton"]) result[RGLCustomizationImageMultipageButton] = [RGLWJSONConstructor imageWithBase64:input[@"multipageButton"]]; + if(input[@"rfidProcessingScreenFailureImage"]) result[RGLCustomizationImageRFIDProcessingScreenFailure] = [RGLWJSONConstructor imageWithBase64:input[@"rfidProcessingScreenFailureImage"]]; + if(input[@"mdlProcessingScreenFailureImage"]) result[RGLCustomizationImageMDLProcessingScreenFailure] = [RGLWJSONConstructor imageWithBase64:input[@"mdlProcessingScreenFailureImage"]]; + if(input[@"nextPageIdCardFront"]) result[RGLCustomizationImageNextPageIdCardFront] = [RGLWJSONConstructor imageWithBase64:input[@"nextPageIdCardFront"]]; + if(input[@"nextPageIdCardBack"]) result[RGLCustomizationImageNextPageIdCardBack] = [RGLWJSONConstructor imageWithBase64:input[@"nextPageIdCardBack"]]; + if(input[@"nextPagePassportShift"]) result[RGLCustomizationImageNextPagePassportShift] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportShift"]]; + if(input[@"nextPagePassportFlipStart"]) result[RGLCustomizationImageNextPagePassportFlipStart] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipStart"]]; + if(input[@"nextPagePassportFlipClean"]) result[RGLCustomizationImageNextPagePassportFlipClean] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipClean"]]; + if(input[@"nextPagePassportFlipTop"]) result[RGLCustomizationImageNextPagePassportFlipTop] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipTop"]]; + if(input[@"nextPagePassportFlipBottom"]) result[RGLCustomizationImageNextPagePassportFlipBottom] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipBottom"]]; } +(NSDictionary*)getImages:(NSDictionary*)input { - return @{ - @"rfidProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(RFIDProcessingScreenFailureImage)]], + id result = @{}.mutableCopy; + id i; + + i = RGLCustomizationImageHelpAnimation; + if(input[i]) result[@"helpAnimation"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageLivenessAnimation; + if(input[i]) result[@"livenessAnimation"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageBorderBackground; + if(input[i]) result[@"borderBackground"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageTorchButtonOn; + if(input[i]) result[@"torchButtonOn"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageTorchButtonOff; + if(input[i]) result[@"torchButtonOff"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageCaptureButton; + if(input[i]) result[@"captureButton"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageSwitchButton; + if(input[i]) result[@"switchButton"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageCloseButton; + if(input[i]) result[@"closeButton"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageMultipageButton; + if(input[i]) result[@"multipageButton"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageRFIDProcessingScreenFailure; + if(input[i]) result[@"rfidProcessingScreenFailureImage"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageMDLProcessingScreenFailure; + if(input[i]) result[@"mdlProcessingScreenFailureImage"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPageIdCardFront; + if(input[i]) result[@"nextPageIdCardFront"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPageIdCardBack; + if(input[i]) result[@"nextPageIdCardBack"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPagePassportShift; + if(input[i]) result[@"nextPagePassportShift"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPagePassportFlipStart; + if(input[i]) result[@"nextPagePassportFlipStart"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPagePassportFlipClean; + if(input[i]) result[@"nextPagePassportFlipClean"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPagePassportFlipTop; + if(input[i]) result[@"nextPagePassportFlipTop"] = [RGLWJSONConstructor base64WithImage:input[i]]; + i = RGLCustomizationImageNextPagePassportFlipBottom; + if(input[i]) result[@"nextPagePassportFlipBottom"] = [RGLWJSONConstructor base64WithImage:input[i]]; + + return result; +} + ++(void)setTimings:(NSMutableDictionary*)result input:(NSDictionary*)input { + if(input[@"nextPageIdCardStartDelay"]) result[@(RGLCustomizationTimingNextPageIdCardStartDelay)] = input[@"nextPageIdCardStartDelay"]; + if(input[@"nextPageIdCardEndDelay"]) result[@(RGLCustomizationTimingNextPageIdCardEndDelay)] = input[@"nextPageIdCardEndDelay"]; + if(input[@"nextPagePassportShiftStartDelay"]) result[@(RGLCustomizationTimingNextPagePassportShiftStartDelay)] = input[@"nextPagePassportShiftStartDelay"]; + if(input[@"nextPagePassportShiftEndDelay"]) result[@(RGLCustomizationTimingNextPagePassportShiftEndDelay)] = input[@"nextPagePassportShiftEndDelay"]; + if(input[@"nextPagePassportFlipStartDelay"]) result[@(RGLCustomizationTimingNextPagePassportFlipStartDelay)] = input[@"nextPagePassportFlipStartDelay"]; + if(input[@"nextPagePassportFlipEndDelay"]) result[@(RGLCustomizationTimingNextPagePassportFlipEndDelay)] = input[@"nextPagePassportFlipEndDelay"]; +} + ++(NSDictionary*)getTimings:(NSDictionary*)input { + id result = @{}.mutableCopy; + id i; + + i = @(RGLCustomizationTimingNextPageIdCardStartDelay); + if(input[i]) result[@"nextPageIdCardStartDelay"] = input[i]; + i = @(RGLCustomizationTimingNextPageIdCardEndDelay); + if(input[i]) result[@"nextPageIdCardEndDelay"] = input[i]; + i = @(RGLCustomizationTimingNextPagePassportShiftStartDelay); + if(input[i]) result[@"nextPagePassportShiftStartDelay"] = input[i]; + i = @(RGLCustomizationTimingNextPagePassportShiftEndDelay); + if(input[i]) result[@"nextPagePassportShiftEndDelay"] = input[i]; + i = @(RGLCustomizationTimingNextPagePassportFlipStartDelay); + if(input[i]) result[@"nextPagePassportFlipStartDelay"] = input[i]; + i = @(RGLCustomizationTimingNextPagePassportFlipEndDelay); + if(input[i]) result[@"nextPagePassportFlipEndDelay"] = input[i]; + + return result; +} + ++(void)setContentModes:(NSMutableDictionary*)result input:(NSDictionary*)input { + if(input[@"nextPageIdCardFront"]) result[@(RGLCustomizationContentModeNextPageIdCardFront)] = input[@"nextPageIdCardFront"]; + if(input[@"nextPageIdCardBack"]) result[@(RGLCustomizationContentModeNextPageIdCardBack)] = input[@"nextPageIdCardBack"]; +} + ++(NSDictionary*)getContentModes:(NSDictionary*)input { + return @{ + @"nextPageIdCardFront": input[@(RGLCustomizationContentModeNextPageIdCardFront)], + @"nextPageIdCardBack": input[@(RGLCustomizationContentModeNextPageIdCardBack)], }; } @@ -1118,10 +1346,13 @@ +(NSNumber*)intWithColor:(UIColor*)color { } +(UIFont*)UIFontFromJSON:(NSDictionary*)input { - return [UIFont fontWithName:[input valueForKey:@"name"] size:[[input valueForKey:@"size"] integerValue]]; + UIFont* result = [UIFont fontWithName:[input valueForKey:@"name"] size:[[input valueForKey:@"size"] integerValue]]; + if (!result || !result.fontName) return nil; + return result; } +(NSDictionary*)generateUIFont:(UIFont*)input { + if (!input || !input.fontName) return nil; return @{ @"name": input.fontName, @"size": @(input.pointSize) @@ -1290,6 +1521,7 @@ +(NSNumber*)generateImageQualityCheckType:(RGLImageQualityCheckType)value { if(value == RGLImageQualityCheckTypePortrait) return @7; if(value == RGLImageQualityCheckTypeHandwritten) return @8; if(value == RGLImageQualityCheckTypeBrightness) return @9; + if(value == RGLImageQualityCheckTypeOcclusion) return @10; return 0; } @@ -1306,6 +1538,7 @@ +(RGLImageQualityCheckType)imageQualityCheckTypeWithNumber:(NSNumber*)input { if(value == 7) return RGLImageQualityCheckTypePortrait; if(value == 8) return RGLImageQualityCheckTypeHandwritten; if(value == 9) return RGLImageQualityCheckTypeBrightness; + if(value == 10) return RGLImageQualityCheckTypeOcclusion; return RGLImageQualityCheckTypeImageGlares; } diff --git a/ios/Classes/RGLWJSONConstructor.h b/ios/Classes/RGLWJSONConstructor.h index d1a8e37756..ca4c98c96c 100644 --- a/ios/Classes/RGLWJSONConstructor.h +++ b/ios/Classes/RGLWJSONConstructor.h @@ -1,11 +1,3 @@ -// -// RGLWJSONConstructor.h -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #ifndef RGLWJSONConstructor_h #define RGLWJSONConstructor_h @@ -17,6 +9,7 @@ @interface RGLWJSONConstructor : NSObject ++(NSString* _Nullable)toSendable:(id _Nullable)input; +(NSString* _Nullable)dictToString:(NSDictionary* _Nullable)input; +(NSString* _Nullable)arrayToString:(NSArray* _Nullable)input; +(NSString* _Nullable)base64WithImage:(UIImage* _Nullable)input; @@ -27,9 +20,11 @@ +(NSString* _Nullable)generateCompletion:(NSNumber*_Nonnull)action :(RGLDocumentReaderResults*_Nullable)results :(NSError*_Nullable)error; +(NSString* _Nonnull)generatePACertificateCompletion:(NSData *_Nullable)serialNumber :(RGLPAResourcesIssuer *_Nullable)issuer; +(NSString* _Nullable)generateFinalizePackageCompletion:(NSNumber*_Nonnull)action :(RGLTransactionInfo*_Nullable)info :(NSError*_Nullable)error; ++(NSString* _Nullable)generateDeviceEngagementCompletion:(RGLDeviceEngagement* _Nullable)deviceEngagement :(NSError* _Nullable)error; +(RGLConfig* _Nullable)configFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateConfig:(RGLConfig* _Nullable)input; ++(RGLBleConfig* _Nullable)bleDeviceConfigFromJson:(NSDictionary* _Nullable)input :(RGLBluetooth* _Nonnull)bluetooth; +(RGLOnlineProcessingConfig* _Nullable)onlineProcessingConfigFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateOnlineProcessingConfig:(RGLOnlineProcessingConfig* _Nullable)input; +(RGLImageInput* _Nullable)imageInputFromJson:(NSDictionary* _Nullable)input; @@ -56,12 +51,16 @@ +(NSDictionary* _Nullable)generateProcessParams:(RGLProcessParams* _Nullable)input; +(RGLBackendProcessingConfig* _Nullable)backendProcessingConfigFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateBackendProcessingConfig:(RGLBackendProcessingConfig* _Nullable)input; ++(RGLBsi* _Nullable)bsiFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateBsi:(RGLBsi* _Nullable)input; +(RGLeDLDataGroup* _Nullable)eDLDataGroupsFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateEDLDataGroups:(RGLeDLDataGroup* _Nullable)input; +(RGLePassportDataGroup* _Nullable)ePassportDataGroupsFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateEPassportDataGroups:(RGLePassportDataGroup* _Nullable)input; +(RGLeIDDataGroup* _Nullable)eIDDataGroupsFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateEIDDataGroups:(RGLeIDDataGroup* _Nullable)input; ++(RGLeIDDataGroup* _Nullable)dtcDataGroupFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateRGLDTCDataGroup:(RGLeIDDataGroup* _Nullable)input; +(RGLRFIDScenario* _Nullable)rfidScenarioFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateRFIDScenario:(RGLRFIDScenario* _Nullable)input; +(RGLCustomization* _Nullable)customizationFromJson:(NSDictionary* _Nullable)input; @@ -130,6 +129,10 @@ +(NSDictionary* _Nullable)generateBytesData:(RGLBytesData* _Nullable)input; +(RGLVDSNCData* _Nullable)vdsncDataFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateVDSNCData:(RGLVDSNCData* _Nullable)input; ++(RGLDocFeature* _Nullable)docFeatureFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDocFeature:(RGLDocFeature* _Nullable)input; ++(RGLVDSData* _Nullable)vdsDataFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateVDSData:(RGLVDSData* _Nullable)input; +(RGLOpticalStatus* _Nullable)opticalStatusFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateOpticalStatus:(RGLOpticalStatus* _Nullable)input; +(RGLRFIDSessionDataStatus* _Nullable)rfidSessionDataStatusFromJson:(NSDictionary* _Nullable)input; @@ -179,6 +182,31 @@ +(NSDictionary* _Nullable)generateTCCParams:(RGLTCCParams* _Nullable)input; +(RGLTransactionInfo* _Nullable)transactionInfoFromJson:(NSDictionary* _Nullable)input; +(NSDictionary* _Nullable)generateTransactionInfo:(RGLTransactionInfo* _Nullable)input; ++(RGLDetailsAge* _Nullable)detailsAgeFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDetailsAge:(RGLDetailsAge* _Nullable)input; ++(RGLDeviceRetrievalMethod* _Nullable)deviceRetrievalMethodFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDeviceRetrievalMethod:(RGLDeviceRetrievalMethod* _Nullable)input; ++(RGLDocumentRequest18013MDL* _Nullable)documentRequest18013MDLFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDocumentRequest18013MDL:(RGLDocumentRequest18013MDL* _Nullable)input; ++(RGLDataRetrieval* _Nullable)dataRetrievalFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDataRetrieval:(RGLDataRetrieval* _Nullable)input; ++(RGLDeviceEngagement* _Nullable)deviceEngagementFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDeviceEngagement:(RGLDeviceEngagement* _Nullable)input; ++(RGLNameSpaceMDL* _Nullable)nameSpaceMDLFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateNameSpaceMDL:(RGLNameSpaceMDL* _Nullable)input; ++(RGLDocumentRequestMDL* _Nullable)documentRequestMDLFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateDocumentRequestMDL:(RGLDocumentRequestMDL* _Nullable)input; ++(RGLFinalizeConfig* _Nullable)finalizeConfigFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateFinalizeConfig:(RGLFinalizeConfig* _Nullable)input; ++(RGLRFIDAccessControlPACE* _Nullable)paceProtocolFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generatePaceProtocol:(RGLRFIDAccessControlPACE* _Nullable)input; ++(RGLRFIDAccessControlCA* _Nullable)caProtocolFromJson:(NSDictionary* _Nullable)input; ++(NSDictionary* _Nullable)generateCaProtocol:(RGLRFIDAccessControlCA* _Nullable)input; + +@end +@interface RGLWRequestInterceptorProxy : NSObject +- (instancetype _Nonnull)initWithHeaders:(NSDictionary*_Nonnull)headers; @end + #endif diff --git a/ios/Classes/RGLWJSONConstructor.m b/ios/Classes/RGLWJSONConstructor.m index 5b45f5d26d..7cdf9c4f1f 100644 --- a/ios/Classes/RGLWJSONConstructor.m +++ b/ios/Classes/RGLWJSONConstructor.m @@ -1,16 +1,25 @@ -// -// RGLWJSONConstructor.m -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - #import #import "RGLWJSONConstructor.h" @implementation RGLWJSONConstructor +static NSMutableArray* weakReferencesHolder; ++(void) holdWeakReference:(id)reference { + if(!weakReferencesHolder) + weakReferencesHolder = [NSMutableArray new]; + [weakReferencesHolder addObject:reference]; +} + ++(id)toSendable:(id)input { + if (!input || [input isEqual:[NSNull null]]) return nil; + if ([input isKindOfClass:[NSDictionary class]] || [input isKindOfClass:[NSArray class]]) + return [[NSString alloc] initWithData:[NSJSONSerialization dataWithJSONObject:input + options:NSJSONWritingPrettyPrinted + error:nil] + encoding:NSUTF8StringEncoding]; + return input; +} + +(NSString*)dictToString:(NSDictionary*)input { if(input == nil) return nil; return [[NSString alloc] initWithData:[NSJSONSerialization dataWithJSONObject:input options:NSJSONWritingPrettyPrinted error:nil] encoding:NSUTF8StringEncoding]; @@ -23,6 +32,7 @@ +(NSString*)arrayToString:(NSArray*)input { +(NSData*)base64Decode:(NSString*)input { if(input == nil) return nil; + if ([input hasPrefix:@"data"]) input = [input substringFromIndex:[input rangeOfString:@","].location + 1]; return [[NSData alloc] initWithBase64EncodedString:input options:0]; } @@ -51,22 +61,22 @@ +(NSError*)errorFromJson:(NSDictionary*)input { +(NSDictionary*)generateError:(NSError*)input { if(input == nil) return nil; NSMutableDictionary *result = [NSMutableDictionary new]; - + result[@"code"] = [NSNumber numberWithInteger:input.code]; result[@"message"] = input.localizedDescription; - + return result; } +(NSString*)generateCompletion:(NSNumber*)action :(RGLDocumentReaderResults*)results :(NSError*)error { NSMutableDictionary *result = [NSMutableDictionary new]; int actionInt = [action intValue]; - + if(actionInt == 0 || actionInt == 2 || actionInt == 3 || actionInt == 4 || actionInt == 6) result[@"results"] = [self generateDocumentReaderResults:results]; result[@"action"] = action; result[@"error"] = [self generateError:error]; - + return [RGLWJSONConstructor dictToString: result]; } @@ -90,11 +100,11 @@ +(NSString*)generatePACertificateCompletion:(NSData *)serialNumber :(RGLPAResour +(NSString*)generateFinalizePackageCompletion:(NSNumber*)action :(RGLTransactionInfo*)info :(NSError*)error { NSMutableDictionary *result = [NSMutableDictionary new]; - + result[@"action"] = action; result[@"info"] = [self generateTransactionInfo:info]; result[@"error"] = [self generateError:error]; - + return [RGLWJSONConstructor dictToString: result]; } @@ -103,8 +113,9 @@ +(RGLTransactionInfo*)transactionInfoFromJson:(NSDictionary*)input { NSString* transactionId = [input valueForKey:@"transactionId"]; NSString* tag = [input valueForKey:@"tag"]; + NSString* sessionLogFolder = input[@"sessionLogFolder"]; - return [[RGLTransactionInfo alloc] initWithTag:tag transactionId:transactionId]; + return [[RGLTransactionInfo alloc] initWithTag:tag transactionId:transactionId sessionLogFolder:sessionLogFolder]; } +(NSDictionary*)generateTransactionInfo:(RGLTransactionInfo*)input { @@ -113,6 +124,7 @@ +(NSDictionary*)generateTransactionInfo:(RGLTransactionInfo*)input { result[@"transactionId"] = input.transactionId; result[@"tag"] = input.tag; + result[@"sessionLogFolder"] = input.sessionLogFolder; return result; } @@ -143,17 +155,15 @@ +(NSDictionary*)generateTCCParams:(RGLTCCParams*)input { } +(RGLConfig*)configFromJson:(NSDictionary*)input { - if(input == nil) return nil; - if([input valueForKey:@"license"] == nil) return nil; - RGLConfig *config = [[RGLConfig alloc] initWithLicenseData:[self base64Decode: [input valueForKey:@"license"]]]; - - if([input valueForKey:@"databasePath"] != nil) - config.databasePath = [input valueForKey:@"databasePath"]; - if([input valueForKey:@"licenseUpdate"] != nil) - config.licenseUpdateCheck = [[input valueForKey:@"licenseUpdate"] boolValue]; - if([input valueForKey:@"delayedNNLoad"] != nil) - config.delayedNNLoadEnabled = [[input valueForKey:@"delayedNNLoad"] boolValue]; - + if (!input) return nil; + if (!input[@"license"]) return nil; + RGLConfig *config = [[RGLConfig alloc] initWithLicenseData:[self base64Decode: input[@"license"]]]; + + if (input[@"databasePath"]) config.databasePath = input[@"databasePath"]; + if (input[@"licenseUpdateTimeout"]) config.licenseUpdateTimeout = input[@"licenseUpdateTimeout"]; + if (input[@"licenseUpdate"]) config.licenseUpdateCheck = [input[@"licenseUpdate"] boolValue]; + if (input[@"delayedNNLoad"]) config.delayedNNLoadEnabled = [input[@"delayedNNLoad"] boolValue]; + return config; } @@ -163,12 +173,25 @@ +(NSDictionary*)generateConfig:(RGLConfig*)input { result[@"license"] = [self base64Encode: input.licenseData]; result[@"databasePath"] = input.databasePath; + result[@"licenseUpdateTimeout"] = input.licenseUpdateTimeout; result[@"licenseUpdate"] = @(input.licenseUpdateCheck); result[@"delayedNNLoad"] = @(input.delayedNNLoadEnabled); - + return result; } ++(RGLBleConfig*)bleDeviceConfigFromJson:(NSDictionary*)input :(RGLBluetooth*)bluetooth { + if (!input) return nil; + RGLBleConfig *config = [[RGLBleConfig alloc] initWithBluetooth:bluetooth]; + + if (input[@"databasePath"]) config.databasePath = input[@"databasePath"]; + if (input[@"licenseUpdateTimeout"]) config.licenseUpdateTimeout = input[@"licenseUpdateTimeout"]; + if (input[@"licenseUpdate"]) config.licenseUpdateCheck = [input[@"licenseUpdate"] boolValue]; + if (input[@"delayedNNLoad"]) config.delayedNNLoadEnabled = [input[@"delayedNNLoad"] boolValue]; + + return config; +} + +(RGLScannerConfig*)scannerConfigFromJson:(NSDictionary*)input { RGLScannerConfig *config = [RGLScannerConfig alloc]; if (input[@"scenario"]) config = [config initWithScenario:input[@"scenario"]]; @@ -200,14 +223,20 @@ +(RGLRecognizeConfig*)recognizeConfigFromJson:(NSDictionary*)input { RGLRecognizeConfig *config = [RGLRecognizeConfig alloc]; if (input[@"scenario"]) config = [config initWithScenario:input[@"scenario"]]; else config = [config initWithOnlineProcessingConfig:[self onlineProcessingConfigFromJson:input[@"onlineProcessingConfig"]]]; - + if (input[@"image"]) config.image = [RGLWJSONConstructor imageWithBase64:input[@"image"]]; if (input[@"data"]) config.imageData = [RGLWJSONConstructor base64Decode:input[@"data"]]; if (input[@"images"]) { - NSMutableArray* images = [NSMutableArray new]; - for(NSString* base64 in input[@"images"]) - [images addObject:[RGLWJSONConstructor imageWithBase64:base64]]; - config.images = images; + NSMutableArray* list = [NSMutableArray new]; + for(NSString* item in input[@"images"]) + [list addObject:[RGLWJSONConstructor imageWithBase64:item]]; + config.images = list; + } + if (input[@"dataList"]) { + NSMutableArray* list = [NSMutableArray new]; + for(NSString* item in input[@"dataList"]) + [list addObject:[RGLWJSONConstructor base64Decode:item]]; + config.imageDataArray = list; } if(input[@"imageInputData"]) { NSMutableArray* imageInputs = [NSMutableArray new]; @@ -215,12 +244,13 @@ +(RGLRecognizeConfig*)recognizeConfigFromJson:(NSDictionary*)input { [imageInputs addObject:[RGLWJSONConstructor imageInputFromJson: imageInput]]; config.imageInputs = imageInputs; } - + if (input[@"scenario"]) config.scenario = input[@"scenario"]; if (input[@"livePortrait"]) config.livePortrait = [self imageWithBase64:input[@"livePortrait"]]; if (input[@"extPortrait"]) config.extPortrait = [self imageWithBase64:input[@"extPortrait"]]; - if (input[@"oneShotIdentification"]) config.oneShotIdentification = input[@"oneShotIdentification"]; - + if (input[@"oneShotIdentification"]) config.oneShotIdentification = input[@"oneShotIdentification"]; + if (input[@"dtc"]) config.dtc = [RGLWJSONConstructor base64Decode:input[@"dtc"]]; + return config; } @@ -233,13 +263,20 @@ +(NSDictionary*)generateRecognizeConfig:(RGLRecognizeConfig*)input { result[@"livePortrait"] = [self base64WithImage: input.livePortrait]; result[@"extPortrait"] = [self base64WithImage: input.extPortrait]; result[@"oneShotIdentification"] = @(input.oneShotIdentification); + result[@"dtc"] = [self base64Encode: input.dtc]; result[@"image"] = [self base64WithImage: input.image]; result[@"data"] = [self base64Encode: input.imageData]; if(input.images != nil) { - NSMutableArray *array = [NSMutableArray new]; + NSMutableArray *list = [NSMutableArray new]; for(UIImage* item in input.images) - [array addObject:[self base64WithImage:item]]; - result[@"images"] = array; + [list addObject:[self base64WithImage:item]]; + result[@"images"] = list; + } + if(input.imageDataArray != nil) { + NSMutableArray *list = [NSMutableArray new]; + for(NSData* item in input.imageDataArray) + [list addObject:[self base64Encode:item]]; + result[@"dataList"] = list; } if(input.imageInputs != nil) { NSMutableArray *array = [NSMutableArray new]; @@ -261,6 +298,9 @@ +(RGLBackendProcessingConfig*)backendProcessingConfigFromJson:(NSDictionary*)inp result.httpHeaders = [input valueForKey:@"httpHeaders"]; if([input valueForKey:@"rfidServerSideChipVerification"] != nil) result.rfidServerSideChipVerification = [input valueForKey:@"rfidServerSideChipVerification"]; + if([input valueForKey:@"mdlVerification"] != nil) + result.mDLVerification = [input valueForKey:@"mdlVerification"]; + if (input[@"timeoutConnection"]) result.timeoutConnection = input[@"timeoutConnection"]; return result; } @@ -272,6 +312,26 @@ +(NSDictionary*)generateBackendProcessingConfig:(RGLBackendProcessingConfig*)inp result[@"url"] = input.url; result[@"httpHeaders"] = input.httpHeaders; result[@"rfidServerSideChipVerification"] = input.rfidServerSideChipVerification; + result[@"mdlVerification"] = input.mDLVerification; + result[@"timeoutConnection"] = input.timeoutConnection; + + return result; +} + ++(RGLBsi*)bsiFromJson:(NSDictionary*)input { + if(input == nil) return nil; + RGLBsi *result = [RGLBsi new]; + + if(input[@"generateResult"]) result.generateResult = input[@"generateResult"]; + + return result; +} + ++(NSDictionary*)generateBsi:(RGLBsi*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"generateResult"] = input.generateResult; return result; } @@ -336,6 +396,16 @@ +(NSDictionary*)generateEIDDataGroups:(RGLeIDDataGroup*)input { return [RGLWConfig getDataGroups:input]; } ++(RGLDTCDataGroup*)dtcDataGroupFromJson:(NSDictionary*)input { + RGLDTCDataGroup *result = [RGLDTCDataGroup new]; + [RGLWConfig setDTCDataGroup:result dict:input]; + return result; +} + ++(NSDictionary*)generateRGLDTCDataGroup:(RGLDTCDataGroup*)input { + return [RGLWConfig getDTCDataGroup:input]; +} + +(RGLRFIDScenario*)rfidScenarioFromJson:(NSDictionary*)input { RGLRFIDScenario *result = [RGLRFIDScenario new]; [RGLWConfig setRfidScenario:input :result]; @@ -383,6 +453,11 @@ +(RGLOnlineProcessingConfig*)onlineProcessingConfigFromJson:(NSDictionary*)input [RGLWConfig setProcessParams:[input valueForKey:@"processParams"] :params]; result.processParams = params; } + if([input valueForKey:@"requestHeaders"] != nil) { + RGLWRequestInterceptorProxy* proxy = [[RGLWRequestInterceptorProxy alloc] initWithHeaders:[input valueForKey:@"requestHeaders"]]; + [self holdWeakReference: proxy]; + result.requestInterceptingDelegate = proxy; + } return result; } @@ -470,10 +545,10 @@ +(NSDictionary*)generatePKDCertificate:(RGLPKDCertificate*)input { +(RGLRFIDParams*)rfidParamsFromJson:(NSDictionary*)input { RGLRFIDParams* result = [RGLRFIDParams new]; - + if([input valueForKey:@"paIgnoreNotificationCodes"] != nil) result.paIgnoreNotificationCodes = [input valueForKey:@"paIgnoreNotificationCodes"]; - + return result; } @@ -498,7 +573,7 @@ +(NSDictionary*)generateProcessParams:(RGLProcessParams*)input { +(RGLFaceAPIParams*)faceAPIParamsFromJson:(NSDictionary*)input { RGLFaceAPIParams* result = [RGLFaceAPIParams defaultParams]; - + if([input valueForKey:@"url"] != nil) result.url = [input valueForKey:@"url"]; if([input valueForKey:@"mode"] != nil) @@ -515,7 +590,7 @@ +(RGLFaceAPIParams*)faceAPIParamsFromJson:(NSDictionary*)input { result.proxyPassword = [input valueForKey:@"proxyPassword"]; if([input valueForKey:@"proxyType"] != nil) result.proxyType = [input valueForKey:@"proxyType"]; - + return result; } @@ -537,14 +612,14 @@ +(NSDictionary*)generateFaceAPIParams:(RGLFaceAPIParams*)input { +(RGLFaceAPISearchParams*)faceAPISearchParamsFromJson:(NSDictionary*)input { RGLFaceAPISearchParams* result = [RGLFaceAPISearchParams new]; - + if([input valueForKey:@"limit"] != nil) result.limit = [input valueForKey:@"limit"]; if([input valueForKey:@"threshold"] != nil) result.threshold = [input valueForKey:@"threshold"]; if([input valueForKey:@"groupIds"] != nil) result.groupIDs = [input valueForKey:@"groupIds"]; - + return result; } @@ -897,8 +972,10 @@ +(NSDictionary*)generateImageQuality:(RGLImageQuality*)input { result[@"featureType"] = @(input.featureType); if(input.boundRects != nil){ NSMutableArray *array = [NSMutableArray new]; - for(NSValue* item in input.boundRects) - [array addObject:[self generateRect:[item CGRectValue]]]; + for(NSValue* item in input.boundRects) { + id rect = [self generateRect:[item CGRectValue]]; + if(rect) [array addObject:rect]; + } result[@"boundRects"] = array; } @@ -990,7 +1067,7 @@ +(NSString*)generateDocumentReaderNotification:(RGLRFIDNotify*)input{ result[@"notificationCode"] = @(input.code & -0x10000); result[@"dataFileType"] = @((int)input.attachment); result[@"progress"] = @((int)input.value); - + return [RGLWJSONConstructor dictToString: result]; } @@ -1649,10 +1726,10 @@ +(RGLDataField*)dataFieldFromJson:(NSDictionary*)input { +(NSDictionary*)generateDataField:(RGLDataField*)input { NSMutableDictionary *result = [NSMutableDictionary new]; if(input == nil) return nil; - + result[@"data"] = input.data; result[@"fieldType"] = @(input.fieldType); - + return result; } @@ -1661,10 +1738,12 @@ +(RGLAuthenticityCheck*)authenticityCheckFromJson:(NSDictionary*)input { NSMutableArray *array = [NSMutableArray new]; for(NSDictionary* item in [input valueForKey:@"elements"]) [array addObject:[self authenticityElementFromJson:item]]; - return [[RGLAuthenticityCheck alloc] - initWithAuthenticity:[[input valueForKey:@"type"] integerValue] - elements:array - pageIndex:[[input valueForKey:@"pageIndex"] integerValue]]; + RGLAuthenticityCheck* result = [[RGLAuthenticityCheck alloc] + initWithAuthenticity:[[input valueForKey:@"type"] integerValue] + elements:array + pageIndex:[[input valueForKey:@"pageIndex"] integerValue]]; + if (input[@"status"]) [result setValue:input[@"status"] forKey:@"status"]; + return result;; } +(NSDictionary*)generateAuthenticityCheck:(RGLAuthenticityCheck*)input { @@ -1767,8 +1846,10 @@ +(RGLDocumentReaderAuthenticityResult*)documentReaderAuthenticityResultFromJson: NSMutableArray *array = [NSMutableArray new]; for(NSDictionary* item in [input valueForKey:@"checks"]) [array addObject:[self authenticityCheckFromJson:item]]; - return [[RGLDocumentReaderAuthenticityResult alloc] - initWithAuthenticityChecks:array]; + RGLDocumentReaderAuthenticityResult* result = [[RGLDocumentReaderAuthenticityResult alloc] + initWithAuthenticityChecks:array]; + if (input[@"status"]) [result setValue:input[@"status"] forKey:@"_security"]; + return result; } +(NSDictionary*)generateDocumentReaderAuthenticityResult:(RGLDocumentReaderAuthenticityResult*)input { @@ -1866,7 +1947,7 @@ +(NSDictionary*)generatePAAttribute:(RGLPAAttribute*)input { +(RGLTAChallenge*)taChallengeFromJson:(NSDictionary*)input { NSMutableDictionary* json = input.mutableCopy; - json[@"#text"] = [self base64Decode:[input valueForKey:@"data"]]; + json[@"#text"] = [input valueForKey:@"data"]; json[@"@auxPCD"] = [input valueForKey:@"auxPCD"]; json[@"@challengePICC"] = [input valueForKey: @"challengePICC"]; json[@"@hashPK"] = [input valueForKey:@"hashPK"]; @@ -1911,6 +1992,10 @@ +(NSDictionary*)generateDocumentReaderResultsStatus:(RGLDocumentReaderResultsSta result[@"detailsRFID"] = [self generateRFIDSessionDataStatus:input.detailsRFID]; result[@"portrait"] = @(input.portrait); result[@"stopList"] = @(input.stopList); + result[@"mDL"] = @(input.mDL); + result[@"age"] = @(input.age); + result[@"captureProcessIntegrity"] = @(input.captureProcessIntegrity); + result[@"detailsAge"] = [self generateDetailsAge:input.detailsAge]; return result; } @@ -1969,6 +2054,24 @@ +(NSDictionary*)generateRFIDSessionDataStatus:(RGLRFIDSessionDataStatus*)input { return result; } ++(RGLDetailsAge*)detailsAgeFromJson:(NSDictionary*)input { + return [RGLDetailsAge performSelector:NSSelectorFromString(@"detailsAgeWithJSON:") withObject:input]; +} + ++(NSDictionary*)generateDetailsAge:(RGLDetailsAge*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"threshold"] = input.threshold; + result[@"overThreshold"] = @(input.overThreshold); + result[@"over18"] = @(input.over18); + result[@"over21"] = @(input.over21); + result[@"over25"] = @(input.over25); + result[@"over65"] = @(input.over65); + + return result; +} + +(NSDictionary*)vdsncDataDictionaryFromJson:(NSDictionary*)input { NSMutableDictionary* json = [NSMutableDictionary new]; @@ -2201,6 +2304,408 @@ +(NSDictionary*)generateDocumentReaderValidity:(RGLDocumentReaderValidity*)input return result; } ++(RGLDocFeature*)docFeatureFromJson:(NSDictionary*)input { + NSMutableDictionary* json = input.mutableCopy; + json[@"Type"] = input[@"type"]; + json[@"Data"] = [self bytesDataDictionaryFromJson: input[@"data"]]; + return [RGLDocFeature initWithJSON: json]; +} + ++(NSDictionary*)generateDocFeature:(RGLDocFeature*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"type"] = input.type; + result[@"data"] = [self generateBytesData:input.data]; + + return result; +} + ++(RGLVDSData*)vdsDataFromJson:(NSDictionary*)input { + NSMutableArray* certificateChain = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"certificateChain"]){ + [certificateChain addObject:[self certificateChainFromJson:item]]; + } + NSMutableArray* docFeatures = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"docFeatures"]){ + [docFeatures addObject:[self docFeatureFromJson:item]]; + } + NSMutableArray* notifications = [NSMutableArray new]; + for(NSNumber* item in [input valueForKey:@"notifications"]){ + [notifications addObject:item]; + } + + RGLVDSData* result = [RGLVDSData alloc]; + SEL sel = NSSelectorFromString(@"initWithType:docType:featureRef:version:certificate:issuingCountry:docIssueDate:signature:signatureDate:signer:certificateChain:docFeatures:notifications:"); + IMP imp = [result methodForSelector:sel]; + void (*func)(id, SEL, NSInteger, NSInteger, NSInteger, NSInteger, id, id, id, id, id, id, id, id, id) = (void *)imp; + func(result, + sel, + [input[@"type"] integerValue], + [input[@"docType"] integerValue], + [input[@"featureRef"] integerValue], + [input[@"version"] integerValue], + input[@"certificate"], + input[@"issuingCountry"], + input[@"docIssueDate"], + [self bytesDataFromJson:input[@"signature"]], + input[@"signatureDate"], + input[@"signer"], + certificateChain, + docFeatures, + notifications); + return result; +} + ++(NSDictionary*)generateVDSData:(RGLVDSData*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"type"] = @(input.type); + result[@"docType"] = @(input.docType); + result[@"featureRef"] = @(input.featureRef); + result[@"version"] = @(input.version); + result[@"certificate"] = input.certificate; + result[@"issuingCountry"] = input.issuingCountry; + result[@"docIssueDate"] = input.docIssueDate; + result[@"signature"] = [self generateBytesData:input.signature]; + result[@"signatureDate"] = input.signatureDate; + result[@"signer"] = input.signer; + if(input.certificateChain != nil){ + NSMutableArray *array = [NSMutableArray new]; + for(RGLCertificateChain* item in input.certificateChain) + [array addObject:[self generateCertificateChain:item]]; + result[@"certificateChain"] = array; + } + if(input.docFeatures != nil){ + NSMutableArray *array = [NSMutableArray new]; + for(RGLDocFeature* item in input.docFeatures) + [array addObject:[self generateDocFeature:item]]; + result[@"docFeatures"] = array; + } + if(input.notifications != nil){ + NSMutableArray *array = [NSMutableArray new]; + for(NSNumber* item in input.notifications) + [array addObject:item]; + result[@"notifications"] = array; + } + + return result; +} + ++(RGLDeviceRetrievalMethod*)deviceRetrievalMethodFromJson:(NSDictionary*)input { + return [[RGLDeviceRetrievalMethod alloc] initWithJSON:input]; +} + ++(NSDictionary*)generateDeviceRetrievalMethod:(RGLDeviceRetrievalMethod*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"type"] = @(input.type); + result[@"version"] = input.version; + result[@"cmdMaxLength"] = input.cmdMaxLength; + result[@"respMaxLength"] = input.respMaxLength; + result[@"clientModeSupport"] = input.clientModeSupport; + result[@"clientModeUUID"] = input.clientModeUUID; + result[@"serverModeSupport"] = input.serverModeSupport; + result[@"serverModeUUID"] = input.serverModeUUID; + + return result; +} + ++(RGLDeviceEngagement*)deviceEngagementFromJson:(NSDictionary*)input { + RGLDeviceEngagement* result = [RGLDeviceEngagement new]; + + + NSMutableArray* deviceRetrievalMethods = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"deviceRetrievalMethods"]){ + [deviceRetrievalMethods addObject:[self deviceRetrievalMethodFromJson: item]]; + } + result.deviceRetrievalMethods = deviceRetrievalMethods; + + return result; + +} + ++(NSDictionary*)generateDeviceEngagement:(RGLDeviceEngagement*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + NSMutableArray *array = [NSMutableArray new]; + for(RGLDeviceRetrievalMethod* item in input.deviceRetrievalMethods) + [array addObject:[self generateDeviceRetrievalMethod:item]]; + result[@"deviceRetrievalMethods"] = array; + + return result; +} + ++(RGLNameSpaceMDL*)nameSpaceMDLFromJson:(NSDictionary*)input { + RGLNameSpaceMDL* result = [[RGLNameSpaceMDL alloc] initWithName:input[@"name"]]; + + NSDictionary* map = input[@"map"]; + for (NSString* key in map) { + [result addField:key intentToRetain:[map[key] integerValue]]; + } + + return result; + +} + ++(NSDictionary*)generateNameSpaceMDL:(RGLNameSpaceMDL*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"name"] = input.name; + result[@"map"] = [input valueForKey:@"jsonDict"]; + + return result; +} + ++(RGLDocumentRequestMDL*)documentRequestMDLFromJson:(NSDictionary*)input { + NSString* docType = input[@"docType"]; + if([docType isEqual: @"org.iso.18013.5.1.mDL"]) return [self documentRequest18013MDLFromJson: input]; + RGLDocumentRequestMDL* result = [[RGLDocumentRequestMDL alloc] initWithDocType:docType]; + + NSMutableArray* nameSpaces = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"namespaces"]){ + [nameSpaces addObject:[self nameSpaceMDLFromJson: item]]; + } + [result setValue:nameSpaces forKey:@"nameSpaces"]; + + return result; + +} + ++(NSDictionary*)generateDocumentRequestMDL:(RGLDocumentRequestMDL*)input { + if(input == nil) return nil; + NSString* docType = [input valueForKey:@"docType"]; + if([docType isEqual: @"org.iso.18013.5.1.mDL"]) return [self generateDocumentRequest18013MDL: (RGLDocumentRequest18013MDL*)input]; + NSMutableDictionary* result = [NSMutableDictionary new]; + + NSMutableArray *array = [NSMutableArray new]; + for(RGLNameSpaceMDL* item in [input valueForKey:@"nameSpaces"]) + [array addObject:[self generateNameSpaceMDL:item]]; + + result[@"docType"] = docType; + result[@"namespaces"] = array; + + return result; +} + ++(RGLDocumentRequest18013MDL*)documentRequest18013MDLFromJson:(NSDictionary*)input { + if(input == nil) return nil; + RGLDocumentRequest18013MDL* result = [RGLDocumentRequest18013MDL new]; + + if ([input valueForKey:@"docType"] != nil) { + [result setValue:[input valueForKey:@"docType"] forKey:@"docType"]; + } + if ([input valueForKey:@"namespaces"] != nil) { + NSMutableArray* nameSpaces = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"namespaces"]){ + [nameSpaces addObject:[self nameSpaceMDLFromJson: item]]; + } + [result setValue:nameSpaces forKey:@"nameSpaces"]; + } + if (input[@"familyName"]) result.familyName = [input[@"familyName"] integerValue]; + if (input[@"givenName"]) result.givenName = [input[@"givenName"] integerValue]; + if (input[@"birthDate"]) result.birthDate = [input[@"birthDate"] integerValue]; + if (input[@"issueDate"]) result.issueDate = [input[@"issueDate"] integerValue]; + if (input[@"expiryDate"]) result.expiryDate = [input[@"expiryDate"] integerValue]; + if (input[@"issuingCountry"]) result.issuingCountry = [input[@"issuingCountry"] integerValue]; + if (input[@"issuingAuthority"]) result.issuingAuthority = [input[@"issuingAuthority"] integerValue]; + if (input[@"documentNumber"]) result.documentNumber = [input[@"documentNumber"] integerValue]; + if (input[@"portrait"]) result.portrait = [input[@"portrait"] integerValue]; + if (input[@"drivingPrivileges"]) result.drivingPrivileges = [input[@"drivingPrivileges"] integerValue]; + if (input[@"unDistinguishingSign"]) result.unDistinguishingSign = [input[@"unDistinguishingSign"] integerValue]; + if (input[@"administrativeNumber"]) result.administrativeNumber = [input[@"administrativeNumber"] integerValue]; + if (input[@"sex"]) result.sex = [input[@"sex"] integerValue]; + if (input[@"height"]) result.height = [input[@"height"] integerValue]; + if (input[@"weight"]) result.weight = [input[@"weight"] integerValue]; + if (input[@"eyeColour"]) result.eyeColour = [input[@"eyeColour"] integerValue]; + if (input[@"hairColour"]) result.hairColour = [input[@"hairColour"] integerValue]; + if (input[@"birthPlace"]) result.birthPlace = [input[@"birthPlace"] integerValue]; + if (input[@"residentAddress"]) result.residentAddress = [input[@"residentAddress"] integerValue]; + if (input[@"portraitCaptureDate"]) result.portraitCaptureDate = [input[@"portraitCaptureDate"] integerValue]; + if (input[@"ageInYears"]) result.ageInYears = [input[@"ageInYears"] integerValue]; + if (input[@"ageBirthYear"]) result.ageBirthYear = [input[@"ageBirthYear"] integerValue]; + if (input[@"ageOver18"]) result.ageOver18 = [input[@"ageOver18"] integerValue]; + if (input[@"issuingJurisdiction"]) result.issuingJurisdiction = [input[@"issuingJurisdiction"] integerValue]; + if (input[@"nationality"]) result.nationality = [input[@"nationality"] integerValue]; + if (input[@"residentCity"]) result.residentCity = [input[@"residentCity"] integerValue]; + if (input[@"residentState"]) result.residentState = [input[@"residentState"] integerValue]; + if (input[@"residentPostalCode"]) result.residentPostalCode = [input[@"residentPostalCode"] integerValue]; + if (input[@"residentCountry"]) result.residentCountry = [input[@"residentCountry"] integerValue]; + if (input[@"biometricTemplateFace"]) result.biometricTemplateFace = [input[@"biometricTemplateFace"] integerValue]; + if (input[@"biometricTemplateIris"]) result.biometricTemplateIris = [input[@"biometricTemplateIris"] integerValue]; + if (input[@"biometricTemplateFinger"]) result.biometricTemplateFinger = [input[@"biometricTemplateFinger"] integerValue]; + if (input[@"biometricTemplateSignatureSign"]) result.biometricTemplateSignatureSign = [input[@"biometricTemplateSignatureSign"] integerValue]; + if (input[@"familyNameNationalCharacter"]) result.familyNameNationalCharacter = [input[@"familyNameNationalCharacter"] integerValue]; + if (input[@"givenNameNationalCharacter"]) result.givenNameNationalCharacter = [input[@"givenNameNationalCharacter"] integerValue]; + if (input[@"signatureUsualMark"]) result.signatureUsualMark = [input[@"signatureUsualMark"] integerValue]; + + return result; +} + ++(NSDictionary*)generateDocumentRequest18013MDL:(RGLDocumentRequest18013MDL*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + NSMutableArray *array = [NSMutableArray new]; + for(RGLNameSpaceMDL* item in [input valueForKey:@"nameSpaces"]) + [array addObject:[self generateNameSpaceMDL:item]]; + + result[@"docType"] = [input valueForKey:@"docType"]; + result[@"namespaces"] = array; + if (input.familyName != -1) result[@"familyName"] = @(input.familyName); + if (input.givenName != -1) result[@"givenName"] = @(input.givenName); + if (input.birthDate != -1) result[@"birthDate"] = @(input.birthDate); + if (input.issueDate != -1) result[@"issueDate"] = @(input.issueDate); + if (input.expiryDate != -1) result[@"expiryDate"] = @(input.expiryDate); + if (input.issuingCountry != -1) result[@"issuingCountry"] = @(input.issuingCountry); + if (input.issuingAuthority != -1) result[@"issuingAuthority"] = @(input.issuingAuthority); + if (input.documentNumber != -1) result[@"documentNumber"] = @(input.documentNumber); + if (input.portrait != -1) result[@"portrait"] = @(input.portrait); + if (input.drivingPrivileges != -1) result[@"drivingPrivileges"] = @(input.drivingPrivileges); + if (input.unDistinguishingSign != -1) result[@"unDistinguishingSign"] = @(input.unDistinguishingSign); + if (input.administrativeNumber != -1) result[@"administrativeNumber"] = @(input.administrativeNumber); + if (input.sex != -1) result[@"sex"] = @(input.sex); + if (input.height != -1) result[@"height"] = @(input.height); + if (input.weight != -1) result[@"weight"] = @(input.weight); + if (input.eyeColour != -1) result[@"eyeColour"] = @(input.eyeColour); + if (input.hairColour != -1) result[@"hairColour"] = @(input.hairColour); + if (input.birthPlace != -1) result[@"birthPlace"] = @(input.birthPlace); + if (input.residentAddress != -1) result[@"residentAddress"] = @(input.residentAddress); + if (input.portraitCaptureDate != -1) result[@"portraitCaptureDate"] = @(input.portraitCaptureDate); + if (input.ageInYears != -1) result[@"ageInYears"] = @(input.ageInYears); + if (input.ageBirthYear != -1) result[@"ageBirthYear"] = @(input.ageBirthYear); + if (input.ageOver18 != -1) result[@"ageOver18"] = @(input.ageOver18); + if (input.issuingJurisdiction != -1) result[@"issuingJurisdiction"] = @(input.issuingJurisdiction); + if (input.nationality != -1) result[@"nationality"] = @(input.nationality); + if (input.residentCity != -1) result[@"residentCity"] = @(input.residentCity); + if (input.residentState != -1) result[@"residentState"] = @(input.residentState); + if (input.residentPostalCode != -1) result[@"residentPostalCode"] = @(input.residentPostalCode); + if (input.residentCountry != -1) result[@"residentCountry"] = @(input.residentCountry); + if (input.biometricTemplateFace != -1) result[@"biometricTemplateFace"] = @(input.biometricTemplateFace); + if (input.biometricTemplateIris != -1) result[@"biometricTemplateIris"] = @(input.biometricTemplateIris); + if (input.biometricTemplateFinger != -1) result[@"biometricTemplateFinger"] = @(input.biometricTemplateFinger); + if (input.biometricTemplateSignatureSign != -1) result[@"biometricTemplateSignatureSign"] = @(input.biometricTemplateSignatureSign); + if (input.familyNameNationalCharacter != -1) result[@"familyNameNationalCharacter"] = @(input.familyNameNationalCharacter); + if (input.givenNameNationalCharacter != -1) result[@"givenNameNationalCharacter"] = @(input.givenNameNationalCharacter); + if (input.signatureUsualMark != -1) result[@"signatureUsualMark"] = @(input.signatureUsualMark); + + return result; +} + ++(RGLDataRetrieval*)dataRetrievalFromJson:(NSDictionary*)input { + RGLDataRetrieval* result = [[RGLDataRetrieval alloc] initWithDeviceRetrieval:[input[@"deviceRetrieval"] integerValue]]; + + if (input[@"docRequestPreset"]) + [result setDocRequestPreset:[input[@"docRequestPreset"] integerValue] intentToRetain:[input[@"intentToRetain"] integerValue]]; + + NSMutableArray* requests = [NSMutableArray new]; + for(NSDictionary* item in [input valueForKey:@"requests"]){ + [requests addObject:[self documentRequestMDLFromJson: item]]; + } + result.requests = requests; + + return result; +} + ++(NSDictionary*)generateDataRetrieval:(RGLDataRetrieval*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"deviceRetrieval"] = [input valueForKey:@"deviceRetrieval"]; + result[@"docRequestPreset"] = [input valueForKey:@"docRequestPreset"]; + result[@"intentToRetain"] = [input valueForKey:@"intentToRetain"]; + + NSMutableArray *array = [NSMutableArray new]; + for(RGLDocumentRequestMDL* item in input.requests) + [array addObject:[self generateDocumentRequestMDL:item]]; + result[@"requests"] = array; + + return result; +} + ++(NSString*)generateDeviceEngagementCompletion:(RGLDeviceEngagement*)deviceEngagement :(NSError*)error { + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"deviceEngagement"] = [self generateDeviceEngagement:deviceEngagement]; + result[@"error"] = [self generateError:error]; + + return [RGLWJSONConstructor dictToString: result]; +} + ++(RGLFinalizeConfig*)finalizeConfigFromJson:(NSDictionary*)input { + if(input == nil) return nil; + RGLFinalizeConfig *result = [RGLFinalizeConfig defaultParams]; + + if (input[@"rawImages"]) result.rawImages = [input[@"rawImages"] boolValue]; + if (input[@"video"]) result.video = [input[@"video"] boolValue]; + if (input[@"rfidSession"]) result.rfidSession = [input[@"rfidSession"] boolValue]; + if (input[@"mdlSession"]) result.mdlSession = [input[@"mdlSession"] boolValue]; + + return result; +} + ++(NSDictionary*)generateFinalizeConfig:(RGLFinalizeConfig*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"rawImages"] = @(input.rawImages); + result[@"video"] = @(input.video); + result[@"rfidSession"] = @(input.rfidSession); + result[@"mdlSession"] = @(input.mdlSession); + + return result; +} + ++(RGLRFIDAccessControlPACE*)paceProtocolFromJson:(NSDictionary*)input { + NSMutableDictionary* json = input.mutableCopy; + + json[@"Version"] = input[@"version"]; + json[@"StdDomainParams"] = input[@"stdDomainParams"]; + json[@"KeyAlgorithm"] = input[@"keyAlgorithm"]; +#pragma clang diagnostic ignored "-Warc-performSelector-leaks" + return [[RGLRFIDAccessControlPACE alloc] performSelector:NSSelectorFromString(@"initWithJSON:") withObject:json]; +#pragma clang diagnostic pop +} + ++(NSDictionary*)generatePaceProtocol:(RGLRFIDAccessControlPACE*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"version"] = [NSString stringWithFormat:@"%ld", (long)input.version]; + result[@"stdDomainParams"] = input.stdDomainParams; + result[@"keyAlgorithm"] = input.keyAlgorithm; + + return result; +} + ++(RGLRFIDAccessControlCA*)caProtocolFromJson:(NSDictionary*)input { + NSMutableDictionary* json = input.mutableCopy; + + json[@"Version"] = input[@"version"]; + json[@"Scheme"] = input[@"scheme"]; + json[@"KeyAlgorithm"] = input[@"keyAlgorithm"]; + json[@"ChipIndividual"] = input[@"chipIndividual"]; +#pragma clang diagnostic ignored "-Warc-performSelector-leaks" + return [[RGLRFIDAccessControlCA alloc] performSelector:NSSelectorFromString(@"initWithJSON:") withObject:json]; +#pragma clang diagnostic pop +} + ++(NSDictionary*)generateCaProtocol:(RGLRFIDAccessControlCA*)input { + if(input == nil) return nil; + NSMutableDictionary* result = [NSMutableDictionary new]; + + result[@"version"] = [NSString stringWithFormat:@"%ld", (long)input.version]; + result[@"scheme"] = input.scheme; + result[@"keyAlgorithm"] = input.keyAlgorithm; + result[@"chipIndividual"] = [NSNumber numberWithBool: input.chipIndividual]; + + return result; +} + +(RGLDocumentReaderResults*)documentReaderResultsFromJson:(NSDictionary*)input { NSMutableArray* documentType = [NSMutableArray new]; for(NSDictionary* item in [input valueForKey:@"documentType"]){ @@ -2223,26 +2728,32 @@ +(RGLDocumentReaderResults*)documentReaderResultsFromJson:(NSDictionary*)input { [imageQuality addObject:[self imageQualityGroupFromJson:item]]; } - return [[RGLDocumentReaderResults alloc] - initWithDocumentTypes:documentType - textResult:[self documentReaderTextResultFromJson: [input valueForKey:@"textResult"]] - graphicResult:[self documentReaderGraphicResultFromJson: [input valueForKey:@"graphicResult"]] - rawResult:[input valueForKey:@"rawResult"] - documentPosition:documentPosition - barcodePosition:barcodePosition - mrzPosition:mrzPosition - imageQualityGroup:imageQuality - authenticityResults:[self documentReaderAuthenticityResultFromJson: [input valueForKey:@"authenticityResult"]] - rfidSessionData:[self rfidSessionDataFromJson: [input valueForKey:@"rfidSessionData"]] - chipPage:[[input valueForKey:@"chipPage"] integerValue] - barcodeResult:[self documentReaderBarcodeResultFromJson: [input valueForKey:@"barcodeResult"]] - vdsncData:[self vdsncDataFromJson: [input valueForKey:@"vdsncData"]] - status:[self documentReaderResultsStatusFromJson: [input valueForKey:@"status"]] - processingFinished:[[input valueForKey:@"processingFinishedStatus"] integerValue] - morePagesAvailable:[[input valueForKey:@"morePagesAvailable"] integerValue] - elapsedTime:[[input valueForKey:@"elapsedTime"] integerValue] - elapsedTimeRFID:[[input valueForKey:@"elapsedTimeRFID"] integerValue] - transactionInfo:[self transactionInfoFromJson:[input valueForKey:@"transactionInfo"]]]; + RGLDocumentReaderResults* result = [[RGLDocumentReaderResults alloc] + initWithDocumentTypes:documentType + textResult:[self documentReaderTextResultFromJson: [input valueForKey:@"textResult"]] + graphicResult:[self documentReaderGraphicResultFromJson: [input valueForKey:@"graphicResult"]] + rawResult:[input valueForKey:@"rawResult"] + documentPosition:documentPosition + barcodePosition:barcodePosition + mrzPosition:mrzPosition + imageQualityGroup:imageQuality + authenticityResults:[self documentReaderAuthenticityResultFromJson: [input valueForKey:@"authenticityResult"]] + rfidSessionData:[self rfidSessionDataFromJson: [input valueForKey:@"rfidSessionData"]] + chipPage:[[input valueForKey:@"chipPage"] integerValue] + barcodeResult:[self documentReaderBarcodeResultFromJson: [input valueForKey:@"barcodeResult"]] + vdsncData:[self vdsncDataFromJson: [input valueForKey:@"vdsncData"]] + vdsData:[self vdsDataFromJson: [input valueForKey:@"vdsData"]] + status:[self documentReaderResultsStatusFromJson: [input valueForKey:@"status"]] + processingFinished:[[input valueForKey:@"processingFinishedStatus"] integerValue] + morePagesAvailable:[[input valueForKey:@"morePagesAvailable"] integerValue] + elapsedTime:[[input valueForKey:@"elapsedTime"] integerValue] + elapsedTimeRFID:[[input valueForKey:@"elapsedTimeRFID"] integerValue] + transactionInfo:[self transactionInfoFromJson:[input valueForKey:@"transactionInfo"]]]; + + [result setValue:[RGLWJSONConstructor base64Decode:input[@"dtcData"]] forKey:@"dtcData"]; + [result setValue:input[@"bsiTr03135Results"] forKey:@"bsiTr03135Results"]; + + return result; } +(NSDictionary*)generateDocumentReaderResults:(RGLDocumentReaderResults*)input { @@ -2290,8 +2801,11 @@ +(NSDictionary*)generateDocumentReaderResults:(RGLDocumentReaderResults*)input { result[@"elapsedTime"] = @(input.elapsedTime); result[@"elapsedTimeRFID"] = @(input.elapsedTimeRFID); result[@"rawResult"] = input.rawResult; + result[@"bsiTr03135Results"] = input.bsiTr03135Results; result[@"status"] = [self generateDocumentReaderResultsStatus:input.status]; result[@"vdsncData"] = [self generateVDSNCData:input.vdsncData]; + result[@"vdsData"] = [self generateVDSData:input.vdsData]; + result[@"dtcData"] = [self base64Encode: input.dtcData]; result[@"transactionInfo"] = [self generateTransactionInfo:input.transactionInfo]; return result; @@ -2308,3 +2822,22 @@ +(NSDictionary*)generateDictionary:(NSDictionary*)input { } @end + +@implementation RGLWRequestInterceptorProxy { + NSDictionary* _headers; +} + +- (instancetype)initWithHeaders:(NSDictionary*)headers { + self = [super init]; + _headers = [headers copy]; + return self; +} + +-(NSURLRequest*)interceptorPrepareRequest:(NSURLRequest*)request { + NSMutableURLRequest *interceptedRequest = [request mutableCopy]; + for (NSString* key in _headers.allKeys) + [interceptedRequest addValue:[_headers valueForKey:key] forHTTPHeaderField:key]; + return interceptedRequest; +} + +@end diff --git a/ios/Classes/RGLWMain.h b/ios/Classes/RGLWMain.h new file mode 100644 index 0000000000..549705e190 --- /dev/null +++ b/ios/Classes/RGLWMain.h @@ -0,0 +1,34 @@ +#import +#import "RGLWJSONConstructor.h" +#import "RGLWConfig.h" + +typedef void (^RGLWCallback)(id _Nullable response); +typedef void (^RGLWEventSender)(NSString* _Nonnull event, id _Nullable data); +typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature); +extern UIViewController*_Nonnull(^ _Nonnull RGLWRootViewController)(void); + +@interface RGLWMain: NSObject + ++(void)methodCall:(NSString* _Nonnull)method + :(NSArray* _Nonnull)args + :(RGLWCallback _Nonnull)callback + :(RGLWEventSender _Nonnull)eventSender; + +@end + +static NSString* _Nonnull completionEvent = @"completion"; +static NSString* _Nonnull databaseProgressEvent = @"database_progress"; +static NSString* _Nonnull rfidOnProgressEvent = @"rfidOnProgressCompletion"; +static NSString* _Nonnull rfidOnChipDetectedEvent = @"rfidOnChipDetectedEvent"; +static NSString* _Nonnull rfidOnRetryReadChipEvent = @"rfidOnRetryReadChipEvent"; +static NSString* _Nonnull paCertificateCompletionEvent = @"pa_certificate_completion"; +static NSString* _Nonnull taCertificateCompletionEvent = @"ta_certificate_completion"; +static NSString* _Nonnull taSignatureCompletionEvent = @"ta_signature_completion"; +static NSString* _Nonnull paceProtocolCompletionEvent = @"paceProtocolCompletionEvent"; +static NSString* _Nonnull caProtocolCompletionEvent = @"caProtocolCompletionEvent"; +static NSString* _Nonnull drVideoEncoderCompletionEvent = @"video_encoder_completion"; +static NSString* _Nonnull drOnCustomButtonTappedEvent = @"onCustomButtonTappedEvent"; diff --git a/ios/Classes/RGLWMain.m b/ios/Classes/RGLWMain.m new file mode 100644 index 0000000000..59d60f55e1 --- /dev/null +++ b/ios/Classes/RGLWMain.m @@ -0,0 +1,706 @@ +#import "RGLWMain.h" + +@implementation RGLWMain + ++(void)methodCall:(NSString*)method :(NSArray*)args :(RGLWCallback)callback :(RGLWEventSender)eventSender { + if(!this) this = [RGLWMain new]; + sendEvent = eventSender; + NSDictionary* Switch = @{ + @"getDocumentReaderIsReady": ^{ [self getDocumentReaderIsReady :callback]; }, + @"getDocumentReaderStatus": ^{ [self getDocumentReaderStatus :callback]; }, + @"getRfidSessionStatus": ^{ [self getRfidSessionStatus :callback]; }, + @"setRfidSessionStatus": ^{ [self setRfidSessionStatus :args[0]]; }, + @"getTag": ^{ [self getTag :callback]; }, + @"setTag": ^{ [self setTag :args[0]]; }, + @"getTenant": ^{ [self getTenant :callback]; }, + @"setTenant": ^{ [self setTenant :args[0]]; }, + @"getEnv": ^{ [self getEnv :callback]; }, + @"setEnv": ^{ [self setEnv :args[0]]; }, + @"getLocale": ^{ [self getLocale :callback]; }, + @"setLocale": ^{ [self setLocale :args[0]]; }, + @"getFunctionality": ^{ [self getFunctionality :callback]; }, + @"setFunctionality": ^{ [self setFunctionality :args[0]]; }, + @"getProcessParams": ^{ [self getProcessParams :callback]; }, + @"setProcessParams": ^{ [self setProcessParams :args[0]]; }, + @"getCustomization": ^{ [self getCustomization :callback]; }, + @"setCustomization": ^{ [self setCustomization :args[0]]; }, + @"getRfidScenario": ^{ [self getRfidScenario :callback]; }, + @"setRfidScenario": ^{ [self setRfidScenario :args[0]]; }, + @"resetConfiguration": ^{ [self resetConfiguration]; }, + @"initialize": ^{ [self initialize :args[0] :callback]; }, + @"initializeReader": ^{ [self initialize :args[0] :callback]; }, // deprecated + @"initializeReaderWithBleDeviceConfig": ^{ [self initializeReaderWithBleDeviceConfig :args[0] :callback]; }, // deprecated + @"deinitializeReader": ^{ [self deinitializeReader]; }, + @"prepareDatabase": ^{ [self prepareDatabase :args[0] :callback]; }, + @"removeDatabase": ^{ [self removeDatabase :callback]; }, + @"runAutoUpdate": ^{ [self runAutoUpdate :args[0] :callback]; }, + @"cancelDBUpdate": ^{ [self cancelDBUpdate :callback]; }, + @"checkDatabaseUpdate": ^{ [self checkDatabaseUpdate :args[0] :callback]; }, + @"scan": ^{ [self startScanner :args[0]]; }, + @"startScanner": ^{ [self startScanner :args[0]]; }, + @"recognize": ^{ [self recognize :args[0]]; }, + @"startNewPage": ^{ [self startNewPage]; }, + @"stopScanner": ^{ [self stopScanner]; }, + @"startRFIDReader": ^{ [self startRFIDReader :args[0]]; }, + @"readRFID": ^{ [self readRFID :args[0]]; }, + @"stopRFIDReader": ^{ [self stopRFIDReader]; }, + @"providePACertificates": ^{ [self providePACertificates :args[0]]; }, + @"provideTACertificates": ^{ [self provideTACertificates :args[0]]; }, + @"provideTASignature": ^{ [self provideTASignature :args[0]]; }, + @"selectPACEProtocol": ^{ [self selectPACEProtocol :args[0]]; }, + @"selectCAProtocol": ^{ [self selectCAProtocol :args[0]]; }, + @"setTCCParams": ^{ [self setTCCParams :args[0] :callback]; }, + @"addPKDCertificates": ^{ [self addPKDCertificates :args[0]]; }, + @"clearPKDCertificates": ^{ [self clearPKDCertificates]; }, + @"startNewSession": ^{ [self startNewSession]; }, + @"connectBluetoothDevice": ^{ [self connectBluetoothDevice :args[0] :callback]; }, + @"btDeviceRequestFlashing": ^{ /* android only */ }, + @"btDeviceRequestFlashingFullIR": ^{ /* android only */ }, + @"btDeviceRequestTurnOffAll": ^{ /* android only */ }, + @"startReadMDl": ^{ [self startReadMDl :args[0] :args[1] :callback]; }, + @"startEngageDevice": ^{ [self startEngageDevice :args[0] :callback]; }, + @"engageDeviceNFC": ^{ [self engageDeviceNFC :callback]; }, + @"engageDeviceData": ^{ [self engageDeviceData :args[0] :callback]; }, + @"startRetrieveData": ^{ [self startRetrieveData :args[0] :args[1] :callback]; }, + @"retrieveDataNFC": ^{ [self retrieveDataNFC :args[0] :callback]; }, + @"retrieveDataBLE": ^{ [self retrieveDataBLE :args[0] :args[0] :callback]; }, + @"setLocalizationDictionary": ^{ [self setLocalizationDictionary :args[0]]; }, + @"getLicense": ^{ [self getLicense :callback]; }, + @"getAvailableScenarios": ^{ [self getAvailableScenarios :callback]; }, + @"getIsRFIDAvailableForUse": ^{ [self getIsRFIDAvailableForUse :callback]; }, + @"isAuthenticatorRFIDAvailableForUse": ^{ [self isAuthenticatorRFIDAvailableForUse :callback]; }, + @"isAuthenticatorAvailableForUse": ^{ [self isAuthenticatorAvailableForUse :callback]; }, + @"getDocReaderVersion": ^{ [self getDocReaderVersion :callback]; }, + @"getDocReaderDocumentsDatabase": ^{ [self getDocReaderDocumentsDatabase :callback]; }, + @"finalizePackage": ^{ [self finalizePackage :callback]; }, + @"finalizePackageWithFinalizeConfig": ^{ [self finalizePackageWithFinalizeConfig :args[0] :callback]; }, + @"endBackendTransaction": ^{ [self endBackendTransaction]; }, + @"textFieldValueByType": ^{ [self textFieldValueByType :args[0] :args[1] :callback]; }, + @"textFieldValueByTypeLcid": ^{ [self textFieldValueByTypeLcid :args[0] :args[1] :args[2] :callback]; }, + @"textFieldValueByTypeSource": ^{ [self textFieldValueByTypeSource :args[0] :args[1] :args[2] :callback]; }, + @"textFieldValueByTypeLcidSource": ^{ [self textFieldValueByTypeLcidSource :args[0] :args[1] :args[2] :args[3] :callback]; }, + @"textFieldValueByTypeSourceOriginal": ^{ [self textFieldValueByTypeSourceOriginal :args[0] :args[1] :args[2] :args[3] :callback]; }, + @"textFieldValueByTypeLcidSourceOriginal": ^{ [self textFieldValueByTypeLcidSourceOriginal :args[0] :args[1] :args[2] :args[3] :args[4] :callback]; }, + @"textFieldByType": ^{ [self textFieldByType :args[0] :args[1] :callback]; }, + @"textFieldByTypeLcid": ^{ [self textFieldByTypeLcid :args[0] :args[1] :args[2] :callback]; }, + @"graphicFieldByTypeSource": ^{ [self graphicFieldByTypeSource :args[0] :args[1] :args[2] :callback]; }, + @"graphicFieldByTypeSourcePageIndex": ^{ [self graphicFieldByTypeSourcePageIndex :args[0] :args[1] :args[2] :args[3] :callback]; }, + @"graphicFieldByTypeSourcePageIndexLight": ^{ [self graphicFieldByTypeSourcePageIndexLight :args[0] :args[1] :args[2] :args[3] :args[4] :callback]; }, + @"graphicFieldImageByType": ^{ [self graphicFieldImageByType :args[0] :args[1] :callback]; }, + @"graphicFieldImageByTypeSource": ^{ [self graphicFieldImageByTypeSource :args[0] :args[1] :args[2] :callback]; }, + @"graphicFieldImageByTypeSourcePageIndex": ^{ [self graphicFieldImageByTypeSourcePageIndex :args[0] :args[1] :args[2] :args[3] :callback]; }, + @"graphicFieldImageByTypeSourcePageIndexLight": ^{ [self graphicFieldImageByTypeSourcePageIndexLight :args[0] :args[1] :args[2] :args[3] :args[4] :callback]; }, + @"containers": ^{ [self containers :args[0] :args[1] :callback]; }, + @"encryptedContainers": ^{ [self encryptedContainers :args[0] :callback]; }, + @"getTranslation": ^{ [self getTranslation :args[0] :args[1] :callback]; }, + }; + ((void(^)(void))Switch[method])(); +} + +static RGLWMain* this; +static RGLWEventSender sendEvent; +static NSDictionary* headers; + ++(void)getDocumentReaderIsReady:(RGLWCallback)callback { + callback([RGLDocReader.shared isDocumentReaderIsReady] ? @YES : @NO); +} + ++(void)getDocumentReaderStatus:(RGLWCallback)callback { + callback(RGLDocReader.shared.documentReaderStatus); +} + ++(void)getRfidSessionStatus:(RGLWCallback)callback { + callback(RGLDocReader.shared.rfidSessionStatus); +} + ++(void)setRfidSessionStatus:(NSString*)status { + RGLDocReader.shared.rfidSessionStatus = status; +} + ++(void)getTag:(RGLWCallback)callback { + callback([RGLDocReader.shared tag]); +} + ++(void)setTag:(NSString*)tag { + [RGLDocReader.shared setTag:tag]; +} + ++(void)getTenant:(RGLWCallback)callback { + callback([RGLDocReader.shared tenant]); +} + ++(void)setTenant:(NSString*)tag { + [RGLDocReader.shared setTenant:tag]; +} + ++(void)getEnv:(RGLWCallback)callback { + callback([RGLDocReader.shared env]); +} + ++(void)setEnv:(NSString*)tag { + [RGLDocReader.shared setEnv:tag]; +} + ++(void)getLocale:(RGLWCallback)callback { + callback([RGLDocReader.shared languageLocaleCode]); +} + ++(void)setLocale:(NSString*)locale { + [RGLDocReader.shared setLanguageLocaleCode:locale]; +} + ++(void)getFunctionality:(RGLWCallback)callback { + callback([RGLWJSONConstructor dictToString: [RGLWConfig getFunctionality: RGLDocReader.shared.functionality]]); +} + ++(void)setFunctionality:(NSDictionary*)functionality { + [RGLWConfig setFunctionality:functionality :RGLDocReader.shared.functionality]; +} + ++(void)getProcessParams:(RGLWCallback)callback { + callback([RGLWJSONConstructor dictToString: [RGLWConfig getProcessParams:RGLDocReader.shared.processParams]]); +} + ++(void)setProcessParams:(NSDictionary*)processParams { + [RGLWConfig setProcessParams:processParams :RGLDocReader.shared.processParams]; +} + ++(void)getCustomization:(RGLWCallback)callback { + callback([RGLWJSONConstructor dictToString: [RGLWConfig getCustomization :RGLDocReader.shared.customization]]); +} + ++(void)setCustomization:(NSDictionary*)customization { + [RGLWConfig setCustomization:customization :RGLDocReader.shared.customization]; +} + ++(void)getRfidScenario:(RGLWCallback)callback { + callback([RGLWJSONConstructor dictToString: [RGLWConfig getRfidScenario:RGLDocReader.shared.rfidScenario]]); +} + ++(void)setRfidScenario:(NSDictionary*)rfidScenario { + [RGLWConfig setRfidScenario:rfidScenario :RGLDocReader.shared.rfidScenario]; +} + ++(void)resetConfiguration { + RGLDocReader.shared.functionality = [RGLFunctionality new]; + RGLDocReader.shared.processParams = [RGLProcessParams new]; + RGLDocReader.shared.customization = [RGLCustomization new]; + RGLDocReader.shared.rfidScenario = [RGLRFIDScenario new]; +} + ++(void)initialize:(NSDictionary*)config :(RGLWCallback)callback { + if (config[@"useBleDevice"] && [config[@"useBleDevice"] boolValue] == true) + [RGLDocReader.shared initializeReaderWithConfig:[RGLWJSONConstructor bleDeviceConfigFromJson:config :bluetooth] completion: [self initCompletion :callback]]; + else + [RGLDocReader.shared initializeReaderWithConfig:[RGLWJSONConstructor configFromJson:config] completion:[self initCompletion :callback]]; +} + +// deprecated ++(void)initializeReaderWithBleDeviceConfig:(NSDictionary*)config :(RGLWCallback)callback { + [RGLDocReader.shared initializeReaderWithConfig:[RGLWJSONConstructor bleDeviceConfigFromJson:config :bluetooth] completion: [self initCompletion :callback]]; +} + ++(void)deinitializeReader { + [RGLDocReader.shared deinitializeReader]; +} + ++(void)prepareDatabase:(NSString*)databaseID :(RGLWCallback)callback { + [RGLDocReader.shared prepareDatabase:databaseID progressHandler:nil completion:[self prepareCompletion :callback]]; +} + ++(void)removeDatabase:(RGLWCallback)callback { + [RGLDocReader.shared removeDatabase:^(BOOL success, NSError * _Nullable error) { + callback(success ? @YES : @NO); + }]; +} + ++(void)runAutoUpdate:(NSString*)databaseID :(RGLWCallback)callback { + [RGLDocReader.shared runAutoUpdate:databaseID progressHandler:nil completion:[self prepareCompletion :callback]]; +} + ++(void)cancelDBUpdate:(RGLWCallback)callback { + [RGLDocReader.shared cancelDBUpdate]; + callback(@YES); +} + ++(void)checkDatabaseUpdate:(NSString*)databaseID :(RGLWCallback)callback { + [RGLDocReader.shared checkDatabaseUpdate:databaseID completion:^(RGLDocReaderDocumentsDatabase* database) { + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocReaderDocumentsDatabase:database]]); + }]; +} + ++(void)startScanner:(NSDictionary*)config { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared startScannerFromPresenter:RGLWRootViewController() config:[RGLWJSONConstructor scannerConfigFromJson:config] completion:[self completion]]; + }); +} + ++(void)recognize:(NSDictionary*)config { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared recognizeImageFromPresenter:RGLWRootViewController() config:[RGLWJSONConstructor recognizeConfigFromJson:config] completion:[self completion]]; + }); +} + ++(void)startNewPage { + [RGLDocReader.shared startNewPage]; +} + ++(void)stopScanner { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared stopScanner:nil]; + }); +} + ++(void)startRFIDReader:(NSDictionary*)config { + rfidReaderRequest = config; + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared startRFIDReaderFromPresenter:RGLWRootViewController() completion:[self completion]]; + }); +} + ++(void)readRFID:(NSDictionary*)config { + rfidReaderRequest = config; + [RGLDocReader.shared readRFID:^(RGLRFIDNotificationAction notificationAction, RGLRFIDNotify* _Nullable notification) { + if (notification != nil) sendEvent(rfidOnProgressEvent, [RGLWJSONConstructor generateDocumentReaderNotification:notification]); + } completion :^(RGLRFIDCompleteAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error, RGLRFIDErrorCodes errorCode) { + sendEvent(completionEvent, [RGLWJSONConstructor generateCompletion:[RGLWConfig generateRFIDCompleteAction: action] :results :error]); + }]; +} + ++(void)stopRFIDReader { + [RGLDocReader.shared stopRFIDReader:nil]; +} + ++(void)providePACertificates:(NSArray*)certificates { + NSMutableArray *certificatesMutable = [NSMutableArray new]; + for(NSDictionary* certificateJSON in certificates) + [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; + paCertificateCompletion(certificatesMutable); +} + ++(void)provideTACertificates:(NSArray*)certificates { + NSMutableArray *certificatesMutable = [NSMutableArray new]; + for(NSDictionary* certificateJSON in certificates) + [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; + taCertificateCompletion(certificatesMutable); +} + ++(void)provideTASignature:(NSString*)signature { + taSignatureCompletion([RGLWJSONConstructor base64Decode:signature]); +} + ++(void)selectPACEProtocol:(NSDictionary*)protocol { + paceProtocolCompletion([RGLWJSONConstructor paceProtocolFromJson:protocol]); +} + ++(void)selectCAProtocol:(NSDictionary*)protocol { + caProtocolCompletion([RGLWJSONConstructor caProtocolFromJson:protocol]); +} + ++(void)setTCCParams:(NSDictionary*)params :(RGLWCallback)callback { + [RGLDocReader.shared setTCCParams:[RGLWJSONConstructor tccParamsFromJson:params] completion:^(BOOL success, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateSuccessCompletion:success :error]); + }]; +} + ++(void)addPKDCertificates:(NSArray*)certificates { + NSMutableArray *certificatesMutable = [NSMutableArray new]; + for(NSDictionary* certificateJSON in certificates) + [certificatesMutable addObject:[RGLWJSONConstructor pkdCertificateFromJson:certificateJSON]]; + [RGLDocReader.shared addPKDCertificates:certificatesMutable]; +} + ++(void)clearPKDCertificates { + [RGLDocReader.shared clearPKDCertificates]; +} + ++(void)startNewSession { + [RGLDocReader.shared startNewSession]; +} + +RGLBluetooth* bluetooth; +RGLWCallback savedCallbackForBluetoothResult; + ++(void)connectBluetoothDevice:(NSString*)deviceName :(RGLWCallback)callback { + // return if already connected + if (bluetooth && bluetooth.state == RGLBluetoothConnectionStateConnected) return; + + // start searching devices + if (!bluetooth) { + bluetooth = [RGLBluetooth new]; + bluetooth.delegate = this; + } + savedCallbackForBluetoothResult = callback; + [bluetooth connectWithDeviceName:deviceName]; +} + +// RGLBluetoothDelegate +- (void)didChangeConnectionState:(RGLBluetooth *)bluetooth state:(RGLBluetoothConnectionState)state { + if (state == RGLBluetoothConnectionStateNone && savedCallbackForBluetoothResult) + [RGLWMain bluetoothDeviceConnectionFailed]; + + // set searching timeout + if (state == RGLBluetoothConnectionStateSearching) + [[self class] performSelector:NSSelectorFromString(@"bluetoothDeviceConnectionFailed") withObject:nil afterDelay:7.0]; + + if (state == RGLBluetoothConnectionStateConnected) { + savedCallbackForBluetoothResult(@YES); + savedCallbackForBluetoothResult = nil; + [NSObject cancelPreviousPerformRequestsWithTarget:[self class] selector:NSSelectorFromString(@"bluetoothDeviceConnectionFailed") object:nil]; + } +} + ++(void)bluetoothDeviceConnectionFailed { + if (savedCallbackForBluetoothResult) { + savedCallbackForBluetoothResult(@NO); + savedCallbackForBluetoothResult = nil; + } + [bluetooth stopSearchDevices]; + [bluetooth disconnect]; +} + ++(void)startReadMDl:(NSNumber*)type :(NSDictionary*)dataRetrieval :(RGLWCallback)callback { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared startReadMDLFromPresenter:RGLWRootViewController() engagementType:[type integerValue] dataRetrieval:[RGLWJSONConstructor dataRetrievalFromJson:dataRetrieval] completion:^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); + }]; + }); +} + ++(void)startEngageDevice:(NSNumber*)type :(RGLWCallback)callback { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared startEngageDeviceFromPresenter:RGLWRootViewController() type:[type integerValue] completion:^(RGLDeviceEngagement* deviceEngagement, NSError* error) { + callback([RGLWJSONConstructor generateDeviceEngagementCompletion:deviceEngagement :error]); + }]; + }); +} + ++(void)engageDeviceNFC:(RGLWCallback)callback { + dispatch_async(dispatch_get_main_queue(), ^{ + [RGLDocReader.shared engageDeviceNFC:RGLWRootViewController() completion:^(RGLDeviceEngagement * _Nullable deviceEngagement, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateDeviceEngagementCompletion:deviceEngagement :error]); + }]; + }); +} + ++(void)engageDeviceData:(NSString*)data :(RGLWCallback)callback { + [RGLDocReader.shared engageDeviceData:data completion:^(RGLDeviceEngagement * _Nullable deviceEngagement, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateDeviceEngagementCompletion:deviceEngagement :error]); + }]; +} + ++(void)startRetrieveData:(NSDictionary*)dataRetrieval :(NSDictionary*)deviceEngagement :(RGLWCallback)callback { + [RGLDocReader.shared startRetrieveData:[RGLWJSONConstructor deviceEngagementFromJson:deviceEngagement] dataRetrieval:[RGLWJSONConstructor dataRetrievalFromJson:dataRetrieval] completion:^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); + }]; +} + ++(void)retrieveDataNFC:(NSDictionary*)dataRetrieval :(RGLWCallback)callback { + [RGLDocReader.shared retrieveDataNFC:[RGLWJSONConstructor dataRetrievalFromJson:dataRetrieval] completion:^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); + }]; +} + ++(void)retrieveDataBLE:(NSDictionary*)dataRetrieval :(NSDictionary*)deviceEngagement :(RGLWCallback)callback { + [RGLDocReader.shared retrieveDataBLE:[RGLWJSONConstructor deviceEngagementFromJson:deviceEngagement] dataRetrieval:[RGLWJSONConstructor dataRetrievalFromJson:dataRetrieval] completion:^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); + }]; +} + ++(void)setLocalizationDictionary:(NSDictionary*)dictionary { + RGLDocReader.shared.localizationHandler = ^NSString * _Nullable(NSString * _Nonnull localizationKey) { + if(dictionary != nil && ![dictionary isEqual:[NSNull null]] && [dictionary valueForKey:localizationKey] != nil) + return [dictionary valueForKey:localizationKey]; + return nil; + }; +} + ++(void)getLicense :(RGLWCallback)callback { + callback([RGLWJSONConstructor generateLicense:RGLDocReader.shared.license]); +} + ++(void)getAvailableScenarios :(RGLWCallback)callback { + NSMutableArray *availableScenarios = [NSMutableArray new]; + for(RGLScenario *scenario in RGLDocReader.shared.availableScenarios) + [availableScenarios addObject:[RGLWJSONConstructor generateScenario:scenario]]; + callback([RGLWJSONConstructor arrayToString:availableScenarios]); +} + ++(void)getIsRFIDAvailableForUse :(RGLWCallback)callback { + callback(RGLDocReader.shared.isRFIDAvailableForUse ? @YES : @NO); +} + ++(void)getDocReaderVersion :(RGLWCallback)callback { + callback([RGLWJSONConstructor generateDocReaderVersion:RGLDocReader.shared.version]); +} + ++(void)isAuthenticatorRFIDAvailableForUse :(RGLWCallback)callback { + callback(RGLDocReader.shared.isAuthenticatorRFIDAvailableForUse ? @YES : @NO); +} + ++(void)isAuthenticatorAvailableForUse :(RGLWCallback)callback { + callback(RGLDocReader.shared.isAuthenticatorAvailableForUse ? @YES : @NO); +} + ++(void)getDocReaderDocumentsDatabase :(RGLWCallback)callback { + if(RGLDocReader.shared.version != nil) + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocReaderDocumentsDatabase:RGLDocReader.shared.version.database]]); + else callback(nil); +} + ++(void)finalizePackage:(RGLWCallback)callback { + [RGLDocReader.shared finalizePackageWithCompletion:^(RGLDocReaderAction action, RGLTransactionInfo* info, NSError* error) { + callback([RGLWJSONConstructor generateFinalizePackageCompletion:[RGLWConfig generateDocReaderAction: action] :info :error]); + }]; +} + ++(void)finalizePackageWithFinalizeConfig:(NSDictionary*)config :(RGLWCallback)callback { + [RGLDocReader.shared finalizePackageWithFinalizeConfig:[RGLWJSONConstructor finalizeConfigFromJson:config] completion:^(RGLDocReaderAction action, RGLTransactionInfo* info, NSError* error) { + callback([RGLWJSONConstructor generateFinalizePackageCompletion:[RGLWConfig generateDocReaderAction: action] :info :error]); + }]; +} + ++(void)endBackendTransaction { + [RGLDocReader.shared endBackendTransaction]; +} + ++(void)textFieldValueByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue]]); +} + ++(void)textFieldValueByTypeLcid:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue]]); +} + ++(void)textFieldValueByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue] source:[source integerValue]]); +} + ++(void)textFieldValueByTypeLcidSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(NSNumber*)source :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue] source:[source integerValue]]); +} + ++(void)textFieldValueByTypeSourceOriginal:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(BOOL)original :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue] source:[source integerValue] original:original]); +} + ++(void)textFieldValueByTypeLcidSourceOriginal:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(NSNumber*)source :(BOOL)original :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getTextFieldValueByType:[fieldType integerValue] lcid:[lcid integerValue] source:[source integerValue] original:original]); +} + ++(void)textFieldByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + RGLDocumentReaderTextField* result = [results getTextFieldByType:[fieldType integerValue]]; + if (result == nil) callback(nil); + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderTextField:result]]); +} + ++(void)textFieldByTypeLcid:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)lcid :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + RGLDocumentReaderTextField* result = [results getTextFieldByType:[fieldType integerValue] lcid:[lcid integerValue]]; + if (result == nil) callback(nil); + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderTextField:result]]); +} + ++(void)graphicFieldByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue]]; + if (result == nil) callback(nil); + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); +} + ++(void)graphicFieldByTypeSourcePageIndex:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue]]; + if (result == nil) callback(nil); + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); +} + ++(void)graphicFieldByTypeSourcePageIndexLight:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(NSNumber*)light :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + RGLDocumentReaderGraphicField* result = [results getGraphicFieldByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue] light:[light integerValue]]; + if (result == nil) callback(nil); + callback([RGLWJSONConstructor dictToString:[RGLWJSONConstructor generateDocumentReaderGraphicField:result]]); +} + ++(void)graphicFieldImageByType:(NSString*)rawResult :(NSNumber*)fieldType :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue]]]); +} + ++(void)graphicFieldImageByTypeSource:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue]]]); +} + ++(void)graphicFieldImageByTypeSourcePageIndex:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue]]]); +} + ++(void)graphicFieldImageByTypeSourcePageIndexLight:(NSString*)rawResult :(NSNumber*)fieldType :(NSNumber*)source :(NSNumber*)pageIndex :(NSNumber*)light :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([RGLWJSONConstructor base64WithImage:[results getGraphicFieldImageByType:[fieldType integerValue] source:[source integerValue] pageIndex:[pageIndex integerValue] light:[light integerValue]]]); +} + ++(void)containers:(NSString*)rawResult :(NSArray*)resultType :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getContainersByResultTypes:resultType]); +} + ++(void)encryptedContainers:(NSString*)rawResult :(RGLWCallback)callback { + RGLDocumentReaderResults* results = [RGLDocumentReaderResults initWithRawString:rawResult]; + callback([results getEncryptedContainers]); +} + ++(void)getTranslation:(NSString*)className :(NSNumber*)value :(RGLWCallback)callback { + if([className isEqualToString:@"RFIDErrorCodes"]) + callback(RGLRFIDErrorCodesGetStringValue([value intValue])); + else if([className isEqualToString:@"LDSParsingErrorCodes"]) + callback(eLDS_ParsingErrorCodesGetStringValue([value intValue])); + else if([className isEqualToString:@"LDSParsingNotificationCodes"]) + callback(eLDS_ParsingNotificationCodesGetStringValue([value intValue])); + else if([className isEqualToString:@"ImageQualityCheckType"]) + callback(RGLImageQualityCheckTypeGetStringValue([RGLWConfig imageQualityCheckTypeWithNumber:value])); + else if([className isEqualToString:@"RFIDDataFileType"]) + callback(RGLRFIDDataFileTypeGetStringValue([value intValue])); + else if([className isEqualToString:@"VisualFieldType"]) + callback(RGLFieldTypeGetStringValue([value intValue])); + else if([className isEqualToString:@"LCID"]) + callback([RGLDocumentReaderTextField lcidName:[value intValue]]); +} + ++(RGLDocumentReaderCompletion _Nonnull)completion { + return ^(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error) { + sendEvent(completionEvent, [RGLWJSONConstructor generateCompletion:[RGLWConfig generateDocReaderAction: action] :results :error]); + }; +} + ++(RGLDocumentReaderPrepareCompletion _Nonnull)prepareCompletion:(RGLWCallback)callback { + RGLDocReader.shared.databaseFetchDelegate = this; + return ^(BOOL success, NSError * _Nullable error) { + callback([RGLWJSONConstructor generateSuccessCompletion:success :error]); + }; +} + ++(RGLDocumentReaderInitializationCompletion)initCompletion:(RGLWCallback)callback { + return ^(BOOL success, NSError * _Nullable error ) { + if (success) { + RGLDocReader.shared.rfidDelegate = this; + RGLDocReader.shared.functionality.recordScanningProcessDelegate = this; + RGLDocReader.shared.customization.actionDelegate = this; + } + callback([RGLWJSONConstructor generateSuccessCompletion:success :error]); + }; +} + +// RGLDocReaderDatabaseFetchDelegate +- (void)onProgressChanged:(NSNumber *)downloadedBytes totalBytes:(NSNumber *)totalBytes { + int progress = 0; + if (downloadedBytes > 0 && totalBytes > 0) { + double percent = [downloadedBytes doubleValue] / [totalBytes doubleValue]; + progress = (int) (percent * 100); + } + NSDictionary* result = @{ + @"downloadedBytes":downloadedBytes, + @"totalBytes":totalBytes, + @"progress":@(progress) + }; + sendEvent(databaseProgressEvent, [RGLWJSONConstructor dictToString: result]); +} + +// RGLCustomizationActionDelegate +- (void)onCustomButtonTappedWithTag:(NSInteger)tag { + sendEvent(drOnCustomButtonTappedEvent, @(tag)); +} + +// RGLRecordScanningProcessDelegate +- (void)didFinishRecordingToFile:(NSURL *)fileURL { + sendEvent(drVideoEncoderCompletionEvent, fileURL.absoluteString); +} + +- (void)didFailWithError:(NSError *)error { + // ignore error to match android +} + +RGLRFIDCertificatesCallback paCertificateCompletion; +RGLRFIDCertificatesCallback taCertificateCompletion; +RGLWRFIDSignatureCallback taSignatureCompletion; +RGLRFIDAccessControlPACECallback paceProtocolCompletion; +RGLRFIDAccessControlCACallback caProtocolCompletion; + +NSDictionary* rfidReaderRequest; + +- (void)onRequestPACertificatesWithSerial:(NSData *)serialNumber issuer:(RGLPAResourcesIssuer *)issuer callback:(RGLRFIDCertificatesCallback)callback { + if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"paCertificates"] boolValue]) { + paCertificateCompletion = callback; + sendEvent(paCertificateCompletionEvent, [RGLWJSONConstructor generatePACertificateCompletion:serialNumber :issuer]); + } else { + paCertificateCompletion = nil; + callback(nil); + } +} + +- (void)onRequestTACertificatesWithKey:(NSString *)keyCAR callback:(RGLRFIDCertificatesCallback)callback { + if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"taCertificates"] boolValue]) { + taCertificateCompletion = callback; + sendEvent(taCertificateCompletionEvent, keyCAR); + } else { + taCertificateCompletion = nil; + callback(nil); + } +} + +- (void)onRequestTASignatureWithChallenge:(RGLTAChallenge *)challenge callback:(void(^)(NSData *signature))callback { + if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"taSignature"] boolValue]) { + taSignatureCompletion = callback; + sendEvent(taSignatureCompletionEvent, [RGLWJSONConstructor dictToString: [RGLWJSONConstructor generateTAChallenge:challenge]]); + } else { + taSignatureCompletion = nil; + callback(nil); + } +} + +- (void)onRequestPACEProtocolWithOptions:(NSArray*)protocols callback:(RGLRFIDAccessControlPACECallback)callback { + if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"paceProtocol"] boolValue]) { + paceProtocolCompletion = callback; + NSMutableArray *array = [NSMutableArray new]; + for(RGLRFIDAccessControlPACE* item in protocols) + [array addObject:[RGLWJSONConstructor generatePaceProtocol:item]]; + sendEvent(paceProtocolCompletionEvent, [RGLWJSONConstructor arrayToString: array]); + } else { + paceProtocolCompletion = nil; + callback(nil); + } +} + +- (void)onRequestCAProtocolWithOptions:(NSArray*)protocols callback:(RGLRFIDAccessControlCACallback)callback { + if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"caProtocol"] boolValue]) { + caProtocolCompletion = callback; + NSMutableArray *array = [NSMutableArray new]; + for(RGLRFIDAccessControlCA* item in protocols) + [array addObject:[RGLWJSONConstructor generateCaProtocol:item]]; + sendEvent(caProtocolCompletionEvent, [RGLWJSONConstructor arrayToString: array]); + } else { + caProtocolCompletionEvent = nil; + callback(nil); + } +} + +- (void)didChipConnected { + sendEvent(rfidOnChipDetectedEvent, @""); +} + +- (void)didReceivedError:(RGLRFIDErrorCodes)errorCode { + NSMutableDictionary *result = [NSMutableDictionary new]; + result[@"code"] = [NSNumber numberWithInteger:errorCode]; + sendEvent(rfidOnRetryReadChipEvent, [RGLWJSONConstructor dictToString:result]); +} + +@end diff --git a/ios/flutter_document_reader_api.podspec b/ios/flutter_document_reader_api.podspec index 606b3e6a33..d6de2b4388 100644 --- a/ios/flutter_document_reader_api.podspec +++ b/ios/flutter_document_reader_api.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'flutter_document_reader_api' - s.version = '7.2.0' + s.version = '9.5.1250-beta' s.summary = 'A new flutter plugin project.' s.description = <<-DESC A new flutter plugin project. @@ -12,8 +12,8 @@ A new flutter plugin project. s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.platform = :ios, '11.0' - s.dependency 'DocumentReader', '7.2.3545' + s.platform = :ios, '13.0' + s.dependency 'DocumentReaderStage', '9.5.6448' # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } end diff --git a/lib/flutter_document_reader_api.dart b/lib/flutter_document_reader_api.dart index 80709df3f5..4333873855 100644 --- a/lib/flutter_document_reader_api.dart +++ b/lib/flutter_document_reader_api.dart @@ -16,120 +16,137 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; -part 'src/internal/Utils.dart'; -part 'src/internal/Bridge.dart'; -part 'src/internal/EventChannels.dart'; - -part 'src/params/process_params/ProcessParams.dart'; -part 'src/params/process_params/ImageQA.dart'; -part 'src/params/process_params/GlaresCheckParams.dart'; -part 'src/params/process_params/FaceApiSearchParams.dart'; -part 'src/params/process_params/FaceApiParams.dart'; -part 'src/params/process_params/LivenessParams.dart'; -part 'src/params/process_params/AuthenticityParams.dart'; -part 'src/params/process_params/RFIDParams.dart'; -part 'src/params/rfid_scenario/RfidScenario.dart'; -part 'src/params/process_params/BackendProcessingConfig.dart'; -part 'src/params/rfid_scenario/EDLDataGroups.dart'; -part 'src/params/rfid_scenario/EIDDataGroups.dart'; -part 'src/params/rfid_scenario/EPassportDataGroups.dart'; -part 'src/params/customization/Customization.dart'; -part 'src/params/customization/Font.dart'; -part 'src/params/customization/CustomizationColors.dart'; -part 'src/params/customization/CustomizationFonts.dart'; -part 'src/params/customization/CustomizationImages.dart'; -part 'src/params/Functionality.dart'; - -part 'src/rfid/RFIDNotification.dart'; -part 'src/rfid/PKDCertificate.dart'; -part 'src/rfid/TccParams.dart'; -part 'src/rfid/PAAttribute.dart'; -part 'src/rfid/PAResourcesIssuer.dart'; -part 'src/rfid/TAChallenge.dart'; -part 'src/rfid/RFIDErrorCodes.dart'; - -part 'src/config/InitConfig.dart'; -part 'src/config/ScannerConfig.dart'; -part 'src/config/RecognizeConfig.dart'; -part 'src/config/OnlineProcessingConfig.dart'; -part 'src/config/RFIDConfig.dart'; - -part 'src/info/DocReaderException.dart'; -part 'src/info/RFIDException.dart'; -part 'src/info/License.dart'; -part 'src/info/DocReaderScenario.dart'; -part 'src/info/DocReaderVersion.dart'; -part 'src/info/DocumentsDatabase.dart'; -part 'src/info/PrepareProgress.dart'; - -part 'src/results/authenticity/AuthenticityCheck.dart'; -part 'src/results/authenticity/AuthenticityElement.dart'; -part 'src/results/authenticity/AuthenticityResult.dart'; -part 'src/results/authenticity/Authenticity.dart'; -part 'src/results/authenticity/CheckDiagnose.dart'; -part 'src/results/authenticity/SecurityFeatureType.dart'; - -part 'src/results/barcode/BarcodeField.dart'; -part 'src/results/barcode/BarcodeResult.dart'; -part 'src/results/barcode/PDF417Info.dart'; -part 'src/results/barcode/BarcodeStatus.dart'; -part 'src/results/barcode/BarcodeType.dart'; - -part 'src/results/image_quality/ImageQuality.dart'; -part 'src/results/image_quality/ImageQualityGroup.dart'; -part 'src/results/image_quality/ImageQualityCheckType.dart'; - -part 'src/results/rfid/AccessControlProcedureType.dart'; -part 'src/results/rfid/Application.dart'; -part 'src/results/rfid/Attribute.dart'; -part 'src/results/rfid/Authority.dart'; -part 'src/results/rfid/CardProperties.dart'; -part 'src/results/rfid/CertificateChain.dart'; -part 'src/results/rfid/CertificateData.dart'; -part 'src/results/rfid/Extension.dart'; -part 'src/results/rfid/File.dart'; -part 'src/results/rfid/FileData.dart'; -part 'src/results/rfid/RFIDSessionData.dart'; -part 'src/results/rfid/SecurityObject.dart'; -part 'src/results/rfid/SecurityObjectCertificates.dart'; -part 'src/results/rfid/SignerInfo.dart'; -part 'src/results/rfid/RFIDValidity.dart'; -part 'src/results/rfid/RFIDValue.dart'; -part 'src/results/rfid/DataField.dart'; -part 'src/results/rfid/RFIDDataFileType.dart'; -part 'src/results/rfid/RFIDAccessControlProcedureType.dart'; -part 'src/results/rfid/RFIDCertificateType.dart'; - -part 'src/results/status/OpticalStatus.dart'; -part 'src/results/status/RFIDStatus.dart'; -part 'src/results/status/ResultsStatus.dart'; -part 'src/results/status/CheckResult.dart'; - -part 'src/results/visible_digital_seals/VDSNCData.dart'; -part 'src/results/visible_digital_seals/BytesData.dart'; -part 'src/results/visible_digital_seals/LDSParsingErrorCodes.dart'; -part 'src/results/visible_digital_seals/LDSParsingNotificationCodes.dart'; - -part 'src/results/visual_results/Comparison.dart'; -part 'src/results/visual_results/GraphicField.dart'; -part 'src/results/visual_results/GraphicResult.dart'; -part 'src/results/visual_results/RFIDOrigin.dart'; -part 'src/results/visual_results/Symbol.dart'; -part 'src/results/visual_results/TextField.dart'; -part 'src/results/visual_results/TextResult.dart'; -part 'src/results/visual_results/TextSource.dart'; -part 'src/results/visual_results/Validity.dart'; -part 'src/results/visual_results/Value.dart'; -part 'src/results/visual_results/Rect.dart'; -part 'src/results/visual_results/Lights.dart'; -part 'src/results/visual_results/GraphicFieldType.dart'; -part 'src/results/visual_results/FieldType.dart'; -part 'src/results/visual_results/LCID.dart'; - -part 'src/results/Results.dart'; -part 'src/results/Position.dart'; -part 'src/results/DocumentType.dart'; -part 'src/results/TransactionInfo.dart'; +part 'src/internal/utils.dart'; +part 'src/internal/bridge.dart'; +part 'src/internal/event_channels.dart'; + +part 'src/params/process_params/process_params.dart'; +part 'src/params/process_params/image_qa.dart'; +part 'src/params/process_params/glares_check_params.dart'; +part 'src/params/process_params/face_api_search_params.dart'; +part 'src/params/process_params/face_api_params.dart'; +part 'src/params/process_params/liveness_params.dart'; +part 'src/params/process_params/authenticity_params.dart'; +part 'src/params/process_params/rfid_params.dart'; +part 'src/params/process_params/backend_processing_config.dart'; +part 'src/params/process_params/bsi.dart'; +part 'src/params/rfid_scenario/rfid_scenario.dart'; +part 'src/params/rfid_scenario/edl_data_groups.dart'; +part 'src/params/rfid_scenario/eid_data_groups.dart'; +part 'src/params/rfid_scenario/e_passport_data_groups.dart'; +part 'src/params/rfid_scenario/dtc_data_groups.dart'; +part 'src/params/customization/customization.dart'; +part 'src/params/customization/customization_colors.dart'; +part 'src/params/customization/customization_fonts.dart'; +part 'src/params/customization/customization_images.dart'; +part 'src/params/customization/customization_timings.dart'; +part 'src/params/customization/customization_content_modes.dart'; +part 'src/params/customization/customization_matrices.dart'; +part 'src/params/functionality.dart'; + +part 'src/rfid/rfid_notification.dart'; +part 'src/rfid/pkd_certificate.dart'; +part 'src/rfid/tcc_params.dart'; +part 'src/rfid/pa_attribute.dart'; +part 'src/rfid/pa_resources_issuer.dart'; +part 'src/rfid/ta_challenge.dart'; +part 'src/rfid/rfid_error_codes.dart'; +part 'src/rfid/pace_protocol.dart'; +part 'src/rfid/ca_protocol.dart'; + +part 'src/config/init_config.dart'; +part 'src/config/scanner_config.dart'; +part 'src/config/recognize_config.dart'; +part 'src/config/online_processing_config.dart'; +part 'src/config/rfid_config.dart'; +part 'src/config/finalize_config.dart'; + +part 'src/info/doc_reader_exception.dart'; +part 'src/info/rfid_exception.dart'; +part 'src/info/license.dart'; +part 'src/info/doc_reader_scenario.dart'; +part 'src/info/doc_reader_version.dart'; +part 'src/info/documents_database.dart'; +part 'src/info/prepare_progress.dart'; + +part 'src/results/authenticity/authenticity_check.dart'; +part 'src/results/authenticity/authenticity_element.dart'; +part 'src/results/authenticity/authenticity_result.dart'; +part 'src/results/authenticity/authenticity.dart'; +part 'src/results/authenticity/check_diagnose.dart'; +part 'src/results/authenticity/security_feature_type.dart'; + +part 'src/results/barcode/barcode_field.dart'; +part 'src/results/barcode/barcode_result.dart'; +part 'src/results/barcode/pdf417_info.dart'; +part 'src/results/barcode/barcode_status.dart'; +part 'src/results/barcode/barcode_type.dart'; + +part 'src/results/image_quality/image_quality.dart'; +part 'src/results/image_quality/image_quality_group.dart'; +part 'src/results/image_quality/image_quality_check_type.dart'; + +part 'src/results/rfid/access_control_procedure_type.dart'; +part 'src/results/rfid/application.dart'; +part 'src/results/rfid/attribute.dart'; +part 'src/results/rfid/authority.dart'; +part 'src/results/rfid/card_properties.dart'; +part 'src/results/rfid/certificate_chain.dart'; +part 'src/results/rfid/certificate_data.dart'; +part 'src/results/rfid/extension.dart'; +part 'src/results/rfid/file.dart'; +part 'src/results/rfid/file_data.dart'; +part 'src/results/rfid/rfid_session_data.dart'; +part 'src/results/rfid/security_object.dart'; +part 'src/results/rfid/security_object_certificates.dart'; +part 'src/results/rfid/signer_info.dart'; +part 'src/results/rfid/rfid_validity.dart'; +part 'src/results/rfid/rfid_value.dart'; +part 'src/results/rfid/data_field.dart'; +part 'src/results/rfid/rfid_data_file_type.dart'; +part 'src/results/rfid/rfid_access_control_procedure_type.dart'; +part 'src/results/rfid/rfid_certificate_type.dart'; + +part 'src/results/status/optical_status.dart'; +part 'src/results/status/age_status.dart'; +part 'src/results/status/rfid_status.dart'; +part 'src/results/status/results_status.dart'; +part 'src/results/status/check_result.dart'; + +part 'src/results/visible_digital_seals/vdsnc_data.dart'; +part 'src/results/visible_digital_seals/bytes_data.dart'; +part 'src/results/visible_digital_seals/doc_feature.dart'; +part 'src/results/visible_digital_seals/vds_data.dart'; +part 'src/results/visible_digital_seals/lds_parsing_error_codes.dart'; +part 'src/results/visible_digital_seals/lds_parsing_notification_codes.dart'; + +part 'src/results/visual_results/comparison.dart'; +part 'src/results/visual_results/graphic_field.dart'; +part 'src/results/visual_results/graphic_result.dart'; +part 'src/results/visual_results/rfid_origin.dart'; +part 'src/results/visual_results/symbol.dart'; +part 'src/results/visual_results/text_field.dart'; +part 'src/results/visual_results/text_result.dart'; +part 'src/results/visual_results/text_source.dart'; +part 'src/results/visual_results/validity.dart'; +part 'src/results/visual_results/value.dart'; +part 'src/results/visual_results/rect.dart'; +part 'src/results/visual_results/lights.dart'; +part 'src/results/visual_results/graphic_field_type.dart'; +part 'src/results/visual_results/field_type.dart'; +part 'src/results/visual_results/lcid.dart'; + +part 'src/results/results.dart'; +part 'src/results/position.dart'; +part 'src/results/document_type.dart'; +part 'src/results/transaction_info.dart'; + +part 'src/mdl/data_retrieval.dart'; +part 'src/mdl/name_space_mdl.dart'; +part 'src/mdl/document_request_mdl.dart'; +part 'src/mdl/device_retrieval_method.dart'; +part 'src/mdl/document_request_18013_mdl.dart'; +part 'src/mdl/device_engagement.dart'; /// Entry point of the Regula DocumentReader SDK. class DocumentReader { @@ -145,37 +162,58 @@ class DocumentReader { List _availableScenarios = []; /// Information about the SDK. - DocReaderVersion get version => _version; - late DocReaderVersion _version; + DocReaderVersion? get version => _version; + DocReaderVersion? _version; /// Information about your license. License get license => _license; License _license = License(); - /// Allows you to check if RFID chip reading can be performed based on your - /// license and Core framework capabilities. - bool get isRFIDAvailableForUse => _isRFIDAvailableForUse; - bool _isRFIDAvailableForUse = false; + /// Allows you to check if native RFID chip reading can be performed + /// based on your license and Core framework capabilities. + /// + /// Returns `true` if native RFID chip reading is supported. + Future isRFIDAvailableForUse() async { + return await _bridge.invokeMethod("getIsRFIDAvailableForUse", []); + } + + /// Allows you to check if you can use external Regula Bluetooth devices + /// based on your license and Core framework capabilities. + /// + /// Returns `true` if external Regula Bluetooth is supported. + Future get isAuthenticatorRFIDAvailableForUse async { + return await _bridge.invokeMethod("isAuthenticatorRFIDAvailableForUse", []); + } + + /// Allows you to check if you can use external Regula Bluetooth devices + /// based on your license, available scenarios and Core framework capabilities. + /// + /// Returns `true` if available. + Future get isAuthenticatorAvailableForUse async { + return await _bridge.invokeMethod("isAuthenticatorAvailableForUse", []); + } /// Allows you to get a status of the RFID chip reading process. /// /// IOS only. String? get rfidSessionStatus { - if (!Platform.isIOS) + if (!Platform.isIOS) { throw PlatformException( code: "ios-only", message: "rfidSessionStatus is accessible only on iOS", ); + } return _rfidSessionStatus; } String? _rfidSessionStatus; set rfidSessionStatus(String? val) { - if (!Platform.isIOS) + if (!Platform.isIOS) { throw PlatformException( code: "ios-only", message: "rfidSessionStatus is accessible only on iOS", ); + } _rfidSessionStatus = val; _setRfidSessionStatus(val); } @@ -188,14 +226,42 @@ class DocumentReader { _setTag(val); } + /// Customer name. + String? get tenant => _tenant; + String? _tenant; + set tenant(String? val) { + _tenant = val; + _setTenant(val); + } + + /// Environment type. + String? get env => _env; + String? _env; + set env(String? val) { + _env = val; + _setEnv(val); + } + + /// Custom language locale code of DocumentReaderSDK. + /// If empty or doesn't exist - app language is used. Format "en-US" or "en". + String? get locale => _locale; + String? _locale; + set locale(String? val) { + _locale = val; + _setLocale(val); + } + /// A localization dictionary to override default localization logic. /// Allows to replace any string of DocumentReader SDK with an arbitrary string. /// /// To see all the localization keys, look up the `RegulaSDK.strings` file at /// `ios/Pods/DocumentReader/DocumentReader.xcframework/ios-arm64/DocumentReader.framework/en.lproj/RegulaSDK.strings`. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. Map? get localizationDictionary => _localizationDictionary; Map? _localizationDictionary; set localizationDictionary(Map? val) { + if (val != null) val = Map.unmodifiable(val); _localizationDictionary = val; _setLocalizationDictionary(val); } @@ -243,26 +309,6 @@ class DocumentReader { return await _bridge.invokeMethod("getDocumentReaderStatus", []); } - /// Allows you to check if you can use external Regula Bluetooth devices based - /// on your license and Core framework capabilities. - /// - /// Android only. - Future get isAuthenticatorAvailableForUse async { - return await _bridge.invokeMethod("isAuthenticatorAvailableForUse", []); - } - - /// Checks if the app has all the required bluetooth permissions. - /// - /// Android only. - Future get isBlePermissionsGranted async { - if (!Platform.isAndroid) - throw PlatformException( - code: "android-only", - message: "isBlePermissionsGranted is accessible only on Android", - ); - return await _bridge.invokeMethod("isBlePermissionsGranted", []); - } - /// Use this method to reset all parameters to their default values. void resetConfiguration() { _bridge.invokeMethod("resetConfiguration", []); @@ -280,37 +326,34 @@ class DocumentReader { set videoEncoderCompletion(VideoEncoderCompletion completion) => _setVideoEncoderCompletion(completion); + @Deprecated("Use `initialize` instead.") + Future initializeReader(InitConfig config) async { + return await initialize(config); + } + /// Allows you to initialize Document Reader. /// /// [config] - configuration file for DocumentReader initialization. /// /// Check out [SuccessOrError] documentation for handling return type. - Future initializeReader(InitConfig config) async { - var funcName = config._useBleDevice - ? "initializeReaderWithBleDeviceConfig" - : "initializeReader"; - var response = await _bridge.invokeMethod(funcName, [config.toJson()]); - await _onInit(); - return _successOrErrorFromJson(response); + Future initialize(InitConfig config) async { + var response = await _bridge.invokeMethod("initialize", [config.toJson()]); + var (success, error) = _successOrErrorFromJson(response); + if (success) await _onInit(); + return (success, error); } /// Used to connect to the ble device. /// - /// Android only. - void startBluetoothService(BluetoothServiceCompletion completion) { - if (!Platform.isAndroid) - throw PlatformException( - code: "android-only", - message: "startBluetoothService is accessible only on Android", - ); - _setBluetoothServiceCompletion(completion); - _bridge.invokeMethod("startBluetoothService", []); + /// Requires [btdevice plugin](https://pub.dev/packages/flutter_document_reader_btdevice_beta). + Future connectBluetoothDevice(String deviceName) async { + return await _bridge.invokeMethod("connectBluetoothDevice", [deviceName]); } /// Used to deinitialize Document Reader and free up RAM as a /// consequence of this. - Future deinitializeReader() async { - await _bridge.invokeMethod("deinitializeReader", []); + void deinitializeReader() { + _bridge.invokeMethod("deinitializeReader", []); } /// Allows you to download a database from the Regula server. If it exists @@ -321,6 +364,8 @@ class DocumentReader { /// [prepareCompletion] - callback that returns downloading progress. /// /// Check out [SuccessOrError] documentation for handling return type. + /// + /// Requires `android.permission.INTERNET` android permission. Future prepareDatabase( String databaseID, DocumentReaderPrepareCompletion prepareCompletion, @@ -338,6 +383,8 @@ class DocumentReader { /// [prepareCompletion] - callback that returns downloading progress. /// /// Check out [SuccessOrError] documentation for handling return type. + /// + /// Requires `android.permission.INTERNET` android permission. Future runAutoUpdate( String databaseID, DocumentReaderPrepareCompletion prepareCompletion, @@ -350,11 +397,12 @@ class DocumentReader { /// Allows you to to check database update. /// /// [databaseID] - identifier of the database. + /// + /// Requires `android.permission.INTERNET` android permission. Future checkDatabaseUpdate(String databaseID) async { - String? response = await _bridge.invokeMethod( - "checkDatabaseUpdate", - [databaseID], - ); + String? response = await _bridge.invokeMethod("checkDatabaseUpdate", [ + databaseID, + ]); return DocumentsDatabase.fromJson(_decode(response)); } @@ -370,13 +418,13 @@ class DocumentReader { /// Used to start the processing of the next page of the document once the /// current one is processed. - Future startNewPage() async { - await _bridge.invokeMethod("startNewPage", []); + void startNewPage() { + _bridge.invokeMethod("startNewPage", []); } /// Used to start a scanning process. - Future startNewSession() async { - await _bridge.invokeMethod("startNewSession", []); + void startNewSession() { + _bridge.invokeMethod("startNewSession", []); } /// Used for multiple frames processing which are captured from the camera. @@ -389,6 +437,16 @@ class DocumentReader { _bridge.invokeMethod("scan", [config.toJson()]); } + /// Used for multiple frames processing which are captured from the camera. + /// + /// [config] - scanning configuration. + /// + /// [completion] - block to execute after the recognition process finishes. + void startScanner(ScannerConfig config, DocumentReaderCompletion completion) { + _setDocumentReaderCompletion(completion); + _bridge.invokeMethod("startScanner", [config.toJson()]); + } + /// Used for proccessing predefined images. /// /// [config] - scanning configuration. @@ -402,6 +460,8 @@ class DocumentReader { /// Used for the RFID chip processing. /// /// [config] - chip reading configuration. + /// + /// Requires `android.permission.NFC` android permission. void rfid(RFIDConfig config) { config._disableUI ? _setRFIDCompletion(config._rfidCompletion!) @@ -415,39 +475,39 @@ class DocumentReader { _setTaCertificateCompletion(config.onRequestTACertificates); _setTaSignatureCompletion(config.onRequestTASignature); - _bridge.invokeMethod(config._disableUI ? "readRFID" : "startRFIDReader", [ - config.onRequestPACertificates != null, - config.onRequestTACertificates != null, - config.onRequestTASignature != null, - ]); + _setPACEProtocolCompletion(config.onRequestPACEProtocol); + _setCAProtocolCompletion(config.onRequestCAProtocol); + + _bridge.invokeMethod( + config._disableUI ? "readRFID" : "startRFIDReader", [config.toJson()]); } /// Used to stop the scanning process. - Future stopScanner() async { - await _bridge.invokeMethod("stopScanner", []); + void stopScanner() { + _bridge.invokeMethod("stopScanner", []); } /// Used to stop the scanning process. - Future stopRFIDReader() async { - await _bridge.invokeMethod("stopRFIDReader", []); + void stopRFIDReader() { + _bridge.invokeMethod("stopRFIDReader", []); } /// Used to pass certificates to Document Reader that will be used during the /// RFID chip processing. /// /// [certificates] - PKD certificates. - Future addPKDCertificates(List certificates) async { + void addPKDCertificates(List certificates) { List json = []; for (PKDCertificate cert in certificates) { json.add(cert.toJson()); } - await _bridge.invokeMethod("addPKDCertificates", [json]); + _bridge.invokeMethod("addPKDCertificates", [json]); } /// It's used to remove certificates from your app that are used during the /// RFID chip processing. - Future clearPKDCertificates() async { - await _bridge.invokeMethod("clearPKDCertificates", []); + void clearPKDCertificates() { + _bridge.invokeMethod("clearPKDCertificates", []); } /// Sets the given `TCCParams` to the RFID session. @@ -457,15 +517,19 @@ class DocumentReader { /// /// Check out [SuccessOrError] documentation for handling return type. Future setTCCParams(TccParams params) async { - var response = await _bridge.invokeMethod( - "setTCCParams", - [params.toJson()], - ); + var response = await _bridge.invokeMethod("setTCCParams", [ + params.toJson(), + ]); return _successOrErrorFromJson(response); } - Future finalizePackage() async { - var response = await _bridge.invokeMethod("finalizePackage", []); + /// It's used to finalize package during backend processing. + Future finalizePackage({ + FinalizeConfig? config, + }) async { + var funcName = "finalizePackage"; + if (config != null) funcName = "finalizePackageWithFinalizeConfig"; + var response = await _bridge.invokeMethod(funcName, [config?.toJson()]); var jsonObject = json.decode(response); var action = DocReaderAction.getByValue(jsonObject["action"])!; @@ -475,6 +539,11 @@ class DocumentReader { return (action, info, error); } + /// It's used to end transaction during backend processing. + void endBackendTransaction() { + _bridge.invokeMethod("endBackendTransaction", []); + } + (bool, DocReaderException?) _successOrErrorFromJson(String jsonString) { var jsonObject = json.decode(jsonString); var success = jsonObject["success"]; @@ -482,12 +551,81 @@ class DocumentReader { return (success, error); } + /// Used to read MDL. + Future<(DocReaderAction action, Results? results, DocReaderException? error)> + readMDL(MDLDeviceEngagement type, DataRetrieval retrieval) async { + var response = await _bridge.invokeMethod("startReadMDl", [ + type.value, + retrieval.toJson(), + ]); + var jsonObject = json.decode(response); + return ( + DocReaderAction.getByValue(jsonObject["action"])!, + Results.fromJson(jsonObject["results"]), + DocReaderException.fromJson(jsonObject["error"]), + ); + } + + /// Used to engage device. + /// + /// [withoutUI] - If `true`, then Regula's UI will not be shown and user is supposed to implement the UI himself. + /// + /// [data] - Required if [type] = [MDLDeviceEngagement.QR] and [withoutUI] = `true`. + Future<(DeviceEngagement? engagement, DocReaderException? error)> + engageDevice( + MDLDeviceEngagement type, { + bool withoutUI = false, + String? data, + }) async { + String response = ""; + if (withoutUI == false) { + response = await _bridge.invokeMethod("startEngageDevice", [type.value]); + } else if (type == MDLDeviceEngagement.NFC) { + response = await _bridge.invokeMethod("engageDeviceNFC", []); + } else if (type == MDLDeviceEngagement.QR && data != null) { + response = await _bridge.invokeMethod("engageDeviceData", [data]); + } + var jsonObject = json.decode(response); + return ( + DeviceEngagement.fromJson(jsonObject["deviceEngagement"]), + DocReaderException.fromJson(jsonObject["error"]), + ); + } + + /// Used to retrieve data. + /// + /// [withoutUI] - If set, then Regula's UI will not be shown and user is supposed to implement the UI himself. + /// + /// [engagement] - Required for [withoutUI] = `null` or [MDLDeviceRetrieval.BLE]. Not needed for [MDLDeviceRetrieval.NFC]. + Future<(DocReaderAction action, Results? results, DocReaderException? error)> + retrieveData( + DataRetrieval retrieval, { + MDLDeviceRetrieval? withoutUI, + DeviceEngagement? engagement, + }) async { + var function = "startRetrieveData"; + if (withoutUI == MDLDeviceRetrieval.NFC) function = "engageDeviceNFC"; + if (withoutUI == MDLDeviceRetrieval.BLE) function = "engageDeviceBLE"; + + var jsonObject = json.decode(await _bridge.invokeMethod(function, [ + retrieval.toJson(), + engagement?.toJson(), + ])); + return ( + DocReaderAction.getByValue(jsonObject["action"])!, + Results.fromJson(jsonObject["results"]), + DocReaderException.fromJson(jsonObject["error"]), + ); + } + Future _onInit() async { _version = await _getDocReaderVersion(); _availableScenarios = await _getAvailableScenarios(); _license = await _getLicense(); - _isRFIDAvailableForUse = await _getIsRFIDAvailableForUse(); _tag = await _getTag(); + _tenant = await _getTenant(); + _env = await _getEnv(); + _locale = await _getLocale(); if (Platform.isIOS) _rfidSessionStatus = await _getRfidSessionStatus(); _functionality = await _getFunctionality(); _processParams = await _getProcessParams(); @@ -516,8 +654,8 @@ class DocumentReader { } Future _getLicense() async { - String response = await _bridge.invokeMethod("getLicense", []); - return License.fromJson(_decode(response))!; + String? response = await _bridge.invokeMethod("getLicense", []); + return License.fromJson(_decode(response) ?? {})!; } Future> _getAvailableScenarios() async { @@ -529,13 +667,9 @@ class DocumentReader { return scenarios; } - Future _getIsRFIDAvailableForUse() async { - return await _bridge.invokeMethod("getIsRFIDAvailableForUse", []); - } - - Future _getDocReaderVersion() async { - String response = await _bridge.invokeMethod("getDocReaderVersion", []); - return DocReaderVersion.fromJson(_decode(response))!; + Future _getDocReaderVersion() async { + String? response = await _bridge.invokeMethod("getDocReaderVersion", []); + return DocReaderVersion.fromJson(_decode(response)); } Future _getRfidSessionStatus() async { @@ -554,6 +688,30 @@ class DocumentReader { _bridge.invokeMethod("setTag", [tag]); } + Future _getTenant() async { + return await _bridge.invokeMethod("getTenant", []); + } + + void _setTenant(String? tag) { + _bridge.invokeMethod("setTenant", [tag]); + } + + Future _getEnv() async { + return await _bridge.invokeMethod("getEnv", []); + } + + void _setEnv(String? tag) { + _bridge.invokeMethod("setEnv", [tag]); + } + + Future _getLocale() async { + return await _bridge.invokeMethod("getLocale", []); + } + + void _setLocale(String? locale) { + _bridge.invokeMethod("setLocale", [locale]); + } + void _setLocalizationDictionary(Map? dictionary) { _bridge.invokeMethod("setLocalizationDictionary", [dictionary]); } @@ -618,25 +776,6 @@ typedef DocumentReaderCompletion = void Function( DocReaderException? error, ); -/// Keeps user notified about btDevice`s connection state. -/// Used in [DocumentReader.startBluetoothService] -/// -/// [onServiceConnected] fires when android`s bluetooth service is initialized. -/// -/// [onServiceDisconnected] fires when android`s bluetooth service is destroyed. -/// -/// [onDeviceReady] fires when a bluetooth device is connected and ready to use. -/// [DocumentReader.initializeReaderWithBleDeviceConfig] should be run here. -/// -/// Android only. -abstract class BluetoothServiceCompletion { - void onServiceConnected(bool isBleManagerConnected); - - void onServiceDisconnected(); - - void onDeviceReady(); -} - /// Callback for receiving signal, when a custom button, /// configured in [Customization.uiCustomizationLayer], is pressed. /// @@ -647,9 +786,7 @@ typedef CustomButtonTappedCompletion = void Function(int tag); /// Called by DocumentReader when recording process finished. /// /// [filePath] The output file URL. Contains URL to recording output for every scanning session. -typedef VideoEncoderCompletion = void Function( - String filePath, -); +typedef VideoEncoderCompletion = void Function(String filePath); /// Type for receiving answer after backend processing has finished. /// diff --git a/lib/src/config/InitConfig.dart b/lib/src/config/InitConfig.dart deleted file mode 100644 index d8ec0d0ef5..0000000000 --- a/lib/src/config/InitConfig.dart +++ /dev/null @@ -1,86 +0,0 @@ -// -// InitConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// A configuration file for DocumentReader initialization. -/// Controls initialization time properties such as licenseUpdate and delayedNNLoad. -class InitConfig { - /// The license binary file. - ByteData get license => _license; - ByteData _license; - - /// Enables automatic license update check during [DocumentReader] initialization. - bool licenseUpdate = true; - - /// Defines whether the [DocumentReader] delays loading of neural networks. - /// - /// When set to `true` the initialization starts in the background thread after - /// the method [DocumentReader.initializeReader] is called. If the document - /// processing is initiated before all the networks are loaded, - /// the [DocumentReader] will wait for it before starting the handling. - /// - /// When set to `false` the initialization is performed during - /// [DocumentReader.initializeReader] method. - bool delayedNNLoad = false; - - /// The path to the database file. - /// - /// IOS only. For Android use [customDb]. - String? databasePath; - - /// Custom database binary. - /// - /// Android only. For iOS use [databasePath]. - ByteData? customDb; - - /// Android only. - Map? blackList; - - /// Constructor for initialization using a license binary. - InitConfig(ByteData license) : _license = license; - - bool _useBleDevice = false; - - /// Constructor for initialization using a ble device. - /// Doesn't need a license file, it will be fetched automatically from your ble device. - /// - /// Android only. - InitConfig.withBleDevice() : _license = ByteData(0) { - if (!Platform.isAndroid) - throw PlatformException( - code: "android-only", - message: "withBleDevice constructor is accessible only on Android", - ); - _useBleDevice = true; - } - - @visibleForTesting - static InitConfig? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = InitConfig(_dataFromBase64(jsonObject["license"])!); - - result.customDb = _dataFromBase64(jsonObject["customDb"]); - result.delayedNNLoad = jsonObject["delayedNNLoad"]; - result.licenseUpdate = jsonObject["licenseUpdate"]; - result.blackList = jsonObject["blackList"]; - result.databasePath = jsonObject["databasePath"]; - - return result; - } - - @visibleForTesting - Map toJson() => { - "license": _dataToBase64(license), - "delayedNNLoad": delayedNNLoad, - "licenseUpdate": licenseUpdate, - "blackList": blackList, - "customDb": _dataToBase64(customDb), - "databasePath": databasePath - }.clearNulls(); -} diff --git a/lib/src/config/OnlineProcessingConfig.dart b/lib/src/config/OnlineProcessingConfig.dart deleted file mode 100644 index d37674e782..0000000000 --- a/lib/src/config/OnlineProcessingConfig.dart +++ /dev/null @@ -1,78 +0,0 @@ -// -// OnlineProcessingConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class OnlineProcessingConfig { - OnlineMode mode; - - String url = "https://api.regulaforensics.com"; - - ProcessParams processParams = ProcessParams(); - - ImageFormat imageFormat = ImageFormat.JPG; - - double imageCompressionQuality = 0.8; - - OnlineProcessingConfig(this.mode) { - processParams = ProcessParams(); - processParams.scenario = Scenario.FULL_PROCESS; - } - - @visibleForTesting - static OnlineProcessingConfig? fromJson(jsonObject) { - if (jsonObject == null) return null; - OnlineMode mode = OnlineMode.getByValue(jsonObject["mode"])!; - var result = OnlineProcessingConfig(mode); - - result.url = jsonObject["url"]; - result.imageFormat = ImageFormat.getByValue(jsonObject["imageFormat"])!; - result.imageCompressionQuality = - jsonObject["imageCompressionQuality"].toDouble(); - result.processParams = ProcessParams.fromJson(jsonObject["processParams"]); - - return result; - } - - @visibleForTesting - Map toJson() => { - "mode": mode.value, - "url": url, - "imageFormat": imageFormat.value, - "imageCompressionQuality": imageCompressionQuality, - "processParams": processParams.toJson(), - }.clearNulls(); -} - -enum ImageFormat { - PNG(0), - - JPG(1); - - const ImageFormat(this.value); - final int value; - - static ImageFormat? getByValue(int? i) { - if (i == null) return null; - return ImageFormat.values.firstWhere((x) => x.value == i); - } -} - -enum OnlineMode { - MANUAL(0), - - AUTO(1); - - const OnlineMode(this.value); - final int value; - - static OnlineMode? getByValue(int? i) { - if (i == null) return null; - return OnlineMode.values.firstWhere((x) => x.value == i); - } -} diff --git a/lib/src/config/RFIDConfig.dart b/lib/src/config/RFIDConfig.dart deleted file mode 100644 index 39a38917b8..0000000000 --- a/lib/src/config/RFIDConfig.dart +++ /dev/null @@ -1,125 +0,0 @@ -// -// RFIDConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// A configuration file for the RFID chip processing. -class RFIDConfig { - DocumentReaderCompletion? _completion; - RFIDCompletion? _rfidCompletion; - bool _disableUI = false; - - /// Callback for reveiving notification about RFID reading process. - RFIDProgressCompletion? onProgress; - - /// Callback for receiving signal when RFID chip is recognized - /// by a phone and chip reading is started. - /// - /// Only used with default constructor. If [RFIDConfig.withoutUI] was used, - /// you will receive this update via [DocumentReaderCompletion]. - ChipDetectedCompletion? onChipDetected; - - /// Fires when RFID chip reading was interrupted with no severe reasons - /// (for example connection to the chip was lost) and will be reestablished automatically. - /// - /// Only used with default constructor. If [RFIDConfig.withoutUI] was used, - /// you will receive this update via [DocumentReaderCompletion] - /// and chip reading will not be reestablished. - RetryReadChipCompletion? onRetryReadChip; - - /// Callback for receiving RFID request data - PaCertificateCompletion? onRequestPACertificates; - - /// Callback for receiving RFID request data - TaCertificateCompletion? onRequestTACertificates; - - /// Callback for receiving RFID request data - TaSignatureCompletion? onRequestTASignature; - - /// Regular RFID chip reading. - /// - /// [completion] - block to execute after the chip reading process finishes. - RFIDConfig(DocumentReaderCompletion completion) : _completion = completion; - - /// RFID chip reading with no UI. - /// - /// User is supposed to implement the UI. - /// - /// Since this constructor accepts [RFIDCompletion] - /// instead of [DocumentReaderCompletion], user will be provided - /// with more in-depth error information. - /// - /// [completion] - block to execute after the chip reading process finishes. - RFIDConfig.withoutUI(RFIDCompletion completion) - : _rfidCompletion = completion, - _disableUI = true; -} - -/// Callback for receiving answer from processing engine. -/// -/// [action] defines current processing status. -/// -/// [results] defines current processing results. -/// -/// [error] in case of anything is wrong - brief message for developer, `null` otherwise. -typedef RFIDCompletion = void Function( - DocReaderAction action, - Results? results, - RFIDException? error, -); - -/// Completion for reveiving notification about RFID reading process. -typedef RFIDProgressCompletion = void Function(RFIDNotification notification); - -/// Callback for receiving signal when RFID chip is recognized -/// by a phone and chip reading is started. -/// -/// Only used with default constructor. If [RFIDConfig.withoutUI] was used, -/// you will receive this update via [DocumentReaderCompletion]. -typedef ChipDetectedCompletion = void Function(); - -/// Fires when RFID chip reading was interrupted with no severe reasons -/// (for example connection to the chip was lost) and will be reestablished automatically. -/// -/// Only used with default constructor. If [RFIDConfig.withoutUI] was used, -/// you will receive this update via [DocumentReaderCompletion] -/// and chip reading will not be reestablished. -/// -/// [error] a brief message for developer. -typedef RetryReadChipCompletion = void Function(RFIDException error); - -/// Callback for receiving RFID request data -typedef PaCertificateCompletion = void Function( - Uint8List serialNumber, - PAResourcesIssuer? issuer, - PKDCertificateRequest request, -); - -/// Callback for receiving RFID request data -typedef TaCertificateCompletion = void Function( - String? keyCAR, - PKDCertificateRequest request, -); - -/// Provided to a user for passing PKDCertificates -/// to the native part of DocumentReader. -typedef PKDCertificateRequest = Future Function( - List? certificates, -); - -/// Callback for receiving RFID request data -typedef TaSignatureCompletion = void Function( - TAChallenge? challenge, - TASignatureRequest request, -); - -/// Provided to a user for passing TASignature -/// to the native part of DocumentReader. -typedef TASignatureRequest = Future Function( - ByteData? signature, -); diff --git a/lib/src/config/RecognizeConfig.dart b/lib/src/config/RecognizeConfig.dart deleted file mode 100644 index 7bd362c16d..0000000000 --- a/lib/src/config/RecognizeConfig.dart +++ /dev/null @@ -1,204 +0,0 @@ -// -// RecognizeConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Image processing configuration. -class RecognizeConfig { - /// Documents processing scenario. - Scenario? get scenario => _scenario; - Scenario? _scenario; - - /// Configuration class for online processing. - /// - /// /// Requires network connection. - OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig; - OnlineProcessingConfig? _onlineProcessingConfig; - - /// Live portrait photo. - /// - /// Requires network connection. - Uint8List? livePortrait; - - /// Portrait photo from an external source. - /// - /// Requires network connection. - Uint8List? extPortrait; - - /// This parameter is for processing an image that contains a person and - /// a document and compare the portrait photo from the document with - /// the person's face. It works only in the single-frame processing, - /// but not in the video frame processing. Requires network connection. - bool oneShotIdentification = false; - - /// Image for processing - /// - /// Only one of [image], [data], [images], [imageInputData] can be set - /// at a time. All the others must be `null`. - Uint8List? get image => _image; - Uint8List? _image; - - /// Binary for processing - /// - /// Only one of [image], [data], [images], [imageInputData] can be set - /// at a time. All the others must be `null`. - Uint8List? get data => _data; - Uint8List? _data; - - /// Images for processing - /// - /// Only one of [image], [data], [images], [imageInputData] can be set - /// at a time. All the others must be `null`. - List? get images => _images; - List? _images; - - /// Images(with input data) for processing - /// - /// Only one of [image], [data], [images], [imageInputData] can be set - /// at a time. All the others must be `null`. - List? get imageInputData => _imageInputData; - List? _imageInputData; - - RecognizeConfig.withScenario(Scenario scenario, RecognizeData recognizeData) - : _scenario = scenario, - _onlineProcessingConfig = null, - _image = recognizeData.image, - _data = recognizeData.data, - _images = recognizeData.images, - _imageInputData = recognizeData.imageInputData; - - RecognizeConfig.withOnlineProcessingConfig( - OnlineProcessingConfig onlineProcessingConfig, - RecognizeData recognizeData) - : _scenario = null, - _onlineProcessingConfig = onlineProcessingConfig, - _image = recognizeData.image, - _data = recognizeData.data, - _images = recognizeData.images, - _imageInputData = recognizeData.imageInputData; - - RecognizeConfig._empty(); - - @visibleForTesting - static RecognizeConfig? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RecognizeConfig._empty(); - - result._scenario = Scenario.getByValue(jsonObject["scenario"]); - result._onlineProcessingConfig = - OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"]); - result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]); - result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]); - result.oneShotIdentification = jsonObject["oneShotIdentification"]; - result._image = _bytesFromBase64(jsonObject["image"]); - result._data = _bytesFromBase64(jsonObject["data"]); - if (jsonObject["images"] != null) { - result._images = []; - for (var item in jsonObject["images"]) - result._images!.addSafe(_bytesFromBase64(item)); - } - if (jsonObject["imageInputData"] != null) { - result._imageInputData = []; - for (var item in jsonObject["imageInputData"]) - result._imageInputData!.addSafe(ImageInputData.fromJson(item)); - } - - return result; - } - - @visibleForTesting - Map toJson() => { - "scenario": scenario?.value, - "onlineProcessingConfig": onlineProcessingConfig?.toJson(), - "oneShotIdentification": oneShotIdentification, - "livePortrait": _bytesToBase64(livePortrait), - "extPortrait": _bytesToBase64(extPortrait), - "image": _bytesToBase64(image), - "data": _bytesToBase64(data), - "images": images?.map((e) => _bytesToBase64(e)).toList(), - "imageInputData": imageInputData?.map((e) => e.toJson()).toList(), - }.clearNulls(); -} - -/// Insures that [RecognizeConfig] has exactly one of four parameters set: -/// [image], [data], [images], [imageInputData] -class RecognizeData { - Uint8List? get image => _image; - Uint8List? _image; - - Uint8List? get data => _data; - Uint8List? _data; - - List? get images => _images; - List? _images; - - List? get imageInputData => _imageInputData; - List? _imageInputData; - - RecognizeData.withImage(Uint8List image) - : _image = image, - _data = null, - _images = null, - _imageInputData = null; - - RecognizeData.withData(Uint8List data) - : _image = null, - _data = data, - _images = null, - _imageInputData = null; - - RecognizeData.withImages(List images) - : _image = null, - _data = null, - _images = images, - _imageInputData = null; - - RecognizeData.withImageInputData(List imageInputData) - : _image = null, - _data = null, - _images = null, - _imageInputData = imageInputData; -} - -class ImageInputData { - /// An image. - Uint8List get image => _image; - Uint8List _image; - - /// Light type, one of RGLGraphicFieldLight values. - Lights get light => _light; - Lights _light; - - /// An index of the document page whence the graphic field is extracted. - int get pageIndex => _pageIndex; - int _pageIndex; - - ImageInputData(Uint8List image, - {Lights light = Lights.WHITE_FULL, int pageIndex = 0}) - : _image = image, - _light = light, - _pageIndex = pageIndex; - - @visibleForTesting - Map toJson() => { - "image": _bytesToBase64(image), - "light": light.value, - "pageIndex": pageIndex, - }; - - @visibleForTesting - static ImageInputData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = ImageInputData(_bytesFromBase64(jsonObject["image"])!); - - result._pageIndex = jsonObject["pageIndex"]; - result._light = Lights.getByValue(jsonObject["light"])!; - - return result; - } -} diff --git a/lib/src/config/ScannerConfig.dart b/lib/src/config/ScannerConfig.dart deleted file mode 100644 index f86d2c8360..0000000000 --- a/lib/src/config/ScannerConfig.dart +++ /dev/null @@ -1,77 +0,0 @@ -// -// ScannerConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class ScannerConfig { - /// Documents processing scenario. - Scenario? get scenario => _scenario; - Scenario? _scenario; - - /// Configuration class for online processing. - /// - /// /// Requires network connection. - OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig; - OnlineProcessingConfig? _onlineProcessingConfig; - - /// Live portrait photo. - /// - /// Requires network connection. - Uint8List? livePortrait; - - /// Portrait photo from an external source. - /// - /// Requires network connection. - Uint8List? extPortrait; - - /// Camera id. - /// - /// Android only. - int? cameraId; - - ScannerConfig( - Scenario scenario, OnlineProcessingConfig onlineProcessingConfig) - : _scenario = scenario, - _onlineProcessingConfig = onlineProcessingConfig; - - ScannerConfig.withScenario(Scenario scenario) - : _scenario = scenario, - _onlineProcessingConfig = null; - - ScannerConfig.withOnlineProcessingConfig( - OnlineProcessingConfig onlineProcessingConfig) - : _scenario = null, - _onlineProcessingConfig = onlineProcessingConfig; - - ScannerConfig._empty(); - - @visibleForTesting - static ScannerConfig? fromJson(jsonObject) { - if (jsonObject == null) return null; - - var result = ScannerConfig._empty(); - - result._scenario = Scenario.getByValue(jsonObject["scenario"]); - result._onlineProcessingConfig = - OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"]); - result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]); - result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]); - result.cameraId = jsonObject["cameraId"]; - - return result; - } - - @visibleForTesting - Map toJson() => { - "scenario": scenario?.value, - "onlineProcessingConfig": onlineProcessingConfig?.toJson(), - "livePortrait": _bytesToBase64(livePortrait), - "extPortrait": _bytesToBase64(extPortrait), - "cameraId": cameraId - }.clearNulls(); -} diff --git a/lib/src/config/finalize_config.dart b/lib/src/config/finalize_config.dart new file mode 100644 index 0000000000..df11ab2e8f --- /dev/null +++ b/lib/src/config/finalize_config.dart @@ -0,0 +1,39 @@ +part of "../../flutter_document_reader_api.dart"; + +class FinalizeConfig { + bool? _rawImages; + bool? _video; + bool? _rfidSession; + bool? _mdlSession; + + FinalizeConfig({ + bool? rawImages, + bool? video, + bool? rfidSession, + bool? mdlSession, + }) : _rawImages = rawImages, + _video = video, + _rfidSession = rfidSession, + _mdlSession = mdlSession; + + @visibleForTesting + static FinalizeConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = FinalizeConfig(); + + result._rawImages = jsonObject["rawImages"]; + result._video = jsonObject["video"]; + result._rfidSession = jsonObject["rfidSession"]; + result._mdlSession = jsonObject["mdlSession"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "rawImages": _rawImages, + "video": _video, + "rfidSession": _rfidSession, + "mdlSession": _mdlSession, + }.clearNulls(); +} diff --git a/lib/src/config/init_config.dart b/lib/src/config/init_config.dart new file mode 100644 index 0000000000..1efbc6cae3 --- /dev/null +++ b/lib/src/config/init_config.dart @@ -0,0 +1,88 @@ +// +// InitConfig.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// A configuration file for DocumentReader initialization. +/// Controls initialization time properties such as licenseUpdate and delayedNNLoad. +class InitConfig { + /// The license binary file. + ByteData get license => _license; + ByteData _license; + + /// Enables automatic license update check during [DocumentReader] initialization. + bool licenseUpdate = true; + + /// Allows you to configure the maximum time needed for a license update (in seconds). + double? licenseUpdateTimeout; + + /// Defines whether the [DocumentReader] delays loading of neural networks. + /// + /// When set to `true` the initialization starts in the background thread after + /// the method [DocumentReader.initialize] is called. If the document + /// processing is initiated before all the networks are loaded, + /// the [DocumentReader] will wait for it before starting the handling. + /// + /// When set to `false` the initialization is performed during + /// [DocumentReader.initialize] method. + bool delayedNNLoad = false; + + /// The path to the database file. + /// + /// IOS only. For Android use [customDb]. + String? databasePath; + + /// Custom database binary. + /// + /// Android only. For iOS use [databasePath]. + ByteData? customDb; + + /// Android only. + Map? blackList; + + /// Constructor for initialization using a license binary. + InitConfig(ByteData license) : _license = license; + + bool _useBleDevice = false; + + /// Constructor for initialization using a ble device. + /// Doesn't need a license file, it will be fetched automatically from your ble device. + /// + /// Requires [btdevice plugin](https://pub.dev/packages/flutter_document_reader_btdevice_beta). + InitConfig.withBleDevice() : _license = ByteData(0) { + _useBleDevice = true; + } + + @visibleForTesting + static InitConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = InitConfig(_dataFromBase64(jsonObject["license"])!); + + result.customDb = _dataFromBase64(jsonObject["customDb"]); + result.delayedNNLoad = jsonObject["delayedNNLoad"]; + result.licenseUpdate = jsonObject["licenseUpdate"]; + result.licenseUpdateTimeout = _toDouble(jsonObject["licenseUpdateTimeout"]); + result.blackList = jsonObject["blackList"]; + result.databasePath = jsonObject["databasePath"]; + result._useBleDevice = jsonObject["useBleDevice"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "license": _dataToBase64(license), + "delayedNNLoad": delayedNNLoad, + "licenseUpdate": licenseUpdate, + "licenseUpdateTimeout": licenseUpdateTimeout, + "blackList": blackList, + "customDb": _dataToBase64(customDb), + "databasePath": databasePath, + "useBleDevice": _useBleDevice, + }.clearNulls(); +} diff --git a/lib/src/config/online_processing_config.dart b/lib/src/config/online_processing_config.dart new file mode 100644 index 0000000000..90b045be01 --- /dev/null +++ b/lib/src/config/online_processing_config.dart @@ -0,0 +1,82 @@ +// +// OnlineProcessingConfig.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class OnlineProcessingConfig { + OnlineMode mode; + + String url = "https://api.regulaforensics.com"; + + ProcessParams processParams = ProcessParams(); + + ImageFormat imageFormat = ImageFormat.JPG; + + double imageCompressionQuality = 0.8; + + Map? requestHeaders; + + OnlineProcessingConfig(this.mode) { + processParams = ProcessParams(); + processParams.scenario = Scenario.FULL_PROCESS; + } + + @visibleForTesting + static OnlineProcessingConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + OnlineMode mode = OnlineMode.getByValue(jsonObject["mode"])!; + var result = OnlineProcessingConfig(mode); + + result.url = jsonObject["url"]; + result.imageFormat = ImageFormat.getByValue(jsonObject["imageFormat"])!; + result.imageCompressionQuality = + jsonObject["imageCompressionQuality"].toDouble(); + result.processParams = ProcessParams.fromJson(jsonObject["processParams"]); + result.requestHeaders = jsonObject["requestHeaders"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "mode": mode.value, + "url": url, + "imageFormat": imageFormat.value, + "imageCompressionQuality": imageCompressionQuality, + "processParams": processParams.toJson(), + "requestHeaders": requestHeaders, + }.clearNulls(); +} + +enum ImageFormat { + PNG(0), + + JPG(1); + + const ImageFormat(this.value); + final int value; + + static ImageFormat? getByValue(int? i) { + if (i == null) return null; + return ImageFormat.values.firstWhere((x) => x.value == i); + } +} + +enum OnlineMode { + MANUAL(0), + + AUTO(1); + + const OnlineMode(this.value); + final int value; + + static OnlineMode? getByValue(int? i) { + if (i == null) return null; + return OnlineMode.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/config/recognize_config.dart b/lib/src/config/recognize_config.dart new file mode 100644 index 0000000000..ca91a81b54 --- /dev/null +++ b/lib/src/config/recognize_config.dart @@ -0,0 +1,188 @@ +part of "../../flutter_document_reader_api.dart"; + +/// Image processing configuration. +class RecognizeConfig { + /// Documents processing scenario. + Scenario? get scenario => _scenario; + Scenario? _scenario; + + /// Configuration class for online processing. + /// + /// /// Requires network connection. + OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig; + OnlineProcessingConfig? _onlineProcessingConfig; + + /// Image for processing. + Uint8List? image; + + /// Images for processing. + List? images; + + /// Binary for processing. + Uint8List? data; + + /// Binaries for processing. + List? dataList; + + /// Images(with input data) for processing. + List? imageInputData; + + /// DTC file for processing. + Uint8List? dtc; + + /// Live portrait photo. + /// + /// Requires network connection. + Uint8List? livePortrait; + + /// Portrait photo from an external source. + /// + /// Requires network connection. + Uint8List? extPortrait; + + /// This parameter is for processing an image that contains a person and + /// a document and compare the portrait photo from the document with + /// the person's face. It works only in the single-frame processing, + /// but not in the video frame processing. Requires network connection. + bool oneShotIdentification = false; + + RecognizeConfig.withScenario( + Scenario scenario, { + Uint8List? image, + List? images, + Uint8List? data, + List? dataList, + List? imageInputData, + Uint8List? dtc, + Uint8List? livePortrait, + Uint8List? extPortrait, + bool oneShotIdentification = false, + }) : _scenario = scenario, + _onlineProcessingConfig = null, + livePortrait = livePortrait, + extPortrait = extPortrait, + oneShotIdentification = oneShotIdentification, + image = image, + images = images, + data = data, + dataList = dataList, + imageInputData = imageInputData, + dtc = dtc; + + RecognizeConfig.withOnlineProcessingConfig( + OnlineProcessingConfig onlineProcessingConfig, { + Uint8List? image, + List? images, + Uint8List? data, + List? dataList, + List? imageInputData, + Uint8List? dtc, + Uint8List? livePortrait, + Uint8List? extPortrait, + bool oneShotIdentification = false, + }) : _scenario = null, + _onlineProcessingConfig = onlineProcessingConfig, + livePortrait = livePortrait, + extPortrait = extPortrait, + oneShotIdentification = oneShotIdentification, + image = image, + images = images, + data = data, + dataList = dataList, + imageInputData = imageInputData, + dtc = dtc; + + RecognizeConfig._empty(); + + @visibleForTesting + static RecognizeConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RecognizeConfig._empty(); + + result._scenario = Scenario.getByValue(jsonObject["scenario"]); + result._onlineProcessingConfig = OnlineProcessingConfig.fromJson( + jsonObject["onlineProcessingConfig"], + ); + result.image = _bytesFromBase64(jsonObject["image"]); + if (jsonObject["images"] != null) { + result.images = []; + for (var item in jsonObject["images"]) { + result.images!.addSafe(_bytesFromBase64(item)); + } + } + result.data = _bytesFromBase64(jsonObject["data"]); + if (jsonObject["dataList"] != null) { + result.dataList = []; + for (var item in jsonObject["dataList"]) { + result.dataList!.addSafe(_bytesFromBase64(item)); + } + } + if (jsonObject["imageInputData"] != null) { + result.imageInputData = []; + for (var item in jsonObject["imageInputData"]) { + result.imageInputData!.addSafe(ImageInputData.fromJson(item)); + } + } + result.dtc = _bytesFromBase64(jsonObject["dtc"]); + result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]); + result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]); + result.oneShotIdentification = jsonObject["oneShotIdentification"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "scenario": scenario?.value, + "onlineProcessingConfig": onlineProcessingConfig?.toJson(), + "image": _bytesToBase64(image), + "images": images?.map((e) => _bytesToBase64(e)).toList(), + "data": _bytesToBase64(data), + "dataList": dataList?.map((e) => _bytesToBase64(e)).toList(), + "imageInputData": imageInputData?.map((e) => e.toJson()).toList(), + "dtc": _bytesToBase64(dtc), + "oneShotIdentification": oneShotIdentification, + "livePortrait": _bytesToBase64(livePortrait), + "extPortrait": _bytesToBase64(extPortrait), + }.clearNulls(); +} + +class ImageInputData { + /// An image. + Uint8List get image => _image; + Uint8List _image; + + /// Light type, one of RGLGraphicFieldLight values. + Lights get light => _light; + Lights _light; + + /// An index of the document page whence the graphic field is extracted. + int get pageIndex => _pageIndex; + int _pageIndex; + + ImageInputData( + Uint8List image, { + Lights light = Lights.WHITE_FULL, + int pageIndex = 0, + }) : _image = image, + _light = light, + _pageIndex = pageIndex; + + @visibleForTesting + Map toJson() => { + "image": _bytesToBase64(image), + "light": light.value, + "pageIndex": pageIndex, + }; + + @visibleForTesting + static ImageInputData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = ImageInputData(_bytesFromBase64(jsonObject["image"])!); + + result._pageIndex = jsonObject["pageIndex"]; + result._light = Lights.getByValue(jsonObject["light"])!; + + return result; + } +} diff --git a/lib/src/config/rfid_config.dart b/lib/src/config/rfid_config.dart new file mode 100644 index 0000000000..19d5e40759 --- /dev/null +++ b/lib/src/config/rfid_config.dart @@ -0,0 +1,146 @@ +// +// RFIDConfig.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// A configuration file for the RFID chip processing. +class RFIDConfig { + DocumentReaderCompletion? _completion; + RFIDCompletion? _rfidCompletion; + bool _disableUI = false; + + /// Callback for reveiving notification about RFID reading process. + RFIDProgressCompletion? onProgress; + + /// Callback for receiving signal when RFID chip is recognized + /// by a phone and chip reading is started. + /// + /// Only used with default constructor. If [RFIDConfig.withoutUI] was used, + /// you will receive this update via [DocumentReaderCompletion]. + ChipDetectedCompletion? onChipDetected; + + /// Fires when RFID chip reading was interrupted with no severe reasons + /// (for example connection to the chip was lost) and will be reestablished automatically. + /// + /// Only used with default constructor. If [RFIDConfig.withoutUI] was used, + /// you will receive this update via [DocumentReaderCompletion] + /// and chip reading will not be reestablished. + RetryReadChipCompletion? onRetryReadChip; + + /// Callback for receiving RFID request data + PaCertificateCompletion? onRequestPACertificates; + + /// Callback for receiving RFID request data + TaCertificateCompletion? onRequestTACertificates; + + /// Callback for receiving RFID request data + TaSignatureCompletion? onRequestTASignature; + + /// Callback for receiving RFID request data + PACEProtocolCompletion? onRequestPACEProtocol; + + /// Callback for receiving RFID request data + CAProtocolCompletion? onRequestCAProtocol; + + /// Regular RFID chip reading. + /// + /// [completion] - block to execute after the chip reading process finishes. + RFIDConfig(DocumentReaderCompletion completion) : _completion = completion; + + /// RFID chip reading with no UI. + /// + /// User is supposed to implement the UI. + /// + /// Since this constructor accepts [RFIDCompletion] + /// instead of [DocumentReaderCompletion], user will be provided + /// with more in-depth error information. + /// + /// [completion] - block to execute after the chip reading process finishes. + RFIDConfig.withoutUI(RFIDCompletion completion) + : _rfidCompletion = completion, + _disableUI = true; + + Map toJson() => { + "paCertificates": onRequestPACertificates != null, + "taCertificates": onRequestTACertificates != null, + "taSignature": onRequestTASignature != null, + "paceProtocol": onRequestPACEProtocol != null, + "caProtocol": onRequestCAProtocol != null, + }; +} + +/// Callback for receiving answer from processing engine. +/// +/// [action] defines current processing status. +/// +/// [results] defines current processing results. +/// +/// [error] in case of anything is wrong - brief message for developer, `null` otherwise. +typedef RFIDCompletion = void Function( + DocReaderAction action, + Results? results, + RFIDException? error, +); + +/// Completion for reveiving notification about RFID reading process. +typedef RFIDProgressCompletion = void Function(RFIDNotification notification); + +/// Callback for receiving signal when RFID chip is recognized +/// by a phone and chip reading is started. +/// +/// Only used with default constructor. If [RFIDConfig.withoutUI] was used, +/// you will receive this update via [DocumentReaderCompletion]. +typedef ChipDetectedCompletion = void Function(); + +/// Fires when RFID chip reading was interrupted with no severe reasons +/// (for example connection to the chip was lost) and will be reestablished automatically. +/// +/// Only used with default constructor. If [RFIDConfig.withoutUI] was used, +/// you will receive this update via [DocumentReaderCompletion] +/// and chip reading will not be reestablished. +/// +/// [error] a brief message for developer. +typedef RetryReadChipCompletion = void Function(RFIDException error); + +/// Callback for receiving RFID request data. +typedef PaCertificateCompletion = void Function( + Uint8List serialNumber, + PAResourcesIssuer? issuer, + PKDCertificateRequest request, +); + +/// Callback for receiving RFID request data. +typedef TaCertificateCompletion = void Function( + String? keyCAR, PKDCertificateRequest request); + +/// Provided to a user for passing PKDCertificates +/// to the native part of DocumentReader. +typedef PKDCertificateRequest = Future Function( + List? certificates); + +/// Callback for receiving RFID request data. +typedef TaSignatureCompletion = void Function( + TAChallenge? challenge, TASignatureRequest request); + +/// Provided to a user for passing TASignature +/// to the native part of DocumentReader. +typedef TASignatureRequest = Future Function(ByteData? signature); + +/// Callback for receiving RFID request data. +typedef PACEProtocolCompletion = void Function( + List protocols, PACEProtocolRequest request); + +/// Provided to a user for choosing PACEProtocol. +typedef PACEProtocolRequest = Future Function(PACEProtocol protocol); + +/// Callback for receiving RFID request data. +typedef CAProtocolCompletion = void Function( + List protocols, CAProtocolRequest request); + +/// Provided to a user for choosing CAProtocol. +typedef CAProtocolRequest = Future Function(CAProtocol protocol); diff --git a/lib/src/config/scanner_config.dart b/lib/src/config/scanner_config.dart new file mode 100644 index 0000000000..9fb56cf7d4 --- /dev/null +++ b/lib/src/config/scanner_config.dart @@ -0,0 +1,79 @@ +// +// ScannerConfig.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class ScannerConfig { + /// Documents processing scenario. + Scenario? get scenario => _scenario; + Scenario? _scenario; + + /// Configuration class for online processing. + /// + /// /// Requires network connection. + OnlineProcessingConfig? get onlineProcessingConfig => _onlineProcessingConfig; + OnlineProcessingConfig? _onlineProcessingConfig; + + /// Live portrait photo. + /// + /// Requires network connection. + Uint8List? livePortrait; + + /// Portrait photo from an external source. + /// + /// Requires network connection. + Uint8List? extPortrait; + + /// Camera id. + /// + /// Android only. + int? cameraId; + + ScannerConfig( + Scenario scenario, + OnlineProcessingConfig onlineProcessingConfig, + ) : _scenario = scenario, + _onlineProcessingConfig = onlineProcessingConfig; + + ScannerConfig.withScenario(Scenario scenario) + : _scenario = scenario, + _onlineProcessingConfig = null; + + ScannerConfig.withOnlineProcessingConfig( + OnlineProcessingConfig onlineProcessingConfig, + ) : _scenario = null, + _onlineProcessingConfig = onlineProcessingConfig; + + ScannerConfig._empty(); + + @visibleForTesting + static ScannerConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + + var result = ScannerConfig._empty(); + + result._scenario = Scenario.getByValue(jsonObject["scenario"]); + result._onlineProcessingConfig = OnlineProcessingConfig.fromJson( + jsonObject["onlineProcessingConfig"], + ); + result.livePortrait = _bytesFromBase64(jsonObject["livePortrait"]); + result.extPortrait = _bytesFromBase64(jsonObject["extPortrait"]); + result.cameraId = jsonObject["cameraId"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "scenario": scenario?.value, + "onlineProcessingConfig": onlineProcessingConfig?.toJson(), + "livePortrait": _bytesToBase64(livePortrait), + "extPortrait": _bytesToBase64(extPortrait), + "cameraId": cameraId, + }.clearNulls(); +} diff --git a/lib/src/info/DocReaderException.dart b/lib/src/info/DocReaderException.dart deleted file mode 100644 index 836a35366b..0000000000 --- a/lib/src/info/DocReaderException.dart +++ /dev/null @@ -1,158 +0,0 @@ -// -// DocReaderException.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class DocReaderException { - ErrorCodes get code => _code; - late ErrorCodes _code; - - String get message => _message; - late String _message; - - @visibleForTesting - static DocReaderException? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DocReaderException(); - - result._code = ErrorCodes.getByValue(jsonObject["code"])!; - result._message = jsonObject["message"] ?? ""; - - return result; - } - - @visibleForTesting - Map toJson() => { - "code": code.value, - "message": message, - }.clearNulls(); -} - -/// Enum contains all possible error codes -enum ErrorCodes { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// A Core framework is absent. - INITIALIZATION_CORE_ABSENT(0), - - /// The reader is not initialized or an unknown initialization error occured. - INITIALIZATION_FAILED(1), - - /// This scenario is not supported based on your license and Core framework - /// capabilities. - INCORRECT_SCENARIO(2), - - /// There are no results after recognition of camera frames. - NO_RESULT(3), - - /// An error is encountered during database removal. - REMOVE_DATABASE(4), - - /// An error is encountered during database download. - FETCHING_DATABASE(5), - - /// An incorrect database ID. - DB_ID_NOT_FOUND(6), - - /// An incorrect database ID. - DB_DESCRIPTION_NOT_FOUND(7), - - /// An error is encountered during database save on your device. - SAVE_DB(8), - - /// A database is corrupted. - DOWNLOAD_DB_INCORRECT_CHECKSUM(9), - - /// A database is corrupted. - DB_DOWNLOAD(10), - - /// Deprecated. - DB_CREATION(11), - - /// An RFID error. - RFID_ERROR(12), - - /// A license is absent or corrupted. - LICENSE_ABSENT_OR_CORRUPTED(13), - - /// An invalid date, i.e. the license may be expired, or the date and time of - /// set on the device doesn't correspond to reality. - LICENSE_INVALID_DATE(14), - - /// An invalid version. - LICENSE_INVALID_VERSION(15), - - /// An invalid device ID. - LICENSE_INVALID_DEVICE_ID(16), - - /// An invalid OS or application ID. - LICENSE_INVALID_SYSTEM_OR_APP_ID(17), - - /// There are no capabilities for this functionality in your license. - LICENSE_NO_CAPABILITIES(18), - - /// There are no authenticity capabilities in your license. - LICENSE_NO_AUTHENTICITY(19), - - /// An invalid URL of the video during its generating. - RECORD_PROCESS_INVALID_OUTPUT_URL(20), - - /// Something went wrong with online license processing. - LICENSE_ONLINE_ERROR(21), - - /// db.dat is absent. - LICENSE_NO_DATABASE(22), - - /// db.dat is incorrect. - LICENSE_DATABASE_INCORRECT(23), - - /// Failed to set TCC params. - INVALID_TCC_PARAMS(24), - - /// The operation failed due to RFID reading has already started. - RFID_IN_PROGRESS(25), - - START_BACKEND_PROCESSING(26), - - ADD_DATA_TO_PACKAGE(27), - - FINALIZE_FAILED(28), - - CAMERA_NO_PERMISSION(29), - - CAMERA_NOT_AVAILABLE(30), - - BACKEND_ONLINE_PROCESSING(303), - - WRONG_INPUT(400), - - STATE_EXCEPTION(500), - - BLE_EXCEPTION(600), - - FEATURE_BLUETOOTH_LE_NOT_SUPPORTED(601), - - APP_BACKGROUND(700), - - ONLINE_PROCESSING_WRONG_INPUT(800), - - NATIVE_JAVA_EXCEPTION(1000); - - const ErrorCodes(this.value); - final int value; - - static ErrorCodes? getByValue(int? i) { - if (i == null) return null; - try { - return ErrorCodes.values.firstWhere((x) => x.value == i); - } catch (_) { - return ErrorCodes.UNKNOWN; - } - } -} diff --git a/lib/src/info/DocReaderScenario.dart b/lib/src/info/DocReaderScenario.dart deleted file mode 100644 index f56aace634..0000000000 --- a/lib/src/info/DocReaderScenario.dart +++ /dev/null @@ -1,201 +0,0 @@ -// -// DocReaderScenario.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class DocReaderScenario { - /// ID of the scenario. - String get name => _name; - late String _name; - - /// string representation of scenario ID. - String get caption => _caption; - late String _caption; - - /// Description of the scenario. - String get description => _description; - late String _description; - - /// Available orientation for scenario. - DocReaderOrientation get frameOrientation => _frameOrientation; - late DocReaderOrientation _frameOrientation; - - bool get uvTorch => _uvTorch; - late bool _uvTorch; - - bool get faceExt => _faceExt; - late bool _faceExt; - - bool get multiPageOff => _multiPageOff; - late bool _multiPageOff; - - bool get seriesProcessMode => _seriesProcessMode; - late bool _seriesProcessMode; - - double get frameKWHLandscape => _frameKWHLandscape; - late double _frameKWHLandscape; - - double get frameKWHPortrait => _frameKWHPortrait; - late double _frameKWHPortrait; - - double get frameKWHDoublePageSpreadLandscape => - _frameKWHDoublePageSpreadLandscape; - late double _frameKWHDoublePageSpreadLandscape; - - double get frameKWHDoublePageSpreadPortrait => - _frameKWHDoublePageSpreadPortrait; - late double _frameKWHDoublePageSpreadPortrait; - - bool get manualCrop => _manualCrop; - late bool _manualCrop; - - @visibleForTesting - static DocReaderScenario? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DocReaderScenario(); - - result._uvTorch = jsonObject["uvTorch"]; - result._frameOrientation = - DocReaderOrientation.getByValue(jsonObject["frameOrientation"])!; - result._faceExt = jsonObject["faceExt"]; - result._multiPageOff = jsonObject["multiPageOff"]; - result._seriesProcessMode = jsonObject["seriesProcessMode"]; - result._frameKWHLandscape = jsonObject["frameKWHLandscape"].toDouble(); - result._frameKWHPortrait = jsonObject["frameKWHPortrait"].toDouble(); - result._frameKWHDoublePageSpreadPortrait = - jsonObject["frameKWHDoublePageSpreadPortrait"].toDouble(); - result._frameKWHDoublePageSpreadLandscape = - jsonObject["frameKWHDoublePageSpreadLandscape"].toDouble(); - result._name = jsonObject["name"]; - result._caption = jsonObject["caption"]; - result._description = jsonObject["description"]; - result._manualCrop = jsonObject["manualCrop"]; - - return result; - } - - @visibleForTesting - Map toJson() => { - "uvTorch": uvTorch, - "frameOrientation": frameOrientation.value, - "faceExt": faceExt, - "multiPageOff": multiPageOff, - "seriesProcessMode": seriesProcessMode, - "frameKWHLandscape": frameKWHLandscape, - "frameKWHPortrait": frameKWHPortrait, - "frameKWHDoublePageSpreadPortrait": frameKWHDoublePageSpreadPortrait, - "frameKWHDoublePageSpreadLandscape": frameKWHDoublePageSpreadLandscape, - "name": name, - "caption": caption, - "description": description, - "manualCrop": manualCrop - }.clearNulls(); -} - -enum Scenario { - /// Processing scenario for obtaining MRZ data. - MRZ("Mrz"), - - /// Processing scenario for obtaining barcode data. - BARCODE("Barcode"), - - /// Processing scenario for detecting document boundaries. - LOCATE("Locate"), - - /// Processing scenario for obtaining visual zone OCR results. - OCR("Ocr"), - - /// Processing scenario for document type recognition. - DOCTYPE("DocType"), - - /// Processing scenario for obtaining MRZ and/or barcode data. - MRZ_OR_BARCODE("MrzOrBarcode"), - - /// Processing scenario for detecting document boundaries and/or obtaining MRZ data. - MRZ_OR_LOCATE("MrzOrLocate"), - - /// Processing scenario for detecting document boundaries and obtaining MRZ data. - MRZ_AND_LOCATE("MrzAndLocate"), - - /// Processing scenario for detecting document boundaries and obtaining barcode data. - BARCODE_AND_LOCATE("BarcodeAndLocate"), - - /// Processing scenario for obtaining MRZ data or visual zone OCR results. - MRZ_OR_OCR("MrzOrOcr"), - - /// Processing scenario for obtaining MRZ or barcode or visual zone OCR results. - MRZ_OR_BARCODE_OR_OCR("MrzOrBarcodeOrOcr"), - - /// Processing scenario for detecting document boundaries and obtaining - /// MRZ data or visual zone OCR results. - LOCATE_VISUAL_AND_MRZ_OR_OCR("LocateVisual_And_MrzOrOcr"), - - /// Processing scenario for obtaining all document data. - FULL_PROCESS("FullProcess"), - - /// Processing scenario for obtaining all document data and document authentication. - FULL_AUTH("FullAuth"), - - /// Processing scenario for obtaining visual zone OCR results from - /// Russian National Passport and MRZ data from any document. - ID3RUS("Id3Rus"), - - /// Processing scenario for obtaining data from registration stamps in - /// Russian passports. - RUS_STAMP("RusStamp"), - - /// Processing scenario for obtaining OCR results of any image. - OCR_FREE("OcrFree"), - - /// Processing scenario for obtaining bank card data. - CREDIT_CARD("CreditCard"), - - /// Scenario for obtaining an original image without any processing. - CAPTURE("Capture"); - - const Scenario(this.value); - final String value; - - static Scenario? getByValue(String? i) { - if (i == null || i == "") return null; - return Scenario.values.firstWhere((x) => x.value == i); - } -} - -/// Contains set of values of the application's orientation. -enum DocReaderOrientation { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// All interface orientations - orientation not set, activities will rotate. - ALL(0), - - /// A portrait interface orientation. - PORTRAIT(1), - - /// Both landscape-left and landscape-right interface orientation. - LANDSCAPE(2), - - /// A landscape-left interface orientation. - LANDSCAPE_LEFT(3), - - /// A landscape-right interface orientation. - LANDSCAPE_RIGHT(4); - - const DocReaderOrientation(this.value); - final int value; - - static DocReaderOrientation? getByValue(int? i) { - if (i == null) return null; - try { - return DocReaderOrientation.values.firstWhere((x) => x.value == i); - } catch (_) { - return DocReaderOrientation.UNKNOWN; - } - } -} diff --git a/lib/src/info/DocReaderVersion.dart b/lib/src/info/DocReaderVersion.dart deleted file mode 100644 index 494708a7eb..0000000000 --- a/lib/src/info/DocReaderVersion.dart +++ /dev/null @@ -1,49 +0,0 @@ -// -// DocReaderVersion.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Class contains properties to get the information about the SDK. -class DocReaderVersion { - /// A version of the API framework. - String? get api => _api; - String? _api; - - /// A version of the Core framework. - String? get core => _core; - String? _core; - - /// A type of the Core framework. - String? get coreMode => _coreMode; - String? _coreMode; - - /// A version of the database. - DocumentsDatabase? get database => _database; - DocumentsDatabase? _database; - - @visibleForTesting - static DocReaderVersion? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DocReaderVersion(); - - result._api = jsonObject["api"]; - result._core = jsonObject["core"]; - result._coreMode = jsonObject["coreMode"]; - result._database = DocumentsDatabase.fromJson(jsonObject["database"]); - - return result; - } - - @visibleForTesting - Map toJson() => { - "api": api, - "core": core, - "coreMode": coreMode, - "database": database?.toJson() - }.clearNulls(); -} diff --git a/lib/src/info/DocumentsDatabase.dart b/lib/src/info/DocumentsDatabase.dart deleted file mode 100644 index 9e55f572bb..0000000000 --- a/lib/src/info/DocumentsDatabase.dart +++ /dev/null @@ -1,68 +0,0 @@ -// -// DocumentsDatabase.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Class contains properties to get the information about the database. -class DocumentsDatabase { - /// An ID of the database, e.g. BLR, RUS. - String? get databaseID => _databaseID; - String? _databaseID; - - /// A version of the database. - String? get version => _version; - String? _version; - - /// A date when the database was created. - String? get date => _date; - String? _date; - - /// A list of supported documents in the database. - String? get databaseDescription => _databaseDescription; - String? _databaseDescription; - - /// A number of countries included in the database. - int get countriesNumber => _countriesNumber; - late int _countriesNumber; - - /// A number of documents included in the database. - int get documentsNumber => _documentsNumber; - late int _documentsNumber; - - /// Database size. In bytes. - /// Available for database update check. - int? get size => _size; - int? _size; - - @visibleForTesting - static DocumentsDatabase? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DocumentsDatabase(); - - result._databaseID = jsonObject["databaseID"]; - result._version = jsonObject["version"]; - result._date = jsonObject["date"]; - result._databaseDescription = jsonObject["databaseDescription"]; - result._countriesNumber = jsonObject["countriesNumber"]; - result._documentsNumber = jsonObject["documentsNumber"]; - result._size = jsonObject["size"]; - - return result; - } - - @visibleForTesting - Map toJson() => { - "databaseID": databaseID, - "version": version, - "date": date, - "databaseDescription": databaseDescription, - "countriesNumber": countriesNumber, - "documentsNumber": documentsNumber, - "size": size - }.clearNulls(); -} diff --git a/lib/src/info/License.dart b/lib/src/info/License.dart index 2fa7a1d5a2..cffe068a37 100644 --- a/lib/src/info/License.dart +++ b/lib/src/info/License.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../flutter_document_reader_api.dart"; /// Class contains properties to get the information about the license. class License { @@ -30,10 +30,8 @@ class License { var result = License(); result._expiryDate = jsonObject["expiryDate"]; - result._countryFilter = jsonObject["countryFilter"] == null - ? null - : List.from(jsonObject["countryFilter"]); - result._isRfidAvailable = jsonObject["isRfidAvailable"]; + result._countryFilter = _stringListFrom(jsonObject["countryFilter"]); + result._isRfidAvailable = jsonObject["isRfidAvailable"] ?? false; return result; } @@ -42,6 +40,6 @@ class License { Map toJson() => { "expiryDate": expiryDate, "countryFilter": countryFilter, - "isRfidAvailable": isRfidAvailable + "isRfidAvailable": isRfidAvailable, }.clearNulls(); } diff --git a/lib/src/info/PrepareProgress.dart b/lib/src/info/PrepareProgress.dart deleted file mode 100644 index c400255359..0000000000 --- a/lib/src/info/PrepareProgress.dart +++ /dev/null @@ -1,51 +0,0 @@ -// -// DocReaderVersion.dart -// DocumentReader -// -// Created by Pavel Masiuk on 15.04.2024. -// Copyright © 2024 Regula. All rights reserved. -// - -part of document_reader; - -/// Class contains info about database preparation progress. -class PrepareProgress { - int get downloadedBytes => _downloadedBytes; - int _downloadedBytes; - - int get totalBytes => _totalBytes; - int _totalBytes; - - int get progress => _progress; - int _progress; - - PrepareProgress( - int downloadedBytes, - int totalBytes, - int progress, - ) : _downloadedBytes = downloadedBytes, - _totalBytes = totalBytes, - _progress = progress; - - @visibleForTesting - static PrepareProgress? fromJson(jsonObject) { - if (jsonObject == null) return null; - return PrepareProgress( - jsonObject["downloadedBytes"], - jsonObject["totalBytes"], - jsonObject["progress"], - ); - } - - @visibleForTesting - Map toJson() => { - "downloadedBytes": downloadedBytes, - "totalBytes": totalBytes, - "progress": progress, - }.clearNulls(); -} - -/// Callback for receiving notifications on Documents Database preparation. -typedef DocumentReaderPrepareCompletion = void Function( - PrepareProgress progress, -); diff --git a/lib/src/info/RFIDException.dart b/lib/src/info/RFIDException.dart deleted file mode 100644 index e6433bc3eb..0000000000 --- a/lib/src/info/RFIDException.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// RFIDException.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class RFIDException { - RFIDErrorCodes get code => _code; - late RFIDErrorCodes _code; - - String get message => _message; - late String _message; - - @visibleForTesting - static RFIDException? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDException(); - - result._code = RFIDErrorCodes.getByValue(jsonObject["code"])!; - result._message = jsonObject["message"] ?? ""; - - return result; - } - - @visibleForTesting - Map toJson() => { - "code": code.value, - "message": message, - }.clearNulls(); -} diff --git a/lib/src/info/doc_reader_exception.dart b/lib/src/info/doc_reader_exception.dart new file mode 100644 index 0000000000..564a4c32a8 --- /dev/null +++ b/lib/src/info/doc_reader_exception.dart @@ -0,0 +1,174 @@ +// +// DocReaderException.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class DocReaderException { + ErrorCodes get code => _code; + late ErrorCodes _code; + + String get message => _message; + late String _message; + + DocReaderException.unknown() { + _code = ErrorCodes.UNKNOWN; + _message = "Unknown exception"; + } + + @visibleForTesting + static DocReaderException? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocReaderException.unknown(); + + result._code = ErrorCodes.getByValue(jsonObject["code"])!; + result._message = jsonObject["message"] ?? ""; + + return result; + } + + @visibleForTesting + Map toJson() => + {"code": code.value, "message": message}.clearNulls(); +} + +/// Enum contains all possible error codes +enum ErrorCodes { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// A Core framework is absent. + INITIALIZATION_CORE_ABSENT(0), + + /// The reader is not initialized or an unknown initialization error occured. + INITIALIZATION_FAILED(1), + + /// This scenario is not supported based on your license and Core framework + /// capabilities. + INCORRECT_SCENARIO(2), + + /// There are no results after recognition of camera frames. + NO_RESULT(3), + + /// An error is encountered during database removal. + REMOVE_DATABASE(4), + + /// An error is encountered during database download. + FETCHING_DATABASE(5), + + /// An incorrect database ID. + DB_ID_NOT_FOUND(6), + + /// An incorrect database ID. + DB_DESCRIPTION_NOT_FOUND(7), + + /// An error is encountered during database save on your device. + SAVE_DB(8), + + /// A database is corrupted. + DOWNLOAD_DB_INCORRECT_CHECKSUM(9), + + /// A database is corrupted. + DB_DOWNLOAD(10), + + /// Deprecated. + DB_CREATION(11), + + /// An RFID error. + RFID_ERROR(12), + + /// A license is absent or corrupted. + LICENSE_ABSENT_OR_CORRUPTED(13), + + /// An invalid date, i.e. the license may be expired, or the date and time of + /// set on the device doesn't correspond to reality. + LICENSE_INVALID_DATE(14), + + /// An invalid version. + LICENSE_INVALID_VERSION(15), + + /// An invalid device ID. + LICENSE_INVALID_DEVICE_ID(16), + + /// An invalid OS or application ID. + LICENSE_INVALID_SYSTEM_OR_APP_ID(17), + + /// There are no capabilities for this functionality in your license. + LICENSE_NO_CAPABILITIES(18), + + /// There are no authenticity capabilities in your license. + LICENSE_NO_AUTHENTICITY(19), + + /// An invalid URL of the video during its generating. + RECORD_PROCESS_INVALID_OUTPUT_URL(20), + + /// Something went wrong with online license processing. + LICENSE_ONLINE_ERROR(21), + + /// db.dat is absent. + LICENSE_NO_DATABASE(22), + + /// db.dat is incorrect. + LICENSE_DATABASE_INCORRECT(23), + + /// Failed to set TCC params. + INVALID_TCC_PARAMS(24), + + /// The operation failed due to RFID reading has already started. + RFID_IN_PROGRESS(25), + + START_BACKEND_PROCESSING(26), + + ADD_DATA_TO_PACKAGE(27), + + FINALIZE_FAILED(28), + + CAMERA_NO_PERMISSION(29), + + CAMERA_NOT_AVAILABLE(30), + + /// The camera not supported in this scenario. + CANNOT_USE_CAMERA_IN_SCENARIO(40), + + BLUETOOTH_NO_PERMISSION(41), + + BACKEND_ONLINE_PROCESSING(303), + + WRONG_INPUT(400), + + /// Missing output result. + RESULT_UNAVAILABLE(410), + + /// Incorrect result output. + RESULT_WRONG_OUTPUT(411), + + STATE_EXCEPTION(500), + + BLE_EXCEPTION(600), + + FEATURE_BLUETOOTH_LE_NOT_SUPPORTED(601), + + APP_BACKGROUND(700), + + ONLINE_PROCESSING_WRONG_INPUT(800), + + MDL_EXCEPTION(900), + + NATIVE_JAVA_EXCEPTION(1000); + + const ErrorCodes(this.value); + final int value; + + static ErrorCodes? getByValue(int? i) { + if (i == null) return null; + try { + return ErrorCodes.values.firstWhere((x) => x.value == i); + } catch (_) { + return ErrorCodes.UNKNOWN; + } + } +} diff --git a/lib/src/info/doc_reader_scenario.dart b/lib/src/info/doc_reader_scenario.dart new file mode 100644 index 0000000000..2a6f1a018e --- /dev/null +++ b/lib/src/info/doc_reader_scenario.dart @@ -0,0 +1,207 @@ +// +// DocReaderScenario.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class DocReaderScenario { + /// ID of the scenario. + String get name => _name; + late String _name; + + /// string representation of scenario ID. + String get caption => _caption; + late String _caption; + + /// Description of the scenario. + String get description => _description; + late String _description; + + /// Available orientation for scenario. + DocReaderOrientation get frameOrientation => _frameOrientation; + late DocReaderOrientation _frameOrientation; + + bool get uvTorch => _uvTorch; + late bool _uvTorch; + + bool get faceExt => _faceExt; + late bool _faceExt; + + bool get multiPageOff => _multiPageOff; + late bool _multiPageOff; + + bool get seriesProcessMode => _seriesProcessMode; + late bool _seriesProcessMode; + + double get frameKWHLandscape => _frameKWHLandscape; + late double _frameKWHLandscape; + + double get frameKWHPortrait => _frameKWHPortrait; + late double _frameKWHPortrait; + + double get frameKWHDoublePageSpreadLandscape => + _frameKWHDoublePageSpreadLandscape; + late double _frameKWHDoublePageSpreadLandscape; + + double get frameKWHDoublePageSpreadPortrait => + _frameKWHDoublePageSpreadPortrait; + late double _frameKWHDoublePageSpreadPortrait; + + bool get manualCrop => _manualCrop; + late bool _manualCrop; + + @visibleForTesting + static DocReaderScenario? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocReaderScenario(); + + result._uvTorch = jsonObject["uvTorch"]; + result._frameOrientation = + DocReaderOrientation.getByValue(jsonObject["frameOrientation"])!; + result._faceExt = jsonObject["faceExt"]; + result._multiPageOff = jsonObject["multiPageOff"]; + result._seriesProcessMode = jsonObject["seriesProcessMode"]; + result._frameKWHLandscape = jsonObject["frameKWHLandscape"].toDouble(); + result._frameKWHPortrait = jsonObject["frameKWHPortrait"].toDouble(); + result._frameKWHDoublePageSpreadPortrait = + jsonObject["frameKWHDoublePageSpreadPortrait"].toDouble(); + result._frameKWHDoublePageSpreadLandscape = + jsonObject["frameKWHDoublePageSpreadLandscape"].toDouble(); + result._name = jsonObject["name"]; + result._caption = jsonObject["caption"]; + result._description = jsonObject["description"]; + result._manualCrop = jsonObject["manualCrop"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "uvTorch": uvTorch, + "frameOrientation": frameOrientation.value, + "faceExt": faceExt, + "multiPageOff": multiPageOff, + "seriesProcessMode": seriesProcessMode, + "frameKWHLandscape": frameKWHLandscape, + "frameKWHPortrait": frameKWHPortrait, + "frameKWHDoublePageSpreadPortrait": frameKWHDoublePageSpreadPortrait, + "frameKWHDoublePageSpreadLandscape": frameKWHDoublePageSpreadLandscape, + "name": name, + "caption": caption, + "description": description, + "manualCrop": manualCrop, + }.clearNulls(); +} + +enum Scenario { + /// Processing scenario for obtaining MRZ data. + MRZ("Mrz"), + + /// Processing scenario for obtaining barcode data. + BARCODE("Barcode"), + + /// Processing scenario for detecting document boundaries. + LOCATE("Locate"), + + /// Processing scenario for obtaining visual zone OCR results. + OCR("Ocr"), + + /// Processing scenario for document type recognition. + DOCTYPE("DocType"), + + /// Processing scenario for obtaining MRZ and/or barcode data. + MRZ_OR_BARCODE("MrzOrBarcode"), + + /// Processing scenario for detecting document boundaries and/or obtaining MRZ data. + MRZ_OR_LOCATE("MrzOrLocate"), + + /// Processing scenario for detecting document boundaries and obtaining MRZ data. + MRZ_AND_LOCATE("MrzAndLocate"), + + /// Processing scenario for detecting document boundaries and obtaining barcode data. + BARCODE_AND_LOCATE("BarcodeAndLocate"), + + /// Processing scenario for obtaining MRZ data or visual zone OCR results. + MRZ_OR_OCR("MrzOrOcr"), + + /// Processing scenario for obtaining MRZ or barcode or visual zone OCR results. + MRZ_OR_BARCODE_OR_OCR("MrzOrBarcodeOrOcr"), + + /// Processing scenario for detecting document boundaries and obtaining + /// MRZ data or visual zone OCR results. + LOCATE_VISUAL_AND_MRZ_OR_OCR("LocateVisual_And_MrzOrOcr"), + + /// Processing scenario for obtaining all document data. + FULL_PROCESS("FullProcess"), + + /// Processing scenario for obtaining all document data and document authentication. + FULL_AUTH("FullAuth"), + + /// Processing scenario for obtaining visual zone OCR results from + /// Russian National Passport and MRZ data from any document. + ID3RUS("Id3Rus"), + + /// Processing scenario for obtaining data from registration stamps in + /// Russian passports. + RUS_STAMP("RusStamp"), + + /// Processing scenario for obtaining OCR results of any image. + OCR_FREE("OcrFree"), + + /// Processing scenario for obtaining bank card data. + CREDIT_CARD("CreditCard"), + + /// Scenario for obtaining an original image without any processing. + CAPTURE("Capture"), + + /// Scenario for Digital Travel Credentials (DTC) processing. + DTC("DTC"), + + /// Processing scenario for RFID reading. + RFID("RFID"); + + const Scenario(this.value); + final String value; + + static Scenario? getByValue(String? i) { + if (i == null || i == "") return null; + return Scenario.values.firstWhere((x) => x.value == i); + } +} + +/// Contains set of values of the application's orientation. +enum DocReaderOrientation { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// All interface orientations - orientation not set, activities will rotate. + ALL(0), + + /// A portrait interface orientation. + PORTRAIT(1), + + /// Both landscape-left and landscape-right interface orientation. + LANDSCAPE(2), + + /// A landscape-left interface orientation. + LANDSCAPE_LEFT(3), + + /// A landscape-right interface orientation. + LANDSCAPE_RIGHT(4); + + const DocReaderOrientation(this.value); + final int value; + + static DocReaderOrientation? getByValue(int? i) { + if (i == null) return null; + try { + return DocReaderOrientation.values.firstWhere((x) => x.value == i); + } catch (_) { + return DocReaderOrientation.UNKNOWN; + } + } +} diff --git a/lib/src/info/doc_reader_version.dart b/lib/src/info/doc_reader_version.dart new file mode 100644 index 0000000000..4c3d71da78 --- /dev/null +++ b/lib/src/info/doc_reader_version.dart @@ -0,0 +1,49 @@ +// +// DocReaderVersion.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// Class contains properties to get the information about the SDK. +class DocReaderVersion { + /// A version of the API framework. + String? get api => _api; + String? _api; + + /// A version of the Core framework. + String? get core => _core; + String? _core; + + /// A type of the Core framework. + String? get coreMode => _coreMode; + String? _coreMode; + + /// A version of the database. + DocumentsDatabase? get database => _database; + DocumentsDatabase? _database; + + @visibleForTesting + static DocReaderVersion? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocReaderVersion(); + + result._api = jsonObject["api"]; + result._core = jsonObject["core"]; + result._coreMode = jsonObject["coreMode"]; + result._database = DocumentsDatabase.fromJson(jsonObject["database"]); + + return result; + } + + @visibleForTesting + Map toJson() => { + "api": api, + "core": core, + "coreMode": coreMode, + "database": database?.toJson(), + }.clearNulls(); +} diff --git a/lib/src/info/documents_database.dart b/lib/src/info/documents_database.dart new file mode 100644 index 0000000000..b786ad1191 --- /dev/null +++ b/lib/src/info/documents_database.dart @@ -0,0 +1,68 @@ +// +// DocumentsDatabase.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// Class contains properties to get the information about the database. +class DocumentsDatabase { + /// An ID of the database, e.g. BLR, RUS. + String? get databaseID => _databaseID; + String? _databaseID; + + /// A version of the database. + String? get version => _version; + String? _version; + + /// A date when the database was created. + String? get date => _date; + String? _date; + + /// A list of supported documents in the database. + String? get databaseDescription => _databaseDescription; + String? _databaseDescription; + + /// A number of countries included in the database. + int get countriesNumber => _countriesNumber; + late int _countriesNumber; + + /// A number of documents included in the database. + int get documentsNumber => _documentsNumber; + late int _documentsNumber; + + /// Database size. In bytes. + /// Available for database update check. + int? get size => _size; + int? _size; + + @visibleForTesting + static DocumentsDatabase? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocumentsDatabase(); + + result._databaseID = jsonObject["databaseID"]; + result._version = jsonObject["version"]; + result._date = jsonObject["date"]; + result._databaseDescription = jsonObject["databaseDescription"]; + result._countriesNumber = jsonObject["countriesNumber"]; + result._documentsNumber = jsonObject["documentsNumber"]; + result._size = jsonObject["size"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "databaseID": databaseID, + "version": version, + "date": date, + "databaseDescription": databaseDescription, + "countriesNumber": countriesNumber, + "documentsNumber": documentsNumber, + "size": size, + }.clearNulls(); +} diff --git a/lib/src/info/prepare_progress.dart b/lib/src/info/prepare_progress.dart new file mode 100644 index 0000000000..3a425e0bfc --- /dev/null +++ b/lib/src/info/prepare_progress.dart @@ -0,0 +1,47 @@ +// +// DocReaderVersion.dart +// DocumentReader +// +// Created by Pavel Masiuk on 15.04.2024. +// Copyright © 2024 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// Class contains info about database preparation progress. +class PrepareProgress { + int get downloadedBytes => _downloadedBytes; + int _downloadedBytes; + + int get totalBytes => _totalBytes; + int _totalBytes; + + int get progress => _progress; + int _progress; + + PrepareProgress(int downloadedBytes, int totalBytes, int progress) + : _downloadedBytes = downloadedBytes, + _totalBytes = totalBytes, + _progress = progress; + + @visibleForTesting + static PrepareProgress? fromJson(jsonObject) { + if (jsonObject == null) return null; + return PrepareProgress( + jsonObject["downloadedBytes"], + jsonObject["totalBytes"], + jsonObject["progress"], + ); + } + + @visibleForTesting + Map toJson() => { + "downloadedBytes": downloadedBytes, + "totalBytes": totalBytes, + "progress": progress, + }.clearNulls(); +} + +/// Callback for receiving notifications on Documents Database preparation. +typedef DocumentReaderPrepareCompletion = void Function( + PrepareProgress progress); diff --git a/lib/src/info/rfid_exception.dart b/lib/src/info/rfid_exception.dart new file mode 100644 index 0000000000..fbbe2da44c --- /dev/null +++ b/lib/src/info/rfid_exception.dart @@ -0,0 +1,32 @@ +// +// RFIDException.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class RFIDException { + RFIDErrorCodes get code => _code; + late RFIDErrorCodes _code; + + String get message => _message; + late String _message; + + @visibleForTesting + static RFIDException? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDException(); + + result._code = RFIDErrorCodes.getByValue(jsonObject["code"])!; + result._message = jsonObject["message"] ?? ""; + + return result; + } + + @visibleForTesting + Map toJson() => + {"code": code.value, "message": message}.clearNulls(); +} diff --git a/lib/src/internal/Bridge.dart b/lib/src/internal/Bridge.dart index 31aa9f8f26..dd57a2f25c 100644 --- a/lib/src/internal/Bridge.dart +++ b/lib/src/internal/Bridge.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../flutter_document_reader_api.dart"; const _methodChannelID = 'flutter_document_reader_api/method'; const MethodChannel _bridge = const MethodChannel(_methodChannelID); diff --git a/lib/src/internal/EventChannels.dart b/lib/src/internal/EventChannels.dart deleted file mode 100644 index 5cb4a2d107..0000000000 --- a/lib/src/internal/EventChannels.dart +++ /dev/null @@ -1,153 +0,0 @@ -// -// EventChannels.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -// DocumentReaderCompletion and RFIDCompletion use the same eventChannel so -// they need to have sommon eventChannel function. -// Because of they way it is implemented, one of the _documentReaderCompletion -// and _rfidCompletion always has to be null, to when setting one completion, -// we have to set the other one to null. -DocumentReaderCompletion? _documentReaderCompletion; -void _setDocumentReaderCompletion(DocumentReaderCompletion completion) { - _documentReaderCompletion = completion; - _rfidCompletion = null; - - _eventChannel('completion', (msg) { - var jsonObject = json.decode(msg); - var action = DocReaderAction.getByValue(jsonObject["action"])!; - var results = Results.fromJson(jsonObject["results"]); - var error = DocReaderException.fromJson(jsonObject["error"]); - var rfidError = RFIDException.fromJson(jsonObject["error"]); - - // We need ELSE instead of 2 ifs besause if _documentReaderCompletion?.call - // will run rfid, then it will run _setRFIDCompletion, and only after that - // it will check if _rfidCompletion is null, so it will run instantly - // both _documentReaderCompletion and _rfidCompletion - // with the same parameters. - if (_documentReaderCompletion != null) - _documentReaderCompletion!(action, results, error); - else - _rfidCompletion!(action, results, rfidError); - }); -} - -RFIDCompletion? _rfidCompletion; -void _setRFIDCompletion(RFIDCompletion rfidCompletion) { - _documentReaderCompletion = null; - _rfidCompletion = rfidCompletion; -} - -late DocumentReaderPrepareCompletion _documentReaderPrepareCompletion; -void _setDocumentReaderPrepareCompletion( - DocumentReaderPrepareCompletion completion) { - _documentReaderPrepareCompletion = completion; - _eventChannel('database_progress', (msg) { - var progress = PrepareProgress.fromJson(json.decode(msg))!; - _documentReaderPrepareCompletion(progress); - }); -} - -late BluetoothServiceCompletion _bluetoothServiceCompletion; -void _setBluetoothServiceCompletion(BluetoothServiceCompletion completion) { - _bluetoothServiceCompletion = completion; - _eventChannel('bleOnServiceConnectedEvent', - (msg) => _bluetoothServiceCompletion.onServiceConnected(msg)); - _eventChannel('bleOnServiceDisconnectedEvent', - (_) => _bluetoothServiceCompletion.onServiceDisconnected()); - _eventChannel('bleOnDeviceReadyEvent', - (_) => _bluetoothServiceCompletion.onDeviceReady()); -} - -late CustomButtonTappedCompletion _customButtonTappedCompletion; -void _setCustomButtonTappedCompletion(CustomButtonTappedCompletion completion) { - _customButtonTappedCompletion = completion; - _eventChannel( - 'onCustomButtonTappedEvent', (msg) => _customButtonTappedCompletion(msg)); -} - -late VideoEncoderCompletion _videoEncoderCompletion; -void _setVideoEncoderCompletion(VideoEncoderCompletion completion) { - _videoEncoderCompletion = completion; - _eventChannel( - 'video_encoder_completion', (msg) => _videoEncoderCompletion(msg)); -} - -RFIDProgressCompletion? _rfidProgressCompletion; -void _setRFIDProgressCompletion(RFIDProgressCompletion? completion) { - _rfidProgressCompletion = completion; - _eventChannel('rfidOnProgressCompletion', (msg) { - var notify = RFIDNotification.fromJson(json.decode(msg))!; - _rfidProgressCompletion?.call(notify); - }); -} - -ChipDetectedCompletion? _chipDetectedCompletion; -void _setChipDetectedCompletion(ChipDetectedCompletion? completion) { - _chipDetectedCompletion = completion; - _eventChannel( - 'rfidOnChipDetectedEvent', (_) => _chipDetectedCompletion?.call()); -} - -RetryReadChipCompletion? _retryReadChipCompletion; -void _setRetryReadChipCompletion(RetryReadChipCompletion? completion) { - _retryReadChipCompletion = completion; - _eventChannel('rfidOnRetryReadChipEvent', (msg) { - var error = RFIDException.fromJson(json.decode(msg))!; - _retryReadChipCompletion?.call(error); - }); -} - -PaCertificateCompletion? _paCertificateCompletion; -void _setPaCertificateCompletion(PaCertificateCompletion? completion) { - _paCertificateCompletion = completion; - _eventChannel('pa_certificate_completion', (msg) { - var jsonObject = json.decode(msg); - var serialNumber = _bytesFromBase64(jsonObject["serialNumber"])!; - var issuer = PAResourcesIssuer.fromJson(jsonObject["issuer"]); - - _paCertificateCompletion?.call( - serialNumber, - issuer, - (certificates) async { - await _bridge.invokeMethod( - "providePACertificates", - [certificates?.map((e) => e.toJson()).toList()], - ); - }, - ); - }); -} - -TaCertificateCompletion? _taCertificateCompletion; -void _setTaCertificateCompletion(TaCertificateCompletion? completion) { - _taCertificateCompletion = completion; - _eventChannel('ta_certificate_completion', (msg) { - _taCertificateCompletion?.call( - msg, - (certificates) async { - await _bridge.invokeMethod( - "provideTACertificates", - [certificates?.map((e) => e.toJson()).toList()], - ); - }, - ); - }); -} - -TaSignatureCompletion? _taSignatureCompletion; -void _setTaSignatureCompletion(TaSignatureCompletion? completion) { - _taSignatureCompletion = completion; - _eventChannel('ta_signature_completion', (msg) { - _taSignatureCompletion?.call(TAChallenge.fromJson(json.decode(msg)), - (signature) async { - await _bridge - .invokeMethod("provideTASignature", [_dataToBase64(signature)]); - }); - }); -} diff --git a/lib/src/internal/Utils.dart b/lib/src/internal/Utils.dart index c430052001..d494c9fb8f 100644 --- a/lib/src/internal/Utils.dart +++ b/lib/src/internal/Utils.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../flutter_document_reader_api.dart"; double? _toDouble(value) => value?.toDouble(); @@ -26,8 +26,19 @@ String? _bytesToBase64(Uint8List? value) => Color? _intToColor(int? value) => value == null ? null : Color(value); +// ignore: deprecated_member_use int? _intFromColor(Color? value) => value?.value; +List? _intListFrom(List? value) { + if (value == null) return null; + return List.from(value); +} + +List? _stringListFrom(List? value) { + if (value == null) return null; + return List.from(value); +} + extension _NullSafety on List { void addSafe(E value) { if (value != null) add(value); diff --git a/lib/src/internal/event_channels.dart b/lib/src/internal/event_channels.dart new file mode 100644 index 0000000000..fc881c8d98 --- /dev/null +++ b/lib/src/internal/event_channels.dart @@ -0,0 +1,162 @@ +part of "../../flutter_document_reader_api.dart"; + +// DocumentReaderCompletion and RFIDCompletion use the same eventChannel so +// they need to have sommon eventChannel function. +// Because of they way it is implemented, one of the _documentReaderCompletion +// and _rfidCompletion always has to be null, to when setting one completion, +// we have to set the other one to null. +DocumentReaderCompletion? _documentReaderCompletion; +void _setDocumentReaderCompletion(DocumentReaderCompletion completion) { + _documentReaderCompletion = completion; + _rfidCompletion = null; + + _eventChannel('completion', (msg) { + var jsonObject = json.decode(msg); + var action = DocReaderAction.getByValue(jsonObject["action"])!; + var results = Results.fromJson(jsonObject["results"]); + var error = DocReaderException.fromJson(jsonObject["error"]); + var rfidError = RFIDException.fromJson(jsonObject["error"]); + + // We need ELSE instead of 2 ifs besause if _documentReaderCompletion?.call + // will run rfid, then it will run _setRFIDCompletion, and only after that + // it will check if _rfidCompletion is null, so it will run instantly + // both _documentReaderCompletion and _rfidCompletion + // with the same parameters. + if (_documentReaderCompletion != null) { + _documentReaderCompletion!(action, results, error); + } else { + _rfidCompletion!(action, results, rfidError); + } + }); +} + +RFIDCompletion? _rfidCompletion; +void _setRFIDCompletion(RFIDCompletion rfidCompletion) { + _documentReaderCompletion = null; + _rfidCompletion = rfidCompletion; +} + +late DocumentReaderPrepareCompletion _documentReaderPrepareCompletion; +void _setDocumentReaderPrepareCompletion( + DocumentReaderPrepareCompletion completion, +) { + _documentReaderPrepareCompletion = completion; + _eventChannel('database_progress', (msg) { + var progress = PrepareProgress.fromJson(json.decode(msg))!; + _documentReaderPrepareCompletion(progress); + }); +} + +late CustomButtonTappedCompletion _customButtonTappedCompletion; +void _setCustomButtonTappedCompletion(CustomButtonTappedCompletion completion) { + _customButtonTappedCompletion = completion; + _eventChannel( + 'onCustomButtonTappedEvent', + (msg) => _customButtonTappedCompletion(msg), + ); +} + +late VideoEncoderCompletion _videoEncoderCompletion; +void _setVideoEncoderCompletion(VideoEncoderCompletion completion) { + _videoEncoderCompletion = completion; + _eventChannel( + 'video_encoder_completion', + (msg) => _videoEncoderCompletion(msg), + ); +} + +RFIDProgressCompletion? _rfidProgressCompletion; +void _setRFIDProgressCompletion(RFIDProgressCompletion? completion) { + _rfidProgressCompletion = completion; + _eventChannel('rfidOnProgressCompletion', (msg) { + var notify = RFIDNotification.fromJson(json.decode(msg))!; + _rfidProgressCompletion?.call(notify); + }); +} + +ChipDetectedCompletion? _chipDetectedCompletion; +void _setChipDetectedCompletion(ChipDetectedCompletion? completion) { + _chipDetectedCompletion = completion; + _eventChannel( + 'rfidOnChipDetectedEvent', + (_) => _chipDetectedCompletion?.call(), + ); +} + +RetryReadChipCompletion? _retryReadChipCompletion; +void _setRetryReadChipCompletion(RetryReadChipCompletion? completion) { + _retryReadChipCompletion = completion; + _eventChannel('rfidOnRetryReadChipEvent', (msg) { + var error = RFIDException.fromJson(json.decode(msg))!; + _retryReadChipCompletion?.call(error); + }); +} + +PaCertificateCompletion? _paCertificateCompletion; +void _setPaCertificateCompletion(PaCertificateCompletion? completion) { + _paCertificateCompletion = completion; + _eventChannel('pa_certificate_completion', (msg) { + var jsonObject = json.decode(msg); + var serialNumber = _bytesFromBase64(jsonObject["serialNumber"])!; + var issuer = PAResourcesIssuer.fromJson(jsonObject["issuer"]); + + _paCertificateCompletion?.call(serialNumber, issuer, (certificates) async { + await _bridge.invokeMethod("providePACertificates", [ + certificates?.map((e) => e.toJson()).toList(), + ]); + }); + }); +} + +TaCertificateCompletion? _taCertificateCompletion; +void _setTaCertificateCompletion(TaCertificateCompletion? completion) { + _taCertificateCompletion = completion; + _eventChannel('ta_certificate_completion', (msg) { + _taCertificateCompletion?.call(msg, (certificates) async { + await _bridge.invokeMethod("provideTACertificates", [ + certificates?.map((e) => e.toJson()).toList(), + ]); + }); + }); +} + +TaSignatureCompletion? _taSignatureCompletion; +void _setTaSignatureCompletion(TaSignatureCompletion? completion) { + _taSignatureCompletion = completion; + _eventChannel('ta_signature_completion', (msg) { + _taSignatureCompletion?.call( + TAChallenge.fromJson(json.decode(msg)), + (signature) async { + await _bridge.invokeMethod("provideTASignature", [ + _dataToBase64(signature), + ]); + }, + ); + }); +} + +PACEProtocolCompletion? _paceProtocolCompletion; +void _setPACEProtocolCompletion(PACEProtocolCompletion? completion) { + _paceProtocolCompletion = completion; + _eventChannel('paceProtocolCompletionEvent', (msg) { + _paceProtocolCompletion?.call( + (msg as List).map((item) => PACEProtocol.fromJson(item)!).toList(), + (protocol) async { + await _bridge.invokeMethod("selectPACEProtocol", [protocol.toJson()]); + }, + ); + }); +} + +CAProtocolCompletion? _caProtocolCompletion; +void _setCAProtocolCompletion(CAProtocolCompletion? completion) { + _caProtocolCompletion = completion; + _eventChannel('caProtocolCompletionEvent', (msg) { + _caProtocolCompletion?.call( + (msg as List).map((item) => CAProtocol.fromJson(item)!).toList(), + (protocol) async { + await _bridge.invokeMethod("selectCAProtocol", [protocol.toJson()]); + }, + ); + }); +} diff --git a/lib/src/mdl/data_retrieval.dart b/lib/src/mdl/data_retrieval.dart new file mode 100644 index 0000000000..e21f6411d7 --- /dev/null +++ b/lib/src/mdl/data_retrieval.dart @@ -0,0 +1,82 @@ +part of "../../flutter_document_reader_api.dart"; + +class DataRetrieval { + MDLDeviceRetrieval _deviceRetrieval; + MDLDocRequestPreset? _docRequestPreset; + MDLIntentToRetain _intentToRetain = MDLIntentToRetain.TRUE; + List _requests = []; + + DataRetrieval(this._deviceRetrieval); + + setDocRequestPreset( + MDLDocRequestPreset docRequestPreset, + MDLIntentToRetain intentToRetain, + ) { + _docRequestPreset = docRequestPreset; + _intentToRetain = intentToRetain; + } + + addDocRequest(DocumentRequestMDL request) { + _requests.add(request); + } + + /// Allows you to deserialize object. + static DataRetrieval? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DataRetrieval( + MDLDeviceRetrieval.getByValue(jsonObject["deviceRetrieval"])!); + + result._docRequestPreset = + MDLDocRequestPreset.getByValue(jsonObject["docRequestPreset"]); + result._intentToRetain = + MDLIntentToRetain.getByValue(jsonObject["intentToRetain"])!; + result._requests = (jsonObject["requests"] as List) + .map((item) => DocumentRequestMDL.fromJson(item)!) + .toList(); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "deviceRetrieval": _deviceRetrieval.value, + "docRequestPreset": _docRequestPreset?.value, + "intentToRetain": _intentToRetain.value, + "requests": _requests.map((item) => item.toJson()).toList(), + }.clearNulls(); +} + +enum MDLDocRequestPreset { + ALL(0), + + AGE(1), + + STANDARD_ID(2), + + TRAVEL(3), + + DRIVERS_LICENSE(4); + + const MDLDocRequestPreset(this.value); + final int value; + + static MDLDocRequestPreset? getByValue(int? i) { + if (i == null) return null; + return MDLDocRequestPreset.values.firstWhere((x) => x.value == i); + } +} + +/// Contains device retrieval types. +enum MDLDeviceRetrieval { + NFC(1), + + BLE(2); + + const MDLDeviceRetrieval(this.value); + final int value; + + static MDLDeviceRetrieval? getByValue(int? i) { + if (i == null) return null; + return MDLDeviceRetrieval.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/mdl/device_engagement.dart b/lib/src/mdl/device_engagement.dart new file mode 100644 index 0000000000..0b4cab7976 --- /dev/null +++ b/lib/src/mdl/device_engagement.dart @@ -0,0 +1,39 @@ +part of "../../flutter_document_reader_api.dart"; + +class DeviceEngagement { + List deviceRetrievalMethods = []; + + /// Allows you to deserialize object. + static DeviceEngagement? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DeviceEngagement(); + + result.deviceRetrievalMethods = + (jsonObject["deviceRetrievalMethods"] as List) + .map((item) => DeviceRetrievalMethod.fromJson(item)!) + .toList(); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "deviceRetrievalMethods": + deviceRetrievalMethods.map((e) => e.toJson()).toList() + }.clearNulls(); +} + +/// Contains device engagement types. +enum MDLDeviceEngagement { + QR(0), + + NFC(1); + + const MDLDeviceEngagement(this.value); + final int value; + + static MDLDeviceEngagement? getByValue(int? i) { + if (i == null) return null; + return MDLDeviceEngagement.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/mdl/device_retrieval_method.dart b/lib/src/mdl/device_retrieval_method.dart new file mode 100644 index 0000000000..fc5e34f873 --- /dev/null +++ b/lib/src/mdl/device_retrieval_method.dart @@ -0,0 +1,56 @@ +part of "../../flutter_document_reader_api.dart"; + +class DeviceRetrievalMethod { + MDLDeviceRetrieval get type => _type; + late MDLDeviceRetrieval _type; + + int? get version => _version; + int? _version; + + int? get cmdMaxLength => _cmdMaxLength; + int? _cmdMaxLength; + + int? get respMaxLength => _respMaxLength; + int? _respMaxLength; + + bool? get clientModeSupport => _clientModeSupport; + bool? _clientModeSupport; + + String? get clientModeUUID => _clientModeUUID; + String? _clientModeUUID; + + bool? get serverModeSupport => _serverModeSupport; + bool? _serverModeSupport; + + String? get serverModeUUID => _serverModeUUID; + String? _serverModeUUID; + + /// Allows you to deserialize object. + static DeviceRetrievalMethod? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DeviceRetrievalMethod(); + + result._type = MDLDeviceRetrieval.getByValue(jsonObject["type"])!; + result._version = jsonObject["version"]; + result._cmdMaxLength = jsonObject["cmdMaxLength"]; + result._respMaxLength = jsonObject["respMaxLength"]; + result._clientModeSupport = jsonObject["clientModeSupport"]; + result._clientModeUUID = jsonObject["clientModeUUID"]; + result._serverModeSupport = jsonObject["serverModeSupport"]; + result._serverModeUUID = jsonObject["serverModeUUID"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type.value, + "version": version, + "cmdMaxLength": cmdMaxLength, + "respMaxLength": respMaxLength, + "clientModeSupport": clientModeSupport, + "clientModeUUID": clientModeUUID, + "serverModeSupport": serverModeSupport, + "serverModeUUID": serverModeUUID, + }.clearNulls(); +} diff --git a/lib/src/mdl/document_request_18013_mdl.dart b/lib/src/mdl/document_request_18013_mdl.dart new file mode 100644 index 0000000000..39a656dc4d --- /dev/null +++ b/lib/src/mdl/document_request_18013_mdl.dart @@ -0,0 +1,201 @@ +part of "../../flutter_document_reader_api.dart"; + +class DocumentRequest18013MDL extends DocumentRequestMDL { + DocumentRequest18013MDL() : super("org.iso.18013.5.1.mDL"); + + MDLIntentToRetain? familyName; + MDLIntentToRetain? givenName; + MDLIntentToRetain? birthDate; + MDLIntentToRetain? issueDate; + MDLIntentToRetain? expiryDate; + MDLIntentToRetain? issuingCountry; + MDLIntentToRetain? issuingAuthority; + MDLIntentToRetain? documentNumber; + MDLIntentToRetain? portrait; + MDLIntentToRetain? drivingPrivileges; + MDLIntentToRetain? unDistinguishingSign; + MDLIntentToRetain? administrativeNumber; + MDLIntentToRetain? sex; + MDLIntentToRetain? height; + MDLIntentToRetain? weight; + MDLIntentToRetain? eyeColour; + MDLIntentToRetain? hairColour; + MDLIntentToRetain? birthPlace; + MDLIntentToRetain? residentAddress; + MDLIntentToRetain? portraitCaptureDate; + MDLIntentToRetain? ageInYears; + MDLIntentToRetain? ageBirthYear; + MDLIntentToRetain? ageOver18; + MDLIntentToRetain? issuingJurisdiction; + MDLIntentToRetain? nationality; + MDLIntentToRetain? residentCity; + MDLIntentToRetain? residentState; + MDLIntentToRetain? residentPostalCode; + MDLIntentToRetain? residentCountry; + MDLIntentToRetain? biometricTemplateFace; + MDLIntentToRetain? biometricTemplateIris; + MDLIntentToRetain? biometricTemplateFinger; + MDLIntentToRetain? biometricTemplateSignatureSign; + MDLIntentToRetain? familyNameNationalCharacter; + MDLIntentToRetain? givenNameNationalCharacter; + MDLIntentToRetain? signatureUsualMark; + + disableIntentToRetainValues() { + _setAll(MDLIntentToRetain.FALSE); + } + + enableIntentToRetainValues() { + _setAll(MDLIntentToRetain.TRUE); + } + + _setAll(MDLIntentToRetain? value) { + familyName = value; + givenName = value; + birthDate = value; + issueDate = value; + expiryDate = value; + issuingCountry = value; + issuingAuthority = value; + documentNumber = value; + portrait = value; + drivingPrivileges = value; + unDistinguishingSign = value; + administrativeNumber = value; + sex = value; + height = value; + weight = value; + eyeColour = value; + hairColour = value; + birthPlace = value; + residentAddress = value; + portraitCaptureDate = value; + ageInYears = value; + ageBirthYear = value; + ageOver18 = value; + issuingJurisdiction = value; + nationality = value; + residentCity = value; + residentState = value; + residentPostalCode = value; + residentCountry = value; + biometricTemplateFace = value; + biometricTemplateIris = value; + biometricTemplateFinger = value; + biometricTemplateSignatureSign = value; + familyNameNationalCharacter = value; + givenNameNationalCharacter = value; + signatureUsualMark = value; + } + + /// Allows you to deserialize object. + static DocumentRequest18013MDL? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocumentRequest18013MDL(); + + result._namespaces = (jsonObject["namespaces"] as List) + .map((item) => NameSpaceMDL.fromJson(item)!) + .toList(); + result.familyName = MDLIntentToRetain.getByValue(jsonObject["familyName"]); + result.givenName = MDLIntentToRetain.getByValue(jsonObject["givenName"]); + result.birthDate = MDLIntentToRetain.getByValue(jsonObject["birthDate"]); + result.issueDate = MDLIntentToRetain.getByValue(jsonObject["issueDate"]); + result.expiryDate = MDLIntentToRetain.getByValue(jsonObject["expiryDate"]); + result.issuingCountry = + MDLIntentToRetain.getByValue(jsonObject["issuingCountry"]); + result.issuingAuthority = + MDLIntentToRetain.getByValue(jsonObject["issuingAuthority"]); + result.documentNumber = + MDLIntentToRetain.getByValue(jsonObject["documentNumber"]); + result.portrait = MDLIntentToRetain.getByValue(jsonObject["portrait"]); + result.drivingPrivileges = + MDLIntentToRetain.getByValue(jsonObject["drivingPrivileges"]); + result.unDistinguishingSign = + MDLIntentToRetain.getByValue(jsonObject["unDistinguishingSign"]); + result.administrativeNumber = + MDLIntentToRetain.getByValue(jsonObject["administrativeNumber"]); + result.sex = MDLIntentToRetain.getByValue(jsonObject["sex"]); + result.height = MDLIntentToRetain.getByValue(jsonObject["height"]); + result.weight = MDLIntentToRetain.getByValue(jsonObject["weight"]); + result.eyeColour = MDLIntentToRetain.getByValue(jsonObject["eyeColour"]); + result.hairColour = MDLIntentToRetain.getByValue(jsonObject["hairColour"]); + result.birthPlace = MDLIntentToRetain.getByValue(jsonObject["birthPlace"]); + result.residentAddress = + MDLIntentToRetain.getByValue(jsonObject["residentAddress"]); + result.portraitCaptureDate = + MDLIntentToRetain.getByValue(jsonObject["portraitCaptureDate"]); + result.ageInYears = MDLIntentToRetain.getByValue(jsonObject["ageInYears"]); + result.ageBirthYear = + MDLIntentToRetain.getByValue(jsonObject["ageBirthYear"]); + result.ageOver18 = MDLIntentToRetain.getByValue(jsonObject["ageOver18"]); + result.issuingJurisdiction = + MDLIntentToRetain.getByValue(jsonObject["issuingJurisdiction"]); + result.nationality = + MDLIntentToRetain.getByValue(jsonObject["nationality"]); + result.residentCity = + MDLIntentToRetain.getByValue(jsonObject["residentCity"]); + result.residentState = + MDLIntentToRetain.getByValue(jsonObject["residentState"]); + result.residentPostalCode = + MDLIntentToRetain.getByValue(jsonObject["residentPostalCode"]); + result.residentCountry = + MDLIntentToRetain.getByValue(jsonObject["residentCountry"]); + result.biometricTemplateFace = + MDLIntentToRetain.getByValue(jsonObject["biometricTemplateFace"]); + result.biometricTemplateIris = + MDLIntentToRetain.getByValue(jsonObject["biometricTemplateIris"]); + result.biometricTemplateFinger = + MDLIntentToRetain.getByValue(jsonObject["biometricTemplateFinger"]); + result.biometricTemplateSignatureSign = MDLIntentToRetain.getByValue( + jsonObject["biometricTemplateSignatureSign"]); + result.familyNameNationalCharacter = + MDLIntentToRetain.getByValue(jsonObject["familyNameNationalCharacter"]); + result.givenNameNationalCharacter = + MDLIntentToRetain.getByValue(jsonObject["givenNameNationalCharacter"]); + result.signatureUsualMark = + MDLIntentToRetain.getByValue(jsonObject["signatureUsualMark"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "docType": _docType, + "namespaces": _namespaces.map((item) => item.toJson()).toList(), + "familyName": familyName?.value, + "givenName": givenName?.value, + "birthDate": birthDate?.value, + "issueDate": issueDate?.value, + "expiryDate": expiryDate?.value, + "issuingCountry": issuingCountry?.value, + "issuingAuthority": issuingAuthority?.value, + "documentNumber": documentNumber?.value, + "portrait": portrait?.value, + "drivingPrivileges": drivingPrivileges?.value, + "unDistinguishingSign": unDistinguishingSign?.value, + "administrativeNumber": administrativeNumber?.value, + "sex": sex?.value, + "height": height?.value, + "weight": weight?.value, + "eyeColour": eyeColour?.value, + "hairColour": hairColour?.value, + "birthPlace": birthPlace?.value, + "residentAddress": residentAddress?.value, + "portraitCaptureDate": portraitCaptureDate?.value, + "ageInYears": ageInYears?.value, + "ageBirthYear": ageBirthYear?.value, + "ageOver18": ageOver18?.value, + "issuingJurisdiction": issuingJurisdiction?.value, + "nationality": nationality?.value, + "residentCity": residentCity?.value, + "residentState": residentState?.value, + "residentPostalCode": residentPostalCode?.value, + "residentCountry": residentCountry?.value, + "biometricTemplateFace": biometricTemplateFace?.value, + "biometricTemplateIris": biometricTemplateIris?.value, + "biometricTemplateFinger": biometricTemplateFinger?.value, + "biometricTemplateSignatureSign": biometricTemplateSignatureSign?.value, + "familyNameNationalCharacter": familyNameNationalCharacter?.value, + "givenNameNationalCharacter": givenNameNationalCharacter?.value, + "signatureUsualMark": signatureUsualMark?.value, + }.clearNulls(); +} diff --git a/lib/src/mdl/document_request_mdl.dart b/lib/src/mdl/document_request_mdl.dart new file mode 100644 index 0000000000..e3e48f0e4e --- /dev/null +++ b/lib/src/mdl/document_request_mdl.dart @@ -0,0 +1,41 @@ +part of "../../flutter_document_reader_api.dart"; + +class DocumentRequestMDL { + late String _docType; + List _namespaces = []; + + DocumentRequestMDL(String docType) : _docType = docType; + + addNameSpace(NameSpaceMDL namespace) { + _namespaces.add(namespace); + } + + /// Allows you to deserialize object. + static DocumentRequestMDL? fromJson(jsonObject) { + if (jsonObject == null) return null; + var docType = jsonObject["docType"]; + if (docType == "org.iso.18013.5.1.mDL") { + return DocumentRequest18013MDL.fromJson(jsonObject); + } + var result = DocumentRequestMDL(docType); + + result._namespaces = (jsonObject["namespaces"] as List) + .map((item) => NameSpaceMDL.fromJson(item)!) + .toList(); + + return result; + } + + /// Allows you to serialize object. + Map toJson() { + if (_docType == "org.iso.18013.5.1.mDL") { + try { + return (this as DocumentRequest18013MDL).toJson(); + } catch (_) {} + } + return { + "docType": _docType, + "namespaces": _namespaces.map((item) => item.toJson()).toList(), + }.clearNulls(); + } +} diff --git a/lib/src/mdl/name_space_mdl.dart b/lib/src/mdl/name_space_mdl.dart new file mode 100644 index 0000000000..58990eeff5 --- /dev/null +++ b/lib/src/mdl/name_space_mdl.dart @@ -0,0 +1,43 @@ +part of "../../flutter_document_reader_api.dart"; + +class NameSpaceMDL { + late String _name; + Map _map = {}; + + NameSpaceMDL(this._name); + + addField(String name, MDLIntentToRetain intentToRetain) { + _map[name] = intentToRetain; + } + + /// Allows you to deserialize object. + static NameSpaceMDL? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = NameSpaceMDL(jsonObject["name"]); + + result._map = (jsonObject["map"] as Map).map( + (key, value) => MapEntry(key, MDLIntentToRetain.getByValue(value)!)); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "name": _name, + "map": _map.map((key, value) => MapEntry(key, value.value)), + }.clearNulls(); +} + +enum MDLIntentToRetain { + FALSE(0), + + TRUE(1); + + const MDLIntentToRetain(this.value); + final int value; + + static MDLIntentToRetain? getByValue(int? i) { + if (i == null) return null; + return MDLIntentToRetain.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/params/Functionality.dart b/lib/src/params/Functionality.dart index 093b4e1d3f..80b03ab7d0 100644 --- a/lib/src/params/Functionality.dart +++ b/lib/src/params/Functionality.dart @@ -1,12 +1,4 @@ -// -// Functionality.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; +part of "../../flutter_document_reader_api.dart"; /// Params that influence the scanning process, camera view controller /// customization and etc. @@ -72,6 +64,7 @@ class Functionality { /// frame type will be displayed. /// /// Default: `false`. + @Deprecated("Not used in new UI") bool? get showChangeFrameButton => _showChangeFrameButton; bool? _showChangeFrameButton; set showChangeFrameButton(bool? val) { @@ -192,6 +185,44 @@ class Functionality { _set({"singleResult": val}); } + /// If set, torch (if available) will turn on immediately on camera preview start. + /// + /// Default: `false`. + bool? get torchTurnedOn => _torchTurnedOn; + bool? _torchTurnedOn; + set torchTurnedOn(bool? val) { + _torchTurnedOn = val; + _set({"torchTurnedOn": val}); + } + + /// When enabled, the SDK prevents both screen recording and screenshots. + /// + /// Default: `false`. + bool? get preventScreenRecording => _preventScreenRecording; + bool? _preventScreenRecording; + set preventScreenRecording(bool? val) { + _preventScreenRecording = val; + _set({"preventScreenRecording": val}); + } + + /// If it's set to true, system is allowed to hide the visual indicator for returning to the Home Screen in landscape mode. + /// + /// Default: `true`. + bool? get homeIndicatorAutoHide => _homeIndicatorAutoHide; + bool? _homeIndicatorAutoHide; + set homeIndicatorAutoHide(bool? val) { + _homeIndicatorAutoHide = val; + _set({"homeIndicatorAutoHide": val}); + } + + /// Android only. + bool? get hideStatusBar => _hideStatusBar; + bool? _hideStatusBar; + set hideStatusBar(bool? val) { + _hideStatusBar = val; + _set({"hideStatusBar": val}); + } + /// Allows you to specify a time interval when the Capture button /// has to be displayed after the document is detected. /// Don't forget to set the [showCaptureButton] to `true`, @@ -321,12 +352,31 @@ class Functionality { _set({"exposure": val}); } + /// Android only. + double? get videoRecordingSizeDownscaleFactor => + _videoRecordingSizeDownscaleFactor; + double? _videoRecordingSizeDownscaleFactor; + set videoRecordingSizeDownscaleFactor(double? val) { + _videoRecordingSizeDownscaleFactor = val; + _set({"videoRecordingSizeDownscaleFactor": val}); + } + + double? get mdlTimeout => _mdlTimeout; + double? _mdlTimeout; + set mdlTimeout(double? val) { + _mdlTimeout = val; + _set({"mdlTimeout": val}); + } + /// A list of devices that must not use the camera2 API. /// /// Android only. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. List? get excludedCamera2Models => _excludedCamera2Models; List? _excludedCamera2Models; set excludedCamera2Models(List? val) { + if (val != null) val = List.unmodifiable(val); _excludedCamera2Models = val; _set({"excludedCamera2Models": val}); } @@ -373,6 +423,10 @@ class Functionality { result.recordScanningProcess = jsonObject["recordScanningProcess"]; result.manualMultipageMode = jsonObject["manualMultipageMode"]; result.singleResult = jsonObject["singleResult"]; + result.torchTurnedOn = jsonObject["torchTurnedOn"]; + result.preventScreenRecording = jsonObject["preventScreenRecording"]; + result.homeIndicatorAutoHide = jsonObject["homeIndicatorAutoHide"]; + result.hideStatusBar = jsonObject["hideStatusBar"]; result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]; @@ -380,27 +434,34 @@ class Functionality { jsonObject["showCaptureButtonDelayFromStart"]; result.rfidTimeout = jsonObject["rfidTimeout"]; result.forcePagesCount = jsonObject["forcePagesCount"]; - result.orientation = - DocReaderOrientation.getByValue(jsonObject["orientation"]); + result.orientation = DocReaderOrientation.getByValue( + jsonObject["orientation"], + ); result.captureMode = CaptureMode.getByValue(jsonObject["captureMode"]); result.cameraMode = CameraMode.getByValue(jsonObject["cameraMode"]); - result.cameraPositionIOS = - CameraPosition.getByValue(jsonObject["cameraPositionIOS"]); + result.cameraPositionIOS = CameraPosition.getByValue( + jsonObject["cameraPositionIOS"], + ); result.cameraFrame = DocReaderFrame.getByValue(jsonObject["cameraFrame"]); result.btDeviceName = jsonObject["btDeviceName"]; result.zoomFactor = _toDouble(jsonObject["zoomFactor"]); result.exposure = _toDouble(jsonObject["exposure"]); + result.videoRecordingSizeDownscaleFactor = + _toDouble(jsonObject["videoRecordingSizeDownscaleFactor"]); + result.mdlTimeout = _toDouble(jsonObject["mdlTimeout"]); - result.excludedCamera2Models = jsonObject["excludedCamera2Models"] == null - ? null - : List.from(jsonObject["excludedCamera2Models"]); + result.excludedCamera2Models = _stringListFrom( + jsonObject["excludedCamera2Models"], + ); - result.cameraResolutionAndroid = - CameraSize.fromJson(jsonObject["cameraSize"]); - result.cameraResolutionIOS = - CaptureSessionPreset.getByValue(jsonObject["videoSessionPreset"]); + result.cameraResolutionAndroid = CameraSize.fromJson( + jsonObject["cameraSize"], + ); + result.cameraResolutionIOS = CaptureSessionPreset.getByValue( + jsonObject["videoSessionPreset"], + ); return result; } @@ -423,6 +484,10 @@ class Functionality { "recordScanningProcess": recordScanningProcess, "manualMultipageMode": manualMultipageMode, "singleResult": singleResult, + "torchTurnedOn": torchTurnedOn, + "preventScreenRecording": preventScreenRecording, + "homeIndicatorAutoHide": homeIndicatorAutoHide, + "hideStatusBar": hideStatusBar, "showCaptureButtonDelayFromDetect": showCaptureButtonDelayFromDetect, "showCaptureButtonDelayFromStart": showCaptureButtonDelayFromStart, "rfidTimeout": rfidTimeout, @@ -435,14 +500,17 @@ class Functionality { "btDeviceName": btDeviceName, "zoomFactor": zoomFactor, "exposure": exposure, + "videoRecordingSizeDownscaleFactor": videoRecordingSizeDownscaleFactor, + "mdlTimeout": mdlTimeout, "excludedCamera2Models": excludedCamera2Models, "cameraSize": cameraResolutionAndroid?.toJson(), "videoSessionPreset": cameraResolutionIOS?.value, }.clearNulls(); void _set(Map json) { - if (identical(this, DocumentReader.instance.functionality)) + if (identical(this, DocumentReader.instance.functionality)) { _bridge.invokeMethod("setFunctionality", [json]); + } testSetters.addAll(json); } @@ -621,17 +689,11 @@ class CameraSize { /// Allows you to deserialize object. static CameraSize? fromJson(jsonObject) { if (jsonObject == null) return null; - return CameraSize( - jsonObject["width"], - jsonObject["height"], - ); + return CameraSize(jsonObject["width"], jsonObject["height"]); } /// Allows you to serialize object. Map toJson() { - return { - "width": width, - "height": height, - }.clearNulls(); + return {"width": width, "height": height}.clearNulls(); } } diff --git a/lib/src/params/customization/Customization.dart b/lib/src/params/customization/Customization.dart index 251a53eb03..4bc0cfa155 100644 --- a/lib/src/params/customization/Customization.dart +++ b/lib/src/params/customization/Customization.dart @@ -1,12 +1,4 @@ -// -// Customization.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Params that relate to the camera view controller customization and etc. class Customization { @@ -25,6 +17,7 @@ class Customization { /// will be shown. /// /// Default: `true`. + @Deprecated("Not used in new UI") bool? get showResultStatusMessages => _showResultStatusMessages; bool? _showResultStatusMessages; set showResultStatusMessages(bool? val) { @@ -90,7 +83,7 @@ class Customization { /// Allows you to set an offset for the camera frame (portrait orientation). /// - /// Default: 3. + /// Default: 23. int? get cameraFrameOffsetWidth => _cameraFrameOffsetWidth; int? _cameraFrameOffsetWidth; set cameraFrameOffsetWidth(int? val) { @@ -117,6 +110,7 @@ class Customization { } /// Allows you to set any string to the result status. + @Deprecated("Not used in new UI") String? get resultStatus => _resultStatus; String? _resultStatus; set resultStatus(String? val) { @@ -124,6 +118,13 @@ class Customization { _set({"resultStatus": val}); } + String? get multipageButtonText => _multipageButtonText; + String? _multipageButtonText; + set multipageButtonText(String? val) { + _multipageButtonText = val; + _set({"multipageButtonText": val}); + } + /// Allows you to set a color for the camera frame when a document is out /// of the camera frame or is not detected. /// @@ -158,6 +159,7 @@ class Customization { /// Allows you to set a color for the result status messages. /// /// Default: Colors.white. + @Deprecated("Not used in new UI") Color? get resultStatusTextColor => _resultStatusTextColor; Color? _resultStatusTextColor; set resultStatusTextColor(Color? val) { @@ -166,6 +168,7 @@ class Customization { } /// Allows you to set a color of the background for the result status messages. + @Deprecated("Not used in new UI") Color? get resultStatusBackgroundColor => _resultStatusBackgroundColor; Color? _resultStatusBackgroundColor; set resultStatusBackgroundColor(Color? val) { @@ -218,6 +221,21 @@ class Customization { _set({"cameraPreviewBackgroundColor": _intFromColor(val)}); } + /// Allows you to set color for background mask area. + Color? get backgroundMaskColor => _backgroundMaskColor; + Color? _backgroundMaskColor; + set backgroundMaskColor(Color? val) { + _backgroundMaskColor = val; + _set({"backgroundMaskColor": _intFromColor(val)}); + } + + Color? get multipageButtonTextColor => _multipageButtonTextColor; + Color? _multipageButtonTextColor; + set multipageButtonTextColor(Color? val) { + _multipageButtonTextColor = val; + _set({"multipageButtonTextColor": _intFromColor(val)}); + } + /// Allows you to change the location of the status. /// /// For example, if you set the multiplier to 0.5 and the number of pixels @@ -243,6 +261,7 @@ class Customization { /// to zero, the default location will be used. /// /// Default: 0. + @Deprecated("Not used in new UI") double? get resultStatusPositionMultiplier => _resultStatusPositionMultiplier; double? _resultStatusPositionMultiplier; set resultStatusPositionMultiplier(double? val) { @@ -261,7 +280,7 @@ class Customization { /// Allows you to set intensity of the background mask. /// - /// Default: 0.3. + /// Default: 1.0. double? get backgroundMaskAlpha => _backgroundMaskAlpha; double? _backgroundMaskAlpha; set backgroundMaskAlpha(double? val) { @@ -285,24 +304,7 @@ class Customization { _set({"customStatusPositionMultiplier": val}); } - /// Allows you to change the location of the liveness animation. - /// - /// For example, if you set the multiplier to 0.5 and the number of pixels - /// by vertical is equal to 800, the animation will be centralized and located - /// at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier - /// is set to 1, the animation will be centered. If the multiplier is - /// set to 0, the default value will be used. - /// - /// Defaults to 1. - double? get livenessAnimationPositionMultiplier => - _livenessAnimationPositionMultiplier; - double? _livenessAnimationPositionMultiplier; - set livenessAnimationPositionMultiplier(double? val) { - _livenessAnimationPositionMultiplier = val; - _set({"livenessAnimationPositionMultiplier": val}); - } - - /// Allows you to change the location of the camera frame vertically. + /// Allows you to change the location of the camera frame vertically. Default: 1. double? get cameraFrameVerticalPositionMultiplier => _cameraFrameVerticalPositionMultiplier; double? _cameraFrameVerticalPositionMultiplier; @@ -341,6 +343,86 @@ class Customization { _set({"cameraFrameCornerRadius": val}); } + /// Allows you to change the location of the liveness animation. + /// + /// For example, if you set the multiplier to 0.5 and the number of pixels + /// by vertical is equal to 800, the animation will be centralized and located + /// at 200 px from the top, i.e. (800 / 2) * 0.5 = 200 px. If the multiplier + /// is set to 1, the animation will be centered. If the multiplier is + /// set to 0, the default value will be used. + /// + /// Defaults to 1. + double? get livenessAnimationPositionMultiplier => + _livenessAnimationPositionMultiplier; + double? _livenessAnimationPositionMultiplier; + set livenessAnimationPositionMultiplier(double? val) { + _livenessAnimationPositionMultiplier = val; + _set({"livenessAnimationPositionMultiplier": val}); + } + + /// Animation delay before flip. + /// + /// Default: 0. + @Deprecated("Use `timings.nextPageIdCardStartDelay` instead.") + double? get nextPageAnimationStartDelay => _nextPageAnimationStartDelay; + double? _nextPageAnimationStartDelay; + set nextPageAnimationStartDelay(double? val) { + _nextPageAnimationStartDelay = val; + _set({"nextPageAnimationStartDelay": val}); + } + + /// Animation delay after flip. + /// + /// Default: 0. + @Deprecated("Use `timings.nextPageIdCardEndDelay` instead.") + double? get nextPageAnimationEndDelay => _nextPageAnimationEndDelay; + double? _nextPageAnimationEndDelay; + set nextPageAnimationEndDelay(double? val) { + _nextPageAnimationEndDelay = val; + _set({"nextPageAnimationEndDelay": val}); + } + + /// Allows you to set an offset for the activity indicator (portrait orientation). + /// If not set, activity indicator always centered in the camera border. + double? get activityIndicatorPortraitPositionMultiplier => + _activityIndicatorPortraitPositionMultiplier; + double? _activityIndicatorPortraitPositionMultiplier; + set activityIndicatorPortraitPositionMultiplier(double? val) { + _activityIndicatorPortraitPositionMultiplier = val; + _set({"activityIndicatorPortraitPositionMultiplier": val}); + } + + /// Allows you to set an offset for the activity indicator (landscape orientation). + /// If not set, activity indicator always centered in the camera border. + double? get activityIndicatorLandscapePositionMultiplier => + _activityIndicatorLandscapePositionMultiplier; + double? _activityIndicatorLandscapePositionMultiplier; + set activityIndicatorLandscapePositionMultiplier(double? val) { + _activityIndicatorLandscapePositionMultiplier = val; + _set({"activityIndicatorLandscapePositionMultiplier": val}); + } + + /// Allows you to change the vertical offset of the camera preview layer. + /// If you need to raise the layer 50% of its height up, then you specify 0.5. + /// If you need to lower the layer 75% of its height, then enter 1.75. + /// Valid values: from 0 (the layer will be raised completely up) to 2 (the layer will be completely lowered down). + double? get cameraPreviewVerticalPositionMultiplier => + _cameraPreviewVerticalPositionMultiplier; + double? _cameraPreviewVerticalPositionMultiplier; + set cameraPreviewVerticalPositionMultiplier(double? val) { + _cameraPreviewVerticalPositionMultiplier = val; + _set({"cameraPreviewVerticalPositionMultiplier": val}); + } + + /// Allows you to change the location of the multipage button. + double? get multipageButtonPositionMultiplier => + _multipageButtonPositionMultiplier; + double? _multipageButtonPositionMultiplier; + set multipageButtonPositionMultiplier(double? val) { + _multipageButtonPositionMultiplier = val; + _set({"multipageButtonPositionMultiplier": val}); + } + /// Allows you to set any image for the multipage animation (front side). ByteData? get multipageAnimationFrontImage => _multipageAnimationFrontImage; ByteData? _multipageAnimationFrontImage; @@ -358,6 +440,7 @@ class Customization { } /// Allows you to set any image within the camera frame. + @Deprecated("Use `images.borderBackground` instead.") ByteData? get borderBackgroundImage => _borderBackgroundImage; ByteData? _borderBackgroundImage; set borderBackgroundImage(ByteData? val) { @@ -374,6 +457,7 @@ class Customization { } /// Allows you to set any image for the close button. + @Deprecated("Use `images.closeButton` instead.") ByteData? get closeButtonImage => _closeButtonImage; ByteData? _closeButtonImage; set closeButtonImage(ByteData? val) { @@ -382,6 +466,7 @@ class Customization { } /// Allows you to set any image for the capture button. + @Deprecated("Use `images.captureButton` instead.") ByteData? get captureButtonImage => _captureButtonImage; ByteData? _captureButtonImage; set captureButtonImage(ByteData? val) { @@ -391,6 +476,7 @@ class Customization { /// Allows you to set any image for the button that allows /// changing positions of the capture device. + @Deprecated("Use `images.switchButton` instead.") ByteData? get cameraSwitchButtonImage => _cameraSwitchButtonImage; ByteData? _cameraSwitchButtonImage; set cameraSwitchButtonImage(ByteData? val) { @@ -399,6 +485,7 @@ class Customization { } /// Allows you to set any image for the torch button when its state is ON. + @Deprecated("Use `images.torchButtonOn` instead.") ByteData? get torchButtonOnImage => _torchButtonOnImage; ByteData? _torchButtonOnImage; set torchButtonOnImage(ByteData? val) { @@ -407,6 +494,7 @@ class Customization { } /// Allows you to set any image for the torch button when its state is OFF. + @Deprecated("Use `images.torchButtonOff` instead.") ByteData? get torchButtonOffImage => _torchButtonOffImage; ByteData? _torchButtonOffImage; set torchButtonOffImage(ByteData? val) { @@ -416,6 +504,7 @@ class Customization { /// Allows you to set any image for the button that allows changing /// shapes of the camera (expanded state). + @Deprecated("Not used in new UI") ByteData? get changeFrameButtonExpandImage => _changeFrameButtonExpandImage; ByteData? _changeFrameButtonExpandImage; set changeFrameButtonExpandImage(ByteData? val) { @@ -425,6 +514,7 @@ class Customization { /// Allows you to set any image for the button that allows changing /// shapes of the camera (collapsed state). + @Deprecated("Not used in new UI") ByteData? get changeFrameButtonCollapseImage => _changeFrameButtonCollapseImage; ByteData? _changeFrameButtonCollapseImage; @@ -438,6 +528,7 @@ class Customization { /// When set to `null` the default image will be used. /// This property can be set during the scanning process to tailor /// the user experiese for different types of documents. + @Deprecated("Use `images.livenessAnimation` instead.") ByteData? get livenessAnimationImage => _livenessAnimationImage; ByteData? _livenessAnimationImage; set livenessAnimationImage(ByteData? val) { @@ -445,6 +536,15 @@ class Customization { _set({"livenessAnimationImage": _dataToBase64(val)}); } + /// Allows you to set any UIImage for the "Skip next page" button. + @Deprecated("Use `images.multipageButton` instead.") + ByteData? get multipageButtonImage => _multipageButtonImage; + ByteData? _multipageButtonImage; + set multipageButtonImage(ByteData? val) { + _multipageButtonImage = val; + _set({"multipageButtonImage": _dataToBase64(val)}); + } + /// Allows you to set a font for the status messages. Font? get statusTextFont => _statusTextFont; Font? _statusTextFont; @@ -454,6 +554,7 @@ class Customization { } /// Allows you to set a font for the result status messages. + @Deprecated("Not used in new UI") Font? get resultStatusTextFont => _resultStatusTextFont; Font? _resultStatusTextFont; set resultStatusTextFont(Font? val) { @@ -461,6 +562,13 @@ class Customization { _set({"resultStatusTextFont": val?.toJson()}); } + Font? get multipageButtonTextFont => _multipageButtonTextFont; + Font? _multipageButtonTextFont; + set multipageButtonTextFont(Font? val) { + _multipageButtonTextFont = val; + _set({"multipageButtonTextFont": val?.toJson()}); + } + /// Allows you to create a custom status. String? get customLabelStatus => _customLabelStatus; String? _customLabelStatus; @@ -481,10 +589,13 @@ class Customization { } /// JSON structure defining labels and graphic elements - /// to be added to the Camera UI + /// to be added to the Camera UI. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. Map? get uiCustomizationLayer => _uiCustomizationLayer; Map? _uiCustomizationLayer; set uiCustomizationLayer(Map? val) { + if (val != null) val = Map.unmodifiable(val); _uiCustomizationLayer = val; _set({"uiCustomizationLayer": val}); } @@ -495,6 +606,7 @@ class Customization { /// Default: [ViewContentMode.SCALE_ASPECT_FIT]. /// /// IOS only. For Android use [helpAnimationImageTransformsAndroid]. + @Deprecated("Use `images.helpAnimation` instead.") ViewContentMode? get helpAnimationImageTransformsIOS => _helpAnimationImageTransformsIOS; ViewContentMode? _helpAnimationImageTransformsIOS; @@ -509,6 +621,7 @@ class Customization { /// Default: [ViewContentMode.SCALE_TO_FILL]. /// /// IOS only. For Android use [multipageAnimationFrontImageTransformsAndroid]. + @Deprecated("Use `contentModes.nextPageIdCardFront` instead.") ViewContentMode? get multipageAnimationFrontImageTransformsIOS => _multipageAnimationFrontImageTransformsIOS; ViewContentMode? _multipageAnimationFrontImageTransformsIOS; @@ -523,6 +636,7 @@ class Customization { /// Default: [ViewContentMode.SCALE_TO_FILL]. /// /// IOS only. For Android use [multipageAnimationBackImageTransformsAndroid]. + @Deprecated("Use `contentModes.nextPageIdCardBack` instead.") ViewContentMode? get multipageAnimationBackImageTransformsIOS => _multipageAnimationBackImageTransformsIOS; ViewContentMode? _multipageAnimationBackImageTransformsIOS; @@ -565,10 +679,13 @@ class Customization { /// Passed as `Matrix.setValues()` /// /// Android only. For iOS use [helpAnimationImageTransformsIOS]. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. List? get helpAnimationImageTransformsAndroid => _helpAnimationImageTransformsAndroid; List? _helpAnimationImageTransformsAndroid; set helpAnimationImageTransformsAndroid(List? val) { + if (val != null) val = List.unmodifiable(val); _helpAnimationImageTransformsAndroid = val; _set({"helpAnimationImageMatrix": val}); } @@ -579,10 +696,14 @@ class Customization { /// Passed as `Matrix.setValues()` /// /// Android only. For iOS use [multipageAnimationFrontImageTransformsIOS]. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + @Deprecated("Use `matrices.nextPageIdCardFront` instead.") List? get multipageAnimationFrontImageTransformsAndroid => _multipageAnimationFrontImageTransformsAndroid; List? _multipageAnimationFrontImageTransformsAndroid; set multipageAnimationFrontImageTransformsAndroid(List? val) { + if (val != null) val = List.unmodifiable(val); _multipageAnimationFrontImageTransformsAndroid = val; _set({"multipageAnimationFrontImageMatrix": val}); } @@ -593,10 +714,14 @@ class Customization { /// Passed as `Matrix.setValues()` /// /// Android only. For iOS use [multipageAnimationBackImageTransformsIOS]. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + @Deprecated("Use `matrices.nextPageIdCardBack` instead.") List? get multipageAnimationBackImageTransformsAndroid => _multipageAnimationBackImageTransformsAndroid; List? _multipageAnimationBackImageTransformsAndroid; set multipageAnimationBackImageTransformsAndroid(List? val) { + if (val != null) val = List.unmodifiable(val); _multipageAnimationBackImageTransformsAndroid = val; _set({"multipageAnimationBackImageMatrix": val}); } @@ -607,10 +732,13 @@ class Customization { /// Passed as `Matrix.setValues()` /// /// Android only. For iOS use [livenessAnimationImageTransformsIOS]. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. List? get livenessAnimationImageTransformsAndroid => _livenessAnimationImageTransformsAndroid; List? _livenessAnimationImageTransformsAndroid; set livenessAnimationImageTransformsAndroid(List? val) { + if (val != null) val = List.unmodifiable(val); _livenessAnimationImageTransformsAndroid = val; _set({"livenessAnimationImageMatrix": val}); } @@ -621,10 +749,13 @@ class Customization { /// Passed as `Matrix.setValues()` /// /// Android only. For iOS use [borderBackgroundImageTransformsIOS]. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. List? get borderBackgroundImageTransformsAndroid => _borderBackgroundImageTransformsAndroid; List? _borderBackgroundImageTransformsAndroid; set borderBackgroundImageTransformsAndroid(List? val) { + if (val != null) val = List.unmodifiable(val); _borderBackgroundImageTransformsAndroid = val; _set({"borderBackgroundImageMatrix": val}); } @@ -647,6 +778,24 @@ class Customization { (_images = val)._apply(this); } + CustomizationTimings get timings => _timings; + CustomizationTimings _timings = CustomizationTimings(); + set timings(CustomizationTimings val) { + (_timings = val)._apply(this); + } + + CustomizationContentModes get contentModes => _contentModes; + CustomizationContentModes _contentModes = CustomizationContentModes(); + set contentModes(CustomizationContentModes val) { + (_contentModes = val)._apply(this); + } + + CustomizationMatrices get matrices => _matrices; + CustomizationMatrices _matrices = CustomizationMatrices(); + set matrices(CustomizationMatrices val) { + (_matrices = val)._apply(this); + } + /// Allows you to deserialize object. static Customization fromJson(jsonObject) { var result = Customization(); @@ -660,135 +809,213 @@ class Customization { result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]; result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]; - result.cameraFrameShapeType = - FrameShapeType.getByValue(jsonObject["cameraFrameShapeType"]); + result.cameraFrameShapeType = FrameShapeType.getByValue( + jsonObject["cameraFrameShapeType"], + ); result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]; result.status = jsonObject["status"]; result.resultStatus = jsonObject["resultStatus"]; - - result.cameraFrameDefaultColor = - _intToColor(jsonObject["cameraFrameDefaultColor"]); - result.cameraFrameActiveColor = - _intToColor(jsonObject["cameraFrameActiveColor"]); + result.multipageButtonText = jsonObject["multipageButtonText"]; + + result.cameraFrameDefaultColor = _intToColor( + jsonObject["cameraFrameDefaultColor"], + ); + result.cameraFrameActiveColor = _intToColor( + jsonObject["cameraFrameActiveColor"], + ); result.statusTextColor = _intToColor(jsonObject["statusTextColor"]); - result.resultStatusTextColor = - _intToColor(jsonObject["resultStatusTextColor"]); - result.resultStatusBackgroundColor = - _intToColor(jsonObject["resultStatusBackgroundColor"]); - result.multipageButtonBackgroundColor = - _intToColor(jsonObject["multipageButtonBackgroundColor"]); + result.resultStatusTextColor = _intToColor( + jsonObject["resultStatusTextColor"], + ); + result.resultStatusBackgroundColor = _intToColor( + jsonObject["resultStatusBackgroundColor"], + ); + result.multipageButtonBackgroundColor = _intToColor( + jsonObject["multipageButtonBackgroundColor"], + ); result.tintColor = _intToColor(jsonObject["tintColor"]); - result.activityIndicatorColor = - _intToColor(jsonObject["activityIndicatorColor"]); - result.statusBackgroundColor = - _intToColor(jsonObject["statusBackgroundColor"]); - result.cameraPreviewBackgroundColor = - _intToColor(jsonObject["cameraPreviewBackgroundColor"]); - - result.statusPositionMultiplier = - _toDouble(jsonObject["statusPositionMultiplier"]); - result.resultStatusPositionMultiplier = - _toDouble(jsonObject["resultStatusPositionMultiplier"]); + result.activityIndicatorColor = _intToColor( + jsonObject["activityIndicatorColor"], + ); + result.statusBackgroundColor = _intToColor( + jsonObject["statusBackgroundColor"], + ); + result.cameraPreviewBackgroundColor = _intToColor( + jsonObject["cameraPreviewBackgroundColor"], + ); + result.backgroundMaskColor = _intToColor(jsonObject["backgroundMaskColor"]); + result.multipageButtonTextColor = _intToColor( + jsonObject["multipageButtonTextColor"], + ); + + result.statusPositionMultiplier = _toDouble( + jsonObject["statusPositionMultiplier"], + ); + result.resultStatusPositionMultiplier = _toDouble( + jsonObject["resultStatusPositionMultiplier"], + ); result.toolbarSize = _toDouble(jsonObject["toolbarSize"]); result.backgroundMaskAlpha = _toDouble(jsonObject["backgroundMaskAlpha"]); - result.customStatusPositionMultiplier = - _toDouble(jsonObject["customStatusPositionMultiplier"]); - result.cameraFrameVerticalPositionMultiplier = - _toDouble(jsonObject["cameraFrameVerticalPositionMultiplier"]); - result.cameraFrameLandscapeAspectRatio = - _toDouble(jsonObject["cameraFrameLandscapeAspectRatio"]); - result.cameraFrameCornerRadius = - _toDouble(jsonObject["cameraFrameCornerRadius"]); - result.cameraFramePortraitAspectRatio = - _toDouble(jsonObject["cameraFramePortraitAspectRatio"]); - result.livenessAnimationPositionMultiplier = - _toDouble(jsonObject["livenessAnimationPositionMultiplier"]); - - result.multipageAnimationFrontImage = - _dataFromBase64(jsonObject["multipageAnimationFrontImage"]); - result.multipageAnimationBackImage = - _dataFromBase64(jsonObject["multipageAnimationBackImage"]); - result.borderBackgroundImage = - _dataFromBase64(jsonObject["borderBackgroundImage"]); - result.helpAnimationImage = - _dataFromBase64(jsonObject["helpAnimationImage"]); + result.customStatusPositionMultiplier = _toDouble( + jsonObject["customStatusPositionMultiplier"], + ); + result.cameraFrameVerticalPositionMultiplier = _toDouble( + jsonObject["cameraFrameVerticalPositionMultiplier"], + ); + result.cameraFrameLandscapeAspectRatio = _toDouble( + jsonObject["cameraFrameLandscapeAspectRatio"], + ); + result.cameraFrameCornerRadius = _toDouble( + jsonObject["cameraFrameCornerRadius"], + ); + result.cameraFramePortraitAspectRatio = _toDouble( + jsonObject["cameraFramePortraitAspectRatio"], + ); + result.livenessAnimationPositionMultiplier = _toDouble( + jsonObject["livenessAnimationPositionMultiplier"], + ); + result.nextPageAnimationStartDelay = _toDouble( + jsonObject["nextPageAnimationStartDelay"], + ); + result.nextPageAnimationEndDelay = _toDouble( + jsonObject["nextPageAnimationEndDelay"], + ); + result.activityIndicatorPortraitPositionMultiplier = _toDouble( + jsonObject["activityIndicatorPortraitPositionMultiplier"], + ); + result.activityIndicatorLandscapePositionMultiplier = _toDouble( + jsonObject["activityIndicatorLandscapePositionMultiplier"], + ); + result.cameraPreviewVerticalPositionMultiplier = _toDouble( + jsonObject["cameraPreviewVerticalPositionMultiplier"], + ); + result.multipageButtonPositionMultiplier = _toDouble( + jsonObject["multipageButtonPositionMultiplier"], + ); + + result.multipageAnimationFrontImage = _dataFromBase64( + jsonObject["multipageAnimationFrontImage"], + ); + result.multipageAnimationBackImage = _dataFromBase64( + jsonObject["multipageAnimationBackImage"], + ); + result.borderBackgroundImage = _dataFromBase64( + jsonObject["borderBackgroundImage"], + ); + result.helpAnimationImage = _dataFromBase64( + jsonObject["helpAnimationImage"], + ); result.closeButtonImage = _dataFromBase64(jsonObject["closeButtonImage"]); - result.captureButtonImage = - _dataFromBase64(jsonObject["captureButtonImage"]); - result.cameraSwitchButtonImage = - _dataFromBase64(jsonObject["cameraSwitchButtonImage"]); - result.torchButtonOnImage = - _dataFromBase64(jsonObject["torchButtonOnImage"]); - result.torchButtonOffImage = - _dataFromBase64(jsonObject["torchButtonOffImage"]); - result.changeFrameButtonExpandImage = - _dataFromBase64(jsonObject["changeFrameButtonExpandImage"]); - result.changeFrameButtonCollapseImage = - _dataFromBase64(jsonObject["changeFrameButtonCollapseImage"]); - result.livenessAnimationImage = - _dataFromBase64(jsonObject["livenessAnimationImage"]); + result.captureButtonImage = _dataFromBase64( + jsonObject["captureButtonImage"], + ); + result.cameraSwitchButtonImage = _dataFromBase64( + jsonObject["cameraSwitchButtonImage"], + ); + result.torchButtonOnImage = _dataFromBase64( + jsonObject["torchButtonOnImage"], + ); + result.torchButtonOffImage = _dataFromBase64( + jsonObject["torchButtonOffImage"], + ); + result.changeFrameButtonExpandImage = _dataFromBase64( + jsonObject["changeFrameButtonExpandImage"], + ); + result.changeFrameButtonCollapseImage = _dataFromBase64( + jsonObject["changeFrameButtonCollapseImage"], + ); + result.livenessAnimationImage = _dataFromBase64( + jsonObject["livenessAnimationImage"], + ); + result.multipageButtonImage = _dataFromBase64( + jsonObject["multipageButtonImage"], + ); result.customLabelStatus = jsonObject["customLabelStatus"]; - result.cameraFrameLineCap = - Cap.getByValue(jsonObject["cameraFrameLineCap"]); + result.cameraFrameLineCap = Cap.getByValue( + jsonObject["cameraFrameLineCap"], + ); result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]; result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"]); - result.resultStatusTextFont = - Font.fromJson(jsonObject["resultStatusTextFont"]); - - result.helpAnimationImageTransformsIOS = - ViewContentMode.getByValue(jsonObject["helpAnimationImageContentMode"]); + result.resultStatusTextFont = Font.fromJson( + jsonObject["resultStatusTextFont"], + ); + result.multipageButtonTextFont = Font.fromJson( + jsonObject["multipageButtonTextFont"], + ); + + result.helpAnimationImageTransformsIOS = ViewContentMode.getByValue( + jsonObject["helpAnimationImageContentMode"], + ); result.multipageAnimationFrontImageTransformsIOS = ViewContentMode.getByValue( - jsonObject["multipageAnimationFrontImageContentMode"]); + jsonObject["multipageAnimationFrontImageContentMode"], + ); result.multipageAnimationBackImageTransformsIOS = ViewContentMode.getByValue( - jsonObject["multipageAnimationBackImageContentMode"]); + jsonObject["multipageAnimationBackImageContentMode"], + ); result.livenessAnimationImageTransformsIOS = ViewContentMode.getByValue( - jsonObject["livenessAnimationImageContentMode"]); + jsonObject["livenessAnimationImageContentMode"], + ); result.borderBackgroundImageTransformsIOS = ViewContentMode.getByValue( - jsonObject["borderBackgroundImageContentMode"]); + jsonObject["borderBackgroundImageContentMode"], + ); if (jsonObject["helpAnimationImageMatrix"] != null) { List array = []; - for (var value in jsonObject["helpAnimationImageMatrix"]) + for (var value in jsonObject["helpAnimationImageMatrix"]) { array.add(value.toDouble()); + } result.helpAnimationImageTransformsAndroid = array; - } else + } else { result.helpAnimationImageTransformsAndroid = null; + } if (jsonObject["multipageAnimationFrontImageMatrix"] != null) { List array = []; - for (var value in jsonObject["multipageAnimationFrontImageMatrix"]) + for (var value in jsonObject["multipageAnimationFrontImageMatrix"]) { array.add(value.toDouble()); + } result.multipageAnimationFrontImageTransformsAndroid = array; - } else + } else { result.multipageAnimationFrontImageTransformsAndroid = null; + } if (jsonObject["multipageAnimationBackImageMatrix"] != null) { List array = []; - for (var value in jsonObject["multipageAnimationBackImageMatrix"]) + for (var value in jsonObject["multipageAnimationBackImageMatrix"]) { array.add(value.toDouble()); + } result.multipageAnimationBackImageTransformsAndroid = array; - } else + } else { result.multipageAnimationBackImageTransformsAndroid = null; + } if (jsonObject["livenessAnimationImageMatrix"] != null) { List array = []; - for (var value in jsonObject["livenessAnimationImageMatrix"]) + for (var value in jsonObject["livenessAnimationImageMatrix"]) { array.add(value.toDouble()); + } result.livenessAnimationImageTransformsAndroid = array; - } else + } else { result.livenessAnimationImageTransformsAndroid = null; + } if (jsonObject["borderBackgroundImageMatrix"] != null) { List array = []; - for (var value in jsonObject["borderBackgroundImageMatrix"]) + for (var value in jsonObject["borderBackgroundImageMatrix"]) { array.add(value.toDouble()); + } result.borderBackgroundImageTransformsAndroid = array; - } else + } else { result.borderBackgroundImageTransformsAndroid = null; + } result.colors = CustomizationColors.fromJson(jsonObject["colors"]); result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"]); result.images = CustomizationImages.fromJson(jsonObject["images"]); + result.timings = CustomizationTimings.fromJson(jsonObject["timings"]); + result.contentModes = + CustomizationContentModes.fromJson(jsonObject["contentModes"]); + result.matrices = CustomizationMatrices.fromJson(jsonObject["matrices"]); return result; } @@ -806,19 +1033,25 @@ class Customization { "cameraFrameOffsetWidth": cameraFrameOffsetWidth, "status": status, "resultStatus": resultStatus, + "multipageButtonText": multipageButtonText, "cameraFrameDefaultColor": _intFromColor(cameraFrameDefaultColor), "cameraFrameActiveColor": _intFromColor(cameraFrameActiveColor), "statusTextColor": _intFromColor(statusTextColor), - "resultStatusTextColor": _intFromColor(resultStatusTextColor), - "resultStatusBackgroundColor": - _intFromColor(resultStatusBackgroundColor), - "multipageButtonBackgroundColor": - _intFromColor(multipageButtonBackgroundColor), + "resultStatusBackgroundColor": _intFromColor( + resultStatusBackgroundColor, + ), + "multipageButtonBackgroundColor": _intFromColor( + multipageButtonBackgroundColor, + ), "tintColor": _intFromColor(tintColor), "activityIndicatorColor": _intFromColor(activityIndicatorColor), "statusBackgroundColor": _intFromColor(statusBackgroundColor), - "cameraPreviewBackgroundColor": - _intFromColor(cameraPreviewBackgroundColor), + "cameraPreviewBackgroundColor": _intFromColor( + cameraPreviewBackgroundColor, + ), + "backgroundMaskColor": _intFromColor(backgroundMaskColor), + "resultStatusTextColor": _intFromColor(resultStatusTextColor), + "multipageButtonTextColor": _intFromColor(multipageButtonTextColor), "statusPositionMultiplier": statusPositionMultiplier, "resultStatusPositionMultiplier": resultStatusPositionMultiplier, "toolbarSize": toolbarSize, @@ -831,10 +1064,21 @@ class Customization { "cameraFrameCornerRadius": cameraFrameCornerRadius, "livenessAnimationPositionMultiplier": livenessAnimationPositionMultiplier, - "multipageAnimationFrontImage": - _dataToBase64(multipageAnimationFrontImage), - "multipageAnimationBackImage": - _dataToBase64(multipageAnimationBackImage), + "nextPageAnimationStartDelay": nextPageAnimationStartDelay, + "nextPageAnimationEndDelay": nextPageAnimationEndDelay, + "activityIndicatorPortraitPositionMultiplier": + activityIndicatorPortraitPositionMultiplier, + "activityIndicatorLandscapePositionMultiplier": + activityIndicatorLandscapePositionMultiplier, + "cameraPreviewVerticalPositionMultiplier": + cameraPreviewVerticalPositionMultiplier, + "multipageButtonPositionMultiplier": multipageButtonPositionMultiplier, + "multipageAnimationFrontImage": _dataToBase64( + multipageAnimationFrontImage, + ), + "multipageAnimationBackImage": _dataToBase64( + multipageAnimationBackImage, + ), "borderBackgroundImage": _dataToBase64(borderBackgroundImage), "helpAnimationImage": _dataToBase64(helpAnimationImage), "closeButtonImage": _dataToBase64(closeButtonImage), @@ -842,16 +1086,20 @@ class Customization { "cameraSwitchButtonImage": _dataToBase64(cameraSwitchButtonImage), "torchButtonOnImage": _dataToBase64(torchButtonOnImage), "torchButtonOffImage": _dataToBase64(torchButtonOffImage), - "changeFrameButtonExpandImage": - _dataToBase64(changeFrameButtonExpandImage), - "changeFrameButtonCollapseImage": - _dataToBase64(changeFrameButtonCollapseImage), + "changeFrameButtonExpandImage": _dataToBase64( + changeFrameButtonExpandImage, + ), + "changeFrameButtonCollapseImage": _dataToBase64( + changeFrameButtonCollapseImage, + ), "livenessAnimationImage": _dataToBase64(livenessAnimationImage), + "multipageButtonImage": _dataToBase64(multipageButtonImage), "customLabelStatus": customLabelStatus, "cameraFrameLineCap": cameraFrameLineCap?.value, "uiCustomizationLayer": uiCustomizationLayer, "statusTextFont": statusTextFont?.toJson(), "resultStatusTextFont": resultStatusTextFont?.toJson(), + "multipageButtonTextFont": multipageButtonTextFont?.toJson(), "helpAnimationImageContentMode": helpAnimationImageTransformsIOS?.value, "multipageAnimationFrontImageContentMode": multipageAnimationFrontImageTransformsIOS?.value, @@ -871,11 +1119,15 @@ class Customization { "colors": colors.toJson(), "fonts": fonts.toJson(), "images": images.toJson(), + "timings": timings.toJson(), + "contentModes": contentModes.toJson(), + "matrices": matrices.toJson(), }.clearNulls(); void _set(Map json) { - if (identical(this, DocumentReader.instance.customization)) + if (identical(this, DocumentReader.instance.customization)) { _bridge.invokeMethod("setCustomization", [json]); + } testSetters.addAll(json); } @@ -931,54 +1183,6 @@ enum FrameShapeType { } } -/// Clone of iOS native enum `UIViewContentMode` -enum ViewContentMode { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - SCALE_TO_FILL(0), - - /// Contents scaled to fit with fixed aspect. remainder is transparent. - SCALE_ASPECT_FIT(1), - - /// Contents scaled to fill with fixed aspect. some portion of content may be clipped. - SCALE_ASPECT_FILL(2), - - /// redraw on bounds change (calls -setNeedsDisplay). - REDRAW(3), - - /// contents remain same size. positioned adjusted. - CENTER(4), - - TOP(5), - - BOTTOM(6), - - LEFT(7), - - RIGHT(8), - - TOP_LEFT(9), - - TOP_RIGHT(10), - - BOTTOM_LEFT(11), - - BOTTOM_RIGHT(12); - - const ViewContentMode(this.value); - final int value; - - static ViewContentMode? getByValue(int? i) { - if (i == null) return null; - try { - return ViewContentMode.values.firstWhere((x) => x.value == i); - } catch (_) { - return ViewContentMode.UNKNOWN; - } - } -} - /// Button tags for UI customization. enum CustomButtonTag { /// Will be returned if [getByValue] if a non-existent was passed. diff --git a/lib/src/params/customization/CustomizationColors.dart b/lib/src/params/customization/CustomizationColors.dart deleted file mode 100644 index 945f00eb0a..0000000000 --- a/lib/src/params/customization/CustomizationColors.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// CustomizationColors.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class CustomizationColors { - Color get rfidProcessingScreenBackground => _rfidProcessingScreenBackground; - late Color _rfidProcessingScreenBackground; - set rfidProcessingScreenBackground(Color val) { - _rfidProcessingScreenBackground = val; - _set({"rfidProcessingScreenBackground": _intFromColor(val)}); - } - - Color get rfidProcessingScreenHintLabelText => - _rfidProcessingScreenHintLabelText; - late Color _rfidProcessingScreenHintLabelText; - set rfidProcessingScreenHintLabelText(Color val) { - _rfidProcessingScreenHintLabelText = val; - _set({"rfidProcessingScreenHintLabelText": _intFromColor(val)}); - } - - Color get rfidProcessingScreenHintLabelBackground => - _rfidProcessingScreenHintLabelBackground; - late Color _rfidProcessingScreenHintLabelBackground; - set rfidProcessingScreenHintLabelBackground(Color val) { - _rfidProcessingScreenHintLabelBackground = val; - _set({"rfidProcessingScreenHintLabelBackground": _intFromColor(val)}); - } - - Color get rfidProcessingScreenProgressLabelText => - _rfidProcessingScreenProgressLabelText; - late Color _rfidProcessingScreenProgressLabelText; - set rfidProcessingScreenProgressLabelText(Color val) { - _rfidProcessingScreenProgressLabelText = val; - _set({"rfidProcessingScreenProgressLabelText": _intFromColor(val)}); - } - - Color get rfidProcessingScreenProgressBar => _rfidProcessingScreenProgressBar; - late Color _rfidProcessingScreenProgressBar; - set rfidProcessingScreenProgressBar(Color val) { - _rfidProcessingScreenProgressBar = val; - _set({"rfidProcessingScreenProgressBar": _intFromColor(val)}); - } - - Color get rfidProcessingScreenProgressBarBackground => - _rfidProcessingScreenProgressBarBackground; - late Color _rfidProcessingScreenProgressBarBackground; - set rfidProcessingScreenProgressBarBackground(Color val) { - _rfidProcessingScreenProgressBarBackground = val; - _set({"rfidProcessingScreenProgressBarBackground": _intFromColor(val)}); - } - - Color get rfidProcessingScreenResultLabelText => - _rfidProcessingScreenResultLabelText; - late Color _rfidProcessingScreenResultLabelText; - set rfidProcessingScreenResultLabelText(Color val) { - _rfidProcessingScreenResultLabelText = val; - _set({"rfidProcessingScreenResultLabelText": _intFromColor(val)}); - } - - /// Allows you to deserialize object. - static CustomizationColors fromJson(jsonObject) { - var result = CustomizationColors(); - result.testSetters = {}; - - result.rfidProcessingScreenBackground = - _intToColor(jsonObject["rfidProcessingScreenBackground"])!; - result.rfidProcessingScreenHintLabelText = - _intToColor(jsonObject["rfidProcessingScreenHintLabelText"])!; - result.rfidProcessingScreenHintLabelBackground = - _intToColor(jsonObject["rfidProcessingScreenHintLabelBackground"])!; - result.rfidProcessingScreenProgressLabelText = - _intToColor(jsonObject["rfidProcessingScreenProgressLabelText"])!; - result.rfidProcessingScreenProgressBar = - _intToColor(jsonObject["rfidProcessingScreenProgressBar"])!; - result.rfidProcessingScreenProgressBarBackground = - _intToColor(jsonObject["rfidProcessingScreenProgressBarBackground"])!; - result.rfidProcessingScreenResultLabelText = - _intToColor(jsonObject["rfidProcessingScreenResultLabelText"])!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "rfidProcessingScreenBackground": - _intFromColor(rfidProcessingScreenBackground), - "rfidProcessingScreenHintLabelText": - _intFromColor(rfidProcessingScreenHintLabelText), - "rfidProcessingScreenHintLabelBackground": - _intFromColor(rfidProcessingScreenHintLabelBackground), - "rfidProcessingScreenProgressLabelText": - _intFromColor(rfidProcessingScreenProgressLabelText), - "rfidProcessingScreenProgressBar": - _intFromColor(rfidProcessingScreenProgressBar), - "rfidProcessingScreenProgressBarBackground": - _intFromColor(rfidProcessingScreenProgressBarBackground), - "rfidProcessingScreenResultLabelText": - _intFromColor(rfidProcessingScreenResultLabelText), - }.clearNulls(); - - void _set(Map json, {Customization? directParent}) { - var parentJson = {"colors": json}; - var parent = DocumentReader.instance.customization; - if (identical(this, parent.colors)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(Customization parent) => _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/customization/CustomizationFonts.dart b/lib/src/params/customization/CustomizationFonts.dart deleted file mode 100644 index a0b786eaa5..0000000000 --- a/lib/src/params/customization/CustomizationFonts.dart +++ /dev/null @@ -1,71 +0,0 @@ -// -// CustomizationFonts.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class CustomizationFonts { - Font? get rfidProcessingScreenHintLabel => _rfidProcessingScreenHintLabel; - Font? _rfidProcessingScreenHintLabel; - set rfidProcessingScreenHintLabel(Font? val) { - _rfidProcessingScreenHintLabel = val; - _set({"rfidProcessingScreenHintLabel": val?.toJson()}); - } - - Font? get rfidProcessingScreenProgressLabel => - _rfidProcessingScreenProgressLabel; - Font? _rfidProcessingScreenProgressLabel; - set rfidProcessingScreenProgressLabel(Font? val) { - _rfidProcessingScreenProgressLabel = val; - _set({"rfidProcessingScreenProgressLabel": val?.toJson()}); - } - - Font? get rfidProcessingScreenResultLabel => _rfidProcessingScreenResultLabel; - Font? _rfidProcessingScreenResultLabel; - set rfidProcessingScreenResultLabel(Font? val) { - _rfidProcessingScreenResultLabel = val; - _set({"rfidProcessingScreenResultLabel": val?.toJson()}); - } - - /// Allows you to deserialize object. - static CustomizationFonts fromJson(jsonObject) { - var result = CustomizationFonts(); - result.testSetters = {}; - - result.rfidProcessingScreenHintLabel = - Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]); - result.rfidProcessingScreenProgressLabel = - Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]); - result.rfidProcessingScreenResultLabel = - Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "rfidProcessingScreenHintLabel": - rfidProcessingScreenHintLabel?.toJson(), - "rfidProcessingScreenProgressLabel": - rfidProcessingScreenProgressLabel?.toJson(), - "rfidProcessingScreenResultLabel": - rfidProcessingScreenResultLabel?.toJson(), - }.clearNulls(); - - void _set(Map json, {Customization? directParent}) { - var parentJson = {"fonts": json}; - var parent = DocumentReader.instance.customization; - if (identical(this, parent.fonts)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(Customization parent) => _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/customization/CustomizationImages.dart b/lib/src/params/customization/CustomizationImages.dart deleted file mode 100644 index 94640977a6..0000000000 --- a/lib/src/params/customization/CustomizationImages.dart +++ /dev/null @@ -1,50 +0,0 @@ -// -// CustomizationImages.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class CustomizationImages { - /// - ByteData get rfidProcessingScreenFailureImage => - _rfidProcessingScreenFailureImage; - late ByteData _rfidProcessingScreenFailureImage; - set rfidProcessingScreenFailureImage(ByteData val) { - _rfidProcessingScreenFailureImage = val; - _set({"rfidProcessingScreenFailureImage": _dataToBase64(val)}); - } - - /// Allows you to deserialize object. - static CustomizationImages fromJson(jsonObject) { - var result = CustomizationImages(); - result.testSetters = {}; - - result.rfidProcessingScreenFailureImage = - _dataFromBase64(jsonObject["rfidProcessingScreenFailureImage"])!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "rfidProcessingScreenFailureImage": - _dataToBase64(rfidProcessingScreenFailureImage), - }.clearNulls(); - - void _set(Map json, {Customization? directParent}) { - var parentJson = {"images": json}; - var parent = DocumentReader.instance.customization; - if (identical(this, parent.images)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(Customization parent) => _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/customization/Font.dart b/lib/src/params/customization/Font.dart deleted file mode 100644 index b4a569f2c7..0000000000 --- a/lib/src/params/customization/Font.dart +++ /dev/null @@ -1,79 +0,0 @@ -// -// Font.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class Font { - /// Font family. - /// - /// Beware that Android and iOS have diffrent font names, - /// so you will have to use if condition. - String get name => _name; - String _name; - - /// Font size. - int? get size => _size; - int? _size; - - /// Font style. - /// - /// Android only. - FontStyle? get style => _style; - FontStyle? _style; - - Font( - String name, { - int? size, - FontStyle? style, - }) : _name = name, - _size = size, - _style = style; - - /// Allows you to deserialize object. - static Font? fromJson(jsonObject) { - if (jsonObject == null) return null; - - var result = Font(jsonObject["name"]); - result._size = jsonObject["size"]; - result._style = FontStyle.getByValue(jsonObject["style"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "name": name, - "size": size, - "style": style?.value, - }.clearNulls(); -} - -enum FontStyle { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - NORMAL(0), - - BOLD(1), - - ITALIC(2), - - BOLD_ITALIC(3); - - const FontStyle(this.value); - final int value; - - static FontStyle? getByValue(int? i) { - if (i == null) return null; - try { - return FontStyle.values.firstWhere((x) => x.value == i); - } catch (_) { - return FontStyle.UNKNOWN; - } - } -} diff --git a/lib/src/params/customization/customization_colors.dart b/lib/src/params/customization/customization_colors.dart new file mode 100644 index 0000000000..24a93bcb00 --- /dev/null +++ b/lib/src/params/customization/customization_colors.dart @@ -0,0 +1,365 @@ +// +// CustomizationColors.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationColors { + Color? get rfidProcessingScreenBackground => _rfidProcessingScreenBackground; + Color? _rfidProcessingScreenBackground; + set rfidProcessingScreenBackground(Color? val) { + _rfidProcessingScreenBackground = val; + _set({"rfidProcessingScreenBackground": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenHintLabelText => + _rfidProcessingScreenHintLabelText; + Color? _rfidProcessingScreenHintLabelText; + set rfidProcessingScreenHintLabelText(Color? val) { + _rfidProcessingScreenHintLabelText = val; + _set({"rfidProcessingScreenHintLabelText": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenHintLabelBackground => + _rfidProcessingScreenHintLabelBackground; + Color? _rfidProcessingScreenHintLabelBackground; + set rfidProcessingScreenHintLabelBackground(Color? val) { + _rfidProcessingScreenHintLabelBackground = val; + _set({"rfidProcessingScreenHintLabelBackground": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenProgressLabelText => + _rfidProcessingScreenProgressLabelText; + Color? _rfidProcessingScreenProgressLabelText; + set rfidProcessingScreenProgressLabelText(Color? val) { + _rfidProcessingScreenProgressLabelText = val; + _set({"rfidProcessingScreenProgressLabelText": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenProgressBar => + _rfidProcessingScreenProgressBar; + Color? _rfidProcessingScreenProgressBar; + set rfidProcessingScreenProgressBar(Color? val) { + _rfidProcessingScreenProgressBar = val; + _set({"rfidProcessingScreenProgressBar": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenProgressBarBackground => + _rfidProcessingScreenProgressBarBackground; + Color? _rfidProcessingScreenProgressBarBackground; + set rfidProcessingScreenProgressBarBackground(Color? val) { + _rfidProcessingScreenProgressBarBackground = val; + _set({"rfidProcessingScreenProgressBarBackground": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenResultLabelText => + _rfidProcessingScreenResultLabelText; + Color? _rfidProcessingScreenResultLabelText; + set rfidProcessingScreenResultLabelText(Color? val) { + _rfidProcessingScreenResultLabelText = val; + _set({"rfidProcessingScreenResultLabelText": _intFromColor(val)}); + } + + Color? get rfidProcessingScreenLoadingBar => _rfidProcessingScreenLoadingBar; + Color? _rfidProcessingScreenLoadingBar; + set rfidProcessingScreenLoadingBar(Color? val) { + _rfidProcessingScreenLoadingBar = val; + _set({"rfidProcessingScreenLoadingBar": _intFromColor(val)}); + } + + /// Android only. + Color? get rfidEnableNfcTitleText => _rfidEnableNfcTitleText; + Color? _rfidEnableNfcTitleText; + set rfidEnableNfcTitleText(Color? val) { + _rfidEnableNfcTitleText = val; + _set({"rfidEnableNfcTitleText": _intFromColor(val)}); + } + + /// Android only. + Color? get rfidEnableNfcDescriptionText => _rfidEnableNfcDescriptionText; + Color? _rfidEnableNfcDescriptionText; + set rfidEnableNfcDescriptionText(Color? val) { + _rfidEnableNfcDescriptionText = val; + _set({"rfidEnableNfcDescriptionText": _intFromColor(val)}); + } + + /// Android only. + Color? get rfidEnableNfcButtonText => _rfidEnableNfcButtonText; + Color? _rfidEnableNfcButtonText; + set rfidEnableNfcButtonText(Color? val) { + _rfidEnableNfcButtonText = val; + _set({"rfidEnableNfcButtonText": _intFromColor(val)}); + } + + /// Android only. + Color? get rfidEnableNfcButtonBackground => _rfidEnableNfcButtonBackground; + Color? _rfidEnableNfcButtonBackground; + set rfidEnableNfcButtonBackground(Color? val) { + _rfidEnableNfcButtonBackground = val; + _set({"rfidEnableNfcButtonBackground": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenBackground => _mdlProcessingScreenBackground; + Color? _mdlProcessingScreenBackground; + set mdlProcessingScreenBackground(Color? val) { + _mdlProcessingScreenBackground = val; + _set({"mdlProcessingScreenBackground": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenHintLabelText => + _mdlProcessingScreenHintLabelText; + Color? _mdlProcessingScreenHintLabelText; + set mdlProcessingScreenHintLabelText(Color? val) { + _mdlProcessingScreenHintLabelText = val; + _set({"mdlProcessingScreenHintLabelText": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenHintLabelBackground => + _mdlProcessingScreenHintLabelBackground; + Color? _mdlProcessingScreenHintLabelBackground; + set mdlProcessingScreenHintLabelBackground(Color? val) { + _mdlProcessingScreenHintLabelBackground = val; + _set({"mdlProcessingScreenHintLabelBackground": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenProgressLabelText => + _mdlProcessingScreenProgressLabelText; + Color? _mdlProcessingScreenProgressLabelText; + set mdlProcessingScreenProgressLabelText(Color? val) { + _mdlProcessingScreenProgressLabelText = val; + _set({"mdlProcessingScreenProgressLabelText": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenResultLabelText => + _mdlProcessingScreenResultLabelText; + Color? _mdlProcessingScreenResultLabelText; + set mdlProcessingScreenResultLabelText(Color? val) { + _mdlProcessingScreenResultLabelText = val; + _set({"mdlProcessingScreenResultLabelText": _intFromColor(val)}); + } + + Color? get mdlProcessingScreenLoadingBar => _mdlProcessingScreenLoadingBar; + Color? _mdlProcessingScreenLoadingBar; + set mdlProcessingScreenLoadingBar(Color? val) { + _mdlProcessingScreenLoadingBar = val; + _set({"mdlProcessingScreenLoadingBar": _intFromColor(val)}); + } + + /// Android only. + Color? get mdlEnableNfcTitleText => _mdlEnableNfcTitleText; + Color? _mdlEnableNfcTitleText; + set mdlEnableNfcTitleText(Color? val) { + _mdlEnableNfcTitleText = val; + _set({"mdlEnableNfcTitleText": _intFromColor(val)}); + } + + /// Android only. + Color? get mdlEnableNfcDescriptionText => _mdlEnableNfcDescriptionText; + Color? _mdlEnableNfcDescriptionText; + set mdlEnableNfcDescriptionText(Color? val) { + _mdlEnableNfcDescriptionText = val; + _set({"mdlEnableNfcDescriptionText": _intFromColor(val)}); + } + + /// Android only. + Color? get mdlEnableNfcButtonText => _mdlEnableNfcButtonText; + Color? _mdlEnableNfcButtonText; + set mdlEnableNfcButtonText(Color? val) { + _mdlEnableNfcButtonText = val; + _set({"mdlEnableNfcButtonText": _intFromColor(val)}); + } + + /// Android only. + Color? get mdlEnableNfcButtonBackground => _mdlEnableNfcButtonBackground; + Color? _mdlEnableNfcButtonBackground; + set mdlEnableNfcButtonBackground(Color? val) { + _mdlEnableNfcButtonBackground = val; + _set({"mdlEnableNfcButtonBackground": _intFromColor(val)}); + } + + Color? get nextPageIdCardFront => _nextPageIdCardFront; + Color? _nextPageIdCardFront; + set nextPageIdCardFront(Color? val) { + _nextPageIdCardFront = val; + _set({"nextPageIdCardFront": _intFromColor(val)}); + } + + Color? get nextPageIdCardBack => _nextPageIdCardBack; + Color? _nextPageIdCardBack; + set nextPageIdCardBack(Color? val) { + _nextPageIdCardBack = val; + _set({"nextPageIdCardBack": _intFromColor(val)}); + } + + Color? get nextPagePassportShift => _nextPagePassportShift; + Color? _nextPagePassportShift; + set nextPagePassportShift(Color? val) { + _nextPagePassportShift = val; + _set({"nextPagePassportShift": _intFromColor(val)}); + } + + Color? get nextPagePassportFlip => _nextPagePassportFlip; + Color? _nextPagePassportFlip; + set nextPagePassportFlip(Color? val) { + _nextPagePassportFlip = val; + _set({"nextPagePassportFlip": _intFromColor(val)}); + } + + /// Allows you to deserialize object. + static CustomizationColors fromJson(jsonObject) { + var result = CustomizationColors(); + result.testSetters = {}; + + result.rfidProcessingScreenBackground = + _intToColor(jsonObject["rfidProcessingScreenBackground"]); + result.rfidProcessingScreenHintLabelText = + _intToColor(jsonObject["rfidProcessingScreenHintLabelText"]); + result.rfidProcessingScreenHintLabelBackground = + _intToColor(jsonObject["rfidProcessingScreenHintLabelBackground"]); + result.rfidProcessingScreenProgressLabelText = + _intToColor(jsonObject["rfidProcessingScreenProgressLabelText"]); + result.rfidProcessingScreenProgressBar = + _intToColor(jsonObject["rfidProcessingScreenProgressBar"]); + result.rfidProcessingScreenProgressBarBackground = + _intToColor(jsonObject["rfidProcessingScreenProgressBarBackground"]); + result.rfidProcessingScreenResultLabelText = + _intToColor(jsonObject["rfidProcessingScreenResultLabelText"]); + result.rfidProcessingScreenLoadingBar = + _intToColor(jsonObject["rfidProcessingScreenLoadingBar"]); + result.rfidEnableNfcTitleText = + _intToColor(jsonObject["rfidEnableNfcTitleText"]); + result.rfidEnableNfcDescriptionText = + _intToColor(jsonObject["rfidEnableNfcDescriptionText"]); + result.rfidEnableNfcButtonText = + _intToColor(jsonObject["rfidEnableNfcButtonText"]); + result.rfidEnableNfcButtonBackground = + _intToColor(jsonObject["rfidEnableNfcButtonBackground"]); + result.mdlProcessingScreenBackground = + _intToColor(jsonObject["mdlProcessingScreenBackground"]); + result.mdlProcessingScreenHintLabelText = + _intToColor(jsonObject["mdlProcessingScreenHintLabelText"]); + result.mdlProcessingScreenHintLabelBackground = + _intToColor(jsonObject["mdlProcessingScreenHintLabelBackground"]); + result.mdlProcessingScreenProgressLabelText = + _intToColor(jsonObject["mdlProcessingScreenProgressLabelText"]); + result.mdlProcessingScreenResultLabelText = + _intToColor(jsonObject["mdlProcessingScreenResultLabelText"]); + result.mdlProcessingScreenLoadingBar = + _intToColor(jsonObject["mdlProcessingScreenLoadingBar"]); + result.mdlEnableNfcTitleText = + _intToColor(jsonObject["mdlEnableNfcTitleText"]); + result.mdlEnableNfcDescriptionText = + _intToColor(jsonObject["mdlEnableNfcDescriptionText"]); + result.mdlEnableNfcButtonText = + _intToColor(jsonObject["mdlEnableNfcButtonText"]); + result.mdlEnableNfcButtonBackground = + _intToColor(jsonObject["mdlEnableNfcButtonBackground"]); + result.nextPageIdCardFront = _intToColor(jsonObject["nextPageIdCardFront"]); + result.nextPageIdCardBack = _intToColor(jsonObject["nextPageIdCardBack"]); + result.nextPagePassportShift = + _intToColor(jsonObject["nextPagePassportShift"]); + result.nextPagePassportFlip = + _intToColor(jsonObject["nextPagePassportFlip"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "rfidProcessingScreenBackground": _intFromColor( + rfidProcessingScreenBackground, + ), + "rfidProcessingScreenHintLabelText": _intFromColor( + rfidProcessingScreenHintLabelText, + ), + "rfidProcessingScreenHintLabelBackground": _intFromColor( + rfidProcessingScreenHintLabelBackground, + ), + "rfidProcessingScreenProgressLabelText": _intFromColor( + rfidProcessingScreenProgressLabelText, + ), + "rfidProcessingScreenProgressBar": _intFromColor( + rfidProcessingScreenProgressBar, + ), + "rfidProcessingScreenProgressBarBackground": _intFromColor( + rfidProcessingScreenProgressBarBackground, + ), + "rfidProcessingScreenResultLabelText": _intFromColor( + rfidProcessingScreenResultLabelText, + ), + "rfidProcessingScreenLoadingBar": _intFromColor( + rfidProcessingScreenLoadingBar, + ), + "rfidEnableNfcTitleText": _intFromColor( + rfidEnableNfcTitleText, + ), + "rfidEnableNfcDescriptionText": _intFromColor( + rfidEnableNfcDescriptionText, + ), + "rfidEnableNfcButtonText": _intFromColor( + rfidEnableNfcButtonText, + ), + "rfidEnableNfcButtonBackground": _intFromColor( + rfidEnableNfcButtonBackground, + ), + "mdlProcessingScreenBackground": _intFromColor( + mdlProcessingScreenBackground, + ), + "mdlProcessingScreenHintLabelText": _intFromColor( + mdlProcessingScreenHintLabelText, + ), + "mdlProcessingScreenHintLabelBackground": _intFromColor( + mdlProcessingScreenHintLabelBackground, + ), + "mdlProcessingScreenProgressLabelText": _intFromColor( + mdlProcessingScreenProgressLabelText, + ), + "mdlProcessingScreenResultLabelText": _intFromColor( + mdlProcessingScreenResultLabelText, + ), + "mdlProcessingScreenLoadingBar": _intFromColor( + mdlProcessingScreenLoadingBar, + ), + "mdlEnableNfcTitleText": _intFromColor( + mdlEnableNfcTitleText, + ), + "mdlEnableNfcDescriptionText": _intFromColor( + mdlEnableNfcDescriptionText, + ), + "mdlEnableNfcButtonText": _intFromColor( + mdlEnableNfcButtonText, + ), + "mdlEnableNfcButtonBackground": _intFromColor( + mdlEnableNfcButtonBackground, + ), + "nextPageIdCardFront": _intFromColor( + nextPageIdCardFront, + ), + "nextPageIdCardBack": _intFromColor( + nextPageIdCardBack, + ), + "nextPagePassportShift": _intFromColor( + nextPagePassportShift, + ), + "nextPagePassportFlip": _intFromColor( + nextPagePassportFlip, + ), + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"colors": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.colors)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/customization/customization_content_modes.dart b/lib/src/params/customization/customization_content_modes.dart new file mode 100644 index 0000000000..23cb373779 --- /dev/null +++ b/lib/src/params/customization/customization_content_modes.dart @@ -0,0 +1,98 @@ +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationContentModes { + ViewContentMode? get nextPageIdCardFront => _nextPageIdCardFront; + ViewContentMode? _nextPageIdCardFront; + set nextPageIdCardFront(ViewContentMode? val) { + _nextPageIdCardFront = val; + _set({"nextPageIdCardFront": val?.value}); + } + + ViewContentMode? get nextPageIdCardBack => _nextPageIdCardBack; + ViewContentMode? _nextPageIdCardBack; + set nextPageIdCardBack(ViewContentMode? val) { + _nextPageIdCardBack = val; + _set({"nextPageIdCardBack": val?.value}); + } + + /// Allows you to deserialize object. + static CustomizationContentModes fromJson(jsonObject) { + var result = CustomizationContentModes(); + if (jsonObject == null) return result; + result.testSetters = {}; + + result.nextPageIdCardFront = + ViewContentMode.getByValue(jsonObject["nextPageIdCardFront"]); + result.nextPageIdCardBack = + ViewContentMode.getByValue(jsonObject["nextPageIdCardBack"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "nextPageIdCardFront": nextPageIdCardFront?.value, + "nextPageIdCardBack": nextPageIdCardBack?.value, + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"contentModes": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.contentModes)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} + +/// Clone of iOS native enum `UIViewContentMode` +enum ViewContentMode { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + SCALE_TO_FILL(0), + + /// Contents scaled to fit with fixed aspect. remainder is transparent. + SCALE_ASPECT_FIT(1), + + /// Contents scaled to fill with fixed aspect. some portion of content may be clipped. + SCALE_ASPECT_FILL(2), + + /// redraw on bounds change (calls -setNeedsDisplay). + REDRAW(3), + + /// contents remain same size. positioned adjusted. + CENTER(4), + + TOP(5), + + BOTTOM(6), + + LEFT(7), + + RIGHT(8), + + TOP_LEFT(9), + + TOP_RIGHT(10), + + BOTTOM_LEFT(11), + + BOTTOM_RIGHT(12); + + const ViewContentMode(this.value); + final int value; + + static ViewContentMode? getByValue(int? i) { + if (i == null) return null; + try { + return ViewContentMode.values.firstWhere((x) => x.value == i); + } catch (_) { + return ViewContentMode.UNKNOWN; + } + } +} diff --git a/lib/src/params/customization/customization_fonts.dart b/lib/src/params/customization/customization_fonts.dart new file mode 100644 index 0000000000..c2e9e94f80 --- /dev/null +++ b/lib/src/params/customization/customization_fonts.dart @@ -0,0 +1,238 @@ +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationFonts { + Font? get rfidProcessingScreenHintLabel => _rfidProcessingScreenHintLabel; + Font? _rfidProcessingScreenHintLabel; + set rfidProcessingScreenHintLabel(Font? val) { + _rfidProcessingScreenHintLabel = val; + _set({"rfidProcessingScreenHintLabel": val?.toJson()}); + } + + Font? get rfidProcessingScreenProgressLabel => + _rfidProcessingScreenProgressLabel; + Font? _rfidProcessingScreenProgressLabel; + set rfidProcessingScreenProgressLabel(Font? val) { + _rfidProcessingScreenProgressLabel = val; + _set({"rfidProcessingScreenProgressLabel": val?.toJson()}); + } + + Font? get rfidProcessingScreenResultLabel => _rfidProcessingScreenResultLabel; + Font? _rfidProcessingScreenResultLabel; + set rfidProcessingScreenResultLabel(Font? val) { + _rfidProcessingScreenResultLabel = val; + _set({"rfidProcessingScreenResultLabel": val?.toJson()}); + } + + /// Android only. + Font? get rfidEnableNfcTitleText => _rfidEnableNfcTitleText; + Font? _rfidEnableNfcTitleText; + set rfidEnableNfcTitleText(Font? val) { + _rfidEnableNfcTitleText = val; + _set({"rfidEnableNfcTitleText": val?.toJson()}); + } + + /// Android only. + Font? get rfidEnableNfcDescriptionText => _rfidEnableNfcDescriptionText; + Font? _rfidEnableNfcDescriptionText; + set rfidEnableNfcDescriptionText(Font? val) { + _rfidEnableNfcDescriptionText = val; + _set({"rfidEnableNfcDescriptionText": val?.toJson()}); + } + + /// Android only. + Font? get rfidEnableNfcButtonText => _rfidEnableNfcButtonText; + Font? _rfidEnableNfcButtonText; + set rfidEnableNfcButtonText(Font? val) { + _rfidEnableNfcButtonText = val; + _set({"rfidEnableNfcButtonText": val?.toJson()}); + } + + Font? get mdlProcessingScreenHintLabel => _mdlProcessingScreenHintLabel; + Font? _mdlProcessingScreenHintLabel; + set mdlProcessingScreenHintLabel(Font? val) { + _mdlProcessingScreenHintLabel = val; + _set({"mdlProcessingScreenHintLabel": val?.toJson()}); + } + + Font? get mdlProcessingScreenProgressLabel => + _mdlProcessingScreenProgressLabel; + Font? _mdlProcessingScreenProgressLabel; + set mdlProcessingScreenProgressLabel(Font? val) { + _mdlProcessingScreenProgressLabel = val; + _set({"mdlProcessingScreenProgressLabel": val?.toJson()}); + } + + Font? get mdlProcessingScreenResultLabel => _mdlProcessingScreenResultLabel; + Font? _mdlProcessingScreenResultLabel; + set mdlProcessingScreenResultLabel(Font? val) { + _mdlProcessingScreenResultLabel = val; + _set({"mdlProcessingScreenResultLabel": val?.toJson()}); + } + + /// Android only. + Font? get mdlEnableNfcTitleText => _mdlEnableNfcTitleText; + Font? _mdlEnableNfcTitleText; + set mdlEnableNfcTitleText(Font? val) { + _mdlEnableNfcTitleText = val; + _set({"mdlEnableNfcTitleText": val?.toJson()}); + } + + /// Android only. + Font? get mdlEnableNfcDescriptionText => _mdlEnableNfcDescriptionText; + Font? _mdlEnableNfcDescriptionText; + set mdlEnableNfcDescriptionText(Font? val) { + _mdlEnableNfcDescriptionText = val; + _set({"mdlEnableNfcDescriptionText": val?.toJson()}); + } + + /// Android only. + Font? get mdlEnableNfcButtonText => _mdlEnableNfcButtonText; + Font? _mdlEnableNfcButtonText; + set mdlEnableNfcButtonText(Font? val) { + _mdlEnableNfcButtonText = val; + _set({"mdlEnableNfcButtonText": val?.toJson()}); + } + + /// Allows you to deserialize object. + static CustomizationFonts fromJson(jsonObject) { + var result = CustomizationFonts(); + result.testSetters = {}; + + result.rfidProcessingScreenHintLabel = Font.fromJson( + jsonObject["rfidProcessingScreenHintLabel"], + ); + result.rfidProcessingScreenProgressLabel = Font.fromJson( + jsonObject["rfidProcessingScreenProgressLabel"], + ); + result.rfidProcessingScreenResultLabel = Font.fromJson( + jsonObject["rfidProcessingScreenResultLabel"], + ); + result.rfidEnableNfcTitleText = Font.fromJson( + jsonObject["rfidEnableNfcTitleText"], + ); + result.rfidEnableNfcDescriptionText = Font.fromJson( + jsonObject["rfidEnableNfcDescriptionText"], + ); + result.rfidEnableNfcButtonText = Font.fromJson( + jsonObject["rfidEnableNfcButtonText"], + ); + result.mdlProcessingScreenHintLabel = Font.fromJson( + jsonObject["mdlProcessingScreenHintLabel"], + ); + result.mdlProcessingScreenProgressLabel = Font.fromJson( + jsonObject["mdlProcessingScreenProgressLabel"], + ); + result.mdlProcessingScreenResultLabel = Font.fromJson( + jsonObject["mdlProcessingScreenResultLabel"], + ); + result.mdlEnableNfcTitleText = Font.fromJson( + jsonObject["mdlEnableNfcTitleText"], + ); + result.mdlEnableNfcDescriptionText = Font.fromJson( + jsonObject["mdlEnableNfcDescriptionText"], + ); + result.mdlEnableNfcButtonText = Font.fromJson( + jsonObject["mdlEnableNfcButtonText"], + ); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "rfidProcessingScreenHintLabel": + rfidProcessingScreenHintLabel?.toJson(), + "rfidProcessingScreenProgressLabel": + rfidProcessingScreenProgressLabel?.toJson(), + "rfidProcessingScreenResultLabel": + rfidProcessingScreenResultLabel?.toJson(), + "rfidEnableNfcTitleText": rfidEnableNfcTitleText?.toJson(), + "rfidEnableNfcDescriptionText": rfidEnableNfcDescriptionText?.toJson(), + "rfidEnableNfcButtonText": rfidEnableNfcButtonText?.toJson(), + "mdlProcessingScreenHintLabel": mdlProcessingScreenHintLabel?.toJson(), + "mdlProcessingScreenProgressLabel": + mdlProcessingScreenProgressLabel?.toJson(), + "mdlProcessingScreenResultLabel": + mdlProcessingScreenResultLabel?.toJson(), + "mdlEnableNfcTitleText": mdlEnableNfcTitleText?.toJson(), + "mdlEnableNfcDescriptionText": mdlEnableNfcDescriptionText?.toJson(), + "mdlEnableNfcButtonText": mdlEnableNfcButtonText?.toJson(), + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"fonts": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.fonts)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} + +class Font { + /// Font family. + /// + /// Beware that Android and iOS have diffrent font names, + /// so you will have to use if condition. + String get name => _name; + String _name; + + /// Font size. + int? get size => _size; + int? _size; + + /// Font style. + /// + /// Android only. + FontStyle? get style => _style; + FontStyle? _style; + + Font(String name, {int? size, FontStyle? style}) + : _name = name, + _size = size, + _style = style; + + /// Allows you to deserialize object. + static Font? fromJson(jsonObject) { + if (jsonObject == null) return null; + + var result = Font(jsonObject["name"]); + result._size = jsonObject["size"]; + result._style = FontStyle.getByValue(jsonObject["style"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"name": name, "size": size, "style": style?.value}.clearNulls(); +} + +enum FontStyle { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + NORMAL(0), + + BOLD(1), + + ITALIC(2), + + BOLD_ITALIC(3); + + const FontStyle(this.value); + final int value; + + static FontStyle? getByValue(int? i) { + if (i == null) return null; + try { + return FontStyle.values.firstWhere((x) => x.value == i); + } catch (_) { + return FontStyle.UNKNOWN; + } + } +} diff --git a/lib/src/params/customization/customization_images.dart b/lib/src/params/customization/customization_images.dart new file mode 100644 index 0000000000..58ce1411f5 --- /dev/null +++ b/lib/src/params/customization/customization_images.dart @@ -0,0 +1,297 @@ +// +// CustomizationImages.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationImages { + ByteData? get helpAnimation => _helpAnimation; + ByteData? _helpAnimation; + set helpAnimation(ByteData? val) { + _helpAnimation = val; + _set({"helpAnimation": _dataToBase64(val)}); + } + + ByteData? get livenessAnimation => _livenessAnimation; + ByteData? _livenessAnimation; + set livenessAnimation(ByteData? val) { + _livenessAnimation = val; + _set({"livenessAnimation": _dataToBase64(val)}); + } + + ByteData? get borderBackground => _borderBackground; + ByteData? _borderBackground; + set borderBackground(ByteData? val) { + _borderBackground = val; + _set({"borderBackground": _dataToBase64(val)}); + } + + ByteData? get torchButtonOn => _torchButtonOn; + ByteData? _torchButtonOn; + set torchButtonOn(ByteData? val) { + _torchButtonOn = val; + _set({"torchButtonOn": _dataToBase64(val)}); + } + + ByteData? get torchButtonOff => _torchButtonOff; + ByteData? _torchButtonOff; + set torchButtonOff(ByteData? val) { + _torchButtonOff = val; + _set({"torchButtonOff": _dataToBase64(val)}); + } + + ByteData? get captureButton => _captureButton; + ByteData? _captureButton; + set captureButton(ByteData? val) { + _captureButton = val; + _set({"captureButton": _dataToBase64(val)}); + } + + ByteData? get switchButton => _switchButton; + ByteData? _switchButton; + set switchButton(ByteData? val) { + _switchButton = val; + _set({"switchButton": _dataToBase64(val)}); + } + + ByteData? get closeButton => _closeButton; + ByteData? _closeButton; + set closeButton(ByteData? val) { + _closeButton = val; + _set({"closeButton": _dataToBase64(val)}); + } + + ByteData? get multipageButton => _multipageButton; + ByteData? _multipageButton; + set multipageButton(ByteData? val) { + _multipageButton = val; + _set({"multipageButton": _dataToBase64(val)}); + } + + ByteData? get rfidProcessingScreenFailureImage => + _rfidProcessingScreenFailureImage; + ByteData? _rfidProcessingScreenFailureImage; + set rfidProcessingScreenFailureImage(ByteData? val) { + _rfidProcessingScreenFailureImage = val; + _set({"rfidProcessingScreenFailureImage": _dataToBase64(val)}); + } + + /// Android only. + ByteData? get rfidEnableNfcImage => _rfidEnableNfcImage; + ByteData? _rfidEnableNfcImage; + set rfidEnableNfcImage(ByteData? val) { + _rfidEnableNfcImage = val; + _set({"rfidEnableNfcImage": _dataToBase64(val)}); + } + + /// Android only. + ByteData? get rfidDisableNfcImage => _rfidDisableNfcImage; + ByteData? _rfidDisableNfcImage; + set rfidDisableNfcImage(ByteData? val) { + _rfidDisableNfcImage = val; + _set({"rfidDisableNfcImage": _dataToBase64(val)}); + } + + ByteData? get mdlProcessingScreenFailureImage => + _mdlProcessingScreenFailureImage; + ByteData? _mdlProcessingScreenFailureImage; + set mdlProcessingScreenFailureImage(ByteData? val) { + _mdlProcessingScreenFailureImage = val; + _set({"mdlProcessingScreenFailureImage": _dataToBase64(val)}); + } + + /// Android only. + ByteData? get mdlEnableNfcImage => _mdlEnableNfcImage; + ByteData? _mdlEnableNfcImage; + set mdlEnableNfcImage(ByteData? val) { + _mdlEnableNfcImage = val; + _set({"mdlEnableNfcImage": _dataToBase64(val)}); + } + + /// Android only. + ByteData? get mdlDisableNfcImage => _mdlDisableNfcImage; + ByteData? _mdlDisableNfcImage; + set mdlDisableNfcImage(ByteData? val) { + _mdlDisableNfcImage = val; + _set({"mdlDisableNfcImage": _dataToBase64(val)}); + } + + ByteData? get nextPageIdCardFront => _nextPageIdCardFront; + ByteData? _nextPageIdCardFront; + set nextPageIdCardFront(ByteData? val) { + _nextPageIdCardFront = val; + _set({"nextPageIdCardFront": _dataToBase64(val)}); + } + + ByteData? get nextPageIdCardBack => _nextPageIdCardBack; + ByteData? _nextPageIdCardBack; + set nextPageIdCardBack(ByteData? val) { + _nextPageIdCardBack = val; + _set({"nextPageIdCardBack": _dataToBase64(val)}); + } + + ByteData? get nextPagePassportShift => _nextPagePassportShift; + ByteData? _nextPagePassportShift; + set nextPagePassportShift(ByteData? val) { + _nextPagePassportShift = val; + _set({"nextPagePassportShift": _dataToBase64(val)}); + } + + ByteData? get nextPagePassportFlipStart => _nextPagePassportFlipStart; + ByteData? _nextPagePassportFlipStart; + set nextPagePassportFlipStart(ByteData? val) { + _nextPagePassportFlipStart = val; + _set({"nextPagePassportFlipStart": _dataToBase64(val)}); + } + + ByteData? get nextPagePassportFlipClean => _nextPagePassportFlipClean; + ByteData? _nextPagePassportFlipClean; + set nextPagePassportFlipClean(ByteData? val) { + _nextPagePassportFlipClean = val; + _set({"nextPagePassportFlipClean": _dataToBase64(val)}); + } + + ByteData? get nextPagePassportFlipTop => _nextPagePassportFlipTop; + ByteData? _nextPagePassportFlipTop; + set nextPagePassportFlipTop(ByteData? val) { + _nextPagePassportFlipTop = val; + _set({"nextPagePassportFlipTop": _dataToBase64(val)}); + } + + ByteData? get nextPagePassportFlipBottom => _nextPagePassportFlipBottom; + ByteData? _nextPagePassportFlipBottom; + set nextPagePassportFlipBottom(ByteData? val) { + _nextPagePassportFlipBottom = val; + _set({"nextPagePassportFlipBottom": _dataToBase64(val)}); + } + + /// Allows you to deserialize object. + static CustomizationImages fromJson(jsonObject) { + var result = CustomizationImages(); + result.testSetters = {}; + + result.helpAnimation = _dataFromBase64(jsonObject["helpAnimation"]); + result.livenessAnimation = _dataFromBase64(jsonObject["livenessAnimation"]); + result.borderBackground = _dataFromBase64(jsonObject["borderBackground"]); + result.torchButtonOn = _dataFromBase64(jsonObject["torchButtonOn"]); + result.torchButtonOff = _dataFromBase64(jsonObject["torchButtonOff"]); + result.captureButton = _dataFromBase64(jsonObject["captureButton"]); + result.switchButton = _dataFromBase64(jsonObject["switchButton"]); + result.closeButton = _dataFromBase64(jsonObject["closeButton"]); + result.multipageButton = _dataFromBase64(jsonObject["multipageButton"]); + result.rfidProcessingScreenFailureImage = + _dataFromBase64(jsonObject["rfidProcessingScreenFailureImage"]); + result.rfidEnableNfcImage = + _dataFromBase64(jsonObject["rfidEnableNfcImage"]); + result.rfidDisableNfcImage = + _dataFromBase64(jsonObject["rfidDisableNfcImage"]); + result.mdlProcessingScreenFailureImage = + _dataFromBase64(jsonObject["mdlProcessingScreenFailureImage"]); + result.mdlEnableNfcImage = _dataFromBase64(jsonObject["mdlEnableNfcImage"]); + result.mdlDisableNfcImage = + _dataFromBase64(jsonObject["mdlDisableNfcImage"]); + result.nextPageIdCardFront = + _dataFromBase64(jsonObject["nextPageIdCardFront"]); + result.nextPageIdCardBack = + _dataFromBase64(jsonObject["nextPageIdCardBack"]); + result.nextPagePassportShift = + _dataFromBase64(jsonObject["nextPagePassportShift"]); + result.nextPagePassportFlipStart = + _dataFromBase64(jsonObject["nextPagePassportFlipStart"]); + result.nextPagePassportFlipClean = + _dataFromBase64(jsonObject["nextPagePassportFlipClean"]); + result.nextPagePassportFlipTop = + _dataFromBase64(jsonObject["nextPagePassportFlipTop"]); + result.nextPagePassportFlipBottom = + _dataFromBase64(jsonObject["nextPagePassportFlipBottom"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "helpAnimation": _dataToBase64( + helpAnimation, + ), + "livenessAnimation": _dataToBase64( + livenessAnimation, + ), + "borderBackground": _dataToBase64( + borderBackground, + ), + "torchButtonOn": _dataToBase64( + torchButtonOn, + ), + "torchButtonOff": _dataToBase64( + torchButtonOff, + ), + "captureButton": _dataToBase64( + captureButton, + ), + "switchButton": _dataToBase64( + switchButton, + ), + "closeButton": _dataToBase64( + closeButton, + ), + "multipageButton": _dataToBase64( + rfidDisableNfcImage, + ), + "rfidProcessingScreenFailureImage": _dataToBase64( + rfidProcessingScreenFailureImage, + ), + "rfidEnableNfcImage": _dataToBase64( + rfidEnableNfcImage, + ), + "rfidDisableNfcImage": _dataToBase64( + rfidDisableNfcImage, + ), + "mdlProcessingScreenFailureImage": _dataToBase64( + mdlProcessingScreenFailureImage, + ), + "mdlEnableNfcImage": _dataToBase64( + mdlEnableNfcImage, + ), + "mdlDisableNfcImage": _dataToBase64( + mdlDisableNfcImage, + ), + "nextPageIdCardFront": _dataToBase64( + nextPageIdCardFront, + ), + "nextPageIdCardBack": _dataToBase64( + nextPageIdCardBack, + ), + "nextPagePassportShift": _dataToBase64( + nextPagePassportShift, + ), + "nextPagePassportFlipStart": _dataToBase64( + nextPagePassportFlipStart, + ), + "nextPagePassportFlipClean": _dataToBase64( + nextPagePassportFlipClean, + ), + "nextPagePassportFlipTop": _dataToBase64( + nextPagePassportFlipTop, + ), + "nextPagePassportFlipBottom": _dataToBase64( + nextPagePassportFlipBottom, + ), + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"images": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.images)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/customization/customization_matrices.dart b/lib/src/params/customization/customization_matrices.dart new file mode 100644 index 0000000000..7ad196d1fd --- /dev/null +++ b/lib/src/params/customization/customization_matrices.dart @@ -0,0 +1,65 @@ +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationMatrices { + List? get nextPageIdCardFront => _nextPageIdCardFront; + List? _nextPageIdCardFront; + set nextPageIdCardFront(List? val) { + _nextPageIdCardFront = val; + _set({"nextPageIdCardFront": val}); + } + + List? get nextPageIdCardBack => _nextPageIdCardBack; + List? _nextPageIdCardBack; + set nextPageIdCardBack(List? val) { + _nextPageIdCardBack = val; + _set({"nextPageIdCardBack": val}); + } + + /// Allows you to deserialize object. + static CustomizationMatrices fromJson(jsonObject) { + var result = CustomizationMatrices(); + if (jsonObject == null) return result; + result.testSetters = {}; + + if (jsonObject["nextPageIdCardFront"] != null) { + List array = []; + for (var value in jsonObject["nextPageIdCardFront"]) { + array.add(value.toDouble()); + } + result.nextPageIdCardFront = array; + } else { + result.nextPageIdCardFront = null; + } + + if (jsonObject["nextPageIdCardBack"] != null) { + List array = []; + for (var value in jsonObject["nextPageIdCardBack"]) { + array.add(value.toDouble()); + } + result.nextPageIdCardBack = array; + } else { + result.nextPageIdCardBack = null; + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "nextPageIdCardFront": nextPageIdCardFront, + "nextPageIdCardBack": nextPageIdCardBack, + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"matrices": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.matrices)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/customization/customization_timings.dart b/lib/src/params/customization/customization_timings.dart new file mode 100644 index 0000000000..72eb517bde --- /dev/null +++ b/lib/src/params/customization/customization_timings.dart @@ -0,0 +1,87 @@ +part of "../../../flutter_document_reader_api.dart"; + +class CustomizationTimings { + int? get nextPageIdCardStartDelay => _nextPageIdCardStartDelay; + int? _nextPageIdCardStartDelay; + set nextPageIdCardStartDelay(int? val) { + _nextPageIdCardStartDelay = val; + _set({"nextPageIdCardStartDelay": val}); + } + + int? get nextPageIdCardEndDelay => _nextPageIdCardEndDelay; + int? _nextPageIdCardEndDelay; + set nextPageIdCardEndDelay(int? val) { + _nextPageIdCardEndDelay = val; + _set({"nextPageIdCardEndDelay": val}); + } + + int? get nextPagePassportShiftStartDelay => _nextPagePassportShiftStartDelay; + int? _nextPagePassportShiftStartDelay; + set nextPagePassportShiftStartDelay(int? val) { + _nextPagePassportShiftStartDelay = val; + _set({"nextPagePassportShiftStartDelay": val}); + } + + int? get nextPagePassportShiftEndDelay => _nextPagePassportShiftEndDelay; + int? _nextPagePassportShiftEndDelay; + set nextPagePassportShiftEndDelay(int? val) { + _nextPagePassportShiftEndDelay = val; + _set({"nextPagePassportShiftEndDelay": val}); + } + + int? get nextPagePassportFlipStartDelay => _nextPagePassportFlipStartDelay; + int? _nextPagePassportFlipStartDelay; + set nextPagePassportFlipStartDelay(int? val) { + _nextPagePassportFlipStartDelay = val; + _set({"nextPagePassportFlipStartDelay": val}); + } + + int? get nextPagePassportFlipEndDelay => _nextPagePassportFlipEndDelay; + int? _nextPagePassportFlipEndDelay; + set nextPagePassportFlipEndDelay(int? val) { + _nextPagePassportFlipEndDelay = val; + _set({"nextPagePassportFlipEndDelay": val}); + } + + /// Allows you to deserialize object. + static CustomizationTimings fromJson(jsonObject) { + var result = CustomizationTimings(); + result.testSetters = {}; + + result.nextPageIdCardStartDelay = jsonObject["nextPageIdCardStartDelay"]; + result.nextPageIdCardEndDelay = jsonObject["nextPageIdCardEndDelay"]; + result.nextPagePassportShiftStartDelay = + jsonObject["nextPagePassportShiftStartDelay"]; + result.nextPagePassportShiftEndDelay = + jsonObject["nextPagePassportShiftEndDelay"]; + result.nextPagePassportFlipStartDelay = + jsonObject["nextPagePassportFlipStartDelay"]; + result.nextPagePassportFlipEndDelay = + jsonObject["nextPagePassportFlipEndDelay"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "nextPageIdCardStartDelay": nextPageIdCardStartDelay, + "nextPageIdCardEndDelay": nextPageIdCardEndDelay, + "nextPagePassportShiftStartDelay": nextPagePassportShiftStartDelay, + "nextPagePassportShiftEndDelay": nextPagePassportShiftEndDelay, + "nextPagePassportFlipStartDelay": nextPagePassportFlipStartDelay, + "nextPagePassportFlipEndDelay": nextPagePassportFlipEndDelay, + }.clearNulls(); + + void _set(Map json, {Customization? directParent}) { + var parentJson = {"timings": json}; + var parent = DocumentReader.instance.customization; + if (identical(this, parent.timings)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(Customization parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/process_params/AuthenticityParams.dart b/lib/src/params/process_params/AuthenticityParams.dart deleted file mode 100644 index 7244277894..0000000000 --- a/lib/src/params/process_params/AuthenticityParams.dart +++ /dev/null @@ -1,174 +0,0 @@ -// -// AuthenticityParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class AuthenticityParams { - /// This parameter is used to enable document liveness check. - bool? get useLivenessCheck => _useLivenessCheck; - bool? _useLivenessCheck; - set useLivenessCheck(bool? val) { - _useLivenessCheck = val; - _set({"useLivenessCheck": val}); - } - - LivenessParams get livenessParams => _livenessParams; - LivenessParams _livenessParams = LivenessParams(); - set livenessParams(LivenessParams val) { - (_livenessParams = val)._apply(this); - } - - bool? get checkUVLuminiscence => _checkUVLuminiscence; - bool? _checkUVLuminiscence; - set checkUVLuminiscence(bool? val) { - _checkUVLuminiscence = val; - _set({"checkUVLuminiscence": val}); - } - - bool? get checkIRB900 => _checkIRB900; - bool? _checkIRB900; - set checkIRB900(bool? val) { - _checkIRB900 = val; - _set({"checkIRB900": val}); - } - - bool? get checkImagePatterns => _checkImagePatterns; - bool? _checkImagePatterns; - set checkImagePatterns(bool? val) { - _checkImagePatterns = val; - _set({"checkImagePatterns": val}); - } - - bool? get checkFibers => _checkFibers; - bool? _checkFibers; - set checkFibers(bool? val) { - _checkFibers = val; - _set({"checkFibers": val}); - } - - bool? get checkExtMRZ => _checkExtMRZ; - bool? _checkExtMRZ; - set checkExtMRZ(bool? val) { - _checkExtMRZ = val; - _set({"checkExtMRZ": val}); - } - - bool? get checkExtOCR => _checkExtOCR; - bool? _checkExtOCR; - set checkExtOCR(bool? val) { - _checkExtOCR = val; - _set({"checkExtOCR": val}); - } - - bool? get checkAxial => _checkAxial; - bool? _checkAxial; - set checkAxial(bool? val) { - _checkAxial = val; - _set({"checkAxial": val}); - } - - bool? get checkBarcodeFormat => _checkBarcodeFormat; - bool? _checkBarcodeFormat; - set checkBarcodeFormat(bool? val) { - _checkBarcodeFormat = val; - _set({"checkBarcodeFormat": val}); - } - - bool? get checkIRVisibility => _checkIRVisibility; - bool? _checkIRVisibility; - set checkIRVisibility(bool? val) { - _checkIRVisibility = val; - _set({"checkIRVisibility": val}); - } - - bool? get checkIPI => _checkIPI; - bool? _checkIPI; - set checkIPI(bool? val) { - _checkIPI = val; - _set({"checkIPI": val}); - } - - bool? get checkPhotoEmbedding => _checkPhotoEmbedding; - bool? _checkPhotoEmbedding; - set checkPhotoEmbedding(bool? val) { - _checkPhotoEmbedding = val; - _set({"checkPhotoEmbedding": val}); - } - - bool? get checkPhotoComparison => _checkPhotoComparison; - bool? _checkPhotoComparison; - set checkPhotoComparison(bool? val) { - _checkPhotoComparison = val; - _set({"checkPhotoComparison": val}); - } - - bool? get checkLetterScreen => _checkLetterScreen; - bool? _checkLetterScreen; - set checkLetterScreen(bool? val) { - _checkLetterScreen = val; - _set({"checkLetterScreen": val}); - } - - /// Allows you to deserialize object. - static AuthenticityParams fromJson(jsonObject) { - if (jsonObject == null) return AuthenticityParams(); - var result = AuthenticityParams(); - result.testSetters = {}; - - result.useLivenessCheck = jsonObject["useLivenessCheck"]; - result.livenessParams = - LivenessParams.fromJson(jsonObject["livenessParams"]); - result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]; - result.checkIRB900 = jsonObject["checkIRB900"]; - result.checkImagePatterns = jsonObject["checkImagePatterns"]; - result.checkFibers = jsonObject["checkFibers"]; - result.checkExtMRZ = jsonObject["checkExtMRZ"]; - result.checkExtOCR = jsonObject["checkExtOCR"]; - result.checkAxial = jsonObject["checkAxial"]; - result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]; - result.checkIRVisibility = jsonObject["checkIRVisibility"]; - result.checkIPI = jsonObject["checkIPI"]; - result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]; - result.checkPhotoComparison = jsonObject["checkPhotoComparison"]; - result.checkLetterScreen = jsonObject["checkLetterScreen"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "useLivenessCheck": useLivenessCheck, - "livenessParams": livenessParams.toJson(), - "checkUVLuminiscence": checkUVLuminiscence, - "checkIRB900": checkIRB900, - "checkImagePatterns": checkImagePatterns, - "checkFibers": checkFibers, - "checkExtMRZ": checkExtMRZ, - "checkExtOCR": checkExtOCR, - "checkAxial": checkAxial, - "checkBarcodeFormat": checkBarcodeFormat, - "checkIRVisibility": checkIRVisibility, - "checkIPI": checkIPI, - "checkPhotoEmbedding": checkPhotoEmbedding, - "checkPhotoComparison": checkPhotoComparison, - "checkLetterScreen": checkLetterScreen, - }.clearNulls(); - - void _set(Map json, {ProcessParams? directParent}) { - var parentJson = {"authenticityParams": json}; - var parent = DocumentReader.instance.processParams; - if (identical(this, parent.authenticityParams)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(ProcessParams parent) => _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/process_params/BackendProcessingConfig.dart b/lib/src/params/process_params/BackendProcessingConfig.dart deleted file mode 100644 index e4eb51ae4b..0000000000 --- a/lib/src/params/process_params/BackendProcessingConfig.dart +++ /dev/null @@ -1,48 +0,0 @@ -// -// BackendProcessingConfig.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class BackendProcessingConfig { - String get url => _url; - String _url; - - Map? get httpHeaders => _httpHeaders; - Map? _httpHeaders; - - bool? get rfidServerSideChipVerification => _rfidServerSideChipVerification; - bool? _rfidServerSideChipVerification; - - BackendProcessingConfig( - String url, { - bool? rfidServerSideChipVerification, - Map? httpHeaders, - }) : _url = url, - _rfidServerSideChipVerification = rfidServerSideChipVerification, - _httpHeaders = httpHeaders; - - /// Allows you to deserialize object. - static BackendProcessingConfig? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = BackendProcessingConfig(jsonObject["url"]); - - result._rfidServerSideChipVerification = - jsonObject["rfidServerSideChipVerification"]; - if (jsonObject["httpHeaders"] != null) - result._httpHeaders = Map.from(jsonObject["httpHeaders"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "url": url, - "rfidServerSideChipVerification": rfidServerSideChipVerification, - "httpHeaders": httpHeaders - }.clearNulls(); -} diff --git a/lib/src/params/process_params/FaceApiParams.dart b/lib/src/params/process_params/FaceApiParams.dart deleted file mode 100644 index 197ae0caee..0000000000 --- a/lib/src/params/process_params/FaceApiParams.dart +++ /dev/null @@ -1,89 +0,0 @@ -// -// FaceApiParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class FaceApiParams { - /// The URL of the Regula Face SDK service instance to be used. - String get url => _url; - String _url = "https://faceapi.regulaforensics.com"; - - /// The processing mode: "match" or "match+search". - String get mode => _mode; - String _mode = "match"; - - /// The similarity threshold, 0-100. Above 75 means that the faces' similarity - /// is verified, below 75 is not. - int get threshold => _threshold; - int _threshold = 75; - - /// A search filter that can be applied if the "match+search" mode is enabled. - FaceApiSearchParams? get searchParams => _searchParams; - FaceApiSearchParams? _searchParams; - - /// The service request timeout, ms. - int get serviceTimeout => _serviceTimeout; - int _serviceTimeout = 3000; - - /// Proxy to use, should be set according to the cURL standart. - String? get proxy => _proxy; - String? _proxy; - - /// Username and password to use for proxy authentication, - /// should be set according to the cURL standart. - String? get proxyPassword => _proxyPassword; - String? _proxyPassword; - - /// Proxy protocol type, should be set according to the cURL standart. - int? get proxyType => _proxyType; - int? _proxyType; - - FaceApiParams( - {String url = "https://faceapi.regulaforensics.com", - String mode = "match", - int threshold = 75, - FaceApiSearchParams? searchParams, - int serviceTimeout = 3000, - String? proxy, - String? proxyPassword, - int? proxyType}) - : _url = url, - _mode = mode, - _threshold = threshold, - _searchParams = searchParams, - _serviceTimeout = serviceTimeout, - _proxy = proxy, - _proxyPassword = proxyPassword, - _proxyType = proxyType; - - /// Allows you to deserialize object. - static FaceApiParams? fromJson(jsonObject) { - if (jsonObject == null) return null; - return FaceApiParams( - url: jsonObject["url"], - mode: jsonObject["mode"], - searchParams: FaceApiSearchParams.fromJson(jsonObject["searchParams"]), - threshold: jsonObject["threshold"], - serviceTimeout: jsonObject["serviceTimeout"], - proxy: jsonObject["proxy"], - proxyPassword: jsonObject["proxyPassword"], - proxyType: jsonObject["proxyType"]); - } - - /// Allows you to serialize object. - Map toJson() => { - "url": url, - "mode": mode, - "threshold": threshold, - "serviceTimeout": serviceTimeout, - "proxy": proxy, - "proxyPassword": proxyPassword, - "proxyType": proxyType, - "searchParams": searchParams?.toJson(), - }.clearNulls(); -} diff --git a/lib/src/params/process_params/FaceApiSearchParams.dart b/lib/src/params/process_params/FaceApiSearchParams.dart deleted file mode 100644 index 9c1f8b447c..0000000000 --- a/lib/src/params/process_params/FaceApiSearchParams.dart +++ /dev/null @@ -1,53 +0,0 @@ -// -// FaceApiSearchParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class FaceApiSearchParams { - /// The number of returned Persons limit. - int get limit => _limit; - int _limit; - - /// The similarity distance threshold, should be between 0.0 and 2.0, - /// where 0.0 is for returning results for only the most similar persons - /// and 2.0 is for all the persons, even the dissimilar ones. - /// If not set, the default 1.0 value is used. - double get threshold => _threshold; - double _threshold; - - /// The IDs of the groups in which the search is performed. - List? get groupIds => _groupIds; - List? _groupIds; - - FaceApiSearchParams({ - int limit = 100, - double threshold = 1, - List? groupIds, - }) : _limit = limit, - _threshold = threshold, - _groupIds = groupIds; - - /// Allows you to deserialize object. - static FaceApiSearchParams? fromJson(jsonObject) { - if (jsonObject == null) return null; - return FaceApiSearchParams( - limit: jsonObject["limit"], - threshold: _toDouble(jsonObject["threshold"])!, - groupIds: jsonObject["groupIds"] == null - ? null - : List.from(jsonObject["groupIds"]), - ); - } - - /// Allows you to serialize object. - Map toJson() => { - "limit": limit, - "threshold": threshold, - "groupIds": groupIds, - }.clearNulls(); -} diff --git a/lib/src/params/process_params/GlaresCheckParams.dart b/lib/src/params/process_params/GlaresCheckParams.dart deleted file mode 100644 index 9cc46a56d5..0000000000 --- a/lib/src/params/process_params/GlaresCheckParams.dart +++ /dev/null @@ -1,40 +0,0 @@ -// -// GlaresCheckParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class GlaresCheckParams { - /// Part of margin from the edges of the image that is ignored by glares check. - /// Example: value 0.07 is 7% of image area is ignored. - double? get imgMarginPart => _imgMarginPart; - double? _imgMarginPart; - - /// The maximum allowable part of glared area. - /// Example: value 0.1 is 10% allowed. - double? get maxGlaringPart => _maxGlaringPart; - double? _maxGlaringPart; - - GlaresCheckParams({double? imgMarginPart, double? maxGlaringPart}) - : _imgMarginPart = imgMarginPart, - _maxGlaringPart = maxGlaringPart; - - /// Allows you to deserialize object. - static GlaresCheckParams? fromJson(jsonObject) { - if (jsonObject == null) return null; - return GlaresCheckParams( - imgMarginPart: _toDouble(jsonObject["imgMarginPart"]), - maxGlaringPart: _toDouble(jsonObject["maxGlaringPart"]), - ); - } - - /// Allows you to serialize object. - Map toJson() => { - "imgMarginPart": imgMarginPart, - "maxGlaringPart": maxGlaringPart, - }.clearNulls(); -} diff --git a/lib/src/params/process_params/ImageQA.dart b/lib/src/params/process_params/ImageQA.dart deleted file mode 100644 index 4e63cc7f08..0000000000 --- a/lib/src/params/process_params/ImageQA.dart +++ /dev/null @@ -1,149 +0,0 @@ -// -// ImageQA.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Class contains properties to configure image quality. -class ImageQA { - /// This parameter sets threshold for Image QA check of the presented - /// document physical dpi. If actual document dpi is below this threshold, - /// check will fail. - int? get dpiThreshold => _dpiThreshold; - int? _dpiThreshold; - set dpiThreshold(int? val) { - _dpiThreshold = val; - _set({"dpiThreshold": val}); - } - - /// This parameter sets threshold for Image QA check of the presented - /// document perspective angle in degrees. If actual document perspective - /// angle is above this threshold, check will fail. - int? get angleThreshold => _angleThreshold; - int? _angleThreshold; - set angleThreshold(int? val) { - _angleThreshold = val; - _set({"angleThreshold": val}); - } - - /// This option disabled focus check during performing image quality validation. - bool? get focusCheck => _focusCheck; - bool? _focusCheck; - set focusCheck(bool? val) { - _focusCheck = val; - _set({"focusCheck": val}); - } - - /// This option disabled glares check during performing image quality validation. - bool? get glaresCheck => _glaresCheck; - bool? _glaresCheck; - set glaresCheck(bool? val) { - _glaresCheck = val; - _set({"glaresCheck": val}); - } - - /// Parameters for glares image quality validation. - GlaresCheckParams? get glaresCheckParams => _glaresCheckParams; - GlaresCheckParams? _glaresCheckParams; - set glaresCheckParams(GlaresCheckParams? val) { - _glaresCheckParams = val; - _set({"glaresCheckParams": val?.toJson()}); - } - - /// This option disabled colorness check during performing image quality validation. - bool? get colornessCheck => _colornessCheck; - bool? _colornessCheck; - set colornessCheck(bool? val) { - _colornessCheck = val; - _set({"colornessCheck": val}); - } - - /// This option disabled moire patterns check during performing image quality validation. - bool? get screenCapture => _screenCapture; - bool? _screenCapture; - set screenCapture(bool? val) { - _screenCapture = val; - _set({"screenCapture": val}); - } - - /// This option controls the quality checks that the image should pass - /// in order to be considered a valid input during the scanning process. - List? get expectedPass => _expectedPass; - List? _expectedPass; - set expectedPass(List? val) { - _expectedPass = val; - _set({"expectedPass": val?.map((e) => e.value).toList()}); - } - - /// Specify the minimum indent from the corners of the document to the borders - /// of the image. The value reflects the allowed percentage for the indent - /// relative to the width of the document. If it is detected that the corners - /// of the document are closer than the specified value, the status will contain - /// an error in the `DocumentReaderResults.imageQuality.imageQualityList.result` field. - int? get documentPositionIndent => _documentPositionIndent; - int? _documentPositionIndent; - set documentPositionIndent(int? val) { - _documentPositionIndent = val; - _set({"documentPositionIndent": val}); - } - - /// Set the threshold for an actual document brightness below which the check fails. - double? get brightnessThreshold => _brightnessThreshold; - double? _brightnessThreshold; - set brightnessThreshold(double? val) { - _brightnessThreshold = val; - _set({"brightnessThreshold": val}); - } - - /// Allows you to deserialize object. - static ImageQA fromJson(jsonObject) { - var result = ImageQA(); - result.testSetters = {}; - - result.dpiThreshold = jsonObject["dpiThreshold"]; - result.angleThreshold = jsonObject["angleThreshold"]; - result.focusCheck = jsonObject["focusCheck"]; - result.glaresCheck = jsonObject["glaresCheck"]; - result.colornessCheck = jsonObject["colornessCheck"]; - result.screenCapture = jsonObject["screenCapture"]; - result.expectedPass = - ImageQualityCheckType.fromIntList(jsonObject["expectedPass"]); - result.glaresCheckParams = - GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"]); - result.documentPositionIndent = jsonObject["documentPositionIndent"]; - result.brightnessThreshold = _toDouble(jsonObject["brightnessThreshold"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "dpiThreshold": dpiThreshold, - "angleThreshold": angleThreshold, - "documentPositionIndent": documentPositionIndent, - "focusCheck": focusCheck, - "glaresCheck": glaresCheck, - "colornessCheck": colornessCheck, - "screenCapture": screenCapture, - "expectedPass": expectedPass?.map((e) => e.value).toList(), - "glaresCheckParams": glaresCheckParams?.toJson(), - "brightnessThreshold": brightnessThreshold, - }.clearNulls(); - - void _set(Map json, {ProcessParams? directParent}) { - var parentJson = {"imageQA": json}; - var parent = DocumentReader.instance.processParams; - if (identical(this, parent.imageQA)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(ProcessParams parent) => _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/process_params/LivenessParams.dart b/lib/src/params/process_params/LivenessParams.dart deleted file mode 100644 index 943d4f648f..0000000000 --- a/lib/src/params/process_params/LivenessParams.dart +++ /dev/null @@ -1,75 +0,0 @@ -// -// LivenessParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class LivenessParams { - bool? get checkOVI => _checkOVI; - bool? _checkOVI; - set checkOVI(bool? val) { - _checkOVI = val; - _set({"checkOVI": val}); - } - - bool? get checkMLI => _checkMLI; - bool? _checkMLI; - set checkMLI(bool? val) { - _checkMLI = val; - _set({"checkMLI": val}); - } - - bool? get checkHolo => _checkHolo; - bool? _checkHolo; - set checkHolo(bool? val) { - _checkHolo = val; - _set({"checkHolo": val}); - } - - bool? get checkED => _checkED; - bool? _checkED; - set checkED(bool? val) { - _checkED = val; - _set({"checkED": val}); - } - - /// Allows you to deserialize object. - static LivenessParams fromJson(jsonObject) { - if (jsonObject == null) return LivenessParams(); - var result = LivenessParams(); - result.testSetters = {}; - - result.checkOVI = jsonObject["checkOVI"]; - result.checkMLI = jsonObject["checkMLI"]; - result.checkHolo = jsonObject["checkHolo"]; - result.checkED = jsonObject["checkED"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "checkOVI": checkOVI, - "checkMLI": checkMLI, - "checkHolo": checkHolo, - "checkED": checkED, - }.clearNulls(); - - void _set(Map json, {AuthenticityParams? directParent}) { - var parentJson = {"livenessParams": json}; - var parent = DocumentReader.instance.processParams.authenticityParams; - if (identical(this, parent.livenessParams)) parent._set(parentJson); - directParent?.testSetters.addAll(parentJson); - testSetters.addAll(json); - } - - void _apply(AuthenticityParams parent) => - _set(toJson(), directParent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/process_params/ProcessParams.dart b/lib/src/params/process_params/ProcessParams.dart deleted file mode 100644 index de0c3bccb0..0000000000 --- a/lib/src/params/process_params/ProcessParams.dart +++ /dev/null @@ -1,837 +0,0 @@ -// -// ProcessParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Params that influence the scanning process. -class ProcessParams { - /// If set to `true`, processing of more than one page of the document - /// (if they exist) will be triggered, otherwise, only one page will be processed. - bool? get multipageProcessing => _multipageProcessing; - bool? _multipageProcessing; - set multipageProcessing(bool? val) { - _multipageProcessing = val; - _set({"multipageProcessing": val}); - } - - /// If set to `true`, the DocumentReader logs will be shown in the console. - bool? get logs => _logs; - bool? _logs; - set logs(bool? val) { - _logs = val; - _set({"logs": val}); - } - - /// If set to `true`, images will be saved to the application's directory. - bool? get debugSaveImages => _debugSaveImages; - bool? _debugSaveImages; - set debugSaveImages(bool? val) { - _debugSaveImages = val; - _set({"debugSaveImages": val}); - } - - /// If set to `true`, text logs will be saved to the application's directory. - bool? get debugSaveLogs => _debugSaveLogs; - bool? _debugSaveLogs; - set debugSaveLogs(bool? val) { - _debugSaveLogs = val; - _set({"debugSaveLogs": val}); - } - - /// If set to `true`, an original (uncropped) image will be received, - /// which is sent for recognition. - bool? get returnUncroppedImage => _returnUncroppedImage; - bool? _returnUncroppedImage; - set returnUncroppedImage(bool? val) { - _returnUncroppedImage = val; - _set({"returnUncroppedImage": val}); - } - - /// Set to `true` when torch is connected and enabled by user. - /// - /// Android only. - bool? get uvTorchEnabled => _uvTorchEnabled; - bool? _uvTorchEnabled; - set uvTorchEnabled(bool? val) { - _uvTorchEnabled = val; - _set({"uvTorchEnabled": val}); - } - - /// If set to `true`, cropped images will be saved to the application's directory. - bool? get debugSaveCroppedImages => _debugSaveCroppedImages; - bool? _debugSaveCroppedImages; - set debugSaveCroppedImages(bool? val) { - _debugSaveCroppedImages = val; - _set({"debugSaveCroppedImages": val}); - } - - /// If set to `true`, document focus check will be omitted. - bool? get disableFocusingCheck => _disableFocusingCheck; - bool? _disableFocusingCheck; - set disableFocusingCheck(bool? val) { - _disableFocusingCheck = val; - _set({"disableFocusingCheck": val}); - } - - /// If set to `true`, RFID sessions will be saved to the application's directory. - bool? get debugSaveRFIDSession => _debugSaveRFIDSession; - bool? _debugSaveRFIDSession; - set debugSaveRFIDSession(bool? val) { - _debugSaveRFIDSession = val; - _set({"debugSaveRFIDSession": val}); - } - - /// If set to `true`, allows to process up to two pages of the document - /// (so-called "a double-page spread") for one-shot if they are presented - /// on the frame (image). - bool? get doublePageSpread => _doublePageSpread; - bool? _doublePageSpread; - set doublePageSpread(bool? val) { - _doublePageSpread = val; - _set({"doublePageSpread": val}); - } - - /// If set to `true`, allows you to manually set the document's bounds - /// after it is detected. - bool? get manualCrop => _manualCrop; - bool? _manualCrop; - set manualCrop(bool? val) { - _manualCrop = val; - _set({"manualCrop": val}); - } - - /// Allows to build an integral image, taking into account the quality of - /// fixation of each of the individual images. - bool? get integralImage => _integralImage; - bool? _integralImage; - set integralImage(bool? val) { - _integralImage = val; - _set({"integralImage": val}); - } - - /// If set to `true`, an image with cropped barcode will be returned. - bool? get returnCroppedBarcode => _returnCroppedBarcode; - bool? _returnCroppedBarcode; - set returnCroppedBarcode(bool? val) { - _returnCroppedBarcode = val; - _set({"returnCroppedBarcode": val}); - } - - /// If set to `true`, in case required fields are not read, their values - /// will be empty. - bool? get checkRequiredTextFields => _checkRequiredTextFields; - bool? _checkRequiredTextFields; - set checkRequiredTextFields(bool? val) { - _checkRequiredTextFields = val; - _set({"checkRequiredTextFields": val}); - } - - /// If set to `true`, personal information will be removed from logs. - bool? get depersonalizeLog => _depersonalizeLog; - bool? _depersonalizeLog; - set depersonalizeLog(bool? val) { - _depersonalizeLog = val; - _set({"depersonalizeLog": val}); - } - - /// When enabled together with [doublePageSpread] and there is a passport - /// with two pages spread in the image, pages will be cropped, straightened - /// and aligned together, as if the document was captured on a flatbed scanner. - bool? get generateDoublePageSpreadImage => _generateDoublePageSpreadImage; - bool? _generateDoublePageSpreadImage; - set generateDoublePageSpreadImage(bool? val) { - _generateDoublePageSpreadImage = val; - _set({"generateDoublePageSpreadImage": val}); - } - - /// This option can be set to `true` if you know for sure that the image you - /// provide contains already cropped document by its edges. This was designed - /// to process on the server side images captured and cropped on mobile. - bool? get alreadyCropped => _alreadyCropped; - bool? _alreadyCropped; - set alreadyCropped(bool? val) { - _alreadyCropped = val; - _set({"alreadyCropped": val}); - } - - /// When disabled, text field OCR will be done as is and then the recognized - /// value will be matched to the field mask for validity. If enabled, we - /// are trying to read a field value with maximum efforts to match the mask - /// and provide a correctly formatted value, making assumptions based on the - /// provided field mask in the template. - bool? get matchTextFieldMask => _matchTextFieldMask; - bool? _matchTextFieldMask; - set matchTextFieldMask(bool? val) { - _matchTextFieldMask = val; - _set({"matchTextFieldMask": val}); - } - - /// When enabled, fail OCR field validity, if there is a glare over the text - /// ƒfield on the image. - bool? get updateOCRValidityByGlare => _updateOCRValidityByGlare; - bool? _updateOCRValidityByGlare; - set updateOCRValidityByGlare(bool? val) { - _updateOCRValidityByGlare = val; - _set({"updateOCRValidityByGlare": val}); - } - - /// When enabled no graphic fields will be cropped from document image. - bool? get noGraphics => _noGraphics; - bool? _noGraphics; - set noGraphics(bool? val) { - _noGraphics = val; - _set({"noGraphics": val}); - } - - /// This option allows locating and cropping multiple documents - /// from one image if enabled. - bool? get multiDocOnImage => _multiDocOnImage; - bool? _multiDocOnImage; - set multiDocOnImage(bool? val) { - _multiDocOnImage = val; - _set({"multiDocOnImage": val}); - } - - /// This option can be set to `true` to make sure that in series processing - /// MRZ is located fully inside the result document image, if present - /// on the document. Enabling this option may add extra processing time, - /// by disabling optimizations, but allows more stability in output image quality. - bool? get forceReadMrzBeforeLocate => _forceReadMrzBeforeLocate; - bool? _forceReadMrzBeforeLocate; - set forceReadMrzBeforeLocate(bool? val) { - _forceReadMrzBeforeLocate = val; - _set({"forceReadMrzBeforeLocate": val}); - } - - /// When set to `false`, the Barcode code parsing will be skipped - /// and the raw information from the code will be returned instead. - bool? get parseBarcodes => _parseBarcodes; - bool? _parseBarcodes; - set parseBarcodes(bool? val) { - _parseBarcodes = val; - _set({"parseBarcodes": val}); - } - - /// When set to `true`, the `rawResults` property of the [Results] - /// will contain the encrypted containers of scanning results - /// that may be used for later reprocessing. - bool? get shouldReturnPackageForReprocess => _shouldReturnPackageForReprocess; - bool? _shouldReturnPackageForReprocess; - set shouldReturnPackageForReprocess(bool? val) { - _shouldReturnPackageForReprocess = val; - _set({"shouldReturnPackageForReprocess": val}); - } - - /// When enabled, OCR of perforated fields in the document template - /// will not be performed. - bool? get disablePerforationOCR => _disablePerforationOCR; - bool? _disablePerforationOCR; - set disablePerforationOCR(bool? val) { - _disablePerforationOCR = val; - _set({"disablePerforationOCR": val}); - } - - /// When enabled, image quality checks status affects document optical - /// and overall status. - bool? get respectImageQuality => _respectImageQuality; - bool? _respectImageQuality; - set respectImageQuality(bool? val) { - _respectImageQuality = val; - _set({"respectImageQuality": val}); - } - - /// When enabled, the Surname and GivenNames field ([TextField]) - /// will be divided into fields with fieldTypes [FieldType.FIRST_NAME], - /// [FieldType.SECOND_NAME], [FieldType.THIRD_NAME], [FieldType.LAST_NAME]. - bool? get splitNames => _splitNames; - bool? _splitNames; - set splitNames(bool? val) { - _splitNames = val; - _set({"splitNames": val}); - } - - /// Use this property to set up the Face API integration. - bool? get useFaceApi => _useFaceApi; - bool? _useFaceApi; - set useFaceApi(bool? val) { - _useFaceApi = val; - _set({"useFaceApi": val}); - } - - /// This parameter is used to enable document authenticity check. - bool? get useAuthenticityCheck => _useAuthenticityCheck; - bool? _useAuthenticityCheck; - set useAuthenticityCheck(bool? val) { - _useAuthenticityCheck = val; - _set({"useAuthenticityCheck": val}); - } - - @deprecated - bool? get checkHologram => _checkHologram; - bool? _checkHologram; - @deprecated - set checkHologram(bool? val) { - _checkHologram = val; - _set({"checkHologram": val}); - } - - /// There are documents that contain barcodes which data can be parsed only - /// if document type verification is performed. The following property allows - /// setting the barcode parser type which should be used during recognition. - /// It allows parsing barcode data without performing document type verification. - int? get barcodeParserType => _barcodeParserType; - int? _barcodeParserType; - set barcodeParserType(int? val) { - _barcodeParserType = val; - _set({"barcodeParserType": val}); - } - - /// Allows you to set the maximum value of the deviation of the corners - /// of the document from the value of `90` degrees. - int? get perspectiveAngle => _perspectiveAngle; - int? _perspectiveAngle; - set perspectiveAngle(int? val) { - _perspectiveAngle = val; - _set({"perspectiveAngle": val}); - } - - /// Allows you to set the minimum acceptable DPI value of the camera frame - /// that is passed for recognition. Camera frames the DPI of which are less - /// than you set won't be passed for recognition. - int? get minDPI => _minDPI; - int? _minDPI; - set minDPI(int? val) { - _minDPI = val; - _set({"minDPI": val}); - } - - /// This option controls maximum resolution in dpi of output images. - /// Resolution will remain original in case `0` is set. - int? get imageDpiOutMax => _imageDpiOutMax; - int? _imageDpiOutMax; - set imageDpiOutMax(int? val) { - _imageDpiOutMax = val; - _set({"imageDpiOutMax": val}); - } - - /// Force use of specified document format when locating and recognizing - /// document to reduce the number of candidates. - DocFormat? get forceDocFormat => _forceDocFormat; - DocFormat? _forceDocFormat; - set forceDocFormat(DocFormat? val) { - _forceDocFormat = val; - _set({"forceDocFormat": val?.value}); - } - - /// This option allows shifting the date of expiry into the future or past - /// for number of months specified. This is useful, for example, in some cases - /// when document might be still valid for some period after original - /// expiration date to prevent negative validity status for such documents. - /// Or by shifting the date to the past will set negative validity - /// for the documents that is about to expire in a specified number of months. - int? get shiftExpiryDate => _shiftExpiryDate; - int? _shiftExpiryDate; - set shiftExpiryDate(int? val) { - _shiftExpiryDate = val; - _set({"shiftExpiryDate": val}); - } - - /// This options allows specifying the minimal age in years of the document - /// holder for the document to be considered valid. - int? get minimalHolderAge => _minimalHolderAge; - int? _minimalHolderAge; - set minimalHolderAge(int? val) { - _minimalHolderAge = val; - _set({"minimalHolderAge": val}); - } - - /// Maximum height of output images. In pixels. - int? get imageOutputMaxHeight => _imageOutputMaxHeight; - int? _imageOutputMaxHeight; - set imageOutputMaxHeight(int? val) { - _imageOutputMaxHeight = val; - _set({"imageOutputMaxHeight": val}); - } - - /// Maximum width of output images. In pixels. - int? get imageOutputMaxWidth => _imageOutputMaxWidth; - int? _imageOutputMaxWidth; - set imageOutputMaxWidth(int? val) { - _imageOutputMaxWidth = val; - _set({"imageOutputMaxWidth": val}); - } - - /// Accepts sum of [Authenticity] values. - int? get processAuth => _processAuth; - int? _processAuth; - set processAuth(int? val) { - _processAuth = val; - _set({"processAuth": val}); - } - - /// This option allows output text case transformation. - /// No changes applied by default to original values. - int? get convertCase => _convertCase; - int? _convertCase; - set convertCase(int? val) { - _convertCase = val; - _set({"convertCase": val}); - } - - /// Measure system of fields' values that are presented in results. - /// Default: If the country code is `US` or `LR` or `MM`, the - /// [MeasureSystem.IMPERIAL] system of measurement, otherwise, the [MeasureSystem.METRIC]. - MeasureSystem? get measureSystem => _measureSystem; - MeasureSystem? _measureSystem; - set measureSystem(MeasureSystem? val) { - _measureSystem = val; - _set({"measureSystem": val?.value}); - } - - /// Force use of specific template ID and skip document type identification step. - int? get forceDocID => _forceDocID; - int? _forceDocID; - set forceDocID(int? val) { - _forceDocID = val; - _set({"forceDocID": val}); - } - - /// Change the format string of displayed dates in the results. - /// - /// Mask examples: `dd/mm/yyyy`, `mm/dd/yyyy`, `dd-mm-yyyy`, `mm-dd-yyyy`, `dd/mm/yy`. - /// Set to `null` to revert default value. - /// - /// Default: depends on the device's locale. - String? get dateFormat => _dateFormat; - String? _dateFormat; - set dateFormat(String? val) { - _dateFormat = val; - _set({"dateFormat": val}); - } - - /// Documents processing scenario. - Scenario? get scenario => _scenario; - Scenario? _scenario; - set scenario(Scenario? val) { - _scenario = val; - _set({"scenario": val?.value}); - } - - /// Documents processing scenario for the Capture button. - Scenario? get captureButtonScenario => _captureButtonScenario; - Scenario? _captureButtonScenario; - set captureButtonScenario(Scenario? val) { - _captureButtonScenario = val; - _set({"captureButtonScenario": val?.value}); - } - - /// The path to the folder of the current session. Before using this, save logs. - /// Each new session provides a different path. - String? get sessionLogFolder => _sessionLogFolder; - String? _sessionLogFolder; - set sessionLogFolder(String? val) { - _sessionLogFolder = val; - _set({"sessionLogFolder": val}); - } - - /// Allows you to set the time limit for document recognition (in seconds), - /// beyond which the recognition does not continue regardless of its result. - /// The countdown starts from the moment the scenario starts. - /// Setting value to `0` means infinity. - double? get timeout => _timeout; - double? _timeout; - set timeout(double? val) { - _timeout = val; - _set({"timeout": val}); - } - - /// Allows you to set the time limit for document recognition (in seconds), - /// beyond which the recognition does not continue regardless of its result. - /// The countdown starts from the moment the document is detected. - /// Setting value to `0` means infinity. - double? get timeoutFromFirstDetect => _timeoutFromFirstDetect; - double? _timeoutFromFirstDetect; - set timeoutFromFirstDetect(double? val) { - _timeoutFromFirstDetect = val; - _set({"timeoutFromFirstDetect": val}); - } - - /// Allows you to set the time limit for document recognition (in seconds), - /// beyond which the recognition does not continue regardless of its result. - /// The countdown starts from the moment the document type is recognized. - /// Setting value to `0` means infinity. - double? get timeoutFromFirstDocType => _timeoutFromFirstDocType; - double? _timeoutFromFirstDocType; - set timeoutFromFirstDocType(double? val) { - _timeoutFromFirstDocType = val; - _set({"timeoutFromFirstDocType": val}); - } - - /// Specifies minimal area of the image that document should cover to be treated - /// as candidate when locating. Value should be in range from `0` to `1`, - /// where `1` is when document should fully cover the image. - double? get documentAreaMin => _documentAreaMin; - double? _documentAreaMin; - set documentAreaMin(double? val) { - _documentAreaMin = val; - _set({"documentAreaMin": val}); - } - - /// Takes the list of the document IDs to process. - /// All documents will be processed if it's empty. - List? get documentIDList => _documentIDList; - List? _documentIDList; - set documentIDList(List? val) { - _documentIDList = val; - _set({"documentIDList": val}); - } - - /// Set types of barcodes that you wish to recognize. - /// All barcodes will be recognized if it's empty. - List? get barcodeTypes => _barcodeTypes; - List? _barcodeTypes; - set barcodeTypes(List? val) { - _barcodeTypes = val; - _set({"barcodeTypes": val?.map((e) => e.value).toList()}); - } - - /// If you recognize the MRZ of documents, all fields will be extracted. - /// If you recognize the Visual zone of documents, you can set the list - /// of field types that you wish to extract, other fields will be skipped - /// during processing. All fields will be extracted if it is empty. - List? get fieldTypesFilter => _fieldTypesFilter; - List? _fieldTypesFilter; - set fieldTypesFilter(List? val) { - _fieldTypesFilter = val; - _set({"fieldTypesFilter": val?.map((e) => e.value).toList()}); - } - - /// Types of results to return in response. - List? get resultTypeOutput => _resultTypeOutput; - List? _resultTypeOutput; - set resultTypeOutput(List? val) { - _resultTypeOutput = val; - _set({"resultTypeOutput": val?.map((e) => e.value).toList()}); - } - - /// This option allows limiting MRZ formats to be recognized by specifying - /// them in array. - List? get mrzFormatsFilter => _mrzFormatsFilter; - List? _mrzFormatsFilter; - set mrzFormatsFilter(List? val) { - _mrzFormatsFilter = val; - _set({"mrzFormatsFilter": val?.map((e) => e.value).toList()}); - } - - /// Array of specific eligible document types to recognize from. You may, - /// for example, specify only passports to be recognized by setting this property. - List? get documentGroupFilter => _documentGroupFilter; - List? _documentGroupFilter; - set documentGroupFilter(List? val) { - _documentGroupFilter = val; - _set({"documentGroupFilter": val?.map((e) => e.value).toList()}); - } - - /// The list of LCID types to ignore during the recognition. - /// If empty, values with all LCID types will be extracted. - /// Narrowing down the list can reduce processing time. - List? get lcidIgnoreFilter => _lcidIgnoreFilter; - List? _lcidIgnoreFilter; - set lcidIgnoreFilter(List? val) { - _lcidIgnoreFilter = val; - _set({"lcidIgnoreFilter": val?.map((e) => e.value).toList()}); - } - - /// The whitelist of LCID types to use during the recognition. - List? get lcidFilter => _lcidFilter; - List? _lcidFilter; - set lcidFilter(List? val) { - _lcidFilter = val; - _set({"lcidFilter": val?.map((e) => e.value).toList()}); - } - - /// Controls properties of [ImageQA] checks. - ImageQA get imageQA => _imageQA; - ImageQA _imageQA = ImageQA(); - set imageQA(ImageQA val) { - (_imageQA = val)._apply(this); - } - - /// Custom RFID params. - RFIDParams? get rfidParams => _rfidParams; - RFIDParams? _rfidParams; - set rfidParams(RFIDParams? val) { - _rfidParams = val; - _set({"rfidParams": val?.toJson()}); - } - - /// Custom Face API integration params. - FaceApiParams? get faceApiParams => _faceApiParams; - FaceApiParams? _faceApiParams; - set faceApiParams(FaceApiParams? val) { - _faceApiParams = val; - _set({"faceApiParams": val?.toJson()}); - } - - /// Set up the backend processing service parameters. - BackendProcessingConfig? get backendProcessingConfig => - _backendProcessingConfig; - BackendProcessingConfig? _backendProcessingConfig; - set backendProcessingConfig(BackendProcessingConfig? val) { - _backendProcessingConfig = val; - _set({"backendProcessingConfig": val?.toJson()}); - } - - AuthenticityParams get authenticityParams => _authenticityParams; - AuthenticityParams _authenticityParams = AuthenticityParams(); - set authenticityParams(AuthenticityParams val) { - (_authenticityParams = val)._apply(this); - } - - /// Takes JSON with parameters that are not presented in the DocumentReader. - Map? get customParams => _customParams; - Map? _customParams; - set customParams(Map? val) { - _customParams = val; - _set({"customParams": val}); - } - - /// Allows you to deserialize object. - static ProcessParams fromJson(jsonObject) { - var result = ProcessParams(); - result.testSetters = {}; - - result.multipageProcessing = jsonObject["multipageProcessing"]; - result.logs = jsonObject["logs"]; - result.debugSaveImages = jsonObject["debugSaveImages"]; - result.debugSaveLogs = jsonObject["debugSaveLogs"]; - result.returnUncroppedImage = jsonObject["returnUncroppedImage"]; - result.uvTorchEnabled = jsonObject["uvTorchEnabled"]; - result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"]; - result.disableFocusingCheck = jsonObject["disableFocusingCheck"]; - result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"]; - result.doublePageSpread = jsonObject["doublePageSpread"]; - result.manualCrop = jsonObject["manualCrop"]; - result.integralImage = jsonObject["integralImage"]; - result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"]; - result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"]; - result.depersonalizeLog = jsonObject["depersonalizeLog"]; - result.generateDoublePageSpreadImage = - jsonObject["generateDoublePageSpreadImage"]; - result.alreadyCropped = jsonObject["alreadyCropped"]; - result.matchTextFieldMask = jsonObject["matchTextFieldMask"]; - result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"]; - result.noGraphics = jsonObject["noGraphics"]; - result.multiDocOnImage = jsonObject["multiDocOnImage"]; - result.forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"]; - result.parseBarcodes = jsonObject["parseBarcodes"]; - result.shouldReturnPackageForReprocess = - jsonObject["shouldReturnPackageForReprocess"]; - result.disablePerforationOCR = jsonObject["disablePerforationOCR"]; - result.respectImageQuality = jsonObject["respectImageQuality"]; - result.splitNames = jsonObject["splitNames"]; - result.useFaceApi = jsonObject["useFaceApi"]; - result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]; - // ignore: deprecated_member_use_from_same_package - result.checkHologram = jsonObject["checkHologram"]; - - result.measureSystem = - MeasureSystem.getByValue(jsonObject["measureSystem"]); - result.barcodeParserType = jsonObject["barcodeParserType"]; - result.perspectiveAngle = jsonObject["perspectiveAngle"]; - result.minDPI = jsonObject["minDPI"]; - result.imageDpiOutMax = jsonObject["imageDpiOutMax"]; - result.forceDocID = jsonObject["forceDocID"]; - result.forceDocFormat = DocFormat.getByValue(jsonObject["forceDocFormat"]); - result.shiftExpiryDate = jsonObject["shiftExpiryDate"]; - result.minimalHolderAge = jsonObject["minimalHolderAge"]; - result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"]; - result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]; - result.processAuth = jsonObject["processAuth"]; - result.convertCase = jsonObject["convertCase"]; - - result.dateFormat = jsonObject["dateFormat"]; - result.scenario = Scenario.getByValue(jsonObject["scenario"]); - result.captureButtonScenario = - Scenario.getByValue(jsonObject["captureButtonScenario"]); - result.sessionLogFolder = jsonObject["sessionLogFolder"]; - - result.timeout = _toDouble(jsonObject["timeout"]); - result.timeoutFromFirstDetect = - _toDouble(jsonObject["timeoutFromFirstDetect"]); - result.timeoutFromFirstDocType = - _toDouble(jsonObject["timeoutFromFirstDocType"]); - result.documentAreaMin = _toDouble(jsonObject["documentAreaMin"]); - - result.documentIDList = jsonObject["documentIDList"] == null - ? null - : List.from(jsonObject["documentIDList"]); - result.barcodeTypes = BarcodeType.fromIntList(jsonObject["barcodeTypes"]); - - result.fieldTypesFilter = - FieldType.fromIntList(jsonObject["fieldTypesFilter"]); - result.resultTypeOutput = - ResultType.fromIntList(jsonObject["resultTypeOutput"]); - result.mrzFormatsFilter = - MRZFormat.fromStringList(jsonObject["mrzFormatsFilter"]); - result.documentGroupFilter = - DocType.fromIntList(jsonObject["documentGroupFilter"]); - result.lcidIgnoreFilter = LCID.fromIntList(jsonObject["lcidIgnoreFilter"]); - result.lcidFilter = LCID.fromIntList(jsonObject["lcidFilter"]); - - result.imageQA = ImageQA.fromJson(jsonObject["imageQA"]); - result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"]); - result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"]); - result.backendProcessingConfig = - BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"]); - result.authenticityParams = - AuthenticityParams.fromJson(jsonObject["authenticityParams"]); - - result.customParams = jsonObject["customParams"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "multipageProcessing": multipageProcessing, - "debugSaveImages": debugSaveImages, - "debugSaveLogs": debugSaveLogs, - "returnUncroppedImage": returnUncroppedImage, - "uvTorchEnabled": uvTorchEnabled, - "debugSaveCroppedImages": debugSaveCroppedImages, - "disableFocusingCheck": disableFocusingCheck, - "debugSaveRFIDSession": debugSaveRFIDSession, - "doublePageSpread": doublePageSpread, - "manualCrop": manualCrop, - "integralImage": integralImage, - "returnCroppedBarcode": returnCroppedBarcode, - "checkRequiredTextFields": checkRequiredTextFields, - "depersonalizeLog": depersonalizeLog, - "generateDoublePageSpreadImage": generateDoublePageSpreadImage, - "alreadyCropped": alreadyCropped, - "matchTextFieldMask": matchTextFieldMask, - "updateOCRValidityByGlare": updateOCRValidityByGlare, - "noGraphics": noGraphics, - "multiDocOnImage": multiDocOnImage, - "forceReadMrzBeforeLocate": forceReadMrzBeforeLocate, - "parseBarcodes": parseBarcodes, - "shouldReturnPackageForReprocess": shouldReturnPackageForReprocess, - "disablePerforationOCR": disablePerforationOCR, - "respectImageQuality": respectImageQuality, - "splitNames": splitNames, - "useFaceApi": useFaceApi, - "useAuthenticityCheck": useAuthenticityCheck, - // ignore: deprecated_member_use_from_same_package - "checkHologram": checkHologram, - "measureSystem": measureSystem?.value, - "barcodeParserType": barcodeParserType, - "perspectiveAngle": perspectiveAngle, - "minDPI": minDPI, - "imageDpiOutMax": imageDpiOutMax, - "forceDocID": forceDocID, - "forceDocFormat": forceDocFormat?.value, - "shiftExpiryDate": shiftExpiryDate, - "minimalHolderAge": minimalHolderAge, - "imageOutputMaxHeight": imageOutputMaxHeight, - "imageOutputMaxWidth": imageOutputMaxWidth, - "processAuth": processAuth, - "convertCase": convertCase, - "dateFormat": dateFormat, - "scenario": scenario?.value, - "captureButtonScenario": captureButtonScenario?.value, - "sessionLogFolder": sessionLogFolder, - "timeout": timeout, - "timeoutFromFirstDetect": timeoutFromFirstDetect, - "timeoutFromFirstDocType": timeoutFromFirstDocType, - "documentAreaMin": documentAreaMin, - "documentIDList": documentIDList, - "barcodeTypes": barcodeTypes?.map((e) => e.value).toList(), - "fieldTypesFilter": fieldTypesFilter?.map((e) => e.value).toList(), - "resultTypeOutput": resultTypeOutput?.map((e) => e.value).toList(), - "mrzFormatsFilter": mrzFormatsFilter?.map((e) => e.value).toList(), - "documentGroupFilter": - documentGroupFilter?.map((e) => e.value).toList(), - "lcidIgnoreFilter": lcidIgnoreFilter?.map((e) => e.value).toList(), - "lcidFilter": lcidFilter?.map((e) => e.value).toList(), - "imageQA": imageQA.toJson(), - "rfidParams": rfidParams?.toJson(), - "faceApiParams": faceApiParams?.toJson(), - "backendProcessingConfig": backendProcessingConfig?.toJson(), - "authenticityParams": authenticityParams.toJson(), - "customParams": customParams, - }.clearNulls(); - - void _set(Map json) { - if (identical(this, DocumentReader.instance.processParams)) - _bridge.invokeMethod("setProcessParams", [json]); - testSetters.addAll(json); - } - - void _apply() => _set(toJson()); - - @visibleForTesting - Map testSetters = {}; -} - -/// The constants of the enumeration identify the system -/// for measuring distances and weight. -enum MeasureSystem { - /// The Metric System of Measurement, which uses the measuring units - /// such as meters and grams and adds prefixes like kilo, milli - /// and centi to count orders of magnitude. - METRIC(0), - - /// The Imperial System of Measurement, where things are measured in feet, - /// inches and pounds. - IMPERIAL(1); - - const MeasureSystem(this.value); - final int value; - - static MeasureSystem? getByValue(int? i) { - if (i == null) return null; - return MeasureSystem.values.firstWhere((x) => x.value == i); - } -} - -enum MRZFormat { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(""), - - FORMAT_1X30("1x30"), - - FORMAT_3X30("3x30"), - - FORMAT_2X36("2x36"), - - FORMAT_2X44("2x44"), - - FORMAT_1X6("1x6"), - - FORMAT_2X30("2x30"); - - const MRZFormat(this.value); - final String value; - - static MRZFormat? getByValue(String? i) { - if (i == null) return null; - try { - return MRZFormat.values.firstWhere((x) => x.value == i); - } catch (_) { - return MRZFormat.UNKNOWN; - } - } - - static List? fromStringList(List? input) { - if (input == null) return null; - List list = []; - for (String item in input) list.addSafe(getByValue(item)); - return list; - } -} diff --git a/lib/src/params/process_params/RFIDParams.dart b/lib/src/params/process_params/RFIDParams.dart deleted file mode 100644 index ac694cbf81..0000000000 --- a/lib/src/params/process_params/RFIDParams.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// RfidParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class RFIDParams { - /// A list of notification codes that should be ignored during - /// passive authentication (PA). - List? get paIgnoreNotificationCodes => _paIgnoreNotificationCodes; - List? _paIgnoreNotificationCodes; - - RFIDParams({List? paIgnoreNotificationCodes}) - : _paIgnoreNotificationCodes = paIgnoreNotificationCodes; - - /// Allows you to deserialize object. - static RFIDParams? fromJson(jsonObject) { - if (jsonObject == null) return null; - return RFIDParams( - paIgnoreNotificationCodes: jsonObject["paIgnoreNotificationCodes"] == null - ? null - : List.from(jsonObject["paIgnoreNotificationCodes"]), - ); - } - - /// Allows you to serialize object. - Map toJson() => { - "paIgnoreNotificationCodes": paIgnoreNotificationCodes, - }.clearNulls(); -} diff --git a/lib/src/params/process_params/authenticity_params.dart b/lib/src/params/process_params/authenticity_params.dart new file mode 100644 index 0000000000..f58c8de7d2 --- /dev/null +++ b/lib/src/params/process_params/authenticity_params.dart @@ -0,0 +1,184 @@ +// +// AuthenticityParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class AuthenticityParams { + /// This parameter is used to enable document liveness check. + bool? get useLivenessCheck => _useLivenessCheck; + bool? _useLivenessCheck; + set useLivenessCheck(bool? val) { + _useLivenessCheck = val; + _set({"useLivenessCheck": val}); + } + + LivenessParams get livenessParams => _livenessParams; + LivenessParams _livenessParams = LivenessParams(); + set livenessParams(LivenessParams val) { + (_livenessParams = val)._apply(this); + } + + bool? get checkUVLuminiscence => _checkUVLuminiscence; + bool? _checkUVLuminiscence; + set checkUVLuminiscence(bool? val) { + _checkUVLuminiscence = val; + _set({"checkUVLuminiscence": val}); + } + + bool? get checkIRB900 => _checkIRB900; + bool? _checkIRB900; + set checkIRB900(bool? val) { + _checkIRB900 = val; + _set({"checkIRB900": val}); + } + + bool? get checkImagePatterns => _checkImagePatterns; + bool? _checkImagePatterns; + set checkImagePatterns(bool? val) { + _checkImagePatterns = val; + _set({"checkImagePatterns": val}); + } + + bool? get checkFibers => _checkFibers; + bool? _checkFibers; + set checkFibers(bool? val) { + _checkFibers = val; + _set({"checkFibers": val}); + } + + bool? get checkExtMRZ => _checkExtMRZ; + bool? _checkExtMRZ; + set checkExtMRZ(bool? val) { + _checkExtMRZ = val; + _set({"checkExtMRZ": val}); + } + + bool? get checkExtOCR => _checkExtOCR; + bool? _checkExtOCR; + set checkExtOCR(bool? val) { + _checkExtOCR = val; + _set({"checkExtOCR": val}); + } + + bool? get checkAxial => _checkAxial; + bool? _checkAxial; + set checkAxial(bool? val) { + _checkAxial = val; + _set({"checkAxial": val}); + } + + bool? get checkBarcodeFormat => _checkBarcodeFormat; + bool? _checkBarcodeFormat; + set checkBarcodeFormat(bool? val) { + _checkBarcodeFormat = val; + _set({"checkBarcodeFormat": val}); + } + + bool? get checkIRVisibility => _checkIRVisibility; + bool? _checkIRVisibility; + set checkIRVisibility(bool? val) { + _checkIRVisibility = val; + _set({"checkIRVisibility": val}); + } + + bool? get checkIPI => _checkIPI; + bool? _checkIPI; + set checkIPI(bool? val) { + _checkIPI = val; + _set({"checkIPI": val}); + } + + bool? get checkPhotoEmbedding => _checkPhotoEmbedding; + bool? _checkPhotoEmbedding; + set checkPhotoEmbedding(bool? val) { + _checkPhotoEmbedding = val; + _set({"checkPhotoEmbedding": val}); + } + + bool? get checkPhotoComparison => _checkPhotoComparison; + bool? _checkPhotoComparison; + set checkPhotoComparison(bool? val) { + _checkPhotoComparison = val; + _set({"checkPhotoComparison": val}); + } + + bool? get checkLetterScreen => _checkLetterScreen; + bool? _checkLetterScreen; + set checkLetterScreen(bool? val) { + _checkLetterScreen = val; + _set({"checkLetterScreen": val}); + } + + bool? get checkSecurityText => _checkSecurityText; + bool? _checkSecurityText; + set checkSecurityText(bool? val) { + _checkSecurityText = val; + _set({"checkSecurityText": val}); + } + + /// Allows you to deserialize object. + static AuthenticityParams fromJson(jsonObject) { + if (jsonObject == null) return AuthenticityParams(); + var result = AuthenticityParams(); + result.testSetters = {}; + + result.useLivenessCheck = jsonObject["useLivenessCheck"]; + result.livenessParams = LivenessParams.fromJson( + jsonObject["livenessParams"], + ); + result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]; + result.checkIRB900 = jsonObject["checkIRB900"]; + result.checkImagePatterns = jsonObject["checkImagePatterns"]; + result.checkFibers = jsonObject["checkFibers"]; + result.checkExtMRZ = jsonObject["checkExtMRZ"]; + result.checkExtOCR = jsonObject["checkExtOCR"]; + result.checkAxial = jsonObject["checkAxial"]; + result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]; + result.checkIRVisibility = jsonObject["checkIRVisibility"]; + result.checkIPI = jsonObject["checkIPI"]; + result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]; + result.checkPhotoComparison = jsonObject["checkPhotoComparison"]; + result.checkLetterScreen = jsonObject["checkLetterScreen"]; + result.checkSecurityText = jsonObject["checkSecurityText"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "useLivenessCheck": useLivenessCheck, + "livenessParams": livenessParams.toJson(), + "checkUVLuminiscence": checkUVLuminiscence, + "checkIRB900": checkIRB900, + "checkImagePatterns": checkImagePatterns, + "checkFibers": checkFibers, + "checkExtMRZ": checkExtMRZ, + "checkExtOCR": checkExtOCR, + "checkAxial": checkAxial, + "checkBarcodeFormat": checkBarcodeFormat, + "checkIRVisibility": checkIRVisibility, + "checkIPI": checkIPI, + "checkPhotoEmbedding": checkPhotoEmbedding, + "checkPhotoComparison": checkPhotoComparison, + "checkLetterScreen": checkLetterScreen, + "checkSecurityText": checkSecurityText, + }.clearNulls(); + + void _set(Map json, {ProcessParams? directParent}) { + var parentJson = {"authenticityParams": json}; + var parent = DocumentReader.instance.processParams; + if (identical(this, parent.authenticityParams)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(ProcessParams parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/process_params/backend_processing_config.dart b/lib/src/params/process_params/backend_processing_config.dart new file mode 100644 index 0000000000..ff9e02bfab --- /dev/null +++ b/lib/src/params/process_params/backend_processing_config.dart @@ -0,0 +1,64 @@ +// +// BackendProcessingConfig.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class BackendProcessingConfig { + String get url => _url; + String _url; + + Map? get httpHeaders => _httpHeaders; + Map? _httpHeaders; + + bool? get rfidServerSideChipVerification => _rfidServerSideChipVerification; + bool? _rfidServerSideChipVerification; + + bool? get mdlVerification => _mdlVerification; + bool? _mdlVerification; + + /// Timeout in seconds that can be configured for backend transaction creation and package finalization. + double? get timeoutConnection => _timeoutConnection; + double? _timeoutConnection; + + BackendProcessingConfig( + String url, { + bool? rfidServerSideChipVerification, + bool? mdlVerification, + Map? httpHeaders, + double? timeoutConnection, + }) : _url = url, + _rfidServerSideChipVerification = rfidServerSideChipVerification, + _mdlVerification = mdlVerification, + _httpHeaders = httpHeaders, + _timeoutConnection = timeoutConnection; + + /// Allows you to deserialize object. + static BackendProcessingConfig? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = BackendProcessingConfig(jsonObject["url"]); + + result._rfidServerSideChipVerification = + jsonObject["rfidServerSideChipVerification"]; + result._mdlVerification = jsonObject["mdlVerification"]; + if (jsonObject["httpHeaders"] != null) { + result._httpHeaders = Map.from(jsonObject["httpHeaders"]); + } + result._timeoutConnection = _toDouble(jsonObject["timeoutConnection"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "url": url, + "rfidServerSideChipVerification": rfidServerSideChipVerification, + "mdlVerification": mdlVerification, + "httpHeaders": httpHeaders, + "timeoutConnection": timeoutConnection, + }.clearNulls(); +} diff --git a/lib/src/params/process_params/bsi.dart b/lib/src/params/process_params/bsi.dart new file mode 100644 index 0000000000..843215cb35 --- /dev/null +++ b/lib/src/params/process_params/bsi.dart @@ -0,0 +1,22 @@ +part of "../../../flutter_document_reader_api.dart"; + +class Bsi { + bool? _generateResult; + + Bsi({ + bool? generateResult, + }) : _generateResult = generateResult; + + /// Allows you to deserialize object. + static Bsi? fromJson(jsonObject) { + if (jsonObject == null) return null; + return Bsi( + generateResult: jsonObject["generateResult"], + ); + } + + /// Allows you to serialize object. + Map toJson() => { + "generateResult": _generateResult, + }.clearNulls(); +} diff --git a/lib/src/params/process_params/face_api_params.dart b/lib/src/params/process_params/face_api_params.dart new file mode 100644 index 0000000000..6713b505d8 --- /dev/null +++ b/lib/src/params/process_params/face_api_params.dart @@ -0,0 +1,90 @@ +// +// FaceApiParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class FaceApiParams { + /// The URL of the Regula Face SDK service instance to be used. + String get url => _url; + String _url = "https://faceapi.regulaforensics.com"; + + /// The processing mode: "match" or "match+search". + String get mode => _mode; + String _mode = "match"; + + /// The similarity threshold, 0-100. Above 75 means that the faces' similarity + /// is verified, below 75 is not. + int get threshold => _threshold; + int _threshold = 75; + + /// A search filter that can be applied if the "match+search" mode is enabled. + FaceApiSearchParams? get searchParams => _searchParams; + FaceApiSearchParams? _searchParams; + + /// The service request timeout, ms. + int get serviceTimeout => _serviceTimeout; + int _serviceTimeout = 3000; + + /// Proxy to use, should be set according to the cURL standart. + String? get proxy => _proxy; + String? _proxy; + + /// Username and password to use for proxy authentication, + /// should be set according to the cURL standart. + String? get proxyPassword => _proxyPassword; + String? _proxyPassword; + + /// Proxy protocol type, should be set according to the cURL standart. + int? get proxyType => _proxyType; + int? _proxyType; + + FaceApiParams({ + String url = "https://faceapi.regulaforensics.com", + String mode = "match", + int threshold = 75, + FaceApiSearchParams? searchParams, + int serviceTimeout = 3000, + String? proxy, + String? proxyPassword, + int? proxyType, + }) : _url = url, + _mode = mode, + _threshold = threshold, + _searchParams = searchParams, + _serviceTimeout = serviceTimeout, + _proxy = proxy, + _proxyPassword = proxyPassword, + _proxyType = proxyType; + + /// Allows you to deserialize object. + static FaceApiParams? fromJson(jsonObject) { + if (jsonObject == null) return null; + return FaceApiParams( + url: jsonObject["url"], + mode: jsonObject["mode"], + searchParams: FaceApiSearchParams.fromJson(jsonObject["searchParams"]), + threshold: jsonObject["threshold"], + serviceTimeout: jsonObject["serviceTimeout"], + proxy: jsonObject["proxy"], + proxyPassword: jsonObject["proxyPassword"], + proxyType: jsonObject["proxyType"], + ); + } + + /// Allows you to serialize object. + Map toJson() => { + "url": url, + "mode": mode, + "threshold": threshold, + "serviceTimeout": serviceTimeout, + "proxy": proxy, + "proxyPassword": proxyPassword, + "proxyType": proxyType, + "searchParams": searchParams?.toJson(), + }.clearNulls(); +} diff --git a/lib/src/params/process_params/face_api_search_params.dart b/lib/src/params/process_params/face_api_search_params.dart new file mode 100644 index 0000000000..59fa459929 --- /dev/null +++ b/lib/src/params/process_params/face_api_search_params.dart @@ -0,0 +1,51 @@ +// +// FaceApiSearchParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class FaceApiSearchParams { + /// The number of returned Persons limit. + int get limit => _limit; + int _limit; + + /// The similarity distance threshold, should be between 0.0 and 2.0, + /// where 0.0 is for returning results for only the most similar persons + /// and 2.0 is for all the persons, even the dissimilar ones. + /// If not set, the default 1.0 value is used. + double get threshold => _threshold; + double _threshold; + + /// The IDs of the groups in which the search is performed. + List? get groupIds => _groupIds; + List? _groupIds; + + FaceApiSearchParams({ + int limit = 100, + double threshold = 1, + List? groupIds, + }) : _limit = limit, + _threshold = threshold, + _groupIds = groupIds; + + /// Allows you to deserialize object. + static FaceApiSearchParams? fromJson(jsonObject) { + if (jsonObject == null) return null; + return FaceApiSearchParams( + limit: jsonObject["limit"], + threshold: _toDouble(jsonObject["threshold"])!, + groupIds: _stringListFrom(jsonObject["groupIds"]), + ); + } + + /// Allows you to serialize object. + Map toJson() => { + "limit": limit, + "threshold": threshold, + "groupIds": groupIds, + }.clearNulls(); +} diff --git a/lib/src/params/process_params/glares_check_params.dart b/lib/src/params/process_params/glares_check_params.dart new file mode 100644 index 0000000000..f4c3185966 --- /dev/null +++ b/lib/src/params/process_params/glares_check_params.dart @@ -0,0 +1,40 @@ +// +// GlaresCheckParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class GlaresCheckParams { + /// Part of margin from the edges of the image that is ignored by glares check. + /// Example: value 0.07 is 7% of image area is ignored. + double? get imgMarginPart => _imgMarginPart; + double? _imgMarginPart; + + /// The maximum allowable part of glared area. + /// Example: value 0.1 is 10% allowed. + double? get maxGlaringPart => _maxGlaringPart; + double? _maxGlaringPart; + + GlaresCheckParams({double? imgMarginPart, double? maxGlaringPart}) + : _imgMarginPart = imgMarginPart, + _maxGlaringPart = maxGlaringPart; + + /// Allows you to deserialize object. + static GlaresCheckParams? fromJson(jsonObject) { + if (jsonObject == null) return null; + return GlaresCheckParams( + imgMarginPart: _toDouble(jsonObject["imgMarginPart"]), + maxGlaringPart: _toDouble(jsonObject["maxGlaringPart"]), + ); + } + + /// Allows you to serialize object. + Map toJson() => { + "imgMarginPart": imgMarginPart, + "maxGlaringPart": maxGlaringPart, + }.clearNulls(); +} diff --git a/lib/src/params/process_params/image_qa.dart b/lib/src/params/process_params/image_qa.dart new file mode 100644 index 0000000000..fe579d5114 --- /dev/null +++ b/lib/src/params/process_params/image_qa.dart @@ -0,0 +1,164 @@ +// +// ImageQA.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Class contains properties to configure image quality. +class ImageQA { + /// This parameter sets threshold for Image QA check of the presented + /// document physical dpi. If actual document dpi is below this threshold, + /// check will fail. + int? get dpiThreshold => _dpiThreshold; + int? _dpiThreshold; + set dpiThreshold(int? val) { + _dpiThreshold = val; + _set({"dpiThreshold": val}); + } + + /// This parameter sets threshold for Image QA check of the presented + /// document perspective angle in degrees. If actual document perspective + /// angle is above this threshold, check will fail. + int? get angleThreshold => _angleThreshold; + int? _angleThreshold; + set angleThreshold(int? val) { + _angleThreshold = val; + _set({"angleThreshold": val}); + } + + /// This option disabled focus check during performing image quality validation. + bool? get focusCheck => _focusCheck; + bool? _focusCheck; + set focusCheck(bool? val) { + _focusCheck = val; + _set({"focusCheck": val}); + } + + /// This option disabled glares check during performing image quality validation. + bool? get glaresCheck => _glaresCheck; + bool? _glaresCheck; + set glaresCheck(bool? val) { + _glaresCheck = val; + _set({"glaresCheck": val}); + } + + /// Parameters for glares image quality validation. + GlaresCheckParams? get glaresCheckParams => _glaresCheckParams; + GlaresCheckParams? _glaresCheckParams; + set glaresCheckParams(GlaresCheckParams? val) { + _glaresCheckParams = val; + _set({"glaresCheckParams": val?.toJson()}); + } + + /// This option disabled colorness check during performing image quality validation. + bool? get colornessCheck => _colornessCheck; + bool? _colornessCheck; + set colornessCheck(bool? val) { + _colornessCheck = val; + _set({"colornessCheck": val}); + } + + /// This option disabled moire patterns check during performing image quality validation. + bool? get screenCapture => _screenCapture; + bool? _screenCapture; + set screenCapture(bool? val) { + _screenCapture = val; + _set({"screenCapture": val}); + } + + /// This option controls the quality checks that the image should pass + /// in order to be considered a valid input during the scanning process. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get expectedPass => _expectedPass; + List? _expectedPass; + set expectedPass(List? val) { + if (val != null) val = List.unmodifiable(val); + _expectedPass = val; + _set({"expectedPass": val?.map((e) => e.value).toList()}); + } + + /// Specify the minimum indent from the corners of the document to the borders + /// of the image. The value reflects the allowed percentage for the indent + /// relative to the width of the document. If it is detected that the corners + /// of the document are closer than the specified value, the status will contain + /// an error in the `DocumentReaderResults.imageQuality.imageQualityList.result` field. + int? get documentPositionIndent => _documentPositionIndent; + int? _documentPositionIndent; + set documentPositionIndent(int? val) { + _documentPositionIndent = val; + _set({"documentPositionIndent": val}); + } + + /// Set the threshold for an actual document brightness below which the check fails. + double? get brightnessThreshold => _brightnessThreshold; + double? _brightnessThreshold; + set brightnessThreshold(double? val) { + _brightnessThreshold = val; + _set({"brightnessThreshold": val}); + } + + /// This option checks document image occlusion. + bool? get occlusionCheck => _occlusionCheck; + bool? _occlusionCheck; + set occlusionCheck(bool? val) { + _occlusionCheck = val; + _set({"occlusionCheck": val}); + } + + /// Allows you to deserialize object. + static ImageQA fromJson(jsonObject) { + var result = ImageQA(); + result.testSetters = {}; + + result.dpiThreshold = jsonObject["dpiThreshold"]; + result.angleThreshold = jsonObject["angleThreshold"]; + result.focusCheck = jsonObject["focusCheck"]; + result.glaresCheck = jsonObject["glaresCheck"]; + result.colornessCheck = jsonObject["colornessCheck"]; + result.screenCapture = jsonObject["screenCapture"]; + result.expectedPass = ImageQualityCheckType.fromIntList( + jsonObject["expectedPass"], + ); + result.glaresCheckParams = GlaresCheckParams.fromJson( + jsonObject["glaresCheckParams"], + ); + result.documentPositionIndent = jsonObject["documentPositionIndent"]; + result.brightnessThreshold = _toDouble(jsonObject["brightnessThreshold"]); + result.occlusionCheck = jsonObject["occlusionCheck"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "dpiThreshold": dpiThreshold, + "angleThreshold": angleThreshold, + "documentPositionIndent": documentPositionIndent, + "focusCheck": focusCheck, + "glaresCheck": glaresCheck, + "colornessCheck": colornessCheck, + "screenCapture": screenCapture, + "expectedPass": expectedPass?.map((e) => e.value).toList(), + "glaresCheckParams": glaresCheckParams?.toJson(), + "brightnessThreshold": brightnessThreshold, + "occlusionCheck": occlusionCheck, + }.clearNulls(); + + void _set(Map json, {ProcessParams? directParent}) { + var parentJson = {"imageQA": json}; + var parent = DocumentReader.instance.processParams; + if (identical(this, parent.imageQA)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(ProcessParams parent) => _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/process_params/liveness_params.dart b/lib/src/params/process_params/liveness_params.dart new file mode 100644 index 0000000000..cc2d2c3a5e --- /dev/null +++ b/lib/src/params/process_params/liveness_params.dart @@ -0,0 +1,105 @@ +part of "../../../flutter_document_reader_api.dart"; + +class LivenessParams { + bool? get checkOVI => _checkOVI; + bool? _checkOVI; + set checkOVI(bool? val) { + _checkOVI = val; + _set({"checkOVI": val}); + } + + bool? get checkMLI => _checkMLI; + bool? _checkMLI; + set checkMLI(bool? val) { + _checkMLI = val; + _set({"checkMLI": val}); + } + + bool? get checkHolo => _checkHolo; + bool? _checkHolo; + set checkHolo(bool? val) { + _checkHolo = val; + _set({"checkHolo": val}); + } + + bool? get checkED => _checkED; + bool? _checkED; + set checkED(bool? val) { + _checkED = val; + _set({"checkED": val}); + } + + bool? get checkBlackAndWhiteCopy => _checkBlackAndWhiteCopy; + bool? _checkBlackAndWhiteCopy; + set checkBlackAndWhiteCopy(bool? val) { + _checkBlackAndWhiteCopy = val; + _set({"checkBlackAndWhiteCopy": val}); + } + + /// This parameter is used to enable Dynaprint detection. + bool? get checkDynaprint => _checkDynaprint; + bool? _checkDynaprint; + set checkDynaprint(bool? val) { + _checkDynaprint = val; + _set({"checkDynaprint": val}); + } + + bool? get checkGeometry => _checkGeometry; + bool? _checkGeometry; + set checkGeometry(bool? val) { + _checkGeometry = val; + _set({"checkGeometry": val}); + } + + /// This parameter is used to enable Barcode background check as part of the Liveness checks. + bool? get checkBarcodeBackground => _checkBarcodeBackground; + bool? _checkBarcodeBackground; + set checkBarcodeBackground(bool? val) { + _checkBarcodeBackground = val; + _set({"checkBarcodeBackground": val}); + } + + /// Allows you to deserialize object. + static LivenessParams fromJson(jsonObject) { + if (jsonObject == null) return LivenessParams(); + var result = LivenessParams(); + result.testSetters = {}; + + result.checkOVI = jsonObject["checkOVI"]; + result.checkMLI = jsonObject["checkMLI"]; + result.checkHolo = jsonObject["checkHolo"]; + result.checkED = jsonObject["checkED"]; + result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]; + result.checkDynaprint = jsonObject["checkDynaprint"]; + result.checkGeometry = jsonObject["checkGeometry"]; + result.checkBarcodeBackground = jsonObject["checkBarcodeBackground"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "checkOVI": checkOVI, + "checkMLI": checkMLI, + "checkHolo": checkHolo, + "checkED": checkED, + "checkBlackAndWhiteCopy": checkBlackAndWhiteCopy, + "checkDynaprint": checkDynaprint, + "checkGeometry": checkGeometry, + "checkBarcodeBackground": checkBarcodeBackground, + }.clearNulls(); + + void _set(Map json, {AuthenticityParams? directParent}) { + var parentJson = {"livenessParams": json}; + var parent = DocumentReader.instance.processParams.authenticityParams; + if (identical(this, parent.livenessParams)) parent._set(parentJson); + directParent?.testSetters.addAll(parentJson); + testSetters.addAll(json); + } + + void _apply(AuthenticityParams parent) => + _set(toJson(), directParent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/process_params/process_params.dart b/lib/src/params/process_params/process_params.dart new file mode 100644 index 0000000000..7932314f78 --- /dev/null +++ b/lib/src/params/process_params/process_params.dart @@ -0,0 +1,1117 @@ +part of "../../../flutter_document_reader_api.dart"; + +/// Params that influence the scanning process. +class ProcessParams { + /// If set to `true`, processing of more than one page of the document + /// (if they exist) will be triggered, otherwise, only one page will be processed. + bool? get multipageProcessing => _multipageProcessing; + bool? _multipageProcessing; + set multipageProcessing(bool? val) { + _multipageProcessing = val; + _set({"multipageProcessing": val}); + } + + /// If set to `true`, the DocumentReader logs will be shown in the console. + bool? get logs => _logs; + bool? _logs; + set logs(bool? val) { + _logs = val; + _set({"logs": val}); + } + + /// If set to `true`, images will be saved to the application's directory. + bool? get debugSaveImages => _debugSaveImages; + bool? _debugSaveImages; + set debugSaveImages(bool? val) { + _debugSaveImages = val; + _set({"debugSaveImages": val}); + } + + /// If set to `true`, text logs will be saved to the application's directory. + bool? get debugSaveLogs => _debugSaveLogs; + bool? _debugSaveLogs; + set debugSaveLogs(bool? val) { + _debugSaveLogs = val; + _set({"debugSaveLogs": val}); + } + + /// If set to `true`, an original (uncropped) image will be received, + /// which is sent for recognition. + bool? get returnUncroppedImage => _returnUncroppedImage; + bool? _returnUncroppedImage; + set returnUncroppedImage(bool? val) { + _returnUncroppedImage = val; + _set({"returnUncroppedImage": val}); + } + + /// Set to `true` when torch is connected and enabled by user. + /// + /// Android only. + bool? get uvTorchEnabled => _uvTorchEnabled; + bool? _uvTorchEnabled; + set uvTorchEnabled(bool? val) { + _uvTorchEnabled = val; + _set({"uvTorchEnabled": val}); + } + + /// If set to `true`, cropped images will be saved to the application's directory. + bool? get debugSaveCroppedImages => _debugSaveCroppedImages; + bool? _debugSaveCroppedImages; + set debugSaveCroppedImages(bool? val) { + _debugSaveCroppedImages = val; + _set({"debugSaveCroppedImages": val}); + } + + /// If set to `true`, document focus check will be omitted. + bool? get disableFocusingCheck => _disableFocusingCheck; + bool? _disableFocusingCheck; + set disableFocusingCheck(bool? val) { + _disableFocusingCheck = val; + _set({"disableFocusingCheck": val}); + } + + /// If set to `true`, RFID sessions will be saved to the application's directory. + bool? get debugSaveRFIDSession => _debugSaveRFIDSession; + bool? _debugSaveRFIDSession; + set debugSaveRFIDSession(bool? val) { + _debugSaveRFIDSession = val; + _set({"debugSaveRFIDSession": val}); + } + + /// If set to `true`, allows to process up to two pages of the document + /// (so-called "a double-page spread") for one-shot if they are presented + /// on the frame (image). + bool? get doublePageSpread => _doublePageSpread; + bool? _doublePageSpread; + set doublePageSpread(bool? val) { + _doublePageSpread = val; + _set({"doublePageSpread": val}); + } + + /// If set to `true`, allows you to manually set the document's bounds + /// after it is detected. + bool? get manualCrop => _manualCrop; + bool? _manualCrop; + set manualCrop(bool? val) { + _manualCrop = val; + _set({"manualCrop": val}); + } + + /// Allows to build an integral image, taking into account the quality of + /// fixation of each of the individual images. + bool? get integralImage => _integralImage; + bool? _integralImage; + set integralImage(bool? val) { + _integralImage = val; + _set({"integralImage": val}); + } + + /// If set to `true`, an image with cropped barcode will be returned. + bool? get returnCroppedBarcode => _returnCroppedBarcode; + bool? _returnCroppedBarcode; + set returnCroppedBarcode(bool? val) { + _returnCroppedBarcode = val; + _set({"returnCroppedBarcode": val}); + } + + /// If set to `true`, in case required fields are not read, their values + /// will be empty. + bool? get checkRequiredTextFields => _checkRequiredTextFields; + bool? _checkRequiredTextFields; + set checkRequiredTextFields(bool? val) { + _checkRequiredTextFields = val; + _set({"checkRequiredTextFields": val}); + } + + /// If set to `true`, personal information will be removed from logs. + bool? get depersonalizeLog => _depersonalizeLog; + bool? _depersonalizeLog; + set depersonalizeLog(bool? val) { + _depersonalizeLog = val; + _set({"depersonalizeLog": val}); + } + + /// When enabled together with [doublePageSpread] and there is a passport + /// with two pages spread in the image, pages will be cropped, straightened + /// and aligned together, as if the document was captured on a flatbed scanner. + bool? get generateDoublePageSpreadImage => _generateDoublePageSpreadImage; + bool? _generateDoublePageSpreadImage; + set generateDoublePageSpreadImage(bool? val) { + _generateDoublePageSpreadImage = val; + _set({"generateDoublePageSpreadImage": val}); + } + + /// This option can be set to `true` if you know for sure that the image you + /// provide contains already cropped document by its edges. This was designed + /// to process on the server side images captured and cropped on mobile. + bool? get alreadyCropped => _alreadyCropped; + bool? _alreadyCropped; + set alreadyCropped(bool? val) { + _alreadyCropped = val; + _set({"alreadyCropped": val}); + } + + /// When disabled, text field OCR will be done as is and then the recognized + /// value will be matched to the field mask for validity. If enabled, we + /// are trying to read a field value with maximum efforts to match the mask + /// and provide a correctly formatted value, making assumptions based on the + /// provided field mask in the template. + bool? get matchTextFieldMask => _matchTextFieldMask; + bool? _matchTextFieldMask; + set matchTextFieldMask(bool? val) { + _matchTextFieldMask = val; + _set({"matchTextFieldMask": val}); + } + + /// When enabled, fail OCR field validity, if there is a glare over the text + /// ƒfield on the image. + bool? get updateOCRValidityByGlare => _updateOCRValidityByGlare; + bool? _updateOCRValidityByGlare; + set updateOCRValidityByGlare(bool? val) { + _updateOCRValidityByGlare = val; + _set({"updateOCRValidityByGlare": val}); + } + + /// When enabled no graphic fields will be cropped from document image. + bool? get noGraphics => _noGraphics; + bool? _noGraphics; + set noGraphics(bool? val) { + _noGraphics = val; + _set({"noGraphics": val}); + } + + /// This option allows locating and cropping multiple documents + /// from one image if enabled. + bool? get multiDocOnImage => _multiDocOnImage; + bool? _multiDocOnImage; + set multiDocOnImage(bool? val) { + _multiDocOnImage = val; + _set({"multiDocOnImage": val}); + } + + /// When set to `false`, the Barcode code parsing will be skipped + /// and the raw information from the code will be returned instead. + bool? get parseBarcodes => _parseBarcodes; + bool? _parseBarcodes; + set parseBarcodes(bool? val) { + _parseBarcodes = val; + _set({"parseBarcodes": val}); + } + + /// When set to `true`, the `rawResults` property of the [Results] + /// will contain the encrypted containers of scanning results + /// that may be used for later reprocessing. + bool? get shouldReturnPackageForReprocess => _shouldReturnPackageForReprocess; + bool? _shouldReturnPackageForReprocess; + set shouldReturnPackageForReprocess(bool? val) { + _shouldReturnPackageForReprocess = val; + _set({"shouldReturnPackageForReprocess": val}); + } + + /// When enabled, OCR of perforated fields in the document template + /// will not be performed. + bool? get disablePerforationOCR => _disablePerforationOCR; + bool? _disablePerforationOCR; + set disablePerforationOCR(bool? val) { + _disablePerforationOCR = val; + _set({"disablePerforationOCR": val}); + } + + /// When enabled, image quality checks status affects document optical + /// and overall status. + @Deprecated("Use `strictImageQuality` instead.") + bool? get respectImageQuality => _respectImageQuality; + bool? _respectImageQuality; + @Deprecated("Use `strictImageQuality` instead.") + set respectImageQuality(bool? val) { + _respectImageQuality = val; + _set({"respectImageQuality": val}); + } + + /// When enabled, the image quality check status affects the document optical and overall status. + bool? get strictImageQuality => _strictImageQuality; + bool? _strictImageQuality; + set strictImageQuality(bool? val) { + _strictImageQuality = val; + _set({"strictImageQuality": val}); + } + + /// When enabled, the Surname and GivenNames field ([TextField]) + /// will be divided into fields with fieldTypes [FieldType.FIRST_NAME], + /// [FieldType.SECOND_NAME], [FieldType.THIRD_NAME], [FieldType.LAST_NAME]. + bool? get splitNames => _splitNames; + bool? _splitNames; + set splitNames(bool? val) { + _splitNames = val; + _set({"splitNames": val}); + } + + /// Use this property to set up the Face API integration. + bool? get useFaceApi => _useFaceApi; + bool? _useFaceApi; + set useFaceApi(bool? val) { + _useFaceApi = val; + _set({"useFaceApi": val}); + } + + /// This parameter is used to enable document authenticity check. + bool? get useAuthenticityCheck => _useAuthenticityCheck; + bool? _useAuthenticityCheck; + set useAuthenticityCheck(bool? val) { + _useAuthenticityCheck = val; + _set({"useAuthenticityCheck": val}); + } + + @Deprecated("Use `authenticityParams.checkLiveness` instead.") + bool? get checkHologram => _checkHologram; + bool? _checkHologram; + @Deprecated("Use `authenticityParams.checkLiveness` instead.") + set checkHologram(bool? val) { + _checkHologram = val; + _set({"checkHologram": val}); + } + + /// This parameter is used to generate numeric representation for issuing state and nationality codes. + bool? get generateNumericCodes => _generateNumericCodes; + bool? _generateNumericCodes; + set generateNumericCodes(bool? val) { + _generateNumericCodes = val; + _set({"generateNumericCodes": val}); + } + + /// If the certificates required for performing the Digital signature check are missing, + /// this parameter if enabled will make the Barcode format check failed. + bool? get strictBarcodeDigitalSignatureCheck => + _strictBarcodeDigitalSignatureCheck; + bool? _strictBarcodeDigitalSignatureCheck; + set strictBarcodeDigitalSignatureCheck(bool? val) { + _strictBarcodeDigitalSignatureCheck = val; + _set({"strictBarcodeDigitalSignatureCheck": val}); + } + + /// Select the longest value from the different value sources and write it to the value field + /// if comparison is done successfully. The parameter applies this logic to the personal names, + /// such as given name, surname, surname and given name, middle name and etc. + bool? get selectLongestNames => _selectLongestNames; + bool? _selectLongestNames; + set selectLongestNames(bool? val) { + _selectLongestNames = val; + _set({"selectLongestNames": val}); + } + + /// This parameter is used to generate DTCVC data. + bool? get generateDTCVC => _generateDTCVC; + bool? _generateDTCVC; + set generateDTCVC(bool? val) { + _generateDTCVC = val; + _set({"generateDTCVC": val}); + } + + /// Set to force DL categories expiry date status to either valid or not. By default, + /// if the DL category expiry date is correct, its status will be wasNotDone, otherwise error. + bool? get strictDLCategoryExpiry => _strictDLCategoryExpiry; + bool? _strictDLCategoryExpiry; + set strictDLCategoryExpiry(bool? val) { + _strictDLCategoryExpiry = val; + _set({"strictDLCategoryExpiry": val}); + } + + bool? get generateAlpha2Codes => _generateAlpha2Codes; + bool? _generateAlpha2Codes; + set generateAlpha2Codes(bool? val) { + _generateAlpha2Codes = val; + _set({"generateAlpha2Codes": val}); + } + + /// This parameter if enabled will ignore the minimum barcode resolution needed to start processing. + bool? get disableAuthResolutionFilter => _disableAuthResolutionFilter; + bool? _disableAuthResolutionFilter; + set disableAuthResolutionFilter(bool? val) { + _disableAuthResolutionFilter = val; + _set({"disableAuthResolutionFilter": val}); + } + + /// When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'. + bool? get strictSecurityChecks => _strictSecurityChecks; + bool? _strictSecurityChecks; + set strictSecurityChecks(bool? val) { + _strictSecurityChecks = val; + _set({"strictSecurityChecks": val}); + } + + /// Allows transliteration to be turned on or off. + /// Default: `true`. + bool? get returnTransliteratedFields => _returnTransliteratedFields; + bool? _returnTransliteratedFields; + set returnTransliteratedFields(bool? val) { + _returnTransliteratedFields = val; + _set({"returnTransliteratedFields": val}); + } + + bool? get checkCaptureProcessIntegrity => _checkCaptureProcessIntegrity; + bool? _checkCaptureProcessIntegrity; + set checkCaptureProcessIntegrity(bool? val) { + _checkCaptureProcessIntegrity = val; + _set({"checkCaptureProcessIntegrity": val}); + } + + /// When disabled, date of expiry doesn't affect the mrz and text statuses. + bool? get strictExpiryDate => _strictExpiryDate; + bool? _strictExpiryDate; + set strictExpiryDate(bool? val) { + _strictExpiryDate = val; + _set({"strictExpiryDate": val}); + } + + bool? get debugSaveBinarySession => _debugSaveBinarySession; + bool? _debugSaveBinarySession; + set debugSaveBinarySession(bool? val) { + _debugSaveBinarySession = val; + _set({"debugSaveBinarySession": val}); + } + + /// This parameter is used to enable Visible Digital Seal check. + bool? get checkVDS => _checkVDS; + bool? _checkVDS; + set checkVDS(bool? val) { + _checkVDS = val; + _set({"checkVDS": val}); + } + + /// When enabled, the age check status affects the overall status. + bool? get strictAgeCheck => _strictAgeCheck; + bool? _strictAgeCheck; + set strictAgeCheck(bool? val) { + _strictAgeCheck = val; + _set({"strictAgeCheck": val}); + } + + /// There are documents that contain barcodes which data can be parsed only + /// if document type verification is performed. The following property allows + /// setting the barcode parser type which should be used during recognition. + /// It allows parsing barcode data without performing document type verification. + int? get barcodeParserType => _barcodeParserType; + int? _barcodeParserType; + set barcodeParserType(int? val) { + _barcodeParserType = val; + _set({"barcodeParserType": val}); + } + + /// Allows you to set the maximum value of the deviation of the corners + /// of the document from the value of `90` degrees. + @Deprecated("since 7.6") + int? get perspectiveAngle => _perspectiveAngle; + int? _perspectiveAngle; + set perspectiveAngle(int? val) { + _perspectiveAngle = val; + _set({"perspectiveAngle": val}); + } + + /// Allows you to set the minimum acceptable DPI value of the camera frame + /// that is passed for recognition. Camera frames the DPI of which are less + /// than you set won't be passed for recognition. + int? get minDPI => _minDPI; + int? _minDPI; + set minDPI(int? val) { + _minDPI = val; + _set({"minDPI": val}); + } + + /// This option controls maximum resolution in dpi of output images. + /// Resolution will remain original in case `0` is set. + int? get imageDpiOutMax => _imageDpiOutMax; + int? _imageDpiOutMax; + set imageDpiOutMax(int? val) { + _imageDpiOutMax = val; + _set({"imageDpiOutMax": val}); + } + + /// Force use of specified document format when locating and recognizing + /// document to reduce the number of candidates. + DocFormat? get forceDocFormat => _forceDocFormat; + DocFormat? _forceDocFormat; + set forceDocFormat(DocFormat? val) { + _forceDocFormat = val; + _set({"forceDocFormat": val?.value}); + } + + /// This option allows shifting the date of expiry into the future or past + /// for number of months specified. This is useful, for example, in some cases + /// when document might be still valid for some period after original + /// expiration date to prevent negative validity status for such documents. + /// Or by shifting the date to the past will set negative validity + /// for the documents that is about to expire in a specified number of months. + int? get shiftExpiryDate => _shiftExpiryDate; + int? _shiftExpiryDate; + set shiftExpiryDate(int? val) { + _shiftExpiryDate = val; + _set({"shiftExpiryDate": val}); + } + + /// This options allows specifying the minimal age in years of the document + /// holder for the document to be considered valid. + int? get minimalHolderAge => _minimalHolderAge; + int? _minimalHolderAge; + set minimalHolderAge(int? val) { + _minimalHolderAge = val; + _set({"minimalHolderAge": val}); + } + + /// Maximum height of output images. In pixels. + int? get imageOutputMaxHeight => _imageOutputMaxHeight; + int? _imageOutputMaxHeight; + set imageOutputMaxHeight(int? val) { + _imageOutputMaxHeight = val; + _set({"imageOutputMaxHeight": val}); + } + + /// Maximum width of output images. In pixels. + int? get imageOutputMaxWidth => _imageOutputMaxWidth; + int? _imageOutputMaxWidth; + set imageOutputMaxWidth(int? val) { + _imageOutputMaxWidth = val; + _set({"imageOutputMaxWidth": val}); + } + + /// Accepts sum of [Authenticity] values. + int? get processAuth => _processAuth; + int? _processAuth; + set processAuth(int? val) { + _processAuth = val; + _set({"processAuth": val}); + } + + /// This option allows output text case transformation. + /// No changes applied by default to original values. + int? get convertCase => _convertCase; + int? _convertCase; + set convertCase(int? val) { + _convertCase = val; + _set({"convertCase": val}); + } + + /// Sets the level of logs detalization when used together with [logs] parameter. + LogLevel? get logLevel => _logLevel; + LogLevel? _logLevel; + set logLevel(LogLevel? val) { + _logLevel = val; + _set({"logLevel": val?.value}); + } + + /// Make better MRZ detection on complex noisy backgrounds, like BW photocopy of some documents. + /// Works only in the single-frame processing. + MrzDetectionModes? get mrzDetectMode => _mrzDetectMode; + MrzDetectionModes? _mrzDetectMode; + set mrzDetectMode(MrzDetectionModes? val) { + _mrzDetectMode = val; + _set({"mrzDetectMode": val?.value}); + } + + /// Measure system of fields' values that are presented in results. + /// Default: If the country code is `US` or `LR` or `MM`, the + /// [MeasureSystem.IMPERIAL] system of measurement, otherwise, the [MeasureSystem.METRIC]. + MeasureSystem? get measureSystem => _measureSystem; + MeasureSystem? _measureSystem; + set measureSystem(MeasureSystem? val) { + _measureSystem = val; + _set({"measureSystem": val?.value}); + } + + /// Force use of specific template ID and skip document type identification step. + int? get forceDocID => _forceDocID; + int? _forceDocID; + set forceDocID(int? val) { + _forceDocID = val; + _set({"forceDocID": val}); + } + + /// Maximum number of pages to be processed in a PDF document. + /// If set, only the specified number of pages will be analyzed. + int? get pdfPagesLimit => _pdfPagesLimit; + int? _pdfPagesLimit; + set pdfPagesLimit(int? val) { + _pdfPagesLimit = val; + _set({"pdfPagesLimit": val}); + } + + /// Change the format string of displayed dates in the results. + /// + /// Mask examples: `dd/mm/yyyy`, `mm/dd/yyyy`, `dd-mm-yyyy`, `mm-dd-yyyy`, `dd/mm/yy`. + /// Set to `null` to revert default value. + /// + /// Default: depends on the device's locale. + String? get dateFormat => _dateFormat; + String? _dateFormat; + set dateFormat(String? val) { + _dateFormat = val; + _set({"dateFormat": val}); + } + + /// Documents processing scenario. + Scenario? get scenario => _scenario; + Scenario? _scenario; + set scenario(Scenario? val) { + _scenario = val; + _set({"scenario": val?.value}); + } + + /// Documents processing scenario for the Capture button. + Scenario? get captureButtonScenario => _captureButtonScenario; + Scenario? _captureButtonScenario; + set captureButtonScenario(Scenario? val) { + _captureButtonScenario = val; + _set({"captureButtonScenario": val?.value}); + } + + /// Allows you to set the time limit for document recognition (in seconds), + /// beyond which the recognition does not continue regardless of its result. + /// The countdown starts from the moment the scenario starts. + /// Setting value to `0` means infinity. + double? get timeout => _timeout; + double? _timeout; + set timeout(double? val) { + _timeout = val; + _set({"timeout": val}); + } + + /// Allows you to set the time limit for document recognition (in seconds), + /// beyond which the recognition does not continue regardless of its result. + /// The countdown starts from the moment the document is detected. + /// Setting value to `0` means infinity. + double? get timeoutFromFirstDetect => _timeoutFromFirstDetect; + double? _timeoutFromFirstDetect; + set timeoutFromFirstDetect(double? val) { + _timeoutFromFirstDetect = val; + _set({"timeoutFromFirstDetect": val}); + } + + /// Allows you to set the time limit for document recognition (in seconds), + /// beyond which the recognition does not continue regardless of its result. + /// The countdown starts from the moment the document type is recognized. + /// Setting value to `0` means infinity. + double? get timeoutFromFirstDocType => _timeoutFromFirstDocType; + double? _timeoutFromFirstDocType; + set timeoutFromFirstDocType(double? val) { + _timeoutFromFirstDocType = val; + _set({"timeoutFromFirstDocType": val}); + } + + /// Specifies minimal area of the image that document should cover to be treated + /// as candidate when locating. Value should be in range from `0` to `1`, + /// where `1` is when document should fully cover the image. + double? get documentAreaMin => _documentAreaMin; + double? _documentAreaMin; + set documentAreaMin(double? val) { + _documentAreaMin = val; + _set({"documentAreaMin": val}); + } + + /// Start the countdown from the moment the document liveness authenticity check is started (in seconds). + /// Setting value to `0` means infinity. + double? get timeoutLiveness => _timeoutLiveness; + double? _timeoutLiveness; + set timeoutLiveness(double? val) { + _timeoutLiveness = val; + _set({"timeoutLiveness": val}); + } + + /// Takes the list of the document IDs to process. + /// All documents will be processed if it's empty. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get documentIDList => _documentIDList; + List? _documentIDList; + set documentIDList(List? val) { + if (val != null) val = List.unmodifiable(val); + _documentIDList = val; + _set({"documentIDList": val}); + } + + /// Set types of barcodes that you wish to recognize. + /// All barcodes will be recognized if it's empty. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get barcodeTypes => _barcodeTypes; + List? _barcodeTypes; + set barcodeTypes(List? val) { + if (val != null) val = List.unmodifiable(val); + _barcodeTypes = val; + _set({"barcodeTypes": val?.map((e) => e.value).toList()}); + } + + /// If you recognize the MRZ of documents, all fields will be extracted. + /// If you recognize the Visual zone of documents, you can set the list + /// of field types that you wish to extract, other fields will be skipped + /// during processing. All fields will be extracted if it is empty. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get fieldTypesFilter => _fieldTypesFilter; + List? _fieldTypesFilter; + set fieldTypesFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _fieldTypesFilter = val; + _set({"fieldTypesFilter": val?.map((e) => e.value).toList()}); + } + + /// Types of results to return in response. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get resultTypeOutput => _resultTypeOutput; + List? _resultTypeOutput; + set resultTypeOutput(List? val) { + if (val != null) val = List.unmodifiable(val); + _resultTypeOutput = val; + _set({"resultTypeOutput": val?.map((e) => e.value).toList()}); + } + + /// This option allows limiting MRZ formats to be recognized by specifying + /// them in array. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get mrzFormatsFilter => _mrzFormatsFilter; + List? _mrzFormatsFilter; + set mrzFormatsFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _mrzFormatsFilter = val; + _set({"mrzFormatsFilter": val?.map((e) => e.value).toList()}); + } + + /// Array of specific eligible document types to recognize from. You may, + /// for example, specify only passports to be recognized by setting this property. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get documentGroupFilter => _documentGroupFilter; + List? _documentGroupFilter; + set documentGroupFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _documentGroupFilter = val; + _set({"documentGroupFilter": val?.map((e) => e.value).toList()}); + } + + /// The list of LCID types to ignore during the recognition. + /// If empty, values with all LCID types will be extracted. + /// Narrowing down the list can reduce processing time. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get lcidIgnoreFilter => _lcidIgnoreFilter; + List? _lcidIgnoreFilter; + set lcidIgnoreFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _lcidIgnoreFilter = val; + _set({"lcidIgnoreFilter": val?.map((e) => e.value).toList()}); + } + + /// The whitelist of LCID types to use during the recognition. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get lcidFilter => _lcidFilter; + List? _lcidFilter; + set lcidFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _lcidFilter = val; + _set({"lcidFilter": val?.map((e) => e.value).toList()}); + } + + /// If a document contains a Visual zone, you can specify a list of field types that should be excluded from extraction. + /// All field types listed in this array are skipped during processing, while the remaining fields are recognized. + /// This filter is not applicable to the MRZ, barcode or RFID. If the fieldTypesIgnoreFilter is empty, all fields are extracted. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + List? get fieldTypesIgnoreFilter => _fieldTypesIgnoreFilter; + List? _fieldTypesIgnoreFilter; + set fieldTypesIgnoreFilter(List? val) { + if (val != null) val = List.unmodifiable(val); + _fieldTypesIgnoreFilter = val; + _set({"fieldTypesIgnoreFilter": val?.map((e) => e.value).toList()}); + } + + /// Controls properties of [ImageQA] checks. + ImageQA get imageQA => _imageQA; + ImageQA _imageQA = ImageQA(); + set imageQA(ImageQA val) { + (_imageQA = val)._apply(this); + } + + /// Custom RFID params. + RFIDParams? get rfidParams => _rfidParams; + RFIDParams? _rfidParams; + set rfidParams(RFIDParams? val) { + _rfidParams = val; + _set({"rfidParams": val?.toJson()}); + } + + /// Custom Face API integration params. + FaceApiParams? get faceApiParams => _faceApiParams; + FaceApiParams? _faceApiParams; + set faceApiParams(FaceApiParams? val) { + _faceApiParams = val; + _set({"faceApiParams": val?.toJson()}); + } + + /// Set up the backend processing service parameters. + BackendProcessingConfig? get backendProcessingConfig => + _backendProcessingConfig; + BackendProcessingConfig? _backendProcessingConfig; + set backendProcessingConfig(BackendProcessingConfig? val) { + _backendProcessingConfig = val; + _set({"backendProcessingConfig": val?.toJson()}); + } + + Bsi? get bsiTr03135 => _bsiTr03135; + Bsi? _bsiTr03135; + set bsiTr03135(Bsi? val) { + _bsiTr03135 = val; + _set({"bsiTr03135": val?.toJson()}); + } + + AuthenticityParams get authenticityParams => _authenticityParams; + AuthenticityParams _authenticityParams = AuthenticityParams(); + set authenticityParams(AuthenticityParams val) { + (_authenticityParams = val)._apply(this); + } + + /// Takes JSON with parameters that are not presented in the DocumentReader. + /// + /// Unmodifiable property. Use setter instead of `.remove()`, `.addAll()`, etc. + Map? get customParams => _customParams; + Map? _customParams; + set customParams(Map? val) { + if (val != null) val = Map.unmodifiable(val); + _customParams = val; + _set({"customParams": val}); + } + + /// Allows you to deserialize object. + static ProcessParams fromJson(jsonObject) { + var result = ProcessParams(); + result.testSetters = {}; + + result.multipageProcessing = jsonObject["multipageProcessing"]; + result.logs = jsonObject["logs"]; + result.debugSaveImages = jsonObject["debugSaveImages"]; + result.debugSaveLogs = jsonObject["debugSaveLogs"]; + result.returnUncroppedImage = jsonObject["returnUncroppedImage"]; + result.uvTorchEnabled = jsonObject["uvTorchEnabled"]; + result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"]; + result.disableFocusingCheck = jsonObject["disableFocusingCheck"]; + result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"]; + result.doublePageSpread = jsonObject["doublePageSpread"]; + result.manualCrop = jsonObject["manualCrop"]; + result.integralImage = jsonObject["integralImage"]; + result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"]; + result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"]; + result.depersonalizeLog = jsonObject["depersonalizeLog"]; + result.generateDoublePageSpreadImage = + jsonObject["generateDoublePageSpreadImage"]; + result.alreadyCropped = jsonObject["alreadyCropped"]; + result.matchTextFieldMask = jsonObject["matchTextFieldMask"]; + result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"]; + result.noGraphics = jsonObject["noGraphics"]; + result.multiDocOnImage = jsonObject["multiDocOnImage"]; + result.parseBarcodes = jsonObject["parseBarcodes"]; + result.shouldReturnPackageForReprocess = + jsonObject["shouldReturnPackageForReprocess"]; + result.disablePerforationOCR = jsonObject["disablePerforationOCR"]; + result.respectImageQuality = jsonObject["respectImageQuality"]; + result.strictImageQuality = jsonObject["strictImageQuality"]; + result.splitNames = jsonObject["splitNames"]; + result.useFaceApi = jsonObject["useFaceApi"]; + result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]; + result.checkHologram = jsonObject["checkHologram"]; + result.generateNumericCodes = jsonObject["generateNumericCodes"]; + result.strictBarcodeDigitalSignatureCheck = + jsonObject["strictBarcodeDigitalSignatureCheck"]; + result.selectLongestNames = jsonObject["selectLongestNames"]; + result.generateDTCVC = jsonObject["generateDTCVC"]; + result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]; + result.generateAlpha2Codes = jsonObject["generateAlpha2Codes"]; + result.disableAuthResolutionFilter = + jsonObject["disableAuthResolutionFilter"]; + result.strictSecurityChecks = jsonObject["strictSecurityChecks"]; + result.returnTransliteratedFields = + jsonObject["returnTransliteratedFields"]; + result.checkCaptureProcessIntegrity = + jsonObject["checkCaptureProcessIntegrity"]; + result.strictExpiryDate = jsonObject["strictExpiryDate"]; + result.debugSaveBinarySession = jsonObject["debugSaveBinarySession"]; + result.checkVDS = jsonObject["checkVDS"]; + result.strictAgeCheck = jsonObject["strictAgeCheck"]; + + result.measureSystem = MeasureSystem.getByValue( + jsonObject["measureSystem"], + ); + result.barcodeParserType = jsonObject["barcodeParserType"]; + result.perspectiveAngle = jsonObject["perspectiveAngle"]; + result.minDPI = jsonObject["minDPI"]; + result.imageDpiOutMax = jsonObject["imageDpiOutMax"]; + result.forceDocID = jsonObject["forceDocID"]; + result.pdfPagesLimit = jsonObject["pdfPagesLimit"]; + result.forceDocFormat = DocFormat.getByValue(jsonObject["forceDocFormat"]); + result.shiftExpiryDate = jsonObject["shiftExpiryDate"]; + result.minimalHolderAge = jsonObject["minimalHolderAge"]; + result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"]; + result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]; + result.processAuth = jsonObject["processAuth"]; + result.convertCase = jsonObject["convertCase"]; + result.logLevel = LogLevel.getByValue(jsonObject["logLevel"]); + result.mrzDetectMode = MrzDetectionModes.getByValue( + jsonObject["mrzDetectMode"], + ); + + result.dateFormat = jsonObject["dateFormat"]; + result.scenario = Scenario.getByValue(jsonObject["scenario"]); + result.captureButtonScenario = Scenario.getByValue( + jsonObject["captureButtonScenario"], + ); + + result.timeout = _toDouble(jsonObject["timeout"]); + result.timeoutFromFirstDetect = _toDouble( + jsonObject["timeoutFromFirstDetect"], + ); + result.timeoutFromFirstDocType = _toDouble( + jsonObject["timeoutFromFirstDocType"], + ); + result.documentAreaMin = _toDouble(jsonObject["documentAreaMin"]); + result.timeoutLiveness = _toDouble(jsonObject["timeoutLiveness"]); + + result.documentIDList = _intListFrom(jsonObject["documentIDList"]); + result.barcodeTypes = BarcodeType.fromIntList(jsonObject["barcodeTypes"]); + + result.fieldTypesFilter = FieldType.fromIntList( + jsonObject["fieldTypesFilter"], + ); + result.resultTypeOutput = ResultType.fromIntList( + jsonObject["resultTypeOutput"], + ); + result.mrzFormatsFilter = MRZFormat.fromStringList( + jsonObject["mrzFormatsFilter"], + ); + result.documentGroupFilter = DocType.fromIntList( + jsonObject["documentGroupFilter"], + ); + result.lcidIgnoreFilter = LCID.fromIntList(jsonObject["lcidIgnoreFilter"]); + result.lcidFilter = LCID.fromIntList(jsonObject["lcidFilter"]); + result.fieldTypesIgnoreFilter = + FieldType.fromIntList(jsonObject["fieldTypesIgnoreFilter"]); + + result.imageQA = ImageQA.fromJson(jsonObject["imageQA"]); + result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"]); + result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"]); + result.backendProcessingConfig = BackendProcessingConfig.fromJson( + jsonObject["backendProcessingConfig"], + ); + result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"]); + result.authenticityParams = AuthenticityParams.fromJson( + jsonObject["authenticityParams"], + ); + + result.customParams = jsonObject["customParams"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "multipageProcessing": multipageProcessing, + "debugSaveImages": debugSaveImages, + "debugSaveLogs": debugSaveLogs, + "returnUncroppedImage": returnUncroppedImage, + "uvTorchEnabled": uvTorchEnabled, + "debugSaveCroppedImages": debugSaveCroppedImages, + "disableFocusingCheck": disableFocusingCheck, + "debugSaveRFIDSession": debugSaveRFIDSession, + "doublePageSpread": doublePageSpread, + "manualCrop": manualCrop, + "integralImage": integralImage, + "returnCroppedBarcode": returnCroppedBarcode, + "checkRequiredTextFields": checkRequiredTextFields, + "depersonalizeLog": depersonalizeLog, + "generateDoublePageSpreadImage": generateDoublePageSpreadImage, + "alreadyCropped": alreadyCropped, + "matchTextFieldMask": matchTextFieldMask, + "updateOCRValidityByGlare": updateOCRValidityByGlare, + "noGraphics": noGraphics, + "multiDocOnImage": multiDocOnImage, + "parseBarcodes": parseBarcodes, + "shouldReturnPackageForReprocess": shouldReturnPackageForReprocess, + "disablePerforationOCR": disablePerforationOCR, + "respectImageQuality": respectImageQuality, + "strictImageQuality": strictImageQuality, + "splitNames": splitNames, + "useFaceApi": useFaceApi, + "useAuthenticityCheck": useAuthenticityCheck, + "checkHologram": checkHologram, + "generateNumericCodes": generateNumericCodes, + "strictBarcodeDigitalSignatureCheck": + strictBarcodeDigitalSignatureCheck, + "selectLongestNames": selectLongestNames, + "generateDTCVC": generateDTCVC, + "strictDLCategoryExpiry": strictDLCategoryExpiry, + "generateAlpha2Codes": generateAlpha2Codes, + "disableAuthResolutionFilter": disableAuthResolutionFilter, + "strictSecurityChecks": strictSecurityChecks, + "returnTransliteratedFields": returnTransliteratedFields, + "checkCaptureProcessIntegrity": checkCaptureProcessIntegrity, + "strictExpiryDate": strictExpiryDate, + "debugSaveBinarySession": debugSaveBinarySession, + "checkVDS": checkVDS, + "strictAgeCheck": strictAgeCheck, + "measureSystem": measureSystem?.value, + "barcodeParserType": barcodeParserType, + "perspectiveAngle": perspectiveAngle, + "minDPI": minDPI, + "imageDpiOutMax": imageDpiOutMax, + "forceDocID": forceDocID, + "pdfPagesLimit": pdfPagesLimit, + "forceDocFormat": forceDocFormat?.value, + "shiftExpiryDate": shiftExpiryDate, + "minimalHolderAge": minimalHolderAge, + "imageOutputMaxHeight": imageOutputMaxHeight, + "imageOutputMaxWidth": imageOutputMaxWidth, + "processAuth": processAuth, + "convertCase": convertCase, + "logLevel": logLevel?.value, + "mrzDetectMode": mrzDetectMode?.value, + "dateFormat": dateFormat, + "scenario": scenario?.value, + "captureButtonScenario": captureButtonScenario?.value, + "timeout": timeout, + "timeoutFromFirstDetect": timeoutFromFirstDetect, + "timeoutFromFirstDocType": timeoutFromFirstDocType, + "documentAreaMin": documentAreaMin, + "timeoutLiveness": timeoutLiveness, + "documentIDList": documentIDList, + "barcodeTypes": barcodeTypes?.map((e) => e.value).toList(), + "fieldTypesFilter": fieldTypesFilter?.map((e) => e.value).toList(), + "resultTypeOutput": resultTypeOutput?.map((e) => e.value).toList(), + "mrzFormatsFilter": mrzFormatsFilter?.map((e) => e.value).toList(), + "documentGroupFilter": + documentGroupFilter?.map((e) => e.value).toList(), + "lcidIgnoreFilter": lcidIgnoreFilter?.map((e) => e.value).toList(), + "lcidFilter": lcidFilter?.map((e) => e.value).toList(), + "fieldTypesIgnoreFilter": + fieldTypesIgnoreFilter?.map((e) => e.value).toList(), + "imageQA": imageQA.toJson(), + "rfidParams": rfidParams?.toJson(), + "faceApiParams": faceApiParams?.toJson(), + "backendProcessingConfig": backendProcessingConfig?.toJson(), + "bsiTr03135": bsiTr03135?.toJson(), + "authenticityParams": authenticityParams.toJson(), + "customParams": customParams, + }.clearNulls(); + + void _set(Map json) { + if (identical(this, DocumentReader.instance.processParams)) { + _bridge.invokeMethod("setProcessParams", [json]); + } + testSetters.addAll(json); + } + + void _apply() => _set(toJson()); + + @visibleForTesting + Map testSetters = {}; +} + +/// The constants of the enumeration identify the system +/// for measuring distances and weight. +enum MeasureSystem { + /// The Metric System of Measurement, which uses the measuring units + /// such as meters and grams and adds prefixes like kilo, milli + /// and centi to count orders of magnitude. + METRIC(0), + + /// The Imperial System of Measurement, where things are measured in feet, + /// inches and pounds. + IMPERIAL(1); + + const MeasureSystem(this.value); + final int value; + + static MeasureSystem? getByValue(int? i) { + if (i == null) return null; + return MeasureSystem.values.firstWhere((x) => x.value == i); + } +} + +enum MRZFormat { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(""), + + FORMAT_1X30("1x30"), + + FORMAT_3X30("3x30"), + + FORMAT_2X36("2x36"), + + FORMAT_2X44("2x44"), + + FORMAT_1X6("1x6"), + + FORMAT_2X30("2x30"); + + const MRZFormat(this.value); + final String value; + + static MRZFormat? getByValue(String? i) { + if (i == null) return null; + try { + return MRZFormat.values.firstWhere((x) => x.value == i); + } catch (_) { + return MRZFormat.UNKNOWN; + } + } + + static List? fromStringList(List? input) { + if (input == null) return null; + List list = []; + for (String item in input) { + list.addSafe(getByValue(item)); + } + return list; + } +} + +enum LogLevel { + /// Fatal error. + FatalError("FatalError"), + + /// Error. + Error("Error"), + + /// Warning. + Warning("Warning"), + + /// Info. + Info("Info"), + + /// Debug. + Debug("Debug"); + + const LogLevel(this.value); + final String value; + + static LogLevel? getByValue(String? i) { + if (i == null) return null; + try { + return LogLevel.values.firstWhere((x) => x.value == i); + } catch (_) { + return null; + } + } +} + +/// Enumeration contains the types of barcodes that can be processed. +enum MrzDetectionModes { + DEFAULT(0), + RESIZE_BINARIZE_WINDOW(1), + BLUR_BEFORE_BINARIZATION(2); + + const MrzDetectionModes(this.value); + final int value; + + static MrzDetectionModes? getByValue(int? i) { + if (i == null) return null; + return MrzDetectionModes.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/params/process_params/rfid_params.dart b/lib/src/params/process_params/rfid_params.dart new file mode 100644 index 0000000000..84af35f14f --- /dev/null +++ b/lib/src/params/process_params/rfid_params.dart @@ -0,0 +1,33 @@ +// +// RfidParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class RFIDParams { + /// A list of notification codes that should be ignored during + /// passive authentication (PA). + List? get paIgnoreNotificationCodes => _paIgnoreNotificationCodes; + List? _paIgnoreNotificationCodes; + + RFIDParams({List? paIgnoreNotificationCodes}) + : _paIgnoreNotificationCodes = paIgnoreNotificationCodes; + + /// Allows you to deserialize object. + static RFIDParams? fromJson(jsonObject) { + if (jsonObject == null) return null; + return RFIDParams( + paIgnoreNotificationCodes: _intListFrom( + jsonObject["paIgnoreNotificationCodes"], + ), + ); + } + + /// Allows you to serialize object. + Map toJson() => + {"paIgnoreNotificationCodes": paIgnoreNotificationCodes}.clearNulls(); +} diff --git a/lib/src/params/rfid_scenario/EDLDataGroups.dart b/lib/src/params/rfid_scenario/EDLDataGroups.dart deleted file mode 100644 index 704b24ef08..0000000000 --- a/lib/src/params/rfid_scenario/EDLDataGroups.dart +++ /dev/null @@ -1,163 +0,0 @@ -// -// EDLDataGroups.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class EDLDataGroups { - bool get dg1 => _dg1; - bool _dg1 = true; - set dg1(bool val) { - _dg1 = val; - _set({"DG1": val}); - } - - bool get dg2 => _dg2; - bool _dg2 = true; - set dg2(bool val) { - _dg2 = val; - _set({"DG2": val}); - } - - bool get dg3 => _dg3; - bool _dg3 = true; - set dg3(bool val) { - _dg3 = val; - _set({"DG3": val}); - } - - bool get dg4 => _dg4; - bool _dg4 = true; - set dg4(bool val) { - _dg4 = val; - _set({"DG4": val}); - } - - bool get dg5 => _dg5; - bool _dg5 = true; - set dg5(bool val) { - _dg5 = val; - _set({"DG5": val}); - } - - bool get dg6 => _dg6; - bool _dg6 = true; - set dg6(bool val) { - _dg6 = val; - _set({"DG6": val}); - } - - bool get dg7 => _dg7; - bool _dg7 = false; - set dg7(bool val) { - _dg7 = val; - _set({"DG7": val}); - } - - bool get dg8 => _dg8; - bool _dg8 = false; - set dg8(bool val) { - _dg8 = val; - _set({"DG8": val}); - } - - bool get dg9 => _dg9; - bool _dg9 = false; - set dg9(bool val) { - _dg9 = val; - _set({"DG9": val}); - } - - bool get dg10 => _dg10; - bool _dg10 = false; - set dg10(bool val) { - _dg10 = val; - _set({"DG10": val}); - } - - bool get dg11 => _dg11; - bool _dg11 = true; - set dg11(bool val) { - _dg11 = val; - _set({"DG11": val}); - } - - bool get dg12 => _dg12; - bool _dg12 = true; - set dg12(bool val) { - _dg12 = val; - _set({"DG12": val}); - } - - bool get dg13 => _dg13; - bool _dg13 = true; - set dg13(bool val) { - _dg13 = val; - _set({"DG13": val}); - } - - bool get dg14 => _dg14; - bool _dg14 = true; - set dg14(bool val) { - _dg14 = val; - _set({"DG14": val}); - } - - /// Allows you to deserialize object. - static EDLDataGroups fromJson(jsonObject) { - var result = EDLDataGroups(); - result.testSetters = {}; - - result.dg1 = jsonObject["DG1"]; - result.dg2 = jsonObject["DG2"]; - result.dg3 = jsonObject["DG3"]; - result.dg4 = jsonObject["DG4"]; - result.dg5 = jsonObject["DG5"]; - result.dg6 = jsonObject["DG6"]; - result.dg7 = jsonObject["DG7"]; - result.dg8 = jsonObject["DG8"]; - result.dg9 = jsonObject["DG9"]; - result.dg10 = jsonObject["DG10"]; - result.dg11 = jsonObject["DG11"]; - result.dg12 = jsonObject["DG12"]; - result.dg13 = jsonObject["DG13"]; - result.dg14 = jsonObject["DG14"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "DG1": dg1, - "DG2": dg2, - "DG3": dg3, - "DG4": dg4, - "DG5": dg5, - "DG6": dg6, - "DG7": dg7, - "DG8": dg8, - "DG9": dg9, - "DG10": dg10, - "DG11": dg11, - "DG12": dg12, - "DG13": dg13, - "DG14": dg14, - }.clearNulls(); - - void _set(Map json, {RFIDScenario? parent}) { - var rfidScenarioJson = {"eDLDataGroups": json}; - var rfidScenario = DocumentReader.instance.rfidScenario; - if (identical(this, rfidScenario.eDLDataGroups)) - rfidScenario._set(rfidScenarioJson); - parent?.testSetters.addAll(rfidScenarioJson); - testSetters.addAll(json); - } - - void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); - - Map testSetters = {}; -} diff --git a/lib/src/params/rfid_scenario/EIDDataGroups.dart b/lib/src/params/rfid_scenario/EIDDataGroups.dart deleted file mode 100644 index ad63babdbf..0000000000 --- a/lib/src/params/rfid_scenario/EIDDataGroups.dart +++ /dev/null @@ -1,227 +0,0 @@ -// -// EIDDataGroups.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class EIDDataGroups { - bool get dg1 => _dg1; - bool _dg1 = true; - set dg1(bool val) { - _dg1 = val; - _set({"DG1": val}); - } - - bool get dg2 => _dg2; - bool _dg2 = true; - set dg2(bool val) { - _dg2 = val; - _set({"DG2": val}); - } - - bool get dg3 => _dg3; - bool _dg3 = true; - set dg3(bool val) { - _dg3 = val; - _set({"DG3": val}); - } - - bool get dg4 => _dg4; - bool _dg4 = true; - set dg4(bool val) { - _dg4 = val; - _set({"DG4": val}); - } - - bool get dg5 => _dg5; - bool _dg5 = true; - set dg5(bool val) { - _dg5 = val; - _set({"DG5": val}); - } - - bool get dg6 => _dg6; - bool _dg6 = true; - set dg6(bool val) { - _dg6 = val; - _set({"DG6": val}); - } - - bool get dg7 => _dg7; - bool _dg7 = true; - set dg7(bool val) { - _dg7 = val; - _set({"DG7": val}); - } - - bool get dg8 => _dg8; - bool _dg8 = true; - set dg8(bool val) { - _dg8 = val; - _set({"DG8": val}); - } - - bool get dg9 => _dg9; - bool _dg9 = true; - set dg9(bool val) { - _dg9 = val; - _set({"DG9": val}); - } - - bool get dg10 => _dg10; - bool _dg10 = true; - set dg10(bool val) { - _dg10 = val; - _set({"DG10": val}); - } - - bool get dg11 => _dg11; - bool _dg11 = true; - set dg11(bool val) { - _dg11 = val; - _set({"DG11": val}); - } - - bool get dg12 => _dg12; - bool _dg12 = true; - set dg12(bool val) { - _dg12 = val; - _set({"DG12": val}); - } - - bool get dg13 => _dg13; - bool _dg13 = false; - set dg13(bool val) { - _dg13 = val; - _set({"DG13": val}); - } - - bool get dg14 => _dg14; - bool _dg14 = false; - set dg14(bool val) { - _dg14 = val; - _set({"DG14": val}); - } - - bool get dg15 => _dg15; - bool _dg15 = false; - set dg15(bool val) { - _dg15 = val; - _set({"DG15": val}); - } - - bool get dg16 => _dg16; - bool _dg16 = false; - set dg16(bool val) { - _dg16 = val; - _set({"DG16": val}); - } - - bool get dg17 => _dg17; - bool _dg17 = true; - set dg17(bool val) { - _dg17 = val; - _set({"DG17": val}); - } - - bool get dg18 => _dg18; - bool _dg18 = true; - set dg18(bool val) { - _dg18 = val; - _set({"DG18": val}); - } - - bool get dg19 => _dg19; - bool _dg19 = true; - set dg19(bool val) { - _dg19 = val; - _set({"DG19": val}); - } - - bool get dg20 => _dg20; - bool _dg20 = true; - set dg20(bool val) { - _dg20 = val; - _set({"DG20": val}); - } - - bool get dg21 => _dg21; - bool _dg21 = true; - set dg21(bool val) { - _dg21 = val; - _set({"DG21": val}); - } - - /// Allows you to deserialize object. - static EIDDataGroups fromJson(jsonObject) { - var result = EIDDataGroups(); - result.testSetters = {}; - - result.dg1 = jsonObject["DG1"]; - result.dg2 = jsonObject["DG2"]; - result.dg3 = jsonObject["DG3"]; - result.dg4 = jsonObject["DG4"]; - result.dg5 = jsonObject["DG5"]; - result.dg6 = jsonObject["DG6"]; - result.dg7 = jsonObject["DG7"]; - result.dg8 = jsonObject["DG8"]; - result.dg9 = jsonObject["DG9"]; - result.dg10 = jsonObject["DG10"]; - result.dg11 = jsonObject["DG11"]; - result.dg12 = jsonObject["DG12"]; - result.dg13 = jsonObject["DG13"]; - result.dg14 = jsonObject["DG14"]; - result.dg15 = jsonObject["DG15"]; - result.dg16 = jsonObject["DG16"]; - result.dg17 = jsonObject["DG17"]; - result.dg18 = jsonObject["DG18"]; - result.dg19 = jsonObject["DG19"]; - result.dg20 = jsonObject["DG20"]; - result.dg21 = jsonObject["DG21"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "DG1": dg1, - "DG2": dg2, - "DG3": dg3, - "DG4": dg4, - "DG5": dg5, - "DG6": dg6, - "DG7": dg7, - "DG8": dg8, - "DG9": dg9, - "DG10": dg10, - "DG11": dg11, - "DG12": dg12, - "DG13": dg13, - "DG14": dg14, - "DG15": dg15, - "DG16": dg16, - "DG17": dg17, - "DG18": dg18, - "DG19": dg19, - "DG20": dg20, - "DG21": dg21, - }.clearNulls(); - - void _set(Map json, {RFIDScenario? parent}) { - var rfidScenarioJson = {"eIDDataGroups": json}; - var rfidScenario = DocumentReader.instance.rfidScenario; - if (identical(this, rfidScenario.eIDDataGroups)) - rfidScenario._set(rfidScenarioJson); - parent?.testSetters.addAll(rfidScenarioJson); - testSetters.addAll(json); - } - - void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/rfid_scenario/EPassportDataGroups.dart b/lib/src/params/rfid_scenario/EPassportDataGroups.dart deleted file mode 100644 index d578da765e..0000000000 --- a/lib/src/params/rfid_scenario/EPassportDataGroups.dart +++ /dev/null @@ -1,182 +0,0 @@ -// -// EPassportDataGroups.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class EPassportDataGroups { - bool get dg1 => _dg1; - bool _dg1 = true; - set dg1(bool val) { - _dg1 = val; - _set({"DG1": val}); - } - - bool get dg2 => _dg2; - bool _dg2 = true; - set dg2(bool val) { - _dg2 = val; - _set({"DG2": val}); - } - - bool get dg3 => _dg3; - bool _dg3 = false; - set dg3(bool val) { - _dg3 = val; - _set({"DG3": val}); - } - - bool get dg4 => _dg4; - bool _dg4 = false; - set dg4(bool val) { - _dg4 = val; - _set({"DG4": val}); - } - - bool get dg5 => _dg5; - bool _dg5 = true; - set dg5(bool val) { - _dg5 = val; - _set({"DG5": val}); - } - - bool get dg6 => _dg6; - bool _dg6 = false; - set dg6(bool val) { - _dg6 = val; - _set({"DG6": val}); - } - - bool get dg7 => _dg7; - bool _dg7 = true; - set dg7(bool val) { - _dg7 = val; - _set({"DG7": val}); - } - - bool get dg8 => _dg8; - bool _dg8 = false; - set dg8(bool val) { - _dg8 = val; - _set({"DG8": val}); - } - - bool get dg9 => _dg9; - bool _dg9 = false; - set dg9(bool val) { - _dg9 = val; - _set({"DG9": val}); - } - - bool get dg10 => _dg10; - bool _dg10 = false; - set dg10(bool val) { - _dg10 = val; - _set({"DG10": val}); - } - - bool get dg11 => _dg11; - bool _dg11 = true; - set dg11(bool val) { - _dg11 = val; - _set({"DG11": val}); - } - - bool get dg12 => _dg12; - bool _dg12 = true; - set dg12(bool val) { - _dg12 = val; - _set({"DG12": val}); - } - - bool get dg13 => _dg13; - bool _dg13 = true; - set dg13(bool val) { - _dg13 = val; - _set({"DG13": val}); - } - - bool get dg14 => _dg14; - bool _dg14 = true; - set dg14(bool val) { - _dg14 = val; - _set({"DG14": val}); - } - - bool get dg15 => _dg15; - bool _dg15 = true; - set dg15(bool val) { - _dg15 = val; - _set({"DG15": val}); - } - - bool get dg16 => _dg16; - bool _dg16 = false; - set dg16(bool val) { - _dg16 = val; - _set({"DG16": val}); - } - - /// Allows you to deserialize object. - static EPassportDataGroups fromJson(jsonObject) { - var result = EPassportDataGroups(); - result.testSetters = {}; - - result.dg1 = jsonObject["DG1"]; - result.dg2 = jsonObject["DG2"]; - result.dg3 = jsonObject["DG3"]; - result.dg4 = jsonObject["DG4"]; - result.dg5 = jsonObject["DG5"]; - result.dg6 = jsonObject["DG6"]; - result.dg7 = jsonObject["DG7"]; - result.dg8 = jsonObject["DG8"]; - result.dg9 = jsonObject["DG9"]; - result.dg10 = jsonObject["DG10"]; - result.dg11 = jsonObject["DG11"]; - result.dg12 = jsonObject["DG12"]; - result.dg13 = jsonObject["DG13"]; - result.dg14 = jsonObject["DG14"]; - result.dg15 = jsonObject["DG15"]; - result.dg16 = jsonObject["DG16"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "DG1": dg1, - "DG2": dg2, - "DG3": dg3, - "DG4": dg4, - "DG5": dg5, - "DG6": dg6, - "DG7": dg7, - "DG8": dg8, - "DG9": dg9, - "DG10": dg10, - "DG11": dg11, - "DG12": dg12, - "DG13": dg13, - "DG14": dg14, - "DG15": dg15, - "DG16": dg16, - }.clearNulls(); - - void _set(Map json, {RFIDScenario? parent}) { - var rfidScenarioJson = {"ePassportDataGroups": json}; - var rfidScenario = DocumentReader.instance.rfidScenario; - if (identical(this, rfidScenario.ePassportDataGroups)) - rfidScenario._set(rfidScenarioJson); - parent?.testSetters.addAll(rfidScenarioJson); - testSetters.addAll(json); - } - - void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); - - @visibleForTesting - Map testSetters = {}; -} diff --git a/lib/src/params/rfid_scenario/RfidScenario.dart b/lib/src/params/rfid_scenario/RfidScenario.dart deleted file mode 100644 index f4d54b852d..0000000000 --- a/lib/src/params/rfid_scenario/RfidScenario.dart +++ /dev/null @@ -1,672 +0,0 @@ -// -// RfidScenario.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Params that influence the RFID chip processing. -class RFIDScenario { - bool? get paceStaticBinding => _paceStaticBinding; - bool? _paceStaticBinding; - set paceStaticBinding(bool? val) { - _paceStaticBinding = val; - _set({"paceStaticBinding": val}); - } - - bool? get onlineTA => _onlineTA; - bool? _onlineTA; - set onlineTA(bool? val) { - _onlineTA = val; - _set({"onlineTA": val}); - } - - bool? get writeEid => _writeEid; - bool? _writeEid; - set writeEid(bool? val) { - _writeEid = val; - _set({"writeEid": val}); - } - - bool? get universalAccessRights => _universalAccessRights; - bool? _universalAccessRights; - set universalAccessRights(bool? val) { - _universalAccessRights = val; - _set({"universalAccessRights": val}); - } - - bool? get authorizedRestrictedIdentification => - _authorizedRestrictedIdentification; - bool? _authorizedRestrictedIdentification; - set authorizedRestrictedIdentification(bool? val) { - _authorizedRestrictedIdentification = val; - _set({"authorizedRestrictedIdentification": val}); - } - - bool? get auxVerificationCommunityID => _auxVerificationCommunityID; - bool? _auxVerificationCommunityID; - set auxVerificationCommunityID(bool? val) { - _auxVerificationCommunityID = val; - _set({"auxVerificationCommunityID": val}); - } - - bool? get auxVerificationDateOfBirth => _auxVerificationDateOfBirth; - bool? _auxVerificationDateOfBirth; - set auxVerificationDateOfBirth(bool? val) { - _auxVerificationDateOfBirth = val; - _set({"auxVerificationDateOfBirth": val}); - } - - bool? get skipAA => _skipAA; - bool? _skipAA; - set skipAA(bool? val) { - _skipAA = val; - _set({"skipAA": val}); - } - - bool? get strictProcessing => _strictProcessing; - bool? _strictProcessing; - set strictProcessing(bool? val) { - _strictProcessing = val; - _set({"strictProcessing": val}); - } - - bool? get pkdDSCertPriority => _pkdDSCertPriority; - bool? _pkdDSCertPriority; - set pkdDSCertPriority(bool? val) { - _pkdDSCertPriority = val; - _set({"pkdDSCertPriority": val}); - } - - bool? get pkdUseExternalCSCA => _pkdUseExternalCSCA; - bool? _pkdUseExternalCSCA; - set pkdUseExternalCSCA(bool? val) { - _pkdUseExternalCSCA = val; - _set({"pkdUseExternalCSCA": val}); - } - - bool? get trustedPKD => _trustedPKD; - bool? _trustedPKD; - set trustedPKD(bool? val) { - _trustedPKD = val; - _set({"trustedPKD": val}); - } - - bool? get passiveAuth => _passiveAuth; - bool? _passiveAuth; - set passiveAuth(bool? val) { - _passiveAuth = val; - _set({"passiveAuth": val}); - } - - bool? get useSFI => _useSFI; - bool? _useSFI; - set useSFI(bool? val) { - _useSFI = val; - _set({"useSFI": val}); - } - - bool? get readEPassport => _readEPassport; - bool? _readEPassport; - set readEPassport(bool? val) { - _readEPassport = val; - _set({"readEPassport": val}); - } - - bool? get readEID => _readEID; - bool? _readEID; - set readEID(bool? val) { - _readEID = val; - _set({"readEID": val}); - } - - bool? get readEDL => _readEDL; - bool? _readEDL; - set readEDL(bool? val) { - _readEDL = val; - _set({"readEDL": val}); - } - - bool? get authorizedSTSignature => _authorizedSTSignature; - bool? _authorizedSTSignature; - set authorizedSTSignature(bool? val) { - _authorizedSTSignature = val; - _set({"authorizedSTSignature": val}); - } - - bool? get authorizedSTQSignature => _authorizedSTQSignature; - bool? _authorizedSTQSignature; - set authorizedSTQSignature(bool? val) { - _authorizedSTQSignature = val; - _set({"authorizedSTQSignature": val}); - } - - bool? get authorizedWriteDG17 => _authorizedWriteDG17; - bool? _authorizedWriteDG17; - set authorizedWriteDG17(bool? val) { - _authorizedWriteDG17 = val; - _set({"authorizedWriteDG17": val}); - } - - bool? get authorizedWriteDG18 => _authorizedWriteDG18; - bool? _authorizedWriteDG18; - set authorizedWriteDG18(bool? val) { - _authorizedWriteDG18 = val; - _set({"authorizedWriteDG18": val}); - } - - bool? get authorizedWriteDG19 => _authorizedWriteDG19; - bool? _authorizedWriteDG19; - set authorizedWriteDG19(bool? val) { - _authorizedWriteDG19 = val; - _set({"authorizedWriteDG19": val}); - } - - bool? get authorizedWriteDG20 => _authorizedWriteDG20; - bool? _authorizedWriteDG20; - set authorizedWriteDG20(bool? val) { - _authorizedWriteDG20 = val; - _set({"authorizedWriteDG20": val}); - } - - bool? get authorizedWriteDG21 => _authorizedWriteDG21; - bool? _authorizedWriteDG21; - set authorizedWriteDG21(bool? val) { - _authorizedWriteDG21 = val; - _set({"authorizedWriteDG21": val}); - } - - bool? get authorizedVerifyAge => _authorizedVerifyAge; - bool? _authorizedVerifyAge; - set authorizedVerifyAge(bool? val) { - _authorizedVerifyAge = val; - _set({"authorizedVerifyAge": val}); - } - - bool? get authorizedVerifyCommunityID => _authorizedVerifyCommunityID; - bool? _authorizedVerifyCommunityID; - set authorizedVerifyCommunityID(bool? val) { - _authorizedVerifyCommunityID = val; - _set({"authorizedVerifyCommunityID": val}); - } - - bool? get authorizedPrivilegedTerminal => _authorizedPrivilegedTerminal; - bool? _authorizedPrivilegedTerminal; - set authorizedPrivilegedTerminal(bool? val) { - _authorizedPrivilegedTerminal = val; - _set({"authorizedPrivilegedTerminal": val}); - } - - bool? get authorizedCANAllowed => _authorizedCANAllowed; - bool? _authorizedCANAllowed; - set authorizedCANAllowed(bool? val) { - _authorizedCANAllowed = val; - _set({"authorizedCANAllowed": val}); - } - - bool? get authorizedPINManagement => _authorizedPINManagement; - bool? _authorizedPINManagement; - set authorizedPINManagement(bool? val) { - _authorizedPINManagement = val; - _set({"authorizedPINManagement": val}); - } - - bool? get authorizedInstallCert => _authorizedInstallCert; - bool? _authorizedInstallCert; - set authorizedInstallCert(bool? val) { - _authorizedInstallCert = val; - _set({"authorizedInstallCert": val}); - } - - bool? get authorizedInstallQCert => _authorizedInstallQCert; - bool? _authorizedInstallQCert; - set authorizedInstallQCert(bool? val) { - _authorizedInstallQCert = val; - _set({"authorizedInstallQCert": val}); - } - - bool? get applyAmendments => _applyAmendments; - bool? _applyAmendments; - set applyAmendments(bool? val) { - _applyAmendments = val; - _set({"applyAmendments": val}); - } - - bool? get autoSettings => _autoSettings; - bool? _autoSettings; - set autoSettings(bool? val) { - _autoSettings = val; - _set({"autoSettings": val}); - } - - bool? get proceedReadingAlways => _proceedReadingAlways; - bool? _proceedReadingAlways; - set proceedReadingAlways(bool? val) { - _proceedReadingAlways = val; - _set({"proceedReadingAlways": val}); - } - - int? get readingBuffer => _readingBuffer; - int? _readingBuffer; - set readingBuffer(int? val) { - _readingBuffer = val; - _set({"readingBuffer": val}); - } - - int? get onlineTAToSignDataType => _onlineTAToSignDataType; - int? _onlineTAToSignDataType; - set onlineTAToSignDataType(int? val) { - _onlineTAToSignDataType = val; - _set({"onlineTAToSignDataType": val}); - } - - static final int _coreDefaultReadingBufferSize = 231; - - int get defaultReadingBufferSize => _defaultReadingBufferSize; - int _defaultReadingBufferSize = _coreDefaultReadingBufferSize; - set defaultReadingBufferSize(int val) { - _defaultReadingBufferSize = val; - _set({"defaultReadingBufferSize": val}); - } - - SignManagementAction? get signManagementAction => _signManagementAction; - SignManagementAction? _signManagementAction; - set signManagementAction(SignManagementAction? val) { - _signManagementAction = val; - _set({"signManagementAction": val?.value}); - } - - RFIDSDKProfilerType? get profilerType => _profilerType; - RFIDSDKProfilerType? _profilerType; - set profilerType(RFIDSDKProfilerType? val) { - _profilerType = val; - _set({"profilerType": val?.value}); - } - - RFIDAuthenticationProcedureType? get authProcType => _authProcType; - RFIDAuthenticationProcedureType? _authProcType; - set authProcType(RFIDAuthenticationProcedureType? val) { - _authProcType = val; - _set({"authProcType": val?.value}); - } - - RFIDAccessControlProcedureType? get baseSMProcedure => _baseSMProcedure; - RFIDAccessControlProcedureType? _baseSMProcedure; - set baseSMProcedure(RFIDAccessControlProcedureType? val) { - _baseSMProcedure = val; - _set({"baseSMProcedure": val?.value}); - } - - RFIDPasswordType? get pacePasswordType => _pacePasswordType; - RFIDPasswordType? _pacePasswordType; - set pacePasswordType(RFIDPasswordType? val) { - _pacePasswordType = val; - _set({"pacePasswordType": val?.value}); - } - - RFIDTerminalType? get terminalType => _terminalType; - RFIDTerminalType? _terminalType; - set terminalType(RFIDTerminalType? val) { - _terminalType = val; - _set({"terminalType": val?.value}); - } - - String? get password => _password; - String? _password; - set password(String? val) { - _password = val; - _set({"password": val}); - } - - String? get pkdPA => _pkdPA; - String? _pkdPA; - set pkdPA(String? val) { - _pkdPA = val; - _set({"pkdPA": val}); - } - - String? get pkdEAC => _pkdEAC; - String? _pkdEAC; - set pkdEAC(String? val) { - _pkdEAC = val; - _set({"pkdEAC": val}); - } - - String? get mrz => _mrz; - String? _mrz; - set mrz(String? val) { - _mrz = val; - _set({"mrz": val}); - } - - String? get eSignPINDefault => _eSignPINDefault; - String? _eSignPINDefault; - set eSignPINDefault(String? val) { - _eSignPINDefault = val; - _set({"eSignPINDefault": val}); - } - - String? get eSignPINNewValue => _eSignPINNewValue; - String? _eSignPINNewValue; - set eSignPINNewValue(String? val) { - _eSignPINNewValue = val; - _set({"eSignPINNewValue": val}); - } - - EDLDataGroups get eDLDataGroups => _eDLDataGroups; - EDLDataGroups _eDLDataGroups = EDLDataGroups(); - set eDLDataGroups(EDLDataGroups val) { - (_eDLDataGroups = val)._apply(this); - } - - EPassportDataGroups get ePassportDataGroups => _ePassportDataGroups; - EPassportDataGroups _ePassportDataGroups = EPassportDataGroups(); - set ePassportDataGroups(EPassportDataGroups val) { - (_ePassportDataGroups = val)._apply(this); - } - - EIDDataGroups get eIDDataGroups => _eIDDataGroups; - EIDDataGroups _eIDDataGroups = EIDDataGroups(); - set eIDDataGroups(EIDDataGroups val) { - (_eIDDataGroups = val)._apply(this); - } - - /// Allows you to deserialize object. - static RFIDScenario fromJson(jsonObject) { - var result = RFIDScenario(); - result.testSetters = {}; - - result.paceStaticBinding = jsonObject["paceStaticBinding"]; - result.onlineTA = jsonObject["onlineTA"]; - result.writeEid = jsonObject["writeEid"]; - result.universalAccessRights = jsonObject["universalAccessRights"]; - result.authorizedRestrictedIdentification = - jsonObject["authorizedRestrictedIdentification"]; - result.auxVerificationCommunityID = - jsonObject["auxVerificationCommunityID"]; - result.auxVerificationDateOfBirth = - jsonObject["auxVerificationDateOfBirth"]; - result.skipAA = jsonObject["skipAA"]; - result.strictProcessing = jsonObject["strictProcessing"]; - result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"]; - result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"]; - result.trustedPKD = jsonObject["trustedPKD"]; - result.passiveAuth = jsonObject["passiveAuth"]; - result.useSFI = jsonObject["useSFI"]; - result.readEPassport = jsonObject["readEPassport"]; - result.readEID = jsonObject["readEID"]; - result.readEDL = jsonObject["readEDL"]; - result.authorizedSTSignature = jsonObject["authorizedSTSignature"]; - result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"]; - result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"]; - result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"]; - result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"]; - result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"]; - result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"]; - result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"]; - result.authorizedVerifyCommunityID = - jsonObject["authorizedVerifyCommunityID"]; - result.authorizedPrivilegedTerminal = - jsonObject["authorizedPrivilegedTerminal"]; - result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"]; - result.authorizedPINManagement = jsonObject["authorizedPINManagement"]; - result.authorizedInstallCert = jsonObject["authorizedInstallCert"]; - result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"]; - result.applyAmendments = jsonObject["applyAmendments"]; - result.autoSettings = jsonObject["autoSettings"]; - result.proceedReadingAlways = jsonObject["proceedReadingAlways"]; - - result.readingBuffer = jsonObject["readingBuffer"]; - result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]; - result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]; - result.signManagementAction = - SignManagementAction.getByValue(jsonObject["signManagementAction"]); - result.profilerType = - RFIDSDKProfilerType.getByValue(jsonObject["profilerType"]); - result.authProcType = - RFIDAuthenticationProcedureType.getByValue(jsonObject["authProcType"]); - result.baseSMProcedure = RFIDAccessControlProcedureType.getByValue( - jsonObject["baseSMProcedure"]); - result.pacePasswordType = - RFIDPasswordType.getByValue(jsonObject["pacePasswordType"]); - result.terminalType = - RFIDTerminalType.getByValue(jsonObject["terminalType"]); - - result.password = jsonObject["password"]; - result.pkdPA = jsonObject["pkdPA"]; - result.pkdEAC = jsonObject["pkdEAC"]; - result.mrz = jsonObject["mrz"]; - result.eSignPINDefault = jsonObject["eSignPINDefault"]; - result.eSignPINNewValue = jsonObject["eSignPINNewValue"]; - - result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"]); - result.ePassportDataGroups = - EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"]); - result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "paceStaticBinding": paceStaticBinding, - "onlineTA": onlineTA, - "writeEid": writeEid, - "universalAccessRights": universalAccessRights, - "authorizedRestrictedIdentification": - authorizedRestrictedIdentification, - "auxVerificationCommunityID": auxVerificationCommunityID, - "auxVerificationDateOfBirth": auxVerificationDateOfBirth, - "skipAA": skipAA, - "strictProcessing": strictProcessing, - "pkdDSCertPriority": pkdDSCertPriority, - "pkdUseExternalCSCA": pkdUseExternalCSCA, - "trustedPKD": trustedPKD, - "passiveAuth": passiveAuth, - "useSFI": useSFI, - "readEPassport": readEPassport, - "readEID": readEID, - "readEDL": readEDL, - "authorizedSTSignature": authorizedSTSignature, - "authorizedSTQSignature": authorizedSTQSignature, - "authorizedWriteDG17": authorizedWriteDG17, - "authorizedWriteDG18": authorizedWriteDG18, - "authorizedWriteDG19": authorizedWriteDG19, - "authorizedWriteDG20": authorizedWriteDG20, - "authorizedWriteDG21": authorizedWriteDG21, - "authorizedVerifyAge": authorizedVerifyAge, - "authorizedVerifyCommunityID": authorizedVerifyCommunityID, - "authorizedPrivilegedTerminal": authorizedPrivilegedTerminal, - "authorizedCANAllowed": authorizedCANAllowed, - "authorizedPINManagement": authorizedPINManagement, - "authorizedInstallCert": authorizedInstallCert, - "authorizedInstallQCert": authorizedInstallQCert, - "applyAmendments": applyAmendments, - "autoSettings": autoSettings, - "proceedReadingAlways": proceedReadingAlways, - "readingBuffer": readingBuffer, - "onlineTAToSignDataType": onlineTAToSignDataType, - "defaultReadingBufferSize": defaultReadingBufferSize, - "signManagementAction": signManagementAction?.value, - "profilerType": profilerType?.value, - "authProcType": authProcType?.value, - "baseSMProcedure": baseSMProcedure?.value, - "pacePasswordType": pacePasswordType?.value, - "terminalType": terminalType?.value, - "password": password, - "pkdPA": pkdPA, - "pkdEAC": pkdEAC, - "mrz": mrz, - "eSignPINDefault": eSignPINDefault, - "eSignPINNewValue": eSignPINNewValue, - "eDLDataGroups": eDLDataGroups.toJson(), - "ePassportDataGroups": ePassportDataGroups.toJson(), - "eIDDataGroups": eIDDataGroups.toJson(), - }.clearNulls(); - - void _set(Map json) { - if (identical(this, DocumentReader.instance.rfidScenario)) - _bridge.invokeMethod("setRfidScenario", [json]); - testSetters.addAll(json); - } - - void _apply() => _set(toJson()); - - @visibleForTesting - Map testSetters = {}; -} - -enum RFIDAuthenticationProcedureType { - /// Not defined. - UNDEFINED(0), - - /// Standard authentication procedure. - STANDARD(1), - - /// Advanced authentication procedure. - ADVANCED(2), - - /// General authentication procedure. - GENERAL(3); - - const RFIDAuthenticationProcedureType(this.value); - final int value; - - static RFIDAuthenticationProcedureType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDAuthenticationProcedureType.values - .firstWhere((x) => x.value == i); - } catch (_) { - return RFIDAuthenticationProcedureType.UNDEFINED; - } - } -} - -enum RFIDPasswordType { - /// Unknown type. - UNDEFINED(0), - - /// MRZ. - MRZ(1), - - /// CAN. - CAN(2), - - /// PIN. - PIN(3), - - /// PUK. - PUK(4), - - /// eSign-PIN. - PIN_ESIGN(5), - - /// Scanning Area Identifier (for eDL application). - SAI(6); - - const RFIDPasswordType(this.value); - final int value; - - static RFIDPasswordType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDPasswordType.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDPasswordType.UNDEFINED; - } - } -} - -enum RFIDSDKProfilerType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// Doc 9303, 6th edition, 2006. - DOC_9303_EDITION_2006(0x00000001), - - /// LDS and PKI Maintenance, v2.0, May 21, 2014. - DOC_9303_LDS_PKI_MAINTENANCE(0x00000002); - - const RFIDSDKProfilerType(this.value); - final int value; - - static RFIDSDKProfilerType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDSDKProfilerType.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDSDKProfilerType.UNKNOWN; - } - } -} - -enum RFIDTerminalType { - /// Not defined. - UNDEFINED(0), - - /// Inspection system. - INSPECTION_SYSTEM(1), - - /// Authentication terminal - AUTHENTICATION_TERMINAL(2), - - /// Signature terminal. - SIGNATURE_TERMINAL(3), - - /// Unauthenticated terminal. - UNAUTHENTICATED_TERMINAL(4); - - const RFIDTerminalType(this.value); - final int value; - - static RFIDTerminalType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDTerminalType.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDTerminalType.UNDEFINED; - } - } -} - -enum SignManagementAction { - /// Not identified. - UNDEFINED(0), - - /// Create PIN. - CREATE_PIN(1), - - /// Change PIN. - CHANGE_PIN(2), - - /// Unblock PIN - UNBLOCK_PIN(3), - - /// Terminate PIN. - TERMINATE_PIN(4), - - /// Generate keys. - GENERATE_KEYS(5), - - /// Terminate keys. - TERMINATE_KEYS(6), - - /// Sign data. - SIGN_DATA(7); - - const SignManagementAction(this.value); - final int value; - - static SignManagementAction? getByValue(int? i) { - if (i == null) return null; - try { - return SignManagementAction.values.firstWhere((x) => x.value == i); - } catch (_) { - return SignManagementAction.UNDEFINED; - } - } -} diff --git a/lib/src/params/rfid_scenario/dtc_data_groups.dart b/lib/src/params/rfid_scenario/dtc_data_groups.dart new file mode 100644 index 0000000000..c8594cb2aa --- /dev/null +++ b/lib/src/params/rfid_scenario/dtc_data_groups.dart @@ -0,0 +1,76 @@ +part of "../../../flutter_document_reader_api.dart"; + +class DTCDataGroup { + bool get dg17 => _dg17; + bool _dg17 = true; + set dg17(bool val) { + _dg17 = val; + _set({"DG17": val}); + } + + bool get dg18 => _dg18; + bool _dg18 = true; + set dg18(bool val) { + _dg18 = val; + _set({"DG18": val}); + } + + bool get dg22 => _dg22; + bool _dg22 = true; + set dg22(bool val) { + _dg22 = val; + _set({"DG22": val}); + } + + bool get dg23 => _dg23; + bool _dg23 = true; + set dg23(bool val) { + _dg23 = val; + _set({"DG23": val}); + } + + bool get dg24 => _dg24; + bool _dg24 = true; + set dg24(bool val) { + _dg24 = val; + _set({"DG24": val}); + } + + /// Allows you to deserialize object. + static DTCDataGroup fromJson(jsonObject) { + var result = DTCDataGroup(); + result.testSetters = {}; + + result.dg17 = jsonObject["DG17"]; + result.dg18 = jsonObject["DG18"]; + result.dg22 = jsonObject["DG22"]; + result.dg23 = jsonObject["DG23"]; + result.dg24 = jsonObject["DG24"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "DG17": dg17, + "DG18": dg18, + "DG22": dg22, + "DG23": dg23, + "DG24": dg24, + }.clearNulls(); + + void _set(Map json, {RFIDScenario? parent}) { + var rfidScenarioJson = {"dtcDataGroups": json}; + var rfidScenario = DocumentReader.instance.rfidScenario; + if (identical(this, rfidScenario.dtcDataGroups)) { + rfidScenario._set(rfidScenarioJson); + } + parent?.testSetters.addAll(rfidScenarioJson); + testSetters.addAll(json); + } + + void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/rfid_scenario/e_passport_data_groups.dart b/lib/src/params/rfid_scenario/e_passport_data_groups.dart new file mode 100644 index 0000000000..2a09b528bf --- /dev/null +++ b/lib/src/params/rfid_scenario/e_passport_data_groups.dart @@ -0,0 +1,183 @@ +// +// EPassportDataGroups.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class EPassportDataGroups { + bool get dg1 => _dg1; + bool _dg1 = true; + set dg1(bool val) { + _dg1 = val; + _set({"DG1": val}); + } + + bool get dg2 => _dg2; + bool _dg2 = true; + set dg2(bool val) { + _dg2 = val; + _set({"DG2": val}); + } + + bool get dg3 => _dg3; + bool _dg3 = false; + set dg3(bool val) { + _dg3 = val; + _set({"DG3": val}); + } + + bool get dg4 => _dg4; + bool _dg4 = false; + set dg4(bool val) { + _dg4 = val; + _set({"DG4": val}); + } + + bool get dg5 => _dg5; + bool _dg5 = true; + set dg5(bool val) { + _dg5 = val; + _set({"DG5": val}); + } + + bool get dg6 => _dg6; + bool _dg6 = false; + set dg6(bool val) { + _dg6 = val; + _set({"DG6": val}); + } + + bool get dg7 => _dg7; + bool _dg7 = true; + set dg7(bool val) { + _dg7 = val; + _set({"DG7": val}); + } + + bool get dg8 => _dg8; + bool _dg8 = false; + set dg8(bool val) { + _dg8 = val; + _set({"DG8": val}); + } + + bool get dg9 => _dg9; + bool _dg9 = false; + set dg9(bool val) { + _dg9 = val; + _set({"DG9": val}); + } + + bool get dg10 => _dg10; + bool _dg10 = false; + set dg10(bool val) { + _dg10 = val; + _set({"DG10": val}); + } + + bool get dg11 => _dg11; + bool _dg11 = true; + set dg11(bool val) { + _dg11 = val; + _set({"DG11": val}); + } + + bool get dg12 => _dg12; + bool _dg12 = true; + set dg12(bool val) { + _dg12 = val; + _set({"DG12": val}); + } + + bool get dg13 => _dg13; + bool _dg13 = true; + set dg13(bool val) { + _dg13 = val; + _set({"DG13": val}); + } + + bool get dg14 => _dg14; + bool _dg14 = true; + set dg14(bool val) { + _dg14 = val; + _set({"DG14": val}); + } + + bool get dg15 => _dg15; + bool _dg15 = true; + set dg15(bool val) { + _dg15 = val; + _set({"DG15": val}); + } + + bool get dg16 => _dg16; + bool _dg16 = false; + set dg16(bool val) { + _dg16 = val; + _set({"DG16": val}); + } + + /// Allows you to deserialize object. + static EPassportDataGroups fromJson(jsonObject) { + var result = EPassportDataGroups(); + result.testSetters = {}; + + result.dg1 = jsonObject["DG1"]; + result.dg2 = jsonObject["DG2"]; + result.dg3 = jsonObject["DG3"]; + result.dg4 = jsonObject["DG4"]; + result.dg5 = jsonObject["DG5"]; + result.dg6 = jsonObject["DG6"]; + result.dg7 = jsonObject["DG7"]; + result.dg8 = jsonObject["DG8"]; + result.dg9 = jsonObject["DG9"]; + result.dg10 = jsonObject["DG10"]; + result.dg11 = jsonObject["DG11"]; + result.dg12 = jsonObject["DG12"]; + result.dg13 = jsonObject["DG13"]; + result.dg14 = jsonObject["DG14"]; + result.dg15 = jsonObject["DG15"]; + result.dg16 = jsonObject["DG16"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "DG1": dg1, + "DG2": dg2, + "DG3": dg3, + "DG4": dg4, + "DG5": dg5, + "DG6": dg6, + "DG7": dg7, + "DG8": dg8, + "DG9": dg9, + "DG10": dg10, + "DG11": dg11, + "DG12": dg12, + "DG13": dg13, + "DG14": dg14, + "DG15": dg15, + "DG16": dg16, + }.clearNulls(); + + void _set(Map json, {RFIDScenario? parent}) { + var rfidScenarioJson = {"ePassportDataGroups": json}; + var rfidScenario = DocumentReader.instance.rfidScenario; + if (identical(this, rfidScenario.ePassportDataGroups)) { + rfidScenario._set(rfidScenarioJson); + } + parent?.testSetters.addAll(rfidScenarioJson); + testSetters.addAll(json); + } + + void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/rfid_scenario/edl_data_groups.dart b/lib/src/params/rfid_scenario/edl_data_groups.dart new file mode 100644 index 0000000000..07ff6c1388 --- /dev/null +++ b/lib/src/params/rfid_scenario/edl_data_groups.dart @@ -0,0 +1,164 @@ +// +// EDLDataGroups.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class EDLDataGroups { + bool get dg1 => _dg1; + bool _dg1 = true; + set dg1(bool val) { + _dg1 = val; + _set({"DG1": val}); + } + + bool get dg2 => _dg2; + bool _dg2 = true; + set dg2(bool val) { + _dg2 = val; + _set({"DG2": val}); + } + + bool get dg3 => _dg3; + bool _dg3 = true; + set dg3(bool val) { + _dg3 = val; + _set({"DG3": val}); + } + + bool get dg4 => _dg4; + bool _dg4 = true; + set dg4(bool val) { + _dg4 = val; + _set({"DG4": val}); + } + + bool get dg5 => _dg5; + bool _dg5 = true; + set dg5(bool val) { + _dg5 = val; + _set({"DG5": val}); + } + + bool get dg6 => _dg6; + bool _dg6 = true; + set dg6(bool val) { + _dg6 = val; + _set({"DG6": val}); + } + + bool get dg7 => _dg7; + bool _dg7 = false; + set dg7(bool val) { + _dg7 = val; + _set({"DG7": val}); + } + + bool get dg8 => _dg8; + bool _dg8 = false; + set dg8(bool val) { + _dg8 = val; + _set({"DG8": val}); + } + + bool get dg9 => _dg9; + bool _dg9 = false; + set dg9(bool val) { + _dg9 = val; + _set({"DG9": val}); + } + + bool get dg10 => _dg10; + bool _dg10 = false; + set dg10(bool val) { + _dg10 = val; + _set({"DG10": val}); + } + + bool get dg11 => _dg11; + bool _dg11 = true; + set dg11(bool val) { + _dg11 = val; + _set({"DG11": val}); + } + + bool get dg12 => _dg12; + bool _dg12 = true; + set dg12(bool val) { + _dg12 = val; + _set({"DG12": val}); + } + + bool get dg13 => _dg13; + bool _dg13 = true; + set dg13(bool val) { + _dg13 = val; + _set({"DG13": val}); + } + + bool get dg14 => _dg14; + bool _dg14 = true; + set dg14(bool val) { + _dg14 = val; + _set({"DG14": val}); + } + + /// Allows you to deserialize object. + static EDLDataGroups fromJson(jsonObject) { + var result = EDLDataGroups(); + result.testSetters = {}; + + result.dg1 = jsonObject["DG1"]; + result.dg2 = jsonObject["DG2"]; + result.dg3 = jsonObject["DG3"]; + result.dg4 = jsonObject["DG4"]; + result.dg5 = jsonObject["DG5"]; + result.dg6 = jsonObject["DG6"]; + result.dg7 = jsonObject["DG7"]; + result.dg8 = jsonObject["DG8"]; + result.dg9 = jsonObject["DG9"]; + result.dg10 = jsonObject["DG10"]; + result.dg11 = jsonObject["DG11"]; + result.dg12 = jsonObject["DG12"]; + result.dg13 = jsonObject["DG13"]; + result.dg14 = jsonObject["DG14"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "DG1": dg1, + "DG2": dg2, + "DG3": dg3, + "DG4": dg4, + "DG5": dg5, + "DG6": dg6, + "DG7": dg7, + "DG8": dg8, + "DG9": dg9, + "DG10": dg10, + "DG11": dg11, + "DG12": dg12, + "DG13": dg13, + "DG14": dg14, + }.clearNulls(); + + void _set(Map json, {RFIDScenario? parent}) { + var rfidScenarioJson = {"eDLDataGroups": json}; + var rfidScenario = DocumentReader.instance.rfidScenario; + if (identical(this, rfidScenario.eDLDataGroups)) { + rfidScenario._set(rfidScenarioJson); + } + parent?.testSetters.addAll(rfidScenarioJson); + testSetters.addAll(json); + } + + void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); + + Map testSetters = {}; +} diff --git a/lib/src/params/rfid_scenario/eid_data_groups.dart b/lib/src/params/rfid_scenario/eid_data_groups.dart new file mode 100644 index 0000000000..2fc7599654 --- /dev/null +++ b/lib/src/params/rfid_scenario/eid_data_groups.dart @@ -0,0 +1,228 @@ +// +// EIDDataGroups.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class EIDDataGroups { + bool get dg1 => _dg1; + bool _dg1 = true; + set dg1(bool val) { + _dg1 = val; + _set({"DG1": val}); + } + + bool get dg2 => _dg2; + bool _dg2 = true; + set dg2(bool val) { + _dg2 = val; + _set({"DG2": val}); + } + + bool get dg3 => _dg3; + bool _dg3 = true; + set dg3(bool val) { + _dg3 = val; + _set({"DG3": val}); + } + + bool get dg4 => _dg4; + bool _dg4 = true; + set dg4(bool val) { + _dg4 = val; + _set({"DG4": val}); + } + + bool get dg5 => _dg5; + bool _dg5 = true; + set dg5(bool val) { + _dg5 = val; + _set({"DG5": val}); + } + + bool get dg6 => _dg6; + bool _dg6 = true; + set dg6(bool val) { + _dg6 = val; + _set({"DG6": val}); + } + + bool get dg7 => _dg7; + bool _dg7 = true; + set dg7(bool val) { + _dg7 = val; + _set({"DG7": val}); + } + + bool get dg8 => _dg8; + bool _dg8 = true; + set dg8(bool val) { + _dg8 = val; + _set({"DG8": val}); + } + + bool get dg9 => _dg9; + bool _dg9 = true; + set dg9(bool val) { + _dg9 = val; + _set({"DG9": val}); + } + + bool get dg10 => _dg10; + bool _dg10 = true; + set dg10(bool val) { + _dg10 = val; + _set({"DG10": val}); + } + + bool get dg11 => _dg11; + bool _dg11 = true; + set dg11(bool val) { + _dg11 = val; + _set({"DG11": val}); + } + + bool get dg12 => _dg12; + bool _dg12 = true; + set dg12(bool val) { + _dg12 = val; + _set({"DG12": val}); + } + + bool get dg13 => _dg13; + bool _dg13 = false; + set dg13(bool val) { + _dg13 = val; + _set({"DG13": val}); + } + + bool get dg14 => _dg14; + bool _dg14 = false; + set dg14(bool val) { + _dg14 = val; + _set({"DG14": val}); + } + + bool get dg15 => _dg15; + bool _dg15 = false; + set dg15(bool val) { + _dg15 = val; + _set({"DG15": val}); + } + + bool get dg16 => _dg16; + bool _dg16 = false; + set dg16(bool val) { + _dg16 = val; + _set({"DG16": val}); + } + + bool get dg17 => _dg17; + bool _dg17 = true; + set dg17(bool val) { + _dg17 = val; + _set({"DG17": val}); + } + + bool get dg18 => _dg18; + bool _dg18 = true; + set dg18(bool val) { + _dg18 = val; + _set({"DG18": val}); + } + + bool get dg19 => _dg19; + bool _dg19 = true; + set dg19(bool val) { + _dg19 = val; + _set({"DG19": val}); + } + + bool get dg20 => _dg20; + bool _dg20 = true; + set dg20(bool val) { + _dg20 = val; + _set({"DG20": val}); + } + + bool get dg21 => _dg21; + bool _dg21 = true; + set dg21(bool val) { + _dg21 = val; + _set({"DG21": val}); + } + + /// Allows you to deserialize object. + static EIDDataGroups fromJson(jsonObject) { + var result = EIDDataGroups(); + result.testSetters = {}; + + result.dg1 = jsonObject["DG1"]; + result.dg2 = jsonObject["DG2"]; + result.dg3 = jsonObject["DG3"]; + result.dg4 = jsonObject["DG4"]; + result.dg5 = jsonObject["DG5"]; + result.dg6 = jsonObject["DG6"]; + result.dg7 = jsonObject["DG7"]; + result.dg8 = jsonObject["DG8"]; + result.dg9 = jsonObject["DG9"]; + result.dg10 = jsonObject["DG10"]; + result.dg11 = jsonObject["DG11"]; + result.dg12 = jsonObject["DG12"]; + result.dg13 = jsonObject["DG13"]; + result.dg14 = jsonObject["DG14"]; + result.dg15 = jsonObject["DG15"]; + result.dg16 = jsonObject["DG16"]; + result.dg17 = jsonObject["DG17"]; + result.dg18 = jsonObject["DG18"]; + result.dg19 = jsonObject["DG19"]; + result.dg20 = jsonObject["DG20"]; + result.dg21 = jsonObject["DG21"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "DG1": dg1, + "DG2": dg2, + "DG3": dg3, + "DG4": dg4, + "DG5": dg5, + "DG6": dg6, + "DG7": dg7, + "DG8": dg8, + "DG9": dg9, + "DG10": dg10, + "DG11": dg11, + "DG12": dg12, + "DG13": dg13, + "DG14": dg14, + "DG15": dg15, + "DG16": dg16, + "DG17": dg17, + "DG18": dg18, + "DG19": dg19, + "DG20": dg20, + "DG21": dg21, + }.clearNulls(); + + void _set(Map json, {RFIDScenario? parent}) { + var rfidScenarioJson = {"eIDDataGroups": json}; + var rfidScenario = DocumentReader.instance.rfidScenario; + if (identical(this, rfidScenario.eIDDataGroups)) { + rfidScenario._set(rfidScenarioJson); + } + parent?.testSetters.addAll(rfidScenarioJson); + testSetters.addAll(json); + } + + void _apply(RFIDScenario parent) => _set(toJson(), parent: parent); + + @visibleForTesting + Map testSetters = {}; +} diff --git a/lib/src/params/rfid_scenario/rfid_scenario.dart b/lib/src/params/rfid_scenario/rfid_scenario.dart new file mode 100644 index 0000000000..29e57fdefb --- /dev/null +++ b/lib/src/params/rfid_scenario/rfid_scenario.dart @@ -0,0 +1,793 @@ +// +// RfidScenario.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Params that influence the RFID chip processing. +class RFIDScenario { + bool? get paceStaticBinding => _paceStaticBinding; + bool? _paceStaticBinding; + set paceStaticBinding(bool? val) { + _paceStaticBinding = val; + _set({"paceStaticBinding": val}); + } + + bool? get onlineTA => _onlineTA; + bool? _onlineTA; + set onlineTA(bool? val) { + _onlineTA = val; + _set({"onlineTA": val}); + } + + bool? get writeEid => _writeEid; + bool? _writeEid; + set writeEid(bool? val) { + _writeEid = val; + _set({"writeEid": val}); + } + + bool? get universalAccessRights => _universalAccessRights; + bool? _universalAccessRights; + set universalAccessRights(bool? val) { + _universalAccessRights = val; + _set({"universalAccessRights": val}); + } + + bool? get authorizedRestrictedIdentification => + _authorizedRestrictedIdentification; + bool? _authorizedRestrictedIdentification; + set authorizedRestrictedIdentification(bool? val) { + _authorizedRestrictedIdentification = val; + _set({"authorizedRestrictedIdentification": val}); + } + + bool? get auxVerificationCommunityID => _auxVerificationCommunityID; + bool? _auxVerificationCommunityID; + set auxVerificationCommunityID(bool? val) { + _auxVerificationCommunityID = val; + _set({"auxVerificationCommunityID": val}); + } + + bool? get auxVerificationDateOfBirth => _auxVerificationDateOfBirth; + bool? _auxVerificationDateOfBirth; + set auxVerificationDateOfBirth(bool? val) { + _auxVerificationDateOfBirth = val; + _set({"auxVerificationDateOfBirth": val}); + } + + bool? get skipAA => _skipAA; + bool? _skipAA; + set skipAA(bool? val) { + _skipAA = val; + _set({"skipAA": val}); + } + + bool? get strictProcessing => _strictProcessing; + bool? _strictProcessing; + set strictProcessing(bool? val) { + _strictProcessing = val; + _set({"strictProcessing": val}); + } + + bool? get pkdDSCertPriority => _pkdDSCertPriority; + bool? _pkdDSCertPriority; + set pkdDSCertPriority(bool? val) { + _pkdDSCertPriority = val; + _set({"pkdDSCertPriority": val}); + } + + bool? get pkdUseExternalCSCA => _pkdUseExternalCSCA; + bool? _pkdUseExternalCSCA; + set pkdUseExternalCSCA(bool? val) { + _pkdUseExternalCSCA = val; + _set({"pkdUseExternalCSCA": val}); + } + + bool? get trustedPKD => _trustedPKD; + bool? _trustedPKD; + set trustedPKD(bool? val) { + _trustedPKD = val; + _set({"trustedPKD": val}); + } + + bool? get passiveAuth => _passiveAuth; + bool? _passiveAuth; + set passiveAuth(bool? val) { + _passiveAuth = val; + _set({"passiveAuth": val}); + } + + bool? get useSFI => _useSFI; + bool? _useSFI; + set useSFI(bool? val) { + _useSFI = val; + _set({"useSFI": val}); + } + + bool? get readEPassport => _readEPassport; + bool? _readEPassport; + set readEPassport(bool? val) { + _readEPassport = val; + _set({"readEPassport": val}); + } + + bool? get readEID => _readEID; + bool? _readEID; + set readEID(bool? val) { + _readEID = val; + _set({"readEID": val}); + } + + bool? get readEDL => _readEDL; + bool? _readEDL; + set readEDL(bool? val) { + _readEDL = val; + _set({"readEDL": val}); + } + + bool? get authorizedSTSignature => _authorizedSTSignature; + bool? _authorizedSTSignature; + set authorizedSTSignature(bool? val) { + _authorizedSTSignature = val; + _set({"authorizedSTSignature": val}); + } + + bool? get authorizedSTQSignature => _authorizedSTQSignature; + bool? _authorizedSTQSignature; + set authorizedSTQSignature(bool? val) { + _authorizedSTQSignature = val; + _set({"authorizedSTQSignature": val}); + } + + bool? get authorizedWriteDG17 => _authorizedWriteDG17; + bool? _authorizedWriteDG17; + set authorizedWriteDG17(bool? val) { + _authorizedWriteDG17 = val; + _set({"authorizedWriteDG17": val}); + } + + bool? get authorizedWriteDG18 => _authorizedWriteDG18; + bool? _authorizedWriteDG18; + set authorizedWriteDG18(bool? val) { + _authorizedWriteDG18 = val; + _set({"authorizedWriteDG18": val}); + } + + bool? get authorizedWriteDG19 => _authorizedWriteDG19; + bool? _authorizedWriteDG19; + set authorizedWriteDG19(bool? val) { + _authorizedWriteDG19 = val; + _set({"authorizedWriteDG19": val}); + } + + bool? get authorizedWriteDG20 => _authorizedWriteDG20; + bool? _authorizedWriteDG20; + set authorizedWriteDG20(bool? val) { + _authorizedWriteDG20 = val; + _set({"authorizedWriteDG20": val}); + } + + bool? get authorizedWriteDG21 => _authorizedWriteDG21; + bool? _authorizedWriteDG21; + set authorizedWriteDG21(bool? val) { + _authorizedWriteDG21 = val; + _set({"authorizedWriteDG21": val}); + } + + bool? get authorizedVerifyAge => _authorizedVerifyAge; + bool? _authorizedVerifyAge; + set authorizedVerifyAge(bool? val) { + _authorizedVerifyAge = val; + _set({"authorizedVerifyAge": val}); + } + + bool? get authorizedVerifyCommunityID => _authorizedVerifyCommunityID; + bool? _authorizedVerifyCommunityID; + set authorizedVerifyCommunityID(bool? val) { + _authorizedVerifyCommunityID = val; + _set({"authorizedVerifyCommunityID": val}); + } + + bool? get authorizedPrivilegedTerminal => _authorizedPrivilegedTerminal; + bool? _authorizedPrivilegedTerminal; + set authorizedPrivilegedTerminal(bool? val) { + _authorizedPrivilegedTerminal = val; + _set({"authorizedPrivilegedTerminal": val}); + } + + bool? get authorizedCANAllowed => _authorizedCANAllowed; + bool? _authorizedCANAllowed; + set authorizedCANAllowed(bool? val) { + _authorizedCANAllowed = val; + _set({"authorizedCANAllowed": val}); + } + + bool? get authorizedPINManagement => _authorizedPINManagement; + bool? _authorizedPINManagement; + set authorizedPINManagement(bool? val) { + _authorizedPINManagement = val; + _set({"authorizedPINManagement": val}); + } + + bool? get authorizedInstallCert => _authorizedInstallCert; + bool? _authorizedInstallCert; + set authorizedInstallCert(bool? val) { + _authorizedInstallCert = val; + _set({"authorizedInstallCert": val}); + } + + bool? get authorizedInstallQCert => _authorizedInstallQCert; + bool? _authorizedInstallQCert; + set authorizedInstallQCert(bool? val) { + _authorizedInstallQCert = val; + _set({"authorizedInstallQCert": val}); + } + + bool? get applyAmendments => _applyAmendments; + bool? _applyAmendments; + set applyAmendments(bool? val) { + _applyAmendments = val; + _set({"applyAmendments": val}); + } + + bool? get autoSettings => _autoSettings; + bool? _autoSettings; + set autoSettings(bool? val) { + _autoSettings = val; + _set({"autoSettings": val}); + } + + // If set to `true`, continue RFID chip processing, despite ICAO critical errors. + bool? get proceedReadingAlways => _proceedReadingAlways; + bool? _proceedReadingAlways; + set proceedReadingAlways(bool? val) { + _proceedReadingAlways = val; + _set({"proceedReadingAlways": val}); + } + + bool? get readDTC => _readDTC; + bool? _readDTC; + set readDTC(bool? val) { + _readDTC = val; + _set({"readDTC": val}); + } + + /// Perform check MRZ according to standard described in + /// BSI TR - 03105: ePassport Conformity Testing(v 1.0 04.04.2008). + bool? get mrzStrictCheck => _mrzStrictCheck; + bool? _mrzStrictCheck; + set mrzStrictCheck(bool? val) { + _mrzStrictCheck = val; + _set({"mrzStrictCheck": val}); + } + + /// If enabled, Certificate Revoke List(s) (CRL) will be loaded from remote and verified. + bool? get loadCRLFromRemote => _loadCRLFromRemote; + bool? _loadCRLFromRemote; + set loadCRLFromRemote(bool? val) { + _loadCRLFromRemote = val; + _set({"loadCRLFromRemote": val}); + } + + bool? get independentSODStatus => _independentSODStatus; + bool? _independentSODStatus; + set independentSODStatus(bool? val) { + _independentSODStatus = val; + _set({"independentSODStatus": val}); + } + + RFIDReadingBufferSize? get readingBuffer => _readingBuffer; + RFIDReadingBufferSize? _readingBuffer; + set readingBuffer(RFIDReadingBufferSize? val) { + _readingBuffer = val; + _set({"readingBuffer": val?.value}); + } + + int? get onlineTAToSignDataType => _onlineTAToSignDataType; + int? _onlineTAToSignDataType; + set onlineTAToSignDataType(int? val) { + _onlineTAToSignDataType = val; + _set({"onlineTAToSignDataType": val}); + } + + static final int _coreDefaultReadingBufferSize = 231; + + int get defaultReadingBufferSize => _defaultReadingBufferSize; + int _defaultReadingBufferSize = _coreDefaultReadingBufferSize; + set defaultReadingBufferSize(int val) { + _defaultReadingBufferSize = val; + _set({"defaultReadingBufferSize": val}); + } + + SignManagementAction? get signManagementAction => _signManagementAction; + SignManagementAction? _signManagementAction; + set signManagementAction(SignManagementAction? val) { + _signManagementAction = val; + _set({"signManagementAction": val?.value}); + } + + RFIDSDKProfilerType? get profilerType => _profilerType; + RFIDSDKProfilerType? _profilerType; + set profilerType(RFIDSDKProfilerType? val) { + _profilerType = val; + _set({"profilerType": val?.value}); + } + + RFIDAuthenticationProcedureType? get authProcType => _authProcType; + RFIDAuthenticationProcedureType? _authProcType; + set authProcType(RFIDAuthenticationProcedureType? val) { + _authProcType = val; + _set({"authProcType": val?.value}); + } + + RFIDAccessControlProcedureType? get baseSMProcedure => _baseSMProcedure; + RFIDAccessControlProcedureType? _baseSMProcedure; + set baseSMProcedure(RFIDAccessControlProcedureType? val) { + _baseSMProcedure = val; + _set({"baseSMProcedure": val?.value}); + } + + RFIDPasswordType? get pacePasswordType => _pacePasswordType; + RFIDPasswordType? _pacePasswordType; + set pacePasswordType(RFIDPasswordType? val) { + _pacePasswordType = val; + _set({"pacePasswordType": val?.value}); + } + + RFIDTerminalType? get terminalType => _terminalType; + RFIDTerminalType? _terminalType; + set terminalType(RFIDTerminalType? val) { + _terminalType = val; + _set({"terminalType": val?.value}); + } + + String? get password => _password; + String? _password; + set password(String? val) { + _password = val; + _set({"password": val}); + } + + String? get pkdPA => _pkdPA; + String? _pkdPA; + set pkdPA(String? val) { + _pkdPA = val; + _set({"pkdPA": val}); + } + + String? get pkdEAC => _pkdEAC; + String? _pkdEAC; + set pkdEAC(String? val) { + _pkdEAC = val; + _set({"pkdEAC": val}); + } + + String? get mrz => _mrz; + String? _mrz; + set mrz(String? val) { + _mrz = val; + _set({"mrz": val}); + } + + String? get eSignPINDefault => _eSignPINDefault; + String? _eSignPINDefault; + set eSignPINDefault(String? val) { + _eSignPINDefault = val; + _set({"eSignPINDefault": val}); + } + + String? get eSignPINNewValue => _eSignPINNewValue; + String? _eSignPINNewValue; + set eSignPINNewValue(String? val) { + _eSignPINNewValue = val; + _set({"eSignPINNewValue": val}); + } + + String? get cardAccess => _cardAccess; + String? _cardAccess; + set cardAccess(String? val) { + _cardAccess = val; + _set({"cardAccess": val}); + } + + String? get mrzHash => _mrzHash; + String? _mrzHash; + set mrzHash(String? val) { + _mrzHash = val; + _set({"mrzHash": val}); + } + + String? get documentNumber => _documentNumber; + String? _documentNumber; + set documentNumber(String? val) { + _documentNumber = val; + _set({"documentNumber": val}); + } + + String? get dateOfBirth => _dateOfBirth; + String? _dateOfBirth; + set dateOfBirth(String? val) { + _dateOfBirth = val; + _set({"dateOfBirth": val}); + } + + String? get dateOfExpiry => _dateOfExpiry; + String? _dateOfExpiry; + set dateOfExpiry(String? val) { + _dateOfExpiry = val; + _set({"dateOfExpiry": val}); + } + + EDLDataGroups get eDLDataGroups => _eDLDataGroups; + EDLDataGroups _eDLDataGroups = EDLDataGroups(); + set eDLDataGroups(EDLDataGroups val) { + (_eDLDataGroups = val)._apply(this); + } + + EPassportDataGroups get ePassportDataGroups => _ePassportDataGroups; + EPassportDataGroups _ePassportDataGroups = EPassportDataGroups(); + set ePassportDataGroups(EPassportDataGroups val) { + (_ePassportDataGroups = val)._apply(this); + } + + EIDDataGroups get eIDDataGroups => _eIDDataGroups; + EIDDataGroups _eIDDataGroups = EIDDataGroups(); + set eIDDataGroups(EIDDataGroups val) { + (_eIDDataGroups = val)._apply(this); + } + + DTCDataGroup get dtcDataGroups => _dtcDataGroups; + DTCDataGroup _dtcDataGroups = DTCDataGroup(); + set dtcDataGroups(DTCDataGroup val) { + (_dtcDataGroups = val)._apply(this); + } + + /// Allows you to deserialize object. + static RFIDScenario fromJson(jsonObject) { + var result = RFIDScenario(); + result.testSetters = {}; + + result.paceStaticBinding = jsonObject["paceStaticBinding"]; + result.onlineTA = jsonObject["onlineTA"]; + result.writeEid = jsonObject["writeEid"]; + result.universalAccessRights = jsonObject["universalAccessRights"]; + result.authorizedRestrictedIdentification = + jsonObject["authorizedRestrictedIdentification"]; + result.auxVerificationCommunityID = + jsonObject["auxVerificationCommunityID"]; + result.auxVerificationDateOfBirth = + jsonObject["auxVerificationDateOfBirth"]; + result.skipAA = jsonObject["skipAA"]; + result.strictProcessing = jsonObject["strictProcessing"]; + result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"]; + result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"]; + result.trustedPKD = jsonObject["trustedPKD"]; + result.passiveAuth = jsonObject["passiveAuth"]; + result.useSFI = jsonObject["useSFI"]; + result.readEPassport = jsonObject["readEPassport"]; + result.readEID = jsonObject["readEID"]; + result.readEDL = jsonObject["readEDL"]; + result.authorizedSTSignature = jsonObject["authorizedSTSignature"]; + result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"]; + result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"]; + result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"]; + result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"]; + result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"]; + result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"]; + result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"]; + result.authorizedVerifyCommunityID = + jsonObject["authorizedVerifyCommunityID"]; + result.authorizedPrivilegedTerminal = + jsonObject["authorizedPrivilegedTerminal"]; + result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"]; + result.authorizedPINManagement = jsonObject["authorizedPINManagement"]; + result.authorizedInstallCert = jsonObject["authorizedInstallCert"]; + result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"]; + result.applyAmendments = jsonObject["applyAmendments"]; + result.autoSettings = jsonObject["autoSettings"]; + result.proceedReadingAlways = jsonObject["proceedReadingAlways"]; + result.readDTC = jsonObject["readDTC"]; + result.mrzStrictCheck = jsonObject["mrzStrictCheck"]; + result.loadCRLFromRemote = jsonObject["loadCRLFromRemote"]; + result.independentSODStatus = jsonObject["independentSODStatus"]; + + result.readingBuffer = + RFIDReadingBufferSize.getByValue(jsonObject["readingBuffer"]); + result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]; + result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]; + result.signManagementAction = + SignManagementAction.getByValue(jsonObject["signManagementAction"]); + result.profilerType = + RFIDSDKProfilerType.getByValue(jsonObject["profilerType"]); + result.authProcType = + RFIDAuthenticationProcedureType.getByValue(jsonObject["authProcType"]); + result.baseSMProcedure = RFIDAccessControlProcedureType.getByValue( + jsonObject["baseSMProcedure"]); + result.pacePasswordType = + RFIDPasswordType.getByValue(jsonObject["pacePasswordType"]); + result.terminalType = + RFIDTerminalType.getByValue(jsonObject["terminalType"]); + + result.password = jsonObject["password"]; + result.pkdPA = jsonObject["pkdPA"]; + result.pkdEAC = jsonObject["pkdEAC"]; + result.mrz = jsonObject["mrz"]; + result.eSignPINDefault = jsonObject["eSignPINDefault"]; + result.eSignPINNewValue = jsonObject["eSignPINNewValue"]; + result.cardAccess = jsonObject["cardAccess"]; + result.mrzHash = jsonObject["mrzHash"]; + result.documentNumber = jsonObject["documentNumber"]; + result.dateOfBirth = jsonObject["dateOfBirth"]; + result.dateOfExpiry = jsonObject["dateOfExpiry"]; + + result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"]); + result.ePassportDataGroups = + EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"]); + result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"]); + result.dtcDataGroups = DTCDataGroup.fromJson(jsonObject["dtcDataGroups"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "paceStaticBinding": paceStaticBinding, + "onlineTA": onlineTA, + "writeEid": writeEid, + "universalAccessRights": universalAccessRights, + "authorizedRestrictedIdentification": + authorizedRestrictedIdentification, + "auxVerificationCommunityID": auxVerificationCommunityID, + "auxVerificationDateOfBirth": auxVerificationDateOfBirth, + "skipAA": skipAA, + "strictProcessing": strictProcessing, + "pkdDSCertPriority": pkdDSCertPriority, + "pkdUseExternalCSCA": pkdUseExternalCSCA, + "trustedPKD": trustedPKD, + "passiveAuth": passiveAuth, + "useSFI": useSFI, + "readEPassport": readEPassport, + "readEID": readEID, + "readEDL": readEDL, + "authorizedSTSignature": authorizedSTSignature, + "authorizedSTQSignature": authorizedSTQSignature, + "authorizedWriteDG17": authorizedWriteDG17, + "authorizedWriteDG18": authorizedWriteDG18, + "authorizedWriteDG19": authorizedWriteDG19, + "authorizedWriteDG20": authorizedWriteDG20, + "authorizedWriteDG21": authorizedWriteDG21, + "authorizedVerifyAge": authorizedVerifyAge, + "authorizedVerifyCommunityID": authorizedVerifyCommunityID, + "authorizedPrivilegedTerminal": authorizedPrivilegedTerminal, + "authorizedCANAllowed": authorizedCANAllowed, + "authorizedPINManagement": authorizedPINManagement, + "authorizedInstallCert": authorizedInstallCert, + "authorizedInstallQCert": authorizedInstallQCert, + "applyAmendments": applyAmendments, + "autoSettings": autoSettings, + "proceedReadingAlways": proceedReadingAlways, + "readDTC": readDTC, + "mrzStrictCheck": mrzStrictCheck, + "loadCRLFromRemote": loadCRLFromRemote, + "independentSODStatus": independentSODStatus, + "readingBuffer": readingBuffer?.value, + "onlineTAToSignDataType": onlineTAToSignDataType, + "defaultReadingBufferSize": defaultReadingBufferSize, + "signManagementAction": signManagementAction?.value, + "profilerType": profilerType?.value, + "authProcType": authProcType?.value, + "baseSMProcedure": baseSMProcedure?.value, + "pacePasswordType": pacePasswordType?.value, + "terminalType": terminalType?.value, + "password": password, + "pkdPA": pkdPA, + "pkdEAC": pkdEAC, + "mrz": mrz, + "eSignPINDefault": eSignPINDefault, + "eSignPINNewValue": eSignPINNewValue, + "cardAccess": cardAccess, + "mrzHash": mrzHash, + "documentNumber": documentNumber, + "dateOfBirth": dateOfBirth, + "dateOfExpiry": dateOfExpiry, + "eDLDataGroups": eDLDataGroups.toJson(), + "ePassportDataGroups": ePassportDataGroups.toJson(), + "eIDDataGroups": eIDDataGroups.toJson(), + "dtcDataGroups": dtcDataGroups.toJson(), + }.clearNulls(); + + void _set(Map json) { + if (identical(this, DocumentReader.instance.rfidScenario)) { + _bridge.invokeMethod("setRfidScenario", [json]); + } + testSetters.addAll(json); + } + + void _apply() => _set(toJson()); + + @visibleForTesting + Map testSetters = {}; +} + +enum RFIDAuthenticationProcedureType { + /// Not defined. + UNDEFINED(0), + + /// Standard authentication procedure. + STANDARD(1), + + /// Advanced authentication procedure. + ADVANCED(2), + + /// General authentication procedure. + GENERAL(3); + + const RFIDAuthenticationProcedureType(this.value); + final int value; + + static RFIDAuthenticationProcedureType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDAuthenticationProcedureType.values.firstWhere( + (x) => x.value == i, + ); + } catch (_) { + return RFIDAuthenticationProcedureType.UNDEFINED; + } + } +} + +enum RFIDPasswordType { + /// Unknown type. + UNDEFINED(0), + + /// MRZ. + MRZ(1), + + /// CAN. + CAN(2), + + /// PIN. + PIN(3), + + /// PUK. + PUK(4), + + /// eSign-PIN. + PIN_ESIGN(5), + + /// Scanning Area Identifier (for eDL application). + SAI(6), + + /// MRZHash. + MRZ_HASH(7); + + const RFIDPasswordType(this.value); + final int value; + + static RFIDPasswordType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDPasswordType.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDPasswordType.UNDEFINED; + } + } +} + +enum RFIDSDKProfilerType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Doc 9303, 6th edition, 2006. + DOC_9303_EDITION_2006(0x00000001), + + /// LDS and PKI Maintenance, v2.0, May 21, 2014. + DOC_9303_LDS_PKI_MAINTENANCE(0x00000002); + + const RFIDSDKProfilerType(this.value); + final int value; + + static RFIDSDKProfilerType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDSDKProfilerType.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDSDKProfilerType.UNKNOWN; + } + } +} + +enum RFIDTerminalType { + /// Not defined. + UNDEFINED(0), + + /// Inspection system. + INSPECTION_SYSTEM(1), + + /// Authentication terminal + AUTHENTICATION_TERMINAL(2), + + /// Signature terminal. + SIGNATURE_TERMINAL(3), + + /// Unauthenticated terminal. + UNAUTHENTICATED_TERMINAL(4); + + const RFIDTerminalType(this.value); + final int value; + + static RFIDTerminalType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDTerminalType.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDTerminalType.UNDEFINED; + } + } +} + +enum SignManagementAction { + /// Not identified. + UNDEFINED(0), + + /// Create PIN. + CREATE_PIN(1), + + /// Change PIN. + CHANGE_PIN(2), + + /// Unblock PIN + UNBLOCK_PIN(3), + + /// Terminate PIN. + TERMINATE_PIN(4), + + /// Generate keys. + GENERATE_KEYS(5), + + /// Terminate keys. + TERMINATE_KEYS(6), + + /// Sign data. + SIGN_DATA(7); + + const SignManagementAction(this.value); + final int value; + + static SignManagementAction? getByValue(int? i) { + if (i == null) return null; + try { + return SignManagementAction.values.firstWhere((x) => x.value == i); + } catch (_) { + return SignManagementAction.UNDEFINED; + } + } +} + +enum RFIDReadingBufferSize { + /// Standard length. + STANDARD_LENGTH(0), + + /// Extended length. + EXTENDED_LENGTH(-1); + + const RFIDReadingBufferSize(this.value); + final int value; + + static RFIDReadingBufferSize? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDReadingBufferSize.values.firstWhere( + (x) => x.value == i, + ); + } catch (_) { + return RFIDReadingBufferSize.EXTENDED_LENGTH; + } + } +} diff --git a/lib/src/results/DocumentType.dart b/lib/src/results/DocumentType.dart deleted file mode 100644 index 1ca841b83b..0000000000 --- a/lib/src/results/DocumentType.dart +++ /dev/null @@ -1,869 +0,0 @@ -// -// DocumentType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class DocumentType { - /// Document type name. - String? get name => _name; - String? _name; - - /// Document type numeric code. - int get id => _id; - late int _id; - - /// Document issuing country ICAO code. - String? get iCAOCode => _iCAOCode; - String? _iCAOCode; - - /// An array of IRS document identifiers. - List? get fDSID => _fDSID; - List? _fDSID; - - /// Document type. - DocType get type => _type; - late DocType _type; - - /// Document format. - DocFormat get format => _format; - late DocFormat _format; - - /// Flag for MRZ presence on a document. - bool get mrz => _mrz; - late bool _mrz; - - /// Document deprecation. - bool get isDeprecated => _isDeprecated; - late bool _isDeprecated; - - /// Document description text. - String? get description => _description; - String? _description; - - /// Document issue year. - String? get year => _year; - String? _year; - - /// Document issuing country name. - String? get countryName => _countryName; - String? _countryName; - - /// An index of the document page whence results are received. - int get pageIndex => _pageIndex; - late int _pageIndex; - - /// Allows you to deserialize object. - static DocumentType? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DocumentType(); - - result._pageIndex = jsonObject["pageIndex"]; - result._id = jsonObject["documentID"]; - result._type = DocType.getByValue(jsonObject["dType"])!; - result._format = DocFormat.getByValue(jsonObject["dFormat"])!; - result._mrz = jsonObject["dMRZ"]; - result._isDeprecated = jsonObject["isDeprecated"]; - result._name = jsonObject["name"]; - result._iCAOCode = jsonObject["ICAOCode"]; - result._description = jsonObject["dDescription"]; - result._year = jsonObject["dYear"]; - result._countryName = jsonObject["dCountryName"]; - result._fDSID = jsonObject["FDSID"] == null - ? null - : List.from(jsonObject["FDSID"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "name": name, - "documentID": id, - "ICAOCode": iCAOCode, - "FDSID": fDSID, - "dType": type.value, - "dFormat": format.value, - "dMRZ": mrz, - "isDeprecated": isDeprecated, - "dDescription": description, - "dYear": year, - "dCountryName": countryName, - "pageIndex": pageIndex, - }.clearNulls(); -} - -/// Defining the geometric format of documents in accordance with ISO / IEC 7810. -enum DocFormat { - /// Unknown format. - UNKNOWN(-1), - - /// ID1 document format. - ID1(0), - - /// ID2 document format. - ID2(1), - - /// ID3 document format. - ID3(2), - - /// Undefined document format. - NON(3), - - /// A4 document format. - A4(4), - - /// ID3 double document format. - ID3_x2(5), - - /// ID2 Turkey document format. - ID2_TURKEY(6), - - /// ID1 format document rotated 90 degrees. - ID1_90(10), - - /// ID1 format document rotated 180 degrees. - ID1_180(11), - - /// ID1 format document rotated 270 degrees. - ID1_270(12), - - /// ID2 format document rotated 180 degrees. - ID2_180(13), - - /// ID3 format document rotated 180 degrees. - ID3_180(14), - - /// Arbitrary format. - CUSTOM(1000), - - /// Photo format. - PHOTO(1001), - - /// Flexible format. Standard formats can be resized during cropping, depending - /// on various factors: light, background etc. - FLEXIBLE(1002); - - const DocFormat(this.value); - final int value; - - static DocFormat? getByValue(int? i) { - if (i == null) return null; - try { - return DocFormat.values.firstWhere((x) => x.value == i); - } catch (_) { - return DocFormat.UNKNOWN; - } - } -} - -enum DocType { - /// An unknown document type. - NotDefined(0), - - /// Passport. - Passport(11), - - /// Identity Card. - IdentityCard(12), - - /// Diplomatic Passport. - DiplomaticPassport(13), - - /// Service Passport. - ServicePassport(14), - - /// Seaman's Identity Document. - SeamanIdentityDocument(15), - - /// Identity Card for Residence. - IdentityCardForResidence(16), - - /// Travel Document. - TravelDocument(17), - - /// Other. - Other(99), - - /// Visa ID-2. - VisaID2(29), - - /// Visa ID-3. - VisaID3(30), - - /// National Identity Card. - NationalIdentityCard(20), - - /// Social Identity Card. - SocialIdentityCard(21), - - /// Alien's Identity Card. - AliensIdentityCard(22), - - /// Privileged Identity Card. - PrivilegedIdentityCard(23), - - /// Residence Permit Identity Card. - ResidencePermitIdentityCard(24), - - /// Origin Card. - OriginCard(25), - - /// Emergency Passport. - EmergencyPassport(26), - - /// Alien's Passport. - AliensPassport(27), - - /// Alternative Identity Card. - AlternativeIdentityCard(28), - - /// Authorization Card. - AuthorizationCard(32), - - /// Beginner Permit. - BeginnerPermit(33), - - /// Border Crossing Card. - BorderCrossingCard(34), - - /// Chauffeur License. - ChauffeurLicense(35), - - /// Chauffeur License under 18. - ChauffeurLicenseUnder18(36), - - /// Chauffeur License under 21. - ChauffeurLicenseUnder21(37), - - /// Commercial Driving License. - CommercialDrivingLicense(38), - - /// Commercial Driving License Instructional Permit. - CommercialDrivingLicenseInstructionalPermit(39), - - /// Commercial Driving License under 18. - CommercialDrivingLicenseUnder18(40), - - /// Commercial Driving License under 21. - CommercialDrivingLicenseUnder21(41), - - /// Commercial Indtuction Permit. - CommercialInstructionPermit(42), - - /// Commercial New Permit. - CommercialNewPermit(43), - - /// Concealed Carry License. - ConcealedCarryLicense(44), - - /// Concealed Firearm Permit. - ConcealedFirearmPermit(45), - - /// Conditional Driving License. - ConditionalDrivingLicense(46), - - /// Department of Veterans Affairs Identity Card. - DepartmentOfVeteransAffairsIdentityCard(47), - - /// Diplomatic Driving License. - DiplomaticDrivingLicense(48), - - /// Driving License. - DrivingLicense(49), - - /// Driving License Instructional Permit. - DrivingLicenseInstructionalPermit(50), - - /// Driving License Instructional Permit under 18. - DrivingLicenseInstructionalPermitUnder18(51), - - /// Driving License Instructional Permit under 21. - DrivingLicenseInstructionalPermitUnder21(52), - - /// Driving License Learners Permit. - DrivingLicenseLearnersPermit(53), - - /// Driving License Learners Permit under 18. - DrivingLicenseLearnersPermitUnder18(54), - - /// Driving License Learners Permit under 21. - DrivingLicenseLearnersPermitUnder21(55), - - /// Driving License Novice. - DrivingLicenseNovice(56), - - /// Driving License Novice under 18. - DrivingLicenseNoviceUnder18(57), - - /// Driving License Novice under 21. - DrivingLicenseNoviceUnder21(58), - - /// Driving License Registered Offender. - DrivingLicenseRegisteredOffender(59), - - /// Driving License Redticted under 18. - DrivingLicenseRestrictedUnder18(60), - - /// Driving License Redticted under 21. - DrivingLicenseRestrictedUnder21(61), - - /// Driving License Temporary Visitor. - DrivingLicenseTemporaryVisitor(62), - - /// Driving License Temporary Visitor under 18. - DrivingLicenseTemporaryVisitorUnder18(63), - - /// Driving License Temporary Visitor under 21. - DrivingLicenseTemporaryVisitorUnder21(64), - - /// Driving License under 18. - DrivingLicenseUnder18(65), - - /// Driving License under 21. - DrivingLicenseUnder21(66), - - /// Employment Driving Permit. - EmploymentDrivingPermit(67), - - /// Enhanced Chauffeur License. - EnhancedChauffeurLicense(68), - - /// Enhanced Chauffeur License under 18. - EnhancedChauffeurLicenseUnder18(69), - - /// Enhanced Chauffeur License under 21. - EnhancedChauffeurLicenseUnder21(70), - - /// Enhanced Commercial Driving License. - EnhancedCommercialDrivingLicense(71), - - /// Enhanced Driving License. - EnhancedDrivingLicense(72), - - /// Enhanced Driving License under 18. - EnhancedDrivingLicenseUnder18(73), - - /// Enhanced Driving License under 21. - EnhancedDrivingLicenseUnder21(74), - - /// Enhanced Identity Card. - EnhancedIdentityCard(75), - - /// Enhanced Identity Card under 18. - EnhancedIdentityCardUnder18(76), - - /// Enhanced Identity Card under 21. - EnhancedIdentityCardUnder21(77), - - /// Enhanced Operators License. - EnhancedOperatorsLicense(78), - - /// Firearms Permit. - FirearmsPermit(79), - - /// Full Provisional License. - FullProvisionalLicense(80), - - /// Full Provisional License under 18. - FullProvisionalLicenseUnder18(81), - - /// Full Provisional License under 21. - FullProvisionalLicenseUnder21(82), - - /// Geneva Conventions Identity Card. - GenevaConventionsIdentityCard(83), - - /// Graduated Driving License under 18. - GraduatedDrivingLicenseUnder18(84), - - /// Graduated Driving License under 21. - GraduatedDrivingLicenseUnder21(85), - - /// Graduated Indtuction Permit under 18. - GraduatedInstructionPermitUnder18(86), - - /// Graduated Indtuction Permit under 21. - GraduatedInstructionPermitUnder21(87), - - /// Graduated License under 18. - GraduatedLicenseUnder18(88), - - /// Graduated License under 21. - GraduatedLicenseUnder21(89), - - /// Handgun Carry Permit. - HandgunCarryPermit(90), - - /// Identity and Privilege Card. - IdentityAndPrivilegeCard(91), - - /// Identity Card Mobility Impaired. - IdentityCardMobilityImpaired(92), - - /// Identity Card Registered Offender. - IdentityCardRegisteredOffender(93), - - /// Identity Card Temporary Visitor. - IdentityCaremporaryVisitor(94), - - /// Identity Card Temporary Visitor under 18. - IdentityCaremporaryVisitorUnder18(95), - - /// Identity Card Temporary Visitor under 21. - IdentityCaremporaryVisitorUnder21(96), - - /// Identity Card under 18. - IdentityCardUnder18(97), - - /// Identity Card under 21. - IdentityCardUnder21(98), - - /// Ignition Interlock Permit. - IgnitionInterlockPermit(100), - - /// Immigrant Visa. - ImmigrantVisa(101), - - /// Indtuction Permit. - InstructionPermit(102), - - /// Indtuction Permit under 18. - InstructionPermitUnder18(103), - - /// Indtuction Permit under 21. - InstructionPermitUnder21(104), - - /// Interim Driving License. - InterimDrivingLicense(105), - - /// Interim Identity Card. - InterimIdentityCard(106), - - /// Intermediate Driving License. - IntermediateDrivingLicense(107), - - /// Intermediate Driving License under 18. - IntermediateDrivingLicenseUnder18(108), - - /// Intermediate Driving License under 21. - IntermediateDrivingLicenseUnder21(109), - - /// Junior Driving License. - JuniorDrivingLicense(110), - - /// Learner Instructional Permit. - LearnerInstructionalPermit(111), - - /// Learner License. - LearnerLicense(112), - - /// Learner License under 18. - LearnerLicenseUnder18(113), - - /// Learner License under 21. - LearnerLicenseUnder21(114), - - /// Learner Permit. - LearnerPermit(115), - - /// Learner Permit under 18. - LearnerPermitUnder18(116), - - /// Learner Permit under 21. - LearnerPermitUnder21(117), - - /// Limited License. - LimitedLicense(118), - - /// Limited Permit. - LimitedPermit(119), - - /// Limited Term Driving License. - LimiteermDrivingLicense(120), - - /// Limited Term Identity Card. - LimiteermIdentityCard(121), - - /// Liquor Identity Card. - LiquorIdentityCard(122), - - /// New Permit. - NewPermit(123), - - /// New Permit under 18. - NewPermitUnder18(124), - - /// New Permit under 21. - NewPermitUnder21(125), - - /// Non-US Citizen Driving License. - NonUsCitizenDrivingLicense(126), - - /// Occupational Driving License. - OccupationalDrivingLicense(127), - - /// Oneida Tribe of Indians Identity Card. - OneidaTribeOfIndiansIdentityCard(128), - - /// Operator License. - OperatorLicense(129), - - /// Operator License under 18. - OperatorLicenseUnder18(130), - - /// Operator License under 21. - OperatorLicenseUnder21(131), - - /// Permanent Driving License. - PermanentDrivingLicense(132), - - /// Permit to Re-enter. - PermitToReEnter(133), - - /// Probationary Auto License. - ProbationaryAutoLicense(134), - - /// Probationary Auto License under 18. - ProbationaryDrivingLicenseUnder18(135), - - /// Probationary Auto License under 21. - ProbationaryDrivingLicenseUnder21(136), - - /// Probationary Vehicle Salesperson License. - ProbationaryVehicleSalespersonLicense(137), - - /// Provisional Driving License. - ProvisionalDrivingLicense(138), - - /// Provisional Driving License under 18. - ProvisionalDrivingLicenseUnder18(139), - - /// Provisional Driving License under 21. - ProvisionalDrivingLicenseUnder21(140), - - /// Provisional License. - ProvisionalLicense(141), - - /// Provisional License under 18. - ProvisionalLicenseUnder18(142), - - /// Provisional License under 21. - ProvisionalLicenseUnder21(143), - - /// Public Passenger Chauffeur License. - PublicPassengerChauffeurLicense(144), - - /// Racing and Gaming Comission Card. - RacingAndGamingComissionCard(145), - - /// Refugee Travel Document. - RefugeeTravelDocument(146), - - /// Renewal Permit. - RenewalPermit(147), - - /// Restricted Commercial Driving License. - RestrictedCommercialDrivingLicense(148), - - /// Restricted Driving License. - RestrictedDrivingLicense(149), - - /// Restricted Permit. - RestrictedPermit(150), - - /// Seasonal Permit. - SeasonalPermit(151), - - /// Seasonal Resident Identity Card. - SeasonalResidentIdentityCard(152), - - /// Senior Citizen Identity Card. - SeniorCitizenIdentityCard(153), - - /// Sex Offender. - SexOffender(154), - - /// Social Security Card. - SocialSecurityCard(155), - - /// Temporary Driving License. - TemporaryDrivingLicense(156), - - /// Temporary Driving License under 18. - TemporaryDrivingLicenseUnder18(157), - - /// Temporary Driving License under 21. - TemporaryDrivingLicenseUnder21(158), - - /// Temporary Identity Card. - TemporaryIdentityCard(159), - - /// Temporary Instruction Permit Identity Card. - TemporaryInstructionPermitIdentityCard(160), - - /// Temporary Instruction Permit Identity Card under 18. - TemporaryInstructionPermitIdentityCardUnder18(161), - - /// Temporary Instruction Permit Identity Card under 21. - TemporaryInstructionPermitIdentityCardUnder21(162), - - /// Temporary Visitor Driving License. - TemporaryVisitorDrivingLicense(163), - - /// Temporary Visitor Driving License under 18. - TemporaryVisitorDrivingLicenseUnder18(164), - - /// Temporary Visitor Driving License under 21. - TemporaryVisitorDrivingLicenseUnder21(165), - - /// Uniformed Services Identity Card. - UniformedServicesIdentityCard(166), - - /// Vehicle Salesperson License. - VehicleSalespersonLicense(167), - - /// Worker Identification Credential. - WorkerIdentificationCredential(168), - - /// Commercial Driving License Novice. - CommercialDrivingLicenseNovice(169), - - /// Commercial Driving License Novice under 18. - CommercialDrivingLicenseNoviceUnder18(170), - - /// Commercial Driving License Novice under 21. - CommercialDrivingLicenseNoviceUnder21(171), - - /// Passport Card. - PassportCard(172), - - /// Permanent Resident Card. - PermanentResidentCard(173), - - /// Personal Identification Verification. - PersonalIdentificationVerification(174), - - /// Temporary Operator License. - TemporaryOperatorLicense(175), - - /// Driving License under 19. - DrivingLicenseUnder19(176), - - /// Identity Card under 19. - IdentityCardUnder19(177), - - /// Visa. - Visa(178), - - /// Temporary Passport. - TemporaryPassport(179), - - /// Voting Card. - VotingCard(180), - - /// Health Card. - HealthCard(181), - - /// Certificate of Citizenship. - CertificateOfCitizenship(182), - - /// Address Card. - AddressCard(183), - - /// Airport Immigration Card. - AirportImmigrationCard(184), - - /// Alien Regidtation Card. - AlienRegistrationCard(185), - - /// APEH Card. - APEHCard(186), - - /// Coupon To Driving License. - CouponToDrivingLicense(187), - - /// Crew Member Certificate. - CrewMemberCertificate(188), - - /// Document for Return. - DocumentForReturn(189), - - /// E-Card. - ECard(190), - - /// Employment Card. - EmploymentCard(191), - - /// HKSAR Immigration Form. - HKSARImmigrationForm(192), - - /// Immigrant Card. - ImmigrantCard(193), - - /// Labour Card. - LabourCard(194), - - /// Laissez Passer. - LaissezPasser(195), - - /// Lawyer Identity Certificate. - LawyerIdentityCertificate(196), - - /// License Card. - LicenseCard(197), - - /// Passport Stateless. - PassportStateless(198), - - /// Passport Child. - PassportChild(199), - - /// Passport Consular. - PassportConsular(200), - - /// Passport Diplomatic Service. - PassportDiplomaticService(201), - - /// Passport Official. - PassportOfficial(202), - - /// Passport Provisional. - PassportProvisional(203), - - /// Passport Special. - PassportSpecial(204), - - /// Permission to the Local Border Traffic. - PermissionToTheLocalBorderTraffic(205), - - /// Registration Certificate. - RegistrationCertificate(206), - - /// SEDESOL Card. - SEDESOLCard(207), - - /// Social Card. - SocialCard(208), - - /// TB Card. - TBCard(209), - - /// Vehicle Passport. - VehiclePassport(210), - - /// W Document. - WDocument(211), - - /// Diplomatic Identity Card. - DiplomaticIdentityCard(212), - - /// Consular Identity Card. - ConsularIdentityCard(213), - - /// Income Tax Card. - IncomeTaxCard(214), - - /// Residence Permit. - ResidencePermit(215), - - /// Document of Identity. - DocumentOfIdentity(216), - - /// Border Crossing Permit. - BorderCrossingPermit(217), - - /// Passport Limited Validity. - PassportLimitedValidity(218), - - /// SIM Card. - SIMCard(219), - - /// Tax Card. - TaxCard(220), - - /// Company Card. - CompanyCard(221), - - /// Domestic Passport. - DomesticPassport(222), - - /// Identity Certificate. - IdentityCertificate(223), - - /// Resident Id Card. - ResidentIdCard(224), - - /// Armed Forces Identity Card. - ArmedForcesIdentityCard(225), - - /// Professional Card. - ProfessionalCard(226), - - /// Registration Stamp. - RegistrationStamp(227), - - /// Driver Card. - DriverCard(228), - - /// Driver Training Certificate. - DriverTrainingCertificate(229), - - /// Qualification Driving License. - QualificationDrivingLicense(230), - - /// Membership Card. - MembershipCard(231), - - /// Public Vehicle Driver Authority Card. - PublicVehicleDriverAuthorityCard(232), - - /// Marine License. - MarineLicense(233), - - /// Temporary Learner Driving License. - TemporaryLearnerDrivingLicense(234), - - /// Temporary Commercial Driving License. - TemporaryCommercialDrivingLicense(235), - - /// Interim Instructional Permit. - InterimInstructionalPermit(236), - - /// Certificate of Competency. - CertificateOfCompetency(237), - - /// Certificate of Proficiency. - CertificateOfProficiency(238), - - TradeLicense(239), - - PassportPage(240), - - Invoice(241), - - PassengerLocatorForm(242); - - const DocType(this.value); - final int value; - - static DocType? getByValue(int? i) { - if (i == null) return null; - try { - return DocType.values.firstWhere((x) => x.value == i); - } catch (_) { - return DocType.NotDefined; - } - } - - static List? fromIntList(List? input) { - if (input == null) return null; - List list = []; - for (int item in input) list.addSafe(getByValue(item)); - return list; - } -} diff --git a/lib/src/results/Position.dart b/lib/src/results/Position.dart index c19adf4d14..1ddf147648 100644 --- a/lib/src/results/Position.dart +++ b/lib/src/results/Position.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../flutter_document_reader_api.dart"; /// Structure is used for storing element bounds detection result._ class Position { diff --git a/lib/src/results/Results.dart b/lib/src/results/Results.dart index 14f8ac8244..26ab758be2 100644 --- a/lib/src/results/Results.dart +++ b/lib/src/results/Results.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../flutter_document_reader_api.dart"; /// Class describing results returned on completion of Document Reader work. class Results { @@ -63,6 +63,14 @@ class Results { VDSNCData? get vdsncData => _vdsncData; VDSNCData? _vdsncData; + /// Visible Digital Seal data. + VDSData? get vdsData => _vdsData; + VDSData? _vdsData; + + /// DTCVC data. + Uint8List? get dtcData => _dtcData; + Uint8List? _dtcData; + /// Document processing finish status, one of RGLProcessingFinishedStatus values. ProcessingFinishedStatus get processingFinishedStatus => _processingFinishedStatus; @@ -85,20 +93,19 @@ class Results { String get rawResult => _rawResult; late String _rawResult; + /// Contains results in accordance with the BSI TR-03135 standard. + String? get bsiTr03135Results => _bsiTr03135Results; + String? _bsiTr03135Results; + TransactionInfo? get transactionInfo => _transactionInfo; TransactionInfo? _transactionInfo; /// Allows you to get a value of a text field. - Future textFieldValueByType( - FieldType fieldType, - ) async { - return await _bridge.invokeMethod( - "textFieldValueByType", - [ - rawResult, - fieldType.value, - ], - ); + Future textFieldValueByType(FieldType fieldType) async { + return await _bridge.invokeMethod("textFieldValueByType", [ + rawResult, + fieldType.value, + ]); } /// Allows you to get a value of a text field based on LCID. @@ -106,14 +113,11 @@ class Results { FieldType fieldType, LCID lcid, ) async { - return await _bridge.invokeMethod( - "textFieldValueByTypeLcid", - [ - rawResult, - fieldType.value, - lcid.value, - ], - ); + return await _bridge.invokeMethod("textFieldValueByTypeLcid", [ + rawResult, + fieldType.value, + lcid.value, + ]); } /// Allows you to get a value of a text field based on a source type. @@ -121,14 +125,11 @@ class Results { FieldType fieldType, ResultType source, ) async { - return await _bridge.invokeMethod( - "textFieldValueByTypeSource", - [ - rawResult, - fieldType.value, - source.value, - ], - ); + return await _bridge.invokeMethod("textFieldValueByTypeSource", [ + rawResult, + fieldType.value, + source.value, + ]); } /// Allows you to get a value of a text field based on LCID and a source type. @@ -137,15 +138,12 @@ class Results { LCID lcid, ResultType source, ) async { - return await _bridge.invokeMethod( - "textFieldValueByTypeLcidSource", - [ - rawResult, - fieldType.value, - lcid.value, - source.value, - ], - ); + return await _bridge.invokeMethod("textFieldValueByTypeLcidSource", [ + rawResult, + fieldType.value, + lcid.value, + source.value, + ]); } /// Allows you to get a value of a text field based on a source type and @@ -155,15 +153,12 @@ class Results { ResultType source, bool original, ) async { - return await _bridge.invokeMethod( - "textFieldValueByTypeSourceOriginal", - [ - rawResult, - fieldType.value, - source.value, - original, - ], - ); + return await _bridge.invokeMethod("textFieldValueByTypeSourceOriginal", [ + rawResult, + fieldType.value, + source.value, + original, + ]); } /// Allows you to get a value of a text field based on LCID, a source type @@ -176,44 +171,27 @@ class Results { ) async { return await _bridge.invokeMethod( "textFieldValueByTypeLcidSourceOriginal", - [ - rawResult, - fieldType.value, - lcid.value, - source.value, - original, - ], + [rawResult, fieldType.value, lcid.value, source.value, original], ); } /// Allows you to get an instance of a text field. - Future textFieldByType( - FieldType fieldType, - ) async { - String? result = await _bridge.invokeMethod( - "textFieldByType", - [ - rawResult, - fieldType.value, - ], - ); + Future textFieldByType(FieldType fieldType) async { + String? result = await _bridge.invokeMethod("textFieldByType", [ + rawResult, + fieldType.value, + ]); if (result == null) return null; return TextField.fromJson(json.decode(result)); } /// Allows you to get an instance of a text field based on LCID. - Future textFieldByTypeLcid( - FieldType fieldType, - LCID lcid, - ) async { - String? result = await _bridge.invokeMethod( - "textFieldByTypeLcid", - [ - rawResult, - fieldType.value, - lcid.value, - ], - ); + Future textFieldByTypeLcid(FieldType fieldType, LCID lcid) async { + String? result = await _bridge.invokeMethod("textFieldByTypeLcid", [ + rawResult, + fieldType.value, + lcid.value, + ]); if (result == null) return null; return TextField.fromJson(json.decode(result)); } @@ -224,14 +202,11 @@ class Results { GraphicFieldType fieldType, ResultType source, ) async { - String? result = await _bridge.invokeMethod( - "graphicFieldByTypeSource", - [ - rawResult, - fieldType.value, - source.value, - ], - ); + String? result = await _bridge.invokeMethod("graphicFieldByTypeSource", [ + rawResult, + fieldType.value, + source.value, + ]); if (result == null) return null; return GraphicField.fromJson(json.decode(result)); } @@ -245,12 +220,7 @@ class Results { ) async { String? result = await _bridge.invokeMethod( "graphicFieldByTypeSourcePageIndex", - [ - rawResult, - fieldType.value, - source.value, - pageIndex, - ], + [rawResult, fieldType.value, source.value, pageIndex], ); if (result == null) return null; return GraphicField.fromJson(json.decode(result)); @@ -266,29 +236,18 @@ class Results { ) async { String? result = await _bridge.invokeMethod( "graphicFieldByTypeSourcePageIndex", - [ - rawResult, - fieldType.value, - source.value, - pageIndex, - light.value, - ], + [rawResult, fieldType.value, source.value, pageIndex, light.value], ); if (result == null) return null; return GraphicField.fromJson(json.decode(result)); } /// Allows you to get an image of a graphic field. - Future graphicFieldImageByType( - GraphicFieldType fieldType, - ) async { - String? result = await _bridge.invokeMethod( - "graphicFieldImageByType", - [ - rawResult, - fieldType.value, - ], - ); + Future graphicFieldImageByType(GraphicFieldType fieldType) async { + String? result = await _bridge.invokeMethod("graphicFieldImageByType", [ + rawResult, + fieldType.value, + ]); if (result == null) return null; // return Uri.parse("data:image/png;base64," + result); return _bytesFromBase64(result); @@ -301,11 +260,7 @@ class Results { ) async { String? result = await _bridge.invokeMethod( "graphicFieldImageByTypeSource", - [ - rawResult, - fieldType.value, - source.value, - ], + [rawResult, fieldType.value, source.value], ); if (result == null) return null; return _bytesFromBase64(result); @@ -320,12 +275,7 @@ class Results { ) async { String? result = await _bridge.invokeMethod( "graphicFieldImageByTypeSourcePageIndex", - [ - rawResult, - fieldType.value, - source.value, - pageIndex, - ], + [rawResult, fieldType.value, source.value, pageIndex], ); if (result == null) return null; return _bytesFromBase64(result); @@ -341,13 +291,7 @@ class Results { ) async { String? result = await _bridge.invokeMethod( "graphicFieldImageByTypeSourcePageIndexLight", - [ - rawResult, - fieldType.value, - source.value, - pageIndex, - light.value, - ], + [rawResult, fieldType.value, source.value, pageIndex, light.value], ); if (result == null) return null; return _bytesFromBase64(result); @@ -359,7 +303,9 @@ class Results { /// Returns original containers from rawResult including information about the transaction. Future containers(List resultType) async { List converted = []; - for (ResultType item in resultType) converted.add(item.value); + for (ResultType item in resultType) { + converted.add(item.value); + } return await _bridge.invokeMethod("containers", [rawResult, converted]); } @@ -379,7 +325,8 @@ class Results { result._chipPage = jsonObject["chipPage"]; result._processingFinishedStatus = ProcessingFinishedStatus.getByValue( - jsonObject["processingFinishedStatus"])!; + jsonObject["processingFinishedStatus"], + )!; result._elapsedTime = jsonObject["elapsedTime"]; result._elapsedTimeRFID = jsonObject["elapsedTimeRFID"]; result._morePagesAvailable = jsonObject["morePagesAvailable"]; @@ -387,39 +334,50 @@ class Results { result._textResult = TextResult.fromJson(jsonObject["textResult"]); if (jsonObject["documentPosition"] != null) { result._documentPosition = []; - for (var item in jsonObject["documentPosition"]) + for (var item in jsonObject["documentPosition"]) { result._documentPosition!.addSafe(Position.fromJson(item)); + } } if (jsonObject["barcodePosition"] != null) { result._barcodePosition = []; - for (var item in jsonObject["barcodePosition"]) + for (var item in jsonObject["barcodePosition"]) { result._barcodePosition!.addSafe(Position.fromJson(item)); + } } if (jsonObject["mrzPosition"] != null) { result._mrzPosition = []; - for (var item in jsonObject["mrzPosition"]) + for (var item in jsonObject["mrzPosition"]) { result._mrzPosition!.addSafe(Position.fromJson(item)); + } } if (jsonObject["imageQuality"] != null) { result._imageQuality = []; - for (var item in jsonObject["imageQuality"]) + for (var item in jsonObject["imageQuality"]) { result._imageQuality!.addSafe(ImageQualityGroup.fromJson(item)); + } } if (jsonObject["documentType"] != null) { result._documentType = []; - for (var item in jsonObject["documentType"]) + for (var item in jsonObject["documentType"]) { result._documentType!.addSafe(DocumentType.fromJson(item)); + } } result._rawResult = jsonObject["rawResult"]; - result._rfidSessionData = - RFIDSessionData.fromJson(jsonObject["rfidSessionData"]); - result._authenticityResult = - AuthenticityResult.fromJson(jsonObject["authenticityResult"]); + result._bsiTr03135Results = jsonObject["bsiTr03135Results"]; + result._rfidSessionData = RFIDSessionData.fromJson( + jsonObject["rfidSessionData"], + ); + result._authenticityResult = AuthenticityResult.fromJson( + jsonObject["authenticityResult"], + ); result._barcodeResult = BarcodeResult.fromJson(jsonObject["barcodeResult"]); result._status = ResultsStatus.fromJson(jsonObject["status"])!; result._vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"]); - result._transactionInfo = - TransactionInfo.fromJson(jsonObject["transactionInfo"]); + result._vdsData = VDSData.fromJson(jsonObject["vdsData"]); + result._dtcData = _bytesFromBase64(jsonObject["dtcData"]); + result._transactionInfo = TransactionInfo.fromJson( + jsonObject["transactionInfo"], + ); return result; } @@ -438,12 +396,15 @@ class Results { "rfidSessionData": rfidSessionData?.toJson(), "barcodeResult": barcodeResult?.toJson(), "vdsncData": vdsncData?.toJson(), + "vdsData": vdsData?.toJson(), + "dtcData": _bytesToBase64(dtcData), "chipPage": chipPage, "processingFinishedStatus": processingFinishedStatus.value, "morePagesAvailable": morePagesAvailable, "elapsedTime": elapsedTime, "elapsedTimeRFID": elapsedTimeRFID, "rawResult": rawResult, + "bsiTr03135Results": bsiTr03135Results, "transactionInfo": transactionInfo?.toJson(), }.clearNulls(); } @@ -602,6 +563,9 @@ enum ResultType { /// Used for storing barcode position. BARCODE_POSITION(62), + /// Results in accordance with the BSI TR-03135 standard. + RESULT_TYPE_BSI_XML_V2(73), + /// Used for storing document position. DOCUMENT_POSITION(85), @@ -626,7 +590,18 @@ enum ResultType { /// Servers for storing the results of data reading in a form of a list of objects /// of the original binary representation of the graphics in memory of the RFID-chip. - RFID_ORIGINAL_GRAPHICS(105); + RFID_ORIGINAL_GRAPHICS(105), + + /// Digital Travel Credential data. + RFID_DTC_VC(109), + + MDL_PARSED_RESPONSE(121), + + /// VDS_NC. + VDSNC(124), + + /// VDS. + VDS(125); const ResultType(this.value); final int value; @@ -643,7 +618,9 @@ enum ResultType { static List? fromIntList(List? input) { if (input == null) return null; List list = []; - for (int item in input) list.addSafe(getByValue(item)); + for (int item in input) { + list.addSafe(getByValue(item)); + } return list; } } diff --git a/lib/src/results/TransactionInfo.dart b/lib/src/results/TransactionInfo.dart deleted file mode 100644 index b7df412b31..0000000000 --- a/lib/src/results/TransactionInfo.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// TransactionInfo.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class TransactionInfo { - String? get transactionId => _transactionId; - String? _transactionId; - - String? get tag => _tag; - String? _tag; - - /// Allows you to deserialize object. - static TransactionInfo? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TransactionInfo(); - - result._transactionId = jsonObject["transactionId"]; - result._tag = jsonObject["tag"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "transactionId": transactionId, - "tag": tag, - }.clearNulls(); -} diff --git a/lib/src/results/authenticity/Authenticity.dart b/lib/src/results/authenticity/Authenticity.dart index e28146de0b..8c8439a182 100644 --- a/lib/src/results/authenticity/Authenticity.dart +++ b/lib/src/results/authenticity/Authenticity.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Enumeration contains identifiers that determine the possibility /// of performing different authenticity control procedures diff --git a/lib/src/results/authenticity/AuthenticityCheck.dart b/lib/src/results/authenticity/AuthenticityCheck.dart deleted file mode 100644 index 83494e8774..0000000000 --- a/lib/src/results/authenticity/AuthenticityCheck.dart +++ /dev/null @@ -1,52 +0,0 @@ -// -// AuthenticityCheck.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class AuthenticityCheck { - /// Indicates verification type result. - Authenticity get type => _type; - late Authenticity _type; - - /// Indicates verification result. - CheckResult get status => _status; - late CheckResult _status; - - int get pageIndex => _pageIndex; - late int _pageIndex; - - List get elements => _elements; - List _elements = []; - - String get typeName => _typeName; - late String _typeName; - - /// Allows you to deserialize object. - static AuthenticityCheck? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = AuthenticityCheck(); - - result._type = Authenticity.getByValue(jsonObject["type"])!; - result._status = CheckResult.getByValue(jsonObject["status"])!; - result._typeName = jsonObject["typeName"]; - result._pageIndex = jsonObject["pageIndex"]; - for (var item in jsonObject["elements"]) - result.elements.addSafe(AuthenticityElement.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "type": type.value, - "status": status.value, - "pageIndex": pageIndex, - "typeName": typeName, - "elements": elements.map((e) => e.toJson()).toList() - }.clearNulls(); -} diff --git a/lib/src/results/authenticity/AuthenticityElement.dart b/lib/src/results/authenticity/AuthenticityElement.dart deleted file mode 100644 index 9277379610..0000000000 --- a/lib/src/results/authenticity/AuthenticityElement.dart +++ /dev/null @@ -1,54 +0,0 @@ -// -// AuthenticityElement.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class AuthenticityElement { - /// Indicates verification result of the field. - CheckResult get status => _status; - CheckResult _status = CheckResult.WAS_NOT_DONE; - - /// Indicates element type. - SecurityFeatureType get elementType => _elementType; - late SecurityFeatureType _elementType; - - /// Indicates element diagnose. - CheckDiagnose get elementDiagnose => _elementDiagnose; - late CheckDiagnose _elementDiagnose; - - String get elementTypeName => _elementTypeName; - late String _elementTypeName; - - String get elementDiagnoseName => _elementDiagnoseName; - late String _elementDiagnoseName; - - /// Allows you to deserialize object. - static AuthenticityElement? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = AuthenticityElement(); - - result._status = CheckResult.getByValue(jsonObject["status"])!; - result._elementType = - SecurityFeatureType.getByValue(jsonObject["elementType"])!; - result._elementDiagnose = - CheckDiagnose.getByValue(jsonObject["elementDiagnose"])!; - result._elementTypeName = jsonObject["elementTypeName"]; - result._elementDiagnoseName = jsonObject["elementDiagnoseName"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "status": status.value, - "elementType": elementType.value, - "elementDiagnose": elementDiagnose.value, - "elementTypeName": elementTypeName, - "elementDiagnoseName": elementDiagnoseName, - }.clearNulls(); -} diff --git a/lib/src/results/authenticity/AuthenticityResult.dart b/lib/src/results/authenticity/AuthenticityResult.dart deleted file mode 100644 index 7eca8a4118..0000000000 --- a/lib/src/results/authenticity/AuthenticityResult.dart +++ /dev/null @@ -1,35 +0,0 @@ -// -// AuthenticityResult.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class AuthenticityResult { - CheckResult get status => _status; - late CheckResult _status; - - List get checks => _checks; - List _checks = []; - - /// Allows you to deserialize object. - static AuthenticityResult? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = AuthenticityResult(); - - result._status = CheckResult.getByValue(jsonObject["status"])!; - for (var item in jsonObject["checks"]) - result._checks.addSafe(AuthenticityCheck.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "status": status.value, - "checks": checks.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/authenticity/CheckDiagnose.dart b/lib/src/results/authenticity/CheckDiagnose.dart deleted file mode 100644 index 44d1e6911c..0000000000 --- a/lib/src/results/authenticity/CheckDiagnose.dart +++ /dev/null @@ -1,354 +0,0 @@ -// -// CheckDiagnose.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enumeration contains identificators that determine the result of the -/// text field comparison from different sources. -enum CheckDiagnose { - /// Check was not performed. - UNKNOWN(0), - - /// Check was ok. - PASS(1), - - /// Invalid input data. - INVALID_INPUT_DATA(2), - - /// Internal error in module. - INTERNAL_ERROR(3), - - /// Exception caught - EXCEPTION_IN_MODULE(4), - - /// Can't make reliable decision. - UNCERTAIN_VERIFICATION(5), - - /// Image in necessary light is not found. - NECESSARY_IMAGE_NOT_FOUND(7), - - /// Necessary side of photo not found. - PHOTO_SIDES_NOT_FOUND(8), - - /// Invalid checksum. - INVALID_CHECKSUM(10), - - /// Syntactical error. - SYNTAX_ERROR(11), - - /// Logical error. - LOGIC_ERROR(12), - - /// Comparison was incorrect. - SOURCES_COMPARISON_ERROR(13), - - /// Logical error, e.g. the current date is less than issue date. - FIELDS_COMPARISON_LOGIC_ERROR(14), - - /// Wrong field format. - INVALID_FIELD_FORMAT(15), - - /// Element of the luminescense in the UV does not meet the standard. - TRUE_LUMINISCENCE_ERROR(20), - - /// The presence of excess luminescence in UV. - FALSE_LUMINISCENCE_ERROR(21), - - /// Pattern does not match the standard. - FIXED_PATTERN_ERROR(22), - - /// Low contrast of object in transmitted IR light. - LOW_CONTRAST_IN_IR_LIGHT(23), - - /// Background of page is too light or has invalid color. - INCORRECT_BACKGROUND_LIGHT(24), - - /// Background lightness of two pages is different. - BACKGROUND_COMPARISON_ERROR(25), - - /// Text has incorrect color of luminescence in UV light. - INCORRECT_TEXT_COLOR(26), - - /// Invalid luminescence in photo area. - PHOTO_FALSE_LUMINISCENCE(27), - - /// Object is too shifted from standard coordinates. - TOO_MUCH_SHIFT(28), - - /// Contact chip type mismatch. - CONTACT_CHIP_TYPE_MISMATCH(29), - - /// No protective fibers were found in UV. - FIBERS_NOT_FOUND(30), - - /// Error finding fibers, too many objects. - TOO_MANY_OBJECTS(31), - - /// Speck or exposure in UV image. - SPECKS_IN_UV(33), - - /// Resolution too low for fibers search. - TOO_LOW_RESOLUTION(34), - - /// Erroneous visibility of the element in IR. - INVISIBLE_ELEMENT_PRESENT(40), - - /// Element is absent in IR. - VISIBLE_ELEMENT_ABSENT(41), - - /// Element should be in color. - ELEMENT_SHOULD_BE_COLORED(42), - - /// Element should be in grayscale. - ELEMENT_SHOULD_BE_GRAYSCALE(43), - - PHOTO_WHITE_IR_DONT_MATCH(44), - - /// Glow paper in MRZ. - UV_DULL_PAPER_MRZ(50), - - /// Luminescence characters in MRZ. - FALSE_LUMINISCENCE_IN_MRZ(51), - - /// Glow in the field of photo paper. - UV_DULL_PAPER_PHOTO(52), - - /// Glow of the whole paper form. - UV_DULL_PAPER_BLANK(53), - - /// Glow of the document in UV. - UV_DULL_PAPER_ERROR(54), - - /// Element of blank has luminescence. - FALSE_LUMINISCENCE_IN_BLANK(55), - - /// Violation of the retro-reflective protection. - BAD_AREA_IN_AXIAL(60), - - /// Invalid params for IPI check. - FALSE_IPI_PARAMETERS(65), - - /// IR image too bright. - FIELD_POS_CORRECTOR_HIGHLIGHT_IR(80), - - /// Glares in photo area. - FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA(81), - - /// Photo replaced. - FIELD_POS_CORRECTOR_PHOTO_REPLACED(82), - - /// OVI object is not visible in IR. - OVI_IR_INVISIBLE(90), - - /// Insufficient area of the object OVI. - OVI_INSUFFICIENT_AREA(91), - - /// OVI color of an object does not change. - OVI_COLOR_INVARIABLE(92), - - /// Impossible to determine the color of the AXIAL image. - OVI_BAD_COLOR_FRONT(93), - - /// Impossible to determine the color of the WHITE image. - OVI_BAD_COLOR_SIDE(94), - - /// Wide color spread. - OVI_WIDE_COLOR_SPREAD(95), - - /// Not enough color information. - OVI_BAD_COLOR_PERCENT(96), - - /// Hologram element absent. - HOLOGRAM_ELEMENT_ABSENT(100), - - /// There are no side or top images. Check cancelled. - HOLOGRAM_SIDE_TOP_IMAGES_ABSENT(101), - - /// Hologram element present. - HOLOGRAM_ELEMENT_PRESENT(102), - - HOLOGRAM_FRAMES_IS_ABSENT(103), - - HOLOGRAM_HOLO_FIELD_IS_ABSENT(104), - - /// Pattern is interrupted. - PHOTO_PATTERN_INTERRUPTED(110), - - /// Some of the patterns are shifted relative to each other. - PHOTO_PATTERN_SHIFTED(111), - - /// Some parts of the pattern have different color. - PHOTO_PATTERN_DIFFERENT_COLORS(112), - - /// Pattern visible in the infrared. - PHOTO_PATTERN_IR_VISIBLE(113), - - /// Edge of the photo does not intersect with the pattern. Check cancelled. - PHOTO_PATTERN_NOT_INTERSECT(114), - - /// Size of the photo does not correspond to requirements. - PHOTO_SIZE_IS_WRONG(115), - - /// Some parts of the pattern have invalid color. - PHOTO_PATTERN_INVALID_COLOR(116), - - /// Some patterns are relatively shifted. - PHOTO_PATTERN_SHIFTED_VERT(117), - - /// Not found Pattern. Check cancelled. - PHOTO_PATTERN_PATTERN_NOT_FOUND(118), - - /// Different lines thickness. - PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS(119), - - /// Photo shape is not rectangular. - PHOTO_IS_NOT_RECTANGLE(120), - - /// Photo corners don't meet the requirements. - PHOTO_CORNERS_IS_WRONG(121), - - /// For internal use only. - DOCUMENT_IS_CANCELLING(122), - - ///Text color should be blue. - TEXT_COLOR_SHOULD_BE_BLUE(130), - - /// Text color should be green. - TEXT_COLOR_SHOULD_BE_GREEN(131), - - /// Text color should be red. - TEXT_COLOR_SHOULD_BE_RED(132), - - /// Text should be black. - TEXT_SHOULD_BE_BLACK(133), - - /// Barcode read with errors. - BARCODE_WAS_READ_WITH_ERRORS(140), - - /// Barcode data format error. - BARCODE_DATA_FORMAT_ERROR(141), - - /// Barcode size parameters error. - BARCODE_SIZE_PARAMS_ERROR(142), - - /// Not all barcodes read. - NOT_ALL_BARCODES_READ(143), - - /// Glares in barcode area. - GLARES_IN_BARCODE_AREA(144), - - /// Portraits differ. - PORTRAIT_COMPARISON_PORTRAITS_DIFFER(150), - - /// No reply from portrait comparison service. - PORTRAIT_COMPARISON_NO_SERVICE_REPLY(151), - - /// Portrait comparison service error. - PORTRAIT_COMPARISON_SERVICE_ERROR(152), - - /// Not enough images. - PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES(153), - - /// No image from camera. - PORTRAIT_COMPARISON_NO_LIVE_PHOTO(154), - - /// No license on portrait comparison service. - PORTRAIT_COMPARISON_NO_SERVICE_LICENSE(155), - - /// No portraits detected - PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED(156), - - /// Unsuitable light conditions. - MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS(160), - - /// No difference in visible and UV mobile images. Possible UV torch malfunction. - MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE(161), - - /// Fingerprints comparison mismatch. - FINGERPRINTS_COMPARISON_MISMATCH(170), - - /// Face isn’t detected. - HOLO_PHOTO_FACE_NOT_DETECTED(180), - - /// Face comparison failed. - HOLO_PHOTO_FACE_COMPARISON_FAILED(181), - - /// Glare in center absent. - HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT(182), - - /// Hologram element shape error. - HOLO_ELEMENT_SHAPE_ERROR(183), - - /// Algorithm steps error. - ALGORITHM_STEPS_ERROR(184), - - /// Hologram areas not loaded. - HOLO_AREAS_NOT_LOADED(185), - - /// Hologram check finished by time out. - FINISHED_BY_TIMEOUT(186), - - HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME(187), - - LIVENESS_DEPTH_CHECK_FAILED(190), - - /// Hologram check finished by time out. - MRZ_QUALITY_WRONG_SYMBOL_POSITION(200), - - /// Wrong background. - MRZ_QUALITY_WRONG_BACKGROUND(201), - - MRZ_QUALITY_WRONG_MRZ_WIDTH(202), - - MRZ_QUALITY_WRONG_MRZ_HEIGHT(203), - - MRZ_QUALITY_WRONG_LINE_POSITION(204), - - MRZ_QUALITY_WRONG_FONT_TYPE(205), - - OCR_QUALITY_TEXT_POSITION(220), - - OCR_QUALITY_INVALID_FONT(221), - - OCR_QUALITY_INVALID_BACKGROUND(222), - - LAS_INK_INVALID_LINES_FREQUENCY(230), - - /// Traces of an electronic device were found in the image. - DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED(240), - - /// Invalid barcode background. - DOC_LIVENESS_INVALID_BARCODE_BACKGROUND(241), - - ICAO_IDB_BASE_32_ERROR(243), - - ICAO_IDB_ZIPPED_ERROR(244), - - ICAO_IDB_MESSAGE_ZONE_EMPTY(245), - - ICAO_IDB_SIGNATURE_MUST_BE_PRESENT(246), - - ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT(247), - - ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT(248), - - /// For internal use. - LAST_DIAGNOSE_VALUE(250); - - const CheckDiagnose(this.value); - final int value; - - static CheckDiagnose? getByValue(int? i) { - if (i == null) return null; - try { - return CheckDiagnose.values.firstWhere((x) => x.value == i); - } catch (_) { - return CheckDiagnose.UNKNOWN; - } - } -} diff --git a/lib/src/results/authenticity/SecurityFeatureType.dart b/lib/src/results/authenticity/SecurityFeatureType.dart deleted file mode 100644 index 7832058dd7..0000000000 --- a/lib/src/results/authenticity/SecurityFeatureType.dart +++ /dev/null @@ -1,168 +0,0 @@ -// -// SecurityFeatureType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enumeration contains identifiers that determine the types of elements -/// for the document authenticity check. -enum SecurityFeatureType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-2), - - NONE(-1), - - /// Blank element. - BLANK(0), - - /// Personalization element. - FILL(1), - - /// Photo. - PHOTO(2), - - /// MRZ. - MRZ(3), - - /// Photo surrounding area. - FALSE_LUMINESCENCE(4), - - /// Reserved for internal use. - HOLO_SIMPLE(5), - - /// Reserved for internal use. - HOLO_VERIFY_STATIC(6), - - /// Reserved for internal use. - HOLO_VERIFY_MULTI_STATIC(7), - - /// Reserved for internal use. - HOLO_VERIFY_DINAMIC(8), - - /// Reserved for internal use. - PATTERN_NOT_INTERRUPTED(9), - - /// Reserved for internal use. - PATTERN_NOT_SHIFTED(10), - - /// Reserved for internal use. - PATTERN_SAME_COLORS(11), - - /// Reserved for internal use. - PATTERN_IR_INVISIBLE(12), - - /// Reserved for internal use. - PHOTO_SIZE_CHECK(13), - - /// Main portrait and ghost portrait comparison. - PORTRAIT_COMPARISON_VS_GHOST(14), - - /// Main portrait and RFID portrait comparison. - PORTRAIT_COMPARISON_VS_RFID(15), - - /// Main portrait and other page portrait comparison. - PORTRAIT_COMPARISON_VS_VISUAL(16), - - /// Barcode format check. - BARCODE(17), - - /// Different lines thickness. - PATTERN_DIFFERENT_LINES_THICKNESS(18), - - /// Portrait comparison with image from camera. - PORTRAIT_COMPARISON_VS_CAMERA(19), - - /// Portrait comparison with image from RFID. - PORTRAIT_COMPARISON_RFID_VS_CAMERA(20), - - /// Ghost photo. - GHOST_PHOTO(21), - - /// Clear ghost photo. - CLEAR_GHOST_PHOTO(22), - - /// Invisible object. - INVISIBLE_OBJECT(23), - - /// Low contrast object. - LOW_CONTRAST_OBJECT(24), - - /// Photo color type. - PHOTO_COLOR(25), - - /// Photo squareness check. - PHOTO_SHAPE(26), - - /// Photo corners shape. - PHOTO_CORNERS(27), - - DOCUMENT_CANCELLING_DETECTOR(28), - OCR(28), - - PORTRAIT_COMPARISON_EXTVS_VISUAL(29), - - PORTRAIT_COMPARISON_EXTVS_RFID(30), - - PORTRAIT_COMPARISON_EXTVS_LIVE(31), - - LIVENESS_DEPTH(32), - - MICROTEXT(33), - - FLUORESCENT_OBJECT(34), - - LANDMARKS_CHECK(35), - - FACE_PRESENCE(36), - - FACE_ABSENCE(38), - - LIVENESS_SCREEN_CAPTURE(39), - - /// Checking the presence of a device that could be used for document capturing. - LIVENESS_ELECTRONIC_DEVICE(40), - - LIVENESS_OVI(41), - - BARCODE_SIZE_CHECK(42), - - LAS_INK(43), - - LIVENESS_MLI(44), - - LIVENESS_BARCODE_BACKGROUND(45), - - /// Visual zone portrait image vs. image from barcode. - PORTRAIT_COMPARISON_VS_BARCODE(46), - - /// Image from barcode vs. image from RFID. - PORTRAIT_COMPARISON_RFID_VS_BARCODE(47), - - /// Image from barcode vs. external source image. - PORTRAIT_COMPARISON_EXT_VS_BARCODE(48), - - /// Image from barcode vs. photo from camera. - PORTRAIT_COMPARISON_BARCODE_VS_CAMERA(49), - - /// Digital signature сheck. - CHECK_DIGITAL_SIGNATURE(50), - - /// Contact сhip check. - CONTACT_CHIP_CLASSIFICATION(51); - - const SecurityFeatureType(this.value); - final int value; - - static SecurityFeatureType? getByValue(int? i) { - if (i == null) return null; - try { - return SecurityFeatureType.values.firstWhere((x) => x.value == i); - } catch (_) { - return SecurityFeatureType.UNKNOWN; - } - } -} diff --git a/lib/src/results/authenticity/authenticity_check.dart b/lib/src/results/authenticity/authenticity_check.dart new file mode 100644 index 0000000000..8165eec946 --- /dev/null +++ b/lib/src/results/authenticity/authenticity_check.dart @@ -0,0 +1,53 @@ +// +// AuthenticityCheck.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class AuthenticityCheck { + /// Indicates verification type result. + Authenticity get type => _type; + late Authenticity _type; + + /// Indicates verification result. + CheckResult get status => _status; + late CheckResult _status; + + int get pageIndex => _pageIndex; + late int _pageIndex; + + List get elements => _elements; + List _elements = []; + + String get typeName => _typeName; + late String _typeName; + + /// Allows you to deserialize object. + static AuthenticityCheck? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = AuthenticityCheck(); + + result._type = Authenticity.getByValue(jsonObject["type"])!; + result._status = CheckResult.getByValue(jsonObject["status"])!; + result._typeName = jsonObject["typeName"]; + result._pageIndex = jsonObject["pageIndex"]; + for (var item in jsonObject["elements"]) { + result.elements.addSafe(AuthenticityElement.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type.value, + "status": status.value, + "pageIndex": pageIndex, + "typeName": typeName, + "elements": elements.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/authenticity/authenticity_element.dart b/lib/src/results/authenticity/authenticity_element.dart new file mode 100644 index 0000000000..fccf400eed --- /dev/null +++ b/lib/src/results/authenticity/authenticity_element.dart @@ -0,0 +1,54 @@ +// +// AuthenticityElement.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class AuthenticityElement { + /// Indicates verification result of the field. + CheckResult get status => _status; + CheckResult _status = CheckResult.WAS_NOT_DONE; + + /// Indicates element type. + SecurityFeatureType get elementType => _elementType; + late SecurityFeatureType _elementType; + + /// Indicates element diagnose. + CheckDiagnose get elementDiagnose => _elementDiagnose; + late CheckDiagnose _elementDiagnose; + + String get elementTypeName => _elementTypeName; + late String _elementTypeName; + + String get elementDiagnoseName => _elementDiagnoseName; + late String _elementDiagnoseName; + + /// Allows you to deserialize object. + static AuthenticityElement? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = AuthenticityElement(); + + result._status = CheckResult.getByValue(jsonObject["status"])!; + result._elementType = + SecurityFeatureType.getByValue(jsonObject["elementType"])!; + result._elementDiagnose = + CheckDiagnose.getByValue(jsonObject["elementDiagnose"])!; + result._elementTypeName = jsonObject["elementTypeName"]; + result._elementDiagnoseName = jsonObject["elementDiagnoseName"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "status": status.value, + "elementType": elementType.value, + "elementDiagnose": elementDiagnose.value, + "elementTypeName": elementTypeName, + "elementDiagnoseName": elementDiagnoseName, + }.clearNulls(); +} diff --git a/lib/src/results/authenticity/authenticity_result.dart b/lib/src/results/authenticity/authenticity_result.dart new file mode 100644 index 0000000000..375326d96a --- /dev/null +++ b/lib/src/results/authenticity/authenticity_result.dart @@ -0,0 +1,37 @@ +// +// AuthenticityResult.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class AuthenticityResult { + @Deprecated("since 7.6, use `ResultsStatus.optical` instead") + CheckResult get status => _status; + late CheckResult _status; + + List get checks => _checks; + List _checks = []; + + /// Allows you to deserialize object. + static AuthenticityResult? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = AuthenticityResult(); + + result._status = CheckResult.getByValue(jsonObject["status"])!; + for (var item in jsonObject["checks"]) { + result._checks.addSafe(AuthenticityCheck.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "status": status.value, + "checks": checks.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/authenticity/check_diagnose.dart b/lib/src/results/authenticity/check_diagnose.dart new file mode 100644 index 0000000000..4d73f61697 --- /dev/null +++ b/lib/src/results/authenticity/check_diagnose.dart @@ -0,0 +1,383 @@ +// +// CheckDiagnose.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enumeration contains identificators that determine the result of the +/// text field comparison from different sources. +enum CheckDiagnose { + /// Check was not performed. + UNKNOWN(0), + + /// Check was ok. + PASS(1), + + /// Invalid input data. + INVALID_INPUT_DATA(2), + + /// Internal error in module. + INTERNAL_ERROR(3), + + /// Exception caught + EXCEPTION_IN_MODULE(4), + + /// Can't make reliable decision. + UNCERTAIN_VERIFICATION(5), + + /// Image in necessary light is not found. + NECESSARY_IMAGE_NOT_FOUND(7), + + /// Necessary side of photo not found. + PHOTO_SIDES_NOT_FOUND(8), + + /// Invalid checksum. + INVALID_CHECKSUM(10), + + /// Syntactical error. + SYNTAX_ERROR(11), + + /// Logical error. + LOGIC_ERROR(12), + + /// Comparison was incorrect. + SOURCES_COMPARISON_ERROR(13), + + /// Logical error, e.g. the current date is less than issue date. + FIELDS_COMPARISON_LOGIC_ERROR(14), + + /// Wrong field format. + INVALID_FIELD_FORMAT(15), + + /// Element of the luminescense in the UV does not meet the standard. + TRUE_LUMINISCENCE_ERROR(20), + + /// The presence of excess luminescence in UV. + FALSE_LUMINISCENCE_ERROR(21), + + /// Pattern does not match the standard. + FIXED_PATTERN_ERROR(22), + + /// Low contrast of object in transmitted IR light. + LOW_CONTRAST_IN_IR_LIGHT(23), + + /// Background of page is too light or has invalid color. + INCORRECT_BACKGROUND_LIGHT(24), + + /// Background lightness of two pages is different. + BACKGROUND_COMPARISON_ERROR(25), + + /// Text has incorrect color of luminescence in UV light. + INCORRECT_TEXT_COLOR(26), + + /// Invalid luminescence in photo area. + PHOTO_FALSE_LUMINISCENCE(27), + + /// Object is too shifted from standard coordinates. + TOO_MUCH_SHIFT(28), + + /// Contact chip type mismatch. + CONTACT_CHIP_TYPE_MISMATCH(29), + + /// No protective fibers were found in UV. + FIBERS_NOT_FOUND(30), + + /// Error finding fibers, too many objects. + TOO_MANY_OBJECTS(31), + + /// Speck or exposure in UV image. + SPECKS_IN_UV(33), + + /// Resolution too low for fibers search. + TOO_LOW_RESOLUTION(34), + + /// Erroneous visibility of the element in IR. + INVISIBLE_ELEMENT_PRESENT(40), + + /// Element is absent in IR. + VISIBLE_ELEMENT_ABSENT(41), + + /// Element should be in color. + ELEMENT_SHOULD_BE_COLORED(42), + + /// Element should be in grayscale. + ELEMENT_SHOULD_BE_GRAYSCALE(43), + + PHOTO_WHITE_IR_DONT_MATCH(44), + + /// Glow paper in MRZ. + UV_DULL_PAPER_MRZ(50), + + /// Luminescence characters in MRZ. + FALSE_LUMINISCENCE_IN_MRZ(51), + + /// Glow in the field of photo paper. + UV_DULL_PAPER_PHOTO(52), + + /// Glow of the whole paper form. + UV_DULL_PAPER_BLANK(53), + + /// Glow of the document in UV. + UV_DULL_PAPER_ERROR(54), + + /// Element of blank has luminescence. + FALSE_LUMINISCENCE_IN_BLANK(55), + + /// Violation of the retro-reflective protection. + BAD_AREA_IN_AXIAL(60), + + /// Invalid params for IPI check. + FALSE_IPI_PARAMETERS(65), + + /// IR image too bright. + FIELD_POS_CORRECTOR_HIGHLIGHT_IR(80), + + /// Glares in photo area. + FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA(81), + + /// Photo replaced. + FIELD_POS_CORRECTOR_PHOTO_REPLACED(82), + + /// Facial landmarks (eyes) check error. + FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR(83), + + /// No facial image found. + FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR(84), + + /// Facial image is found. + FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR(85), + + CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION(86), + + /// Age check error. + CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR(87), + + /// Sex check error. + CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR(88), + + /// OVI object is not visible in IR. + OVI_IR_INVISIBLE(90), + + /// Insufficient area of the object OVI. + OVI_INSUFFICIENT_AREA(91), + + /// OVI color of an object does not change. + OVI_COLOR_INVARIABLE(92), + + /// Impossible to determine the color of the AXIAL image. + OVI_BAD_COLOR_FRONT(93), + + /// Impossible to determine the color of the WHITE image. + OVI_BAD_COLOR_SIDE(94), + + /// Wide color spread. + OVI_WIDE_COLOR_SPREAD(95), + + /// Not enough color information. + OVI_BAD_COLOR_PERCENT(96), + + /// Hologram element absent. + HOLOGRAM_ELEMENT_ABSENT(100), + + /// There are no side or top images. Check cancelled. + HOLOGRAM_SIDE_TOP_IMAGES_ABSENT(101), + + /// Hologram element present. + HOLOGRAM_ELEMENT_PRESENT(102), + + HOLOGRAM_FRAMES_IS_ABSENT(103), + + HOLOGRAM_HOLO_FIELD_IS_ABSENT(104), + + /// Pattern is interrupted. + PHOTO_PATTERN_INTERRUPTED(110), + + /// Some of the patterns are shifted relative to each other. + PHOTO_PATTERN_SHIFTED(111), + + /// Some parts of the pattern have different color. + PHOTO_PATTERN_DIFFERENT_COLORS(112), + + /// Pattern visible in the infrared. + PHOTO_PATTERN_IR_VISIBLE(113), + + /// Edge of the photo does not intersect with the pattern. Check cancelled. + PHOTO_PATTERN_NOT_INTERSECT(114), + + /// Size of the photo does not correspond to requirements. + PHOTO_SIZE_IS_WRONG(115), + + /// Some parts of the pattern have invalid color. + PHOTO_PATTERN_INVALID_COLOR(116), + + /// Some patterns are relatively shifted. + PHOTO_PATTERN_SHIFTED_VERT(117), + + /// Not found Pattern. Check cancelled. + PHOTO_PATTERN_PATTERN_NOT_FOUND(118), + + /// Different lines thickness. + PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS(119), + + /// Photo shape is not rectangular. + PHOTO_IS_NOT_RECTANGLE(120), + + /// Photo corners don't meet the requirements. + PHOTO_CORNERS_IS_WRONG(121), + + /// For internal use only. + DOCUMENT_IS_CANCELLING(122), + + ///Text color should be blue. + TEXT_COLOR_SHOULD_BE_BLUE(130), + + /// Text color should be green. + TEXT_COLOR_SHOULD_BE_GREEN(131), + + /// Text color should be red. + TEXT_COLOR_SHOULD_BE_RED(132), + + /// Text should be black. + TEXT_SHOULD_BE_BLACK(133), + + /// Security text is absent. + SECURITY_TEXT_IS_ABSENT(134), + + /// Barcode read with errors. + BARCODE_WAS_READ_WITH_ERRORS(140), + + /// Barcode data format error. + BARCODE_DATA_FORMAT_ERROR(141), + + /// Barcode size parameters error. + BARCODE_SIZE_PARAMS_ERROR(142), + + /// Not all barcodes read. + NOT_ALL_BARCODES_READ(143), + + /// Glares in barcode area. + GLARES_IN_BARCODE_AREA(144), + + CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK(145), + + /// Portraits differ. + PORTRAIT_COMPARISON_PORTRAITS_DIFFER(150), + + /// No reply from portrait comparison service. + PORTRAIT_COMPARISON_NO_SERVICE_REPLY(151), + + /// Portrait comparison service error. + PORTRAIT_COMPARISON_SERVICE_ERROR(152), + + /// Not enough images. + PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES(153), + + /// No image from camera. + PORTRAIT_COMPARISON_NO_LIVE_PHOTO(154), + + /// No license on portrait comparison service. + PORTRAIT_COMPARISON_NO_SERVICE_LICENSE(155), + + /// No portraits detected + PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED(156), + + /// Unsuitable light conditions. + MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS(160), + + /// No difference in visible and UV mobile images. Possible UV torch malfunction. + MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE(161), + + /// Fingerprints comparison mismatch. + FINGERPRINTS_COMPARISON_MISMATCH(170), + + /// Face isn’t detected. + HOLO_PHOTO_FACE_NOT_DETECTED(180), + + /// Face comparison failed. + HOLO_PHOTO_FACE_COMPARISON_FAILED(181), + + /// Glare in center absent. + HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT(182), + + /// Hologram element shape error. + HOLO_ELEMENT_SHAPE_ERROR(183), + + /// Algorithm steps error. + ALGORITHM_STEPS_ERROR(184), + + /// Hologram areas not loaded. + HOLO_AREAS_NOT_LOADED(185), + + /// Hologram check finished by time out. + FINISHED_BY_TIMEOUT(186), + + HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME(187), + + LIVENESS_DEPTH_CHECK_FAILED(190), + + /// Hologram check finished by time out. + MRZ_QUALITY_WRONG_SYMBOL_POSITION(200), + + /// Wrong background. + MRZ_QUALITY_WRONG_BACKGROUND(201), + + MRZ_QUALITY_WRONG_MRZ_WIDTH(202), + + MRZ_QUALITY_WRONG_MRZ_HEIGHT(203), + + MRZ_QUALITY_WRONG_LINE_POSITION(204), + + MRZ_QUALITY_WRONG_FONT_TYPE(205), + + OCR_QUALITY_TEXT_POSITION(220), + + OCR_QUALITY_INVALID_FONT(221), + + OCR_QUALITY_INVALID_BACKGROUND(222), + + LAS_INK_INVALID_LINES_FREQUENCY(230), + + DOC_LIVENESS_DOCUMENT_NOT_LIVE(238), + + CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED(239), + + /// Traces of an electronic device were found in the image. + DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED(240), + + /// Invalid barcode background. + DOC_LIVENESS_INVALID_BARCODE_BACKGROUND(241), + + /// Virtual camera was detected. + DOC_LIVENESS_VIRTUAL_CAMERA_DETECTED(242), + + ICAO_IDB_BASE_32_ERROR(243), + + ICAO_IDB_ZIPPED_ERROR(244), + + ICAO_IDB_MESSAGE_ZONE_EMPTY(245), + + ICAO_IDB_SIGNATURE_MUST_BE_PRESENT(246), + + ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT(247), + + ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT(248), + + /// Incorrect object color. + INCORRECT_OBJECT_COLOR(250); + + const CheckDiagnose(this.value); + final int value; + + static CheckDiagnose? getByValue(int? i) { + if (i == null) return null; + try { + return CheckDiagnose.values.firstWhere((x) => x.value == i); + } catch (_) { + return CheckDiagnose.UNKNOWN; + } + } +} diff --git a/lib/src/results/authenticity/security_feature_type.dart b/lib/src/results/authenticity/security_feature_type.dart new file mode 100644 index 0000000000..fc891be52d --- /dev/null +++ b/lib/src/results/authenticity/security_feature_type.dart @@ -0,0 +1,190 @@ +// +// SecurityFeatureType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enumeration contains identifiers that determine the types of elements +/// for the document authenticity check. +enum SecurityFeatureType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-2), + + NONE(-1), + + /// Blank element. + BLANK(0), + + /// Personalization element. + FILL(1), + + /// Photo. + PHOTO(2), + + /// MRZ. + MRZ(3), + + /// Photo surrounding area. + FALSE_LUMINESCENCE(4), + + /// Reserved for internal use. + HOLO_SIMPLE(5), + + /// Reserved for internal use. + HOLO_VERIFY_STATIC(6), + + /// Reserved for internal use. + HOLO_VERIFY_MULTI_STATIC(7), + + /// Reserved for internal use. + HOLO_VERIFY_DINAMIC(8), + + /// Reserved for internal use. + PATTERN_NOT_INTERRUPTED(9), + + /// Reserved for internal use. + PATTERN_NOT_SHIFTED(10), + + /// Reserved for internal use. + PATTERN_SAME_COLORS(11), + + /// Reserved for internal use. + PATTERN_IR_INVISIBLE(12), + + /// Reserved for internal use. + PHOTO_SIZE_CHECK(13), + + /// Main portrait and ghost portrait comparison. + PORTRAIT_COMPARISON_VS_GHOST(14), + + /// Main portrait and RFID portrait comparison. + PORTRAIT_COMPARISON_VS_RFID(15), + + /// Main portrait and other page portrait comparison. + PORTRAIT_COMPARISON_VS_VISUAL(16), + + /// Barcode format check. + BARCODE(17), + + /// Different lines thickness. + PATTERN_DIFFERENT_LINES_THICKNESS(18), + + /// Portrait comparison with image from camera. + PORTRAIT_COMPARISON_VS_CAMERA(19), + + /// Portrait comparison with image from RFID. + PORTRAIT_COMPARISON_RFID_VS_CAMERA(20), + + /// Ghost photo. + GHOST_PHOTO(21), + + /// Clear ghost photo. + CLEAR_GHOST_PHOTO(22), + + /// Invisible object. + INVISIBLE_OBJECT(23), + + /// Low contrast object. + LOW_CONTRAST_OBJECT(24), + + /// Photo color type. + PHOTO_COLOR(25), + + /// Photo squareness check. + PHOTO_SHAPE(26), + + /// Photo corners shape. + PHOTO_CORNERS(27), + + DOCUMENT_CANCELLING_DETECTOR(28), + OCR(28), + + PORTRAIT_COMPARISON_EXTVS_VISUAL(29), + + PORTRAIT_COMPARISON_EXTVS_RFID(30), + + PORTRAIT_COMPARISON_EXTVS_LIVE(31), + + LIVENESS_DEPTH(32), + + MICROTEXT(33), + + FLUORESCENT_OBJECT(34), + + LANDMARKS_CHECK(35), + + FACE_PRESENCE(36), + + FACE_ABSENCE(38), + + LIVENESS_SCREEN_CAPTURE(39), + + /// Checking the presence of a device that could be used for document capturing. + LIVENESS_ELECTRONIC_DEVICE(40), + + LIVENESS_OVI(41), + + BARCODE_SIZE_CHECK(42), + + LAS_INK(43), + + LIVENESS_MLI(44), + + LIVENESS_BARCODE_BACKGROUND(45), + + /// Visual zone portrait image vs. image from barcode. + PORTRAIT_COMPARISON_VS_BARCODE(46), + + /// Image from barcode vs. image from RFID. + PORTRAIT_COMPARISON_RFID_VS_BARCODE(47), + + /// Image from barcode vs. external source image. + PORTRAIT_COMPARISON_EXT_VS_BARCODE(48), + + /// Image from barcode vs. photo from camera. + PORTRAIT_COMPARISON_BARCODE_VS_CAMERA(49), + + /// Digital signature сheck. + CHECK_DIGITAL_SIGNATURE(50), + + /// Contact сhip check. + CONTACT_CHIP_CLASSIFICATION(51), + + HEAD_POSITION_CHECK(52), + + LIVENESS_BLACK_AND_WHITE_COPY_CHECK(53), + + LIVENESS_DYNAPRINT(54), + + LIVENESS_GEOMETRY_CHECK(55), + + /// Age check. + AGE_CHECK(56), + + /// Sex check. + SEX_CHECK(57), + + PORTRAIT_COMPARISON_RFIDVSGHOST(58), + + PORTRAIT_COMPARISON_BARCODEVSGHOST(59), + + PORTRAIT_COMPARISON_GHOSTVSLIVE(60), + + PORTRAIT_COMPARISON_EXTVSGHOST(61); + + const SecurityFeatureType(this.value); + final int value; + + static SecurityFeatureType? getByValue(int? i) { + if (i == null) return null; + try { + return SecurityFeatureType.values.firstWhere((x) => x.value == i); + } catch (_) { + return SecurityFeatureType.UNKNOWN; + } + } +} diff --git a/lib/src/results/barcode/BarcodeField.dart b/lib/src/results/barcode/BarcodeField.dart deleted file mode 100644 index ad40c88fb4..0000000000 --- a/lib/src/results/barcode/BarcodeField.dart +++ /dev/null @@ -1,55 +0,0 @@ -// -// BarcodeField.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure describing single value of the field. -class BarcodeField { - /// Decoded barcode type. - BarcodeType get barcodeType => _barcodeType; - late BarcodeType _barcodeType; - - /// Indicates barcode reading result. - BarcodeStatus get status => _status; - late BarcodeStatus _status; - - /// Contains the information about the PDF417 barcode. - PDF417Info? get pdf417Info => _pdf417Info; - PDF417Info? _pdf417Info; - - /// Results of reading data from barcode modules. - Uint8List? get data => _data; - Uint8List? _data; - - /// Indicates an index of the document page, whence the result is received. - int get pageIndex => _pageIndex; - late int _pageIndex; - - /// Allows you to deserialize object. - static BarcodeField? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = BarcodeField(); - - result._barcodeType = BarcodeType.getByValue(jsonObject["barcodeType"])!; - result._status = BarcodeStatus.getByValue(jsonObject["status"])!; - result._pageIndex = jsonObject["pageIndex"]; - result._pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"]); - result._data = _bytesFromBase64(jsonObject["data"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "barcodeType": barcodeType.value, - "status": status.value, - "pdf417Info": pdf417Info?.toJson(), - "data": _bytesToBase64(data), - "pageIndex": pageIndex, - }.clearNulls(); -} diff --git a/lib/src/results/barcode/BarcodeResult.dart b/lib/src/results/barcode/BarcodeResult.dart deleted file mode 100644 index b821d9563f..0000000000 --- a/lib/src/results/barcode/BarcodeResult.dart +++ /dev/null @@ -1,31 +0,0 @@ -// -// BarcodeResult.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, describing single barcode extracted. -class BarcodeResult { - List get fields => _fields; - List _fields = []; - - /// Allows you to deserialize object. - static BarcodeResult? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = BarcodeResult(); - - for (var item in jsonObject["fields"]) - result._fields.addSafe(BarcodeField.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "fields": fields.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/barcode/BarcodeStatus.dart b/lib/src/results/barcode/BarcodeStatus.dart deleted file mode 100644 index 743ea2838a..0000000000 --- a/lib/src/results/barcode/BarcodeStatus.dart +++ /dev/null @@ -1,116 +0,0 @@ -// -// BarcodeStatus.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum BarcodeStatus { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// No error. - NO_ERR(0), - - /// Null pointer of input arg/param error. - NULL_PTR_ERR(-6001), - - /// Function arg/param is bad. - BAD_ARG_ERR(-6002), - - /// Wrong value of data size. - SIZE_ERR(-6003), - - /// Bad values of any parameter range. - RANGE_ERR(-6004), - - /// Internal program error. - INTERNAL_ERR(-6005), - - /// try-except process. - TRY_EXCEPT_ERR(-6006), - - /// Barcode detection error. - BAR_CODE_NOT_FOUND(-6008), - - /// Barcode decoding error. - BAR_CODE_DECODE_ERR(-6010), - - /// "ImageProcess.dll" connection error. - NO_USER_DLL_FOUND(-6019), - - /// IPP Dll connection error. - NO_IPP_DLL_FOUND(-6020), - - /// Run-time error in IPP-function. - IPP_EXEC_ERR(-6024), - - /// try-except execution in IPP-function. - IPP_TRY_EXCEPT_ERR(-6025), - - /// Input data error. - BARCODE_ERROR_INPUT_PARAM(-11001), - - /// Initialization error. - BARCODE_ERROR_FINIT(-11006), - - /// "IpDecode.dll" connection error. - BARCODE_ERROR_NOT_LOAD_IP_DECODED_LL(-11012), - - /// Internal program error. - BARCODE_ERROR_INNER_PROBLEM(-11100), - - /// 1D-barcode decoding error. - BARCODE_ERROR_DECODE_1D_BAD_DECODE(-11200), - - /// Row or Column count computational error (PDF417). - BARCODE_ERROR_FIND_ROW_OR_COLUMN(-11201), - - /// MinX computational error (PDF417). - BARCODE_ERROR_FIND_3X8_2D_X(-11202), - - /// MinY computational error (PDF417). - BARCODE_ERROR_FIND_3X8_2D_Y(-11203), - - /// Invalid barcode angle (> 3 degree). - BARCODE_ERROR_2D_UGOL_MAX(-11204), - - /// The result may contain decoding errors. - BARCODE_ERROR_INDEFINITELY_DECODED(-11210), - - /// Dll initialization error. - BARCODE_ERROR_DLL_NOT_INIT(-11300), - - /// try-except in IPDECODE-function. - BARCODE_ERROR_IP_DECODE_DLL_Try_Except(-11400), - - /// Too many invalid code words. - IPDECODE_ERROR_LARGEERRORS(-4503), - - /// Invalid number of columns. - IPDECODE_ERROR_FAULTCOLUMNS(-4504), - - /// Invalid number of rows. - IPDECODE_ERROR_FAULTROWS(-4505), - - /// Correction Level error. - IPDECODE_ERROR_INCORRECT_ERROR_LEVEL(-4511), - - /// Loading "DevTable.bin" error. - IPDECODE_ERROR_LOADING_DEV_TABLE(-4512); - - const BarcodeStatus(this.value); - final int value; - - static BarcodeStatus? getByValue(int? i) { - if (i == null) return null; - try { - return BarcodeStatus.values.firstWhere((x) => x.value == i); - } catch (_) { - return BarcodeStatus.UNKNOWN; - } - } -} diff --git a/lib/src/results/barcode/BarcodeType.dart b/lib/src/results/barcode/BarcodeType.dart deleted file mode 100644 index 5d399f3b3c..0000000000 --- a/lib/src/results/barcode/BarcodeType.dart +++ /dev/null @@ -1,91 +0,0 @@ -// -// BarcodeType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enumeration contains the types of barcodes that can be processed. -enum BarcodeType { - /// Unknown. - UNKNOWN(0), - - /// One-dimensional barcode, ISO 15417 (ANSI/AIM BC4-1999 Code 128). - BCT_CODE128(1), - - /// One-dimensional barcode, ISO 16388 (ANSI/AIM BC1-1995 Code 39). - CODE39(2), - - /// One-dimensional barcode, EAN8, ISO 15418. - EAN8(3), - - /// One-dimensional barcode, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5). - ITF(4), - - /// Two-dimensional barcode, ISO 15438 (AIM USS PDF417). - PDF417(5), - - /// One-dimensional barcode, Standard 2 of 5 (Industrial). - STF(6), - - /// One-dimensional barcode, Matrix 2 of 5. - MTF(7), - - /// One-dimensional barcode, IATA 2 of 5 (Airline). - IATA(8), - - /// One-dimensional barcode, (ANSI/AIM BC3-1995, USS - Codabar). - CODABAR(9), - - /// One-dimensional barcode, UPC-A. - UPCA(10), - - /// One-dimensional barcode, (ANSI/AIM BC5-1995, USS - Code 93). - CODE93(11), - - /// One-dimensional barcode, UPC-E. - UPCE(12), - - /// One-dimensional barcode, EAN13, ISO 15418. - EAN13(13), - - /// Two-dimensional QR barcode. - QRCODE(14), - - /// Two-dimensional AZTEC barcode. - AZTEC(15), - - /// Two-dimensional DATAMATRIX barcode. - DATAMATRIX(16), - - /// One-dimensional barcodes. - ALL_1D(17), - - /// One-dimensional barcode, Code 11. - CODE11(18), - - /// Two-dimensional barcode, JAB Code - JABCODE(19); - - const BarcodeType(this.value); - final int value; - - static BarcodeType? getByValue(int? i) { - if (i == null) return null; - try { - return BarcodeType.values.firstWhere((x) => x.value == i); - } catch (_) { - return BarcodeType.UNKNOWN; - } - } - - static List? fromIntList(List? input) { - if (input == null) return null; - List list = []; - for (int item in input) list.addSafe(getByValue(item)); - return list; - } -} diff --git a/lib/src/results/barcode/PDF417Info.dart b/lib/src/results/barcode/PDF417Info.dart deleted file mode 100644 index cf22316783..0000000000 --- a/lib/src/results/barcode/PDF417Info.dart +++ /dev/null @@ -1,42 +0,0 @@ -// -// PDF417Info.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class PDF417Info { - /// Barcode error correction level. - int get errorLevel => _errorLevel; - late int _errorLevel; - - /// Number of columns in a barcode. - int get columns => _columns; - late int _columns; - - /// Number of rows in a barcode. - int get rows => _rows; - late int _rows; - - /// Allows you to deserialize object. - static PDF417Info? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = PDF417Info(); - - result._errorLevel = jsonObject["errorLevel"]; - result._columns = jsonObject["columns"]; - result._rows = jsonObject["rows"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "errorLevel": errorLevel, - "columns": columns, - "rows": rows, - }.clearNulls(); -} diff --git a/lib/src/results/barcode/barcode_field.dart b/lib/src/results/barcode/barcode_field.dart new file mode 100644 index 0000000000..6f43eb5773 --- /dev/null +++ b/lib/src/results/barcode/barcode_field.dart @@ -0,0 +1,55 @@ +// +// BarcodeField.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure describing single value of the field. +class BarcodeField { + /// Decoded barcode type. + BarcodeType get barcodeType => _barcodeType; + late BarcodeType _barcodeType; + + /// Indicates barcode reading result. + BarcodeStatus get status => _status; + late BarcodeStatus _status; + + /// Contains the information about the PDF417 barcode. + PDF417Info? get pdf417Info => _pdf417Info; + PDF417Info? _pdf417Info; + + /// Results of reading data from barcode modules. + Uint8List? get data => _data; + Uint8List? _data; + + /// Indicates an index of the document page, whence the result is received. + int get pageIndex => _pageIndex; + late int _pageIndex; + + /// Allows you to deserialize object. + static BarcodeField? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = BarcodeField(); + + result._barcodeType = BarcodeType.getByValue(jsonObject["barcodeType"])!; + result._status = BarcodeStatus.getByValue(jsonObject["status"])!; + result._pageIndex = jsonObject["pageIndex"]; + result._pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"]); + result._data = _bytesFromBase64(jsonObject["data"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "barcodeType": barcodeType.value, + "status": status.value, + "pdf417Info": pdf417Info?.toJson(), + "data": _bytesToBase64(data), + "pageIndex": pageIndex, + }.clearNulls(); +} diff --git a/lib/src/results/barcode/barcode_result.dart b/lib/src/results/barcode/barcode_result.dart new file mode 100644 index 0000000000..53d75c97ec --- /dev/null +++ b/lib/src/results/barcode/barcode_result.dart @@ -0,0 +1,31 @@ +// +// BarcodeResult.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, describing single barcode extracted. +class BarcodeResult { + List get fields => _fields; + List _fields = []; + + /// Allows you to deserialize object. + static BarcodeResult? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = BarcodeResult(); + + for (var item in jsonObject["fields"]) { + result._fields.addSafe(BarcodeField.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"fields": fields.map((e) => e.toJson()).toList()}.clearNulls(); +} diff --git a/lib/src/results/barcode/barcode_status.dart b/lib/src/results/barcode/barcode_status.dart new file mode 100644 index 0000000000..d5cba70c0e --- /dev/null +++ b/lib/src/results/barcode/barcode_status.dart @@ -0,0 +1,119 @@ +// +// BarcodeStatus.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +enum BarcodeStatus { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// No error. + NO_ERR(0), + + /// Invalid result. + INVALID_RESULT(140), + + /// Null pointer of input arg/param error. + NULL_PTR_ERR(-6001), + + /// Function arg/param is bad. + BAD_ARG_ERR(-6002), + + /// Wrong value of data size. + SIZE_ERR(-6003), + + /// Bad values of any parameter range. + RANGE_ERR(-6004), + + /// Internal program error. + INTERNAL_ERR(-6005), + + /// try-except process. + TRY_EXCEPT_ERR(-6006), + + /// Barcode detection error. + BAR_CODE_NOT_FOUND(-6008), + + /// Barcode decoding error. + BAR_CODE_DECODE_ERR(-6010), + + /// "ImageProcess.dll" connection error. + NO_USER_DLL_FOUND(-6019), + + /// IPP Dll connection error. + NO_IPP_DLL_FOUND(-6020), + + /// Run-time error in IPP-function. + IPP_EXEC_ERR(-6024), + + /// try-except execution in IPP-function. + IPP_TRY_EXCEPT_ERR(-6025), + + /// Input data error. + BARCODE_ERROR_INPUT_PARAM(-11001), + + /// Initialization error. + BARCODE_ERROR_FINIT(-11006), + + /// "IpDecode.dll" connection error. + BARCODE_ERROR_NOT_LOAD_IP_DECODED_LL(-11012), + + /// Internal program error. + BARCODE_ERROR_INNER_PROBLEM(-11100), + + /// 1D-barcode decoding error. + BARCODE_ERROR_DECODE_1D_BAD_DECODE(-11200), + + /// Row or Column count computational error (PDF417). + BARCODE_ERROR_FIND_ROW_OR_COLUMN(-11201), + + /// MinX computational error (PDF417). + BARCODE_ERROR_FIND_3X8_2D_X(-11202), + + /// MinY computational error (PDF417). + BARCODE_ERROR_FIND_3X8_2D_Y(-11203), + + /// Invalid barcode angle (> 3 degree). + BARCODE_ERROR_2D_UGOL_MAX(-11204), + + /// The result may contain decoding errors. + BARCODE_ERROR_INDEFINITELY_DECODED(-11210), + + /// Dll initialization error. + BARCODE_ERROR_DLL_NOT_INIT(-11300), + + /// try-except in IPDECODE-function. + BARCODE_ERROR_IP_DECODE_DLL_Try_Except(-11400), + + /// Too many invalid code words. + IPDECODE_ERROR_LARGEERRORS(-4503), + + /// Invalid number of columns. + IPDECODE_ERROR_FAULTCOLUMNS(-4504), + + /// Invalid number of rows. + IPDECODE_ERROR_FAULTROWS(-4505), + + /// Correction Level error. + IPDECODE_ERROR_INCORRECT_ERROR_LEVEL(-4511), + + /// Loading "DevTable.bin" error. + IPDECODE_ERROR_LOADING_DEV_TABLE(-4512); + + const BarcodeStatus(this.value); + final int value; + + static BarcodeStatus? getByValue(int? i) { + if (i == null) return null; + try { + return BarcodeStatus.values.firstWhere((x) => x.value == i); + } catch (_) { + return BarcodeStatus.UNKNOWN; + } + } +} diff --git a/lib/src/results/barcode/barcode_type.dart b/lib/src/results/barcode/barcode_type.dart new file mode 100644 index 0000000000..9321f8f986 --- /dev/null +++ b/lib/src/results/barcode/barcode_type.dart @@ -0,0 +1,93 @@ +// +// BarcodeType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enumeration contains the types of barcodes that can be processed. +enum BarcodeType { + /// Unknown. + UNKNOWN(0), + + /// One-dimensional barcode, ISO 15417 (ANSI/AIM BC4-1999 Code 128). + BCT_CODE128(1), + + /// One-dimensional barcode, ISO 16388 (ANSI/AIM BC1-1995 Code 39). + CODE39(2), + + /// One-dimensional barcode, EAN8, ISO 15418. + EAN8(3), + + /// One-dimensional barcode, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5). + ITF(4), + + /// Two-dimensional barcode, ISO 15438 (AIM USS PDF417). + PDF417(5), + + /// One-dimensional barcode, Standard 2 of 5 (Industrial). + STF(6), + + /// One-dimensional barcode, Matrix 2 of 5. + MTF(7), + + /// One-dimensional barcode, IATA 2 of 5 (Airline). + IATA(8), + + /// One-dimensional barcode, (ANSI/AIM BC3-1995, USS - Codabar). + CODABAR(9), + + /// One-dimensional barcode, UPC-A. + UPCA(10), + + /// One-dimensional barcode, (ANSI/AIM BC5-1995, USS - Code 93). + CODE93(11), + + /// One-dimensional barcode, UPC-E. + UPCE(12), + + /// One-dimensional barcode, EAN13, ISO 15418. + EAN13(13), + + /// Two-dimensional QR barcode. + QRCODE(14), + + /// Two-dimensional AZTEC barcode. + AZTEC(15), + + /// Two-dimensional DATAMATRIX barcode. + DATAMATRIX(16), + + /// One-dimensional barcodes. + ALL_1D(17), + + /// One-dimensional barcode, Code 11. + CODE11(18), + + /// Two-dimensional barcode, JAB Code + JABCODE(19); + + const BarcodeType(this.value); + final int value; + + static BarcodeType? getByValue(int? i) { + if (i == null) return null; + try { + return BarcodeType.values.firstWhere((x) => x.value == i); + } catch (_) { + return BarcodeType.UNKNOWN; + } + } + + static List? fromIntList(List? input) { + if (input == null) return null; + List list = []; + for (int item in input) { + list.addSafe(getByValue(item)); + } + return list; + } +} diff --git a/lib/src/results/barcode/pdf417_info.dart b/lib/src/results/barcode/pdf417_info.dart new file mode 100644 index 0000000000..af1b29395d --- /dev/null +++ b/lib/src/results/barcode/pdf417_info.dart @@ -0,0 +1,39 @@ +// +// PDF417Info.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class PDF417Info { + /// Barcode error correction level. + int get errorLevel => _errorLevel; + late int _errorLevel; + + /// Number of columns in a barcode. + int get columns => _columns; + late int _columns; + + /// Number of rows in a barcode. + int get rows => _rows; + late int _rows; + + /// Allows you to deserialize object. + static PDF417Info? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = PDF417Info(); + + result._errorLevel = jsonObject["errorLevel"]; + result._columns = jsonObject["columns"]; + result._rows = jsonObject["rows"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"errorLevel": errorLevel, "columns": columns, "rows": rows}.clearNulls(); +} diff --git a/lib/src/results/document_type.dart b/lib/src/results/document_type.dart new file mode 100644 index 0000000000..7832b64e27 --- /dev/null +++ b/lib/src/results/document_type.dart @@ -0,0 +1,869 @@ +// +// DocumentType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class DocumentType { + /// Document type name. + String? get name => _name; + String? _name; + + /// Document type numeric code. + int get id => _id; + late int _id; + + /// Document issuing country ICAO code. + String? get iCAOCode => _iCAOCode; + String? _iCAOCode; + + /// An array of IRS document identifiers. + List? get fDSID => _fDSID; + List? _fDSID; + + /// Document type. + DocType get type => _type; + late DocType _type; + + /// Document format. + DocFormat get format => _format; + late DocFormat _format; + + /// Flag for MRZ presence on a document. + bool get mrz => _mrz; + late bool _mrz; + + /// Document deprecation. + bool get isDeprecated => _isDeprecated; + late bool _isDeprecated; + + /// Document description text. + String? get description => _description; + String? _description; + + /// Document issue year. + String? get year => _year; + String? _year; + + /// Document issuing country name. + String? get countryName => _countryName; + String? _countryName; + + /// An index of the document page whence results are received. + int get pageIndex => _pageIndex; + late int _pageIndex; + + /// Allows you to deserialize object. + static DocumentType? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocumentType(); + + result._pageIndex = jsonObject["pageIndex"]; + result._id = jsonObject["documentID"]; + result._type = DocType.getByValue(jsonObject["dType"])!; + result._format = DocFormat.getByValue(jsonObject["dFormat"])!; + result._mrz = jsonObject["dMRZ"]; + result._isDeprecated = jsonObject["isDeprecated"]; + result._name = jsonObject["name"]; + result._iCAOCode = jsonObject["ICAOCode"]; + result._description = jsonObject["dDescription"]; + result._year = jsonObject["dYear"]; + result._countryName = jsonObject["dCountryName"]; + result._fDSID = _intListFrom(jsonObject["FDSID"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "name": name, + "documentID": id, + "ICAOCode": iCAOCode, + "FDSID": fDSID, + "dType": type.value, + "dFormat": format.value, + "dMRZ": mrz, + "isDeprecated": isDeprecated, + "dDescription": description, + "dYear": year, + "dCountryName": countryName, + "pageIndex": pageIndex, + }.clearNulls(); +} + +/// Defining the geometric format of documents in accordance with ISO / IEC 7810. +enum DocFormat { + /// Unknown format. + UNKNOWN(-1), + + /// ID1 document format. + ID1(0), + + /// ID2 document format. + ID2(1), + + /// ID3 document format. + ID3(2), + + /// Undefined document format. + NON(3), + + /// A4 document format. + A4(4), + + /// ID3 double document format. + ID3_x2(5), + + /// ID2 Turkey document format. + ID2_TURKEY(6), + + /// ID1 format document rotated 90 degrees. + ID1_90(10), + + /// ID1 format document rotated 180 degrees. + ID1_180(11), + + /// ID1 format document rotated 270 degrees. + ID1_270(12), + + /// ID2 format document rotated 180 degrees. + ID2_180(13), + + /// ID3 format document rotated 180 degrees. + ID3_180(14), + + /// Arbitrary format. + CUSTOM(1000), + + /// Photo format. + PHOTO(1001), + + /// Flexible format. Standard formats can be resized during cropping, depending + /// on various factors: light, background etc. + FLEXIBLE(1002); + + const DocFormat(this.value); + final int value; + + static DocFormat? getByValue(int? i) { + if (i == null) return null; + try { + return DocFormat.values.firstWhere((x) => x.value == i); + } catch (_) { + return DocFormat.UNKNOWN; + } + } +} + +enum DocType { + /// An unknown document type. + NotDefined(0), + + /// Passport. + Passport(11), + + /// Identity Card. + IdentityCard(12), + + /// Diplomatic Passport. + DiplomaticPassport(13), + + /// Service Passport. + ServicePassport(14), + + /// Seaman's Identity Document. + SeamanIdentityDocument(15), + + /// Identity Card for Residence. + IdentityCardForResidence(16), + + /// Travel Document. + TravelDocument(17), + + /// Other. + Other(99), + + /// Visa ID-2. + VisaID2(29), + + /// Visa ID-3. + VisaID3(30), + + /// National Identity Card. + NationalIdentityCard(20), + + /// Social Identity Card. + SocialIdentityCard(21), + + /// Alien's Identity Card. + AliensIdentityCard(22), + + /// Privileged Identity Card. + PrivilegedIdentityCard(23), + + /// Residence Permit Identity Card. + ResidencePermitIdentityCard(24), + + /// Origin Card. + OriginCard(25), + + /// Emergency Passport. + EmergencyPassport(26), + + /// Alien's Passport. + AliensPassport(27), + + /// Alternative Identity Card. + AlternativeIdentityCard(28), + + /// Authorization Card. + AuthorizationCard(32), + + /// Beginner Permit. + BeginnerPermit(33), + + /// Border Crossing Card. + BorderCrossingCard(34), + + /// Chauffeur License. + ChauffeurLicense(35), + + /// Chauffeur License under 18. + ChauffeurLicenseUnder18(36), + + /// Chauffeur License under 21. + ChauffeurLicenseUnder21(37), + + /// Commercial Driving License. + CommercialDrivingLicense(38), + + /// Commercial Driving License Instructional Permit. + CommercialDrivingLicenseInstructionalPermit(39), + + /// Commercial Driving License under 18. + CommercialDrivingLicenseUnder18(40), + + /// Commercial Driving License under 21. + CommercialDrivingLicenseUnder21(41), + + /// Commercial Indtuction Permit. + CommercialInstructionPermit(42), + + /// Commercial New Permit. + CommercialNewPermit(43), + + /// Concealed Carry License. + ConcealedCarryLicense(44), + + /// Concealed Firearm Permit. + ConcealedFirearmPermit(45), + + /// Conditional Driving License. + ConditionalDrivingLicense(46), + + /// Department of Veterans Affairs Identity Card. + DepartmentOfVeteransAffairsIdentityCard(47), + + /// Diplomatic Driving License. + DiplomaticDrivingLicense(48), + + /// Driving License. + DrivingLicense(49), + + /// Driving License Instructional Permit. + DrivingLicenseInstructionalPermit(50), + + /// Driving License Instructional Permit under 18. + DrivingLicenseInstructionalPermitUnder18(51), + + /// Driving License Instructional Permit under 21. + DrivingLicenseInstructionalPermitUnder21(52), + + /// Driving License Learners Permit. + DrivingLicenseLearnersPermit(53), + + /// Driving License Learners Permit under 18. + DrivingLicenseLearnersPermitUnder18(54), + + /// Driving License Learners Permit under 21. + DrivingLicenseLearnersPermitUnder21(55), + + /// Driving License Novice. + DrivingLicenseNovice(56), + + /// Driving License Novice under 18. + DrivingLicenseNoviceUnder18(57), + + /// Driving License Novice under 21. + DrivingLicenseNoviceUnder21(58), + + /// Driving License Registered Offender. + DrivingLicenseRegisteredOffender(59), + + /// Driving License Redticted under 18. + DrivingLicenseRestrictedUnder18(60), + + /// Driving License Redticted under 21. + DrivingLicenseRestrictedUnder21(61), + + /// Driving License Temporary Visitor. + DrivingLicenseTemporaryVisitor(62), + + /// Driving License Temporary Visitor under 18. + DrivingLicenseTemporaryVisitorUnder18(63), + + /// Driving License Temporary Visitor under 21. + DrivingLicenseTemporaryVisitorUnder21(64), + + /// Driving License under 18. + DrivingLicenseUnder18(65), + + /// Driving License under 21. + DrivingLicenseUnder21(66), + + /// Employment Driving Permit. + EmploymentDrivingPermit(67), + + /// Enhanced Chauffeur License. + EnhancedChauffeurLicense(68), + + /// Enhanced Chauffeur License under 18. + EnhancedChauffeurLicenseUnder18(69), + + /// Enhanced Chauffeur License under 21. + EnhancedChauffeurLicenseUnder21(70), + + /// Enhanced Commercial Driving License. + EnhancedCommercialDrivingLicense(71), + + /// Enhanced Driving License. + EnhancedDrivingLicense(72), + + /// Enhanced Driving License under 18. + EnhancedDrivingLicenseUnder18(73), + + /// Enhanced Driving License under 21. + EnhancedDrivingLicenseUnder21(74), + + /// Enhanced Identity Card. + EnhancedIdentityCard(75), + + /// Enhanced Identity Card under 18. + EnhancedIdentityCardUnder18(76), + + /// Enhanced Identity Card under 21. + EnhancedIdentityCardUnder21(77), + + /// Enhanced Operators License. + EnhancedOperatorsLicense(78), + + /// Firearms Permit. + FirearmsPermit(79), + + /// Full Provisional License. + FullProvisionalLicense(80), + + /// Full Provisional License under 18. + FullProvisionalLicenseUnder18(81), + + /// Full Provisional License under 21. + FullProvisionalLicenseUnder21(82), + + /// Geneva Conventions Identity Card. + GenevaConventionsIdentityCard(83), + + /// Graduated Driving License under 18. + GraduatedDrivingLicenseUnder18(84), + + /// Graduated Driving License under 21. + GraduatedDrivingLicenseUnder21(85), + + /// Graduated Indtuction Permit under 18. + GraduatedInstructionPermitUnder18(86), + + /// Graduated Indtuction Permit under 21. + GraduatedInstructionPermitUnder21(87), + + /// Graduated License under 18. + GraduatedLicenseUnder18(88), + + /// Graduated License under 21. + GraduatedLicenseUnder21(89), + + /// Handgun Carry Permit. + HandgunCarryPermit(90), + + /// Identity and Privilege Card. + IdentityAndPrivilegeCard(91), + + /// Identity Card Mobility Impaired. + IdentityCardMobilityImpaired(92), + + /// Identity Card Registered Offender. + IdentityCardRegisteredOffender(93), + + /// Identity Card Temporary Visitor. + IdentityCaremporaryVisitor(94), + + /// Identity Card Temporary Visitor under 18. + IdentityCaremporaryVisitorUnder18(95), + + /// Identity Card Temporary Visitor under 21. + IdentityCaremporaryVisitorUnder21(96), + + /// Identity Card under 18. + IdentityCardUnder18(97), + + /// Identity Card under 21. + IdentityCardUnder21(98), + + /// Ignition Interlock Permit. + IgnitionInterlockPermit(100), + + /// Immigrant Visa. + ImmigrantVisa(101), + + /// Indtuction Permit. + InstructionPermit(102), + + /// Indtuction Permit under 18. + InstructionPermitUnder18(103), + + /// Indtuction Permit under 21. + InstructionPermitUnder21(104), + + /// Interim Driving License. + InterimDrivingLicense(105), + + /// Interim Identity Card. + InterimIdentityCard(106), + + /// Intermediate Driving License. + IntermediateDrivingLicense(107), + + /// Intermediate Driving License under 18. + IntermediateDrivingLicenseUnder18(108), + + /// Intermediate Driving License under 21. + IntermediateDrivingLicenseUnder21(109), + + /// Junior Driving License. + JuniorDrivingLicense(110), + + /// Learner Instructional Permit. + LearnerInstructionalPermit(111), + + /// Learner License. + LearnerLicense(112), + + /// Learner License under 18. + LearnerLicenseUnder18(113), + + /// Learner License under 21. + LearnerLicenseUnder21(114), + + /// Learner Permit. + LearnerPermit(115), + + /// Learner Permit under 18. + LearnerPermitUnder18(116), + + /// Learner Permit under 21. + LearnerPermitUnder21(117), + + /// Limited License. + LimitedLicense(118), + + /// Limited Permit. + LimitedPermit(119), + + /// Limited Term Driving License. + LimiteermDrivingLicense(120), + + /// Limited Term Identity Card. + LimiteermIdentityCard(121), + + /// Liquor Identity Card. + LiquorIdentityCard(122), + + /// New Permit. + NewPermit(123), + + /// New Permit under 18. + NewPermitUnder18(124), + + /// New Permit under 21. + NewPermitUnder21(125), + + /// Non-US Citizen Driving License. + NonUsCitizenDrivingLicense(126), + + /// Occupational Driving License. + OccupationalDrivingLicense(127), + + /// Oneida Tribe of Indians Identity Card. + OneidaTribeOfIndiansIdentityCard(128), + + /// Operator License. + OperatorLicense(129), + + /// Operator License under 18. + OperatorLicenseUnder18(130), + + /// Operator License under 21. + OperatorLicenseUnder21(131), + + /// Permanent Driving License. + PermanentDrivingLicense(132), + + /// Permit to Re-enter. + PermitToReEnter(133), + + /// Probationary Auto License. + ProbationaryAutoLicense(134), + + /// Probationary Auto License under 18. + ProbationaryDrivingLicenseUnder18(135), + + /// Probationary Auto License under 21. + ProbationaryDrivingLicenseUnder21(136), + + /// Probationary Vehicle Salesperson License. + ProbationaryVehicleSalespersonLicense(137), + + /// Provisional Driving License. + ProvisionalDrivingLicense(138), + + /// Provisional Driving License under 18. + ProvisionalDrivingLicenseUnder18(139), + + /// Provisional Driving License under 21. + ProvisionalDrivingLicenseUnder21(140), + + /// Provisional License. + ProvisionalLicense(141), + + /// Provisional License under 18. + ProvisionalLicenseUnder18(142), + + /// Provisional License under 21. + ProvisionalLicenseUnder21(143), + + /// Public Passenger Chauffeur License. + PublicPassengerChauffeurLicense(144), + + /// Racing and Gaming Comission Card. + RacingAndGamingComissionCard(145), + + /// Refugee Travel Document. + RefugeeTravelDocument(146), + + /// Renewal Permit. + RenewalPermit(147), + + /// Restricted Commercial Driving License. + RestrictedCommercialDrivingLicense(148), + + /// Restricted Driving License. + RestrictedDrivingLicense(149), + + /// Restricted Permit. + RestrictedPermit(150), + + /// Seasonal Permit. + SeasonalPermit(151), + + /// Seasonal Resident Identity Card. + SeasonalResidentIdentityCard(152), + + /// Senior Citizen Identity Card. + SeniorCitizenIdentityCard(153), + + /// Sex Offender. + SexOffender(154), + + /// Social Security Card. + SocialSecurityCard(155), + + /// Temporary Driving License. + TemporaryDrivingLicense(156), + + /// Temporary Driving License under 18. + TemporaryDrivingLicenseUnder18(157), + + /// Temporary Driving License under 21. + TemporaryDrivingLicenseUnder21(158), + + /// Temporary Identity Card. + TemporaryIdentityCard(159), + + /// Temporary Instruction Permit Identity Card. + TemporaryInstructionPermitIdentityCard(160), + + /// Temporary Instruction Permit Identity Card under 18. + TemporaryInstructionPermitIdentityCardUnder18(161), + + /// Temporary Instruction Permit Identity Card under 21. + TemporaryInstructionPermitIdentityCardUnder21(162), + + /// Temporary Visitor Driving License. + TemporaryVisitorDrivingLicense(163), + + /// Temporary Visitor Driving License under 18. + TemporaryVisitorDrivingLicenseUnder18(164), + + /// Temporary Visitor Driving License under 21. + TemporaryVisitorDrivingLicenseUnder21(165), + + /// Uniformed Services Identity Card. + UniformedServicesIdentityCard(166), + + /// Vehicle Salesperson License. + VehicleSalespersonLicense(167), + + /// Worker Identification Credential. + WorkerIdentificationCredential(168), + + /// Commercial Driving License Novice. + CommercialDrivingLicenseNovice(169), + + /// Commercial Driving License Novice under 18. + CommercialDrivingLicenseNoviceUnder18(170), + + /// Commercial Driving License Novice under 21. + CommercialDrivingLicenseNoviceUnder21(171), + + /// Passport Card. + PassportCard(172), + + /// Permanent Resident Card. + PermanentResidentCard(173), + + /// Personal Identification Verification. + PersonalIdentificationVerification(174), + + /// Temporary Operator License. + TemporaryOperatorLicense(175), + + /// Driving License under 19. + DrivingLicenseUnder19(176), + + /// Identity Card under 19. + IdentityCardUnder19(177), + + /// Visa. + Visa(178), + + /// Temporary Passport. + TemporaryPassport(179), + + /// Voting Card. + VotingCard(180), + + /// Health Card. + HealthCard(181), + + /// Certificate of Citizenship. + CertificateOfCitizenship(182), + + /// Address Card. + AddressCard(183), + + /// Airport Immigration Card. + AirportImmigrationCard(184), + + /// Alien Regidtation Card. + AlienRegistrationCard(185), + + /// APEH Card. + APEHCard(186), + + /// Coupon To Driving License. + CouponToDrivingLicense(187), + + /// Crew Member Certificate. + CrewMemberCertificate(188), + + /// Document for Return. + DocumentForReturn(189), + + /// E-Card. + ECard(190), + + /// Employment Card. + EmploymentCard(191), + + /// HKSAR Immigration Form. + HKSARImmigrationForm(192), + + /// Immigrant Card. + ImmigrantCard(193), + + /// Labour Card. + LabourCard(194), + + /// Laissez Passer. + LaissezPasser(195), + + /// Lawyer Identity Certificate. + LawyerIdentityCertificate(196), + + /// License Card. + LicenseCard(197), + + /// Passport Stateless. + PassportStateless(198), + + /// Passport Child. + PassportChild(199), + + /// Passport Consular. + PassportConsular(200), + + /// Passport Diplomatic Service. + PassportDiplomaticService(201), + + /// Passport Official. + PassportOfficial(202), + + /// Passport Provisional. + PassportProvisional(203), + + /// Passport Special. + PassportSpecial(204), + + /// Permission to the Local Border Traffic. + PermissionToTheLocalBorderTraffic(205), + + /// Registration Certificate. + RegistrationCertificate(206), + + /// SEDESOL Card. + SEDESOLCard(207), + + /// Social Card. + SocialCard(208), + + /// TB Card. + TBCard(209), + + /// Vehicle Passport. + VehiclePassport(210), + + /// W Document. + WDocument(211), + + /// Diplomatic Identity Card. + DiplomaticIdentityCard(212), + + /// Consular Identity Card. + ConsularIdentityCard(213), + + /// Income Tax Card. + IncomeTaxCard(214), + + /// Residence Permit. + ResidencePermit(215), + + /// Document of Identity. + DocumentOfIdentity(216), + + /// Border Crossing Permit. + BorderCrossingPermit(217), + + /// Passport Limited Validity. + PassportLimitedValidity(218), + + /// SIM Card. + SIMCard(219), + + /// Tax Card. + TaxCard(220), + + /// Company Card. + CompanyCard(221), + + /// Domestic Passport. + DomesticPassport(222), + + /// Identity Certificate. + IdentityCertificate(223), + + /// Resident Id Card. + ResidentIdCard(224), + + /// Armed Forces Identity Card. + ArmedForcesIdentityCard(225), + + /// Professional Card. + ProfessionalCard(226), + + /// Registration Stamp. + RegistrationStamp(227), + + /// Driver Card. + DriverCard(228), + + /// Driver Training Certificate. + DriverTrainingCertificate(229), + + /// Qualification Driving License. + QualificationDrivingLicense(230), + + /// Membership Card. + MembershipCard(231), + + /// Public Vehicle Driver Authority Card. + PublicVehicleDriverAuthorityCard(232), + + /// Marine License. + MarineLicense(233), + + /// Temporary Learner Driving License. + TemporaryLearnerDrivingLicense(234), + + /// Temporary Commercial Driving License. + TemporaryCommercialDrivingLicense(235), + + /// Interim Instructional Permit. + InterimInstructionalPermit(236), + + /// Certificate of Competency. + CertificateOfCompetency(237), + + /// Certificate of Proficiency. + CertificateOfProficiency(238), + + TradeLicense(239), + + PassportPage(240), + + Invoice(241), + + PassengerLocatorForm(242); + + const DocType(this.value); + final int value; + + static DocType? getByValue(int? i) { + if (i == null) return null; + try { + return DocType.values.firstWhere((x) => x.value == i); + } catch (_) { + return DocType.NotDefined; + } + } + + static List? fromIntList(List? input) { + if (input == null) return null; + List list = []; + for (int item in input) { + list.addSafe(getByValue(item)); + } + return list; + } +} diff --git a/lib/src/results/image_quality/ImageQuality.dart b/lib/src/results/image_quality/ImageQuality.dart deleted file mode 100644 index 79eb5b7899..0000000000 --- a/lib/src/results/image_quality/ImageQuality.dart +++ /dev/null @@ -1,50 +0,0 @@ -// -// ImageQuality.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, containing information about single image quality check. -class ImageQuality { - /// Check result. - int get featureType => _featureType; - late int _featureType; - - /// Check result. - CheckResult get result => _result; - late CheckResult _result; - - /// Check result type. - ImageQualityCheckType get type => _type; - late ImageQualityCheckType _type; - - /// Coordinates of glares. - List get boundRects => _boundRects; - List _boundRects = []; - - /// Allows you to deserialize object. - static ImageQuality? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = ImageQuality(); - - result._featureType = jsonObject["featureType"]; - result._result = CheckResult.getByValue(jsonObject["result"])!; - result._type = ImageQualityCheckType.getByValue(jsonObject["type"])!; - for (var item in jsonObject["boundRects"]) - result._boundRects.addSafe(Rect.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "featureType": featureType, - "result": result.value, - "type": type.value, - "boundRects": boundRects.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/image_quality/ImageQualityCheckType.dart b/lib/src/results/image_quality/ImageQualityCheckType.dart deleted file mode 100644 index 1ae4735038..0000000000 --- a/lib/src/results/image_quality/ImageQualityCheckType.dart +++ /dev/null @@ -1,69 +0,0 @@ -// -// ImageQualityCheckType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum ImageQualityCheckType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// Glares presence check. - IMAGE_GLARES(0), - - /// Focus quality check. - IMAGE_FOCUS(1), - - /// Image resolution check. - IMAGE_RESOLUTION(2), - - /// Image colorness check. - IMAGE_COLORNESS(3), - - /// Image perspective check, i.e. the deviation of the corners of the document - /// from the value of 90 degrees is checked. - PERSPECTIVE(4), - - /// Image quality check if the whole document page is completely within the image. - BOUNDS(5), - - /// Image moire check. - SCREEN_CAPTURE(6), - - /// Portrait image check. - PORTRAIT(7), - - /// Handwritten image check. - HANDWRITTEN(8), - - /// Signals whether the document image is bright enough. - BRIGHTNESS(9); - - const ImageQualityCheckType(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static ImageQualityCheckType? getByValue(int? i) { - if (i == null) return null; - try { - return ImageQualityCheckType.values.firstWhere((x) => x.value == i); - } catch (_) { - return ImageQualityCheckType.UNKNOWN; - } - } - - static List? fromIntList(List? input) { - if (input == null) return null; - List list = []; - for (int item in input) list.addSafe(getByValue(item)); - return list; - } -} diff --git a/lib/src/results/image_quality/ImageQualityGroup.dart b/lib/src/results/image_quality/ImageQualityGroup.dart deleted file mode 100644 index f375a500b1..0000000000 --- a/lib/src/results/image_quality/ImageQualityGroup.dart +++ /dev/null @@ -1,50 +0,0 @@ -// -// ImageQualityGroup.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, containing overall data about quality checks performed. -class ImageQualityGroup { - /// Number of results. - int get count => _count; - late int _count; - - /// Overall check result for document page. - CheckResult get result => _result; - late CheckResult _result; - - /// An array of single check result pointers. - List get imageQualityList => _imageQualityList; - List _imageQualityList = []; - - /// Index of the document page, whence the result is received. - int get pageIndex => _pageIndex; - late int _pageIndex; - - /// Allows you to deserialize object. - static ImageQualityGroup? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = ImageQualityGroup(); - - result._count = jsonObject["count"]; - result._result = CheckResult.getByValue(jsonObject["result"])!; - result._pageIndex = jsonObject["pageIndex"]; - for (var item in jsonObject["imageQualityList"]) - result._imageQualityList.addSafe(ImageQuality.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "count": count, - "result": result.value, - "pageIndex": pageIndex, - "imageQualityList": imageQualityList.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/image_quality/image_quality.dart b/lib/src/results/image_quality/image_quality.dart new file mode 100644 index 0000000000..31b29c0311 --- /dev/null +++ b/lib/src/results/image_quality/image_quality.dart @@ -0,0 +1,51 @@ +// +// ImageQuality.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, containing information about single image quality check. +class ImageQuality { + /// Check result. + int get featureType => _featureType; + late int _featureType; + + /// Check result. + CheckResult get result => _result; + late CheckResult _result; + + /// Check result type. + ImageQualityCheckType get type => _type; + late ImageQualityCheckType _type; + + /// Coordinates of glares. + List get boundRects => _boundRects; + List _boundRects = []; + + /// Allows you to deserialize object. + static ImageQuality? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = ImageQuality(); + + result._featureType = jsonObject["featureType"]; + result._result = CheckResult.getByValue(jsonObject["result"])!; + result._type = ImageQualityCheckType.getByValue(jsonObject["type"])!; + for (var item in jsonObject["boundRects"]) { + result._boundRects.addSafe(Rect.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "featureType": featureType, + "result": result.value, + "type": type.value, + "boundRects": boundRects.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/image_quality/image_quality_check_type.dart b/lib/src/results/image_quality/image_quality_check_type.dart new file mode 100644 index 0000000000..a693a14260 --- /dev/null +++ b/lib/src/results/image_quality/image_quality_check_type.dart @@ -0,0 +1,76 @@ +// +// ImageQualityCheckType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +enum ImageQualityCheckType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Glares presence check. + IMAGE_GLARES(0), + + /// Focus quality check. + IMAGE_FOCUS(1), + + /// Image resolution check. + IMAGE_RESOLUTION(2), + + /// Image colorness check. + IMAGE_COLORNESS(3), + + /// Image perspective check, i.e. the deviation of the corners of the document + /// from the value of 90 degrees is checked. + PERSPECTIVE(4), + + /// Image quality check if the whole document page is completely within the image. + BOUNDS(5), + + /// Image moire check. + SCREEN_CAPTURE(6), + + /// Portrait image check. + PORTRAIT(7), + + /// Handwritten image check. + HANDWRITTEN(8), + + /// Signals whether the document image is bright enough. + BRIGHTNESS(9), + + /// Document occlusion check. + OCCLUSION(10); + + const ImageQualityCheckType(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static ImageQualityCheckType? getByValue(int? i) { + if (i == null) return null; + try { + return ImageQualityCheckType.values.firstWhere((x) => x.value == i); + } catch (_) { + return ImageQualityCheckType.UNKNOWN; + } + } + + static List? fromIntList(List? input) { + if (input == null) return null; + List list = []; + for (int item in input) { + list.addSafe(getByValue(item)); + } + return list; + } +} diff --git a/lib/src/results/image_quality/image_quality_group.dart b/lib/src/results/image_quality/image_quality_group.dart new file mode 100644 index 0000000000..72465d2363 --- /dev/null +++ b/lib/src/results/image_quality/image_quality_group.dart @@ -0,0 +1,51 @@ +// +// ImageQualityGroup.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, containing overall data about quality checks performed. +class ImageQualityGroup { + /// Number of results. + int get count => _count; + late int _count; + + /// Overall check result for document page. + CheckResult get result => _result; + late CheckResult _result; + + /// An array of single check result pointers. + List get imageQualityList => _imageQualityList; + List _imageQualityList = []; + + /// Index of the document page, whence the result is received. + int get pageIndex => _pageIndex; + late int _pageIndex; + + /// Allows you to deserialize object. + static ImageQualityGroup? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = ImageQualityGroup(); + + result._count = jsonObject["count"]; + result._result = CheckResult.getByValue(jsonObject["result"])!; + result._pageIndex = jsonObject["pageIndex"]; + for (var item in jsonObject["imageQualityList"]) { + result._imageQualityList.addSafe(ImageQuality.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "count": count, + "result": result.value, + "pageIndex": pageIndex, + "imageQualityList": imageQualityList.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/rfid/AccessControlProcedureType.dart b/lib/src/results/rfid/AccessControlProcedureType.dart deleted file mode 100644 index 18ad5d7d7e..0000000000 --- a/lib/src/results/rfid/AccessControlProcedureType.dart +++ /dev/null @@ -1,52 +0,0 @@ -// -// AccessControlProcedureType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure is used to describe the results of a single authentication -/// procedure or a procedure of secure data access within the context -/// of the communication session with electronic document. -class AccessControlProcedureType { - /// Index of the active variant of the procedure. - int get activeOptionIdx => _activeOptionIdx; - late int _activeOptionIdx; - - /// List of remarks arisen during the procedure. - List get notifications => _notifications; - List _notifications = []; - - /// Procedure status. - RFIDErrorCodes get status => _status; - late RFIDErrorCodes _status; - - /// Procedure type. - RFIDAccessControlProcedureType get type => _type; - late RFIDAccessControlProcedureType _type; - - /// Allows you to deserialize object. - static AccessControlProcedureType? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = AccessControlProcedureType(); - - result._activeOptionIdx = jsonObject["activeOptionIdx"]; - result._type = - RFIDAccessControlProcedureType.getByValue(jsonObject["type"])!; - result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!; - result._notifications = jsonObject["notifications"].cast(); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "activeOptionIdx": activeOptionIdx, - "notifications": notifications, - "status": status.value, - "type": type.value, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/Application.dart b/lib/src/results/rfid/Application.dart index a8c2097a6b..23986974bd 100644 --- a/lib/src/results/rfid/Application.dart +++ b/lib/src/results/rfid/Application.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Structure is used to describe the contents of a single LDS applica-tion /// and their analysis within the context of the communication session with @@ -29,8 +29,8 @@ class Application { late RFIDErrorCodes _status; /// Type of application of electronic document. - int get type => _type; - late int _type; + RFIDApplicationType get type => _type; + late RFIDApplicationType _type; /// Unicode version for application. String? get unicodeVersion => _unicodeVersion; @@ -45,14 +45,15 @@ class Application { if (jsonObject == null) return null; var result = Application(); - result._type = jsonObject["type"]; + result._type = RFIDApplicationType.getByValue(jsonObject["type"])!; result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!; result._applicationID = jsonObject["applicationID"]; result._dataHashAlgorithm = jsonObject["dataHashAlgorithm"]; result._unicodeVersion = jsonObject["unicodeVersion"]; result._version = jsonObject["version"]; - for (var item in jsonObject["files"]) + for (var item in jsonObject["files"]) { result._files.addSafe(File.fromJson(item)); + } return result; } @@ -63,8 +64,40 @@ class Application { "dataHashAlgorithm": dataHashAlgorithm, "files": files.map((e) => e.toJson()).toList(), "status": status.value, - "type": type, + "type": type.value, "unicodeVersion": unicodeVersion, "version": version, }.clearNulls(); } + +/// Type of application of electronic document. +enum RFIDApplicationType { + /// ePassport. + E_PASSPORT(1), + + E_ID(2), + + E_SIGN(3), + + E_DL(4), + + /// Travel Records. + LDS2_TRAVEL_RECORDS(5), + + /// Visa Records. + LDS2_VISA_RECORDS(6), + + /// Add Biometrics. + LDS2_ADD_BIOMETRICS(7), + + /// eDTC PC. + E_DTC_PC(8); + + const RFIDApplicationType(this.value); + final int value; + + static RFIDApplicationType? getByValue(int? i) { + if (i == null) return null; + return RFIDApplicationType.values.firstWhere((x) => x.value == i); + } +} diff --git a/lib/src/results/rfid/Attribute.dart b/lib/src/results/rfid/Attribute.dart index c28f2f38b5..304780d8dd 100644 --- a/lib/src/results/rfid/Attribute.dart +++ b/lib/src/results/rfid/Attribute.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; class Attribute { String? get type => _type; @@ -27,8 +27,6 @@ class Attribute { } /// Allows you to serialize object. - Map toJson() => { - "type": type, - "value": value?.toJson(), - }.clearNulls(); + Map toJson() => + {"type": type, "value": value?.toJson()}.clearNulls(); } diff --git a/lib/src/results/rfid/Authority.dart b/lib/src/results/rfid/Authority.dart index b72c1f131d..b66f39a640 100644 --- a/lib/src/results/rfid/Authority.dart +++ b/lib/src/results/rfid/Authority.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; class Authority { List get attributes => _attributes; @@ -25,8 +25,9 @@ class Authority { result._data = jsonObject["data"]; result._friendlyName = RFIDValue.fromJson(jsonObject["friendlyName"]); - for (var item in jsonObject["attributes"]) + for (var item in jsonObject["attributes"]) { result._attributes.addSafe(Attribute.fromJson(item)); + } return result; } diff --git a/lib/src/results/rfid/CardProperties.dart b/lib/src/results/rfid/CardProperties.dart deleted file mode 100644 index 60f242a8e2..0000000000 --- a/lib/src/results/rfid/CardProperties.dart +++ /dev/null @@ -1,115 +0,0 @@ -// -// CardProperties.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure is used to store extended information about the characteristics -/// of the RFID-chip located in the scope of the reader. -class CardProperties { - /// Numeric ATQ_A value in hexadecimal format (e.g. "0x0000"). - int get aTQA => _aTQA; - late int _aTQA; - - /// ATQ_B contents in text format. Each byte is represented by its - /// hexadecimal value. The individual bytes are sepa-rated by spaces - /// (e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81"). - String? get aTQB => _aTQB; - String? _aTQB; - - /// aTR contents in text format. Each byte is represented by its hexadecimal value. - /// The individual bytes are separated by spaces - /// (e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93"). - String? get aTR => _aTR; - String? _aTR; - - /// Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F"). - String? get baudrate1 => _baudrate1; - String? _baudrate1; - - /// Numeric Baudrate2 value in hexadecimal format. - String? get baudrate2 => _baudrate2; - String? _baudrate2; - - /// Numeric BitRateR value in hexadecimal format (e.g. "0x04"). - int get bitRateR => _bitRateR; - late int _bitRateR; - - /// Numeric BitRateS value in hexadecimal format (e.g. "0x04"). - int get bitRateS => _bitRateS; - late int _bitRateS; - - /// Text abbreviation of ChipType_A value. - int get chipTypeA => _chipTypeA; - late int _chipTypeA; - - /// Numeric MifareMemory value. - int get mifareMemory => _mifareMemory; - late int _mifareMemory; - - /// Text abbreviation of RFID_Type value. - int get rfidType => _rfidType; - late int _rfidType; - - /// Numeric SAK value in hexadecimal format (e.g. "0x00"). - int get sAK => _sAK; - late int _sAK; - - /// Boolean Support_4 value. - bool get support4 => _support4; - late bool _support4; - - /// Boolean Support_Mifare value. - bool get supportMifare => _supportMifare; - late bool _supportMifare; - - /// UID contents in text format. Each byte is represented by its hexadecimal value. - /// The individual bytes are separated by spaces (e.g. "F9 4F 41 60"). - String? get uID => _uID; - String? _uID; - - /// Allows you to deserialize object. - static CardProperties? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = CardProperties(); - - result._aTQA = jsonObject["aTQA"]; - result._bitRateR = jsonObject["bitRateR"]; - result._bitRateS = jsonObject["bitRateS"]; - result._chipTypeA = jsonObject["chipTypeA"]; - result._mifareMemory = jsonObject["mifareMemory"]; - result._rfidType = jsonObject["rfidType"]; - result._sAK = jsonObject["sAK"]; - result._support4 = jsonObject["support4"]; - result._supportMifare = jsonObject["supportMifare"]; - result._aTQB = jsonObject["aTQB"]; - result._aTR = jsonObject["aTR"]; - result._baudrate1 = jsonObject["baudrate1"]; - result._baudrate2 = jsonObject["baudrate2"]; - result._uID = jsonObject["uID"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "aTQA": aTQA, - "bitRateR": bitRateR, - "bitRateS": bitRateS, - "chipTypeA": chipTypeA, - "mifareMemory": mifareMemory, - "rfidType": rfidType, - "sAK": sAK, - "support4": support4, - "supportMifare": supportMifare, - "aTQB": aTQB, - "aTR": aTR, - "baudrate1": baudrate1, - "baudrate2": baudrate2, - "uID": uID, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/CertificateChain.dart b/lib/src/results/rfid/CertificateChain.dart deleted file mode 100644 index b6a8bed217..0000000000 --- a/lib/src/results/rfid/CertificateChain.dart +++ /dev/null @@ -1,92 +0,0 @@ -// -// CertificateChain.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class CertificateChain { - /// Define the type of certificate used in the procedure of document - /// security object digital signature verification. - RFIDCertificateType get type => _type; - late RFIDCertificateType _type; - - List get extensions => _extensions; - List _extensions = []; - - RFIDValue? get fileName => _fileName; - RFIDValue? _fileName; - - Authority? get issuer => _issuer; - Authority? _issuer; - - List get notifications => _notifications; - List _notifications = []; - - int get origin => _origin; - late int _origin; - - int get paStatus => _paStatus; - late int _paStatus; - - String? get serialNumber => _serialNumber; - String? _serialNumber; - - String? get signatureAlgorithm => _signatureAlgorithm; - String? _signatureAlgorithm; - - Authority? get subject => _subject; - Authority? _subject; - - String? get subjectPKAlgorithm => _subjectPKAlgorithm; - String? _subjectPKAlgorithm; - - RFIDValidity? get validity => _validity; - RFIDValidity? _validity; - - int get version => _version; - late int _version; - - /// Allows you to deserialize object. - static CertificateChain? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = CertificateChain(); - - result._origin = jsonObject["origin"]; - result._type = RFIDCertificateType.getByValue(jsonObject["type"])!; - result._version = jsonObject["version"]; - result._paStatus = jsonObject["paStatus"]; - result._serialNumber = jsonObject["serialNumber"]; - result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; - result._subjectPKAlgorithm = jsonObject["subjectPKAlgorithm"]; - result._fileName = RFIDValue.fromJson(jsonObject["fileName"]); - result._validity = RFIDValidity.fromJson(jsonObject["validity"]); - result._issuer = Authority.fromJson(jsonObject["issuer"]); - result._subject = Authority.fromJson(jsonObject["subject"]); - result._notifications = jsonObject["notifications"].cast(); - for (var item in jsonObject["extensions"]) - result._extensions.addSafe(Extension.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "type": type.value, - "extensions": extensions.map((e) => e.toJson()).toList(), - "fileName": fileName?.toJson(), - "issuer": issuer?.toJson(), - "notifications": notifications, - "origin": origin, - "paStatus": paStatus, - "serialNumber": serialNumber, - "signatureAlgorithm": signatureAlgorithm, - "subject": subject?.toJson(), - "subjectPKAlgorithm": subjectPKAlgorithm, - "validity": validity?.toJson(), - "version": version, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/CertificateData.dart b/lib/src/results/rfid/CertificateData.dart deleted file mode 100644 index b628cda5f7..0000000000 --- a/lib/src/results/rfid/CertificateData.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// CertificateData.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class CertificateData { - String? get data => _data; - String? _data; - - int get length => _length; - late int _length; - - /// Allows you to deserialize object. - static CertificateData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = CertificateData(); - - result._length = jsonObject["length"]; - result._data = jsonObject["data"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "data": data, - "length": length, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/DataField.dart b/lib/src/results/rfid/DataField.dart deleted file mode 100644 index 6d983151fa..0000000000 --- a/lib/src/results/rfid/DataField.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// DataField.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class DataField { - String get data => _data; - String _data = ""; - - RFIDDataFileType get fieldType => _fieldType; - RFIDDataFileType _fieldType = RFIDDataFileType.UNSPECIFIED; - - /// Allows you to deserialize object. - static DataField? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = DataField(); - - result._data = jsonObject["data"]; - var fieldType = RFIDDataFileType.getByValue(jsonObject["fieldType"]); - if (fieldType == null) return null; - result._fieldType = fieldType; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "data": data, - "fieldType": fieldType.value, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/Extension.dart b/lib/src/results/rfid/Extension.dart index e874275a84..9fee76a484 100644 --- a/lib/src/results/rfid/Extension.dart +++ b/lib/src/results/rfid/Extension.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; class Extension { String? get data => _data; @@ -27,8 +27,5 @@ class Extension { } /// Allows you to serialize object. - Map toJson() => { - "data": data, - "type": type, - }.clearNulls(); + Map toJson() => {"data": data, "type": type}.clearNulls(); } diff --git a/lib/src/results/rfid/File.dart b/lib/src/results/rfid/File.dart index 59b1ab822f..9b82183c40 100644 --- a/lib/src/results/rfid/File.dart +++ b/lib/src/results/rfid/File.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; class File { FileData? get fileData => _fileData; @@ -58,12 +58,14 @@ class File { RFIDErrorCodes.getByValue(jsonObject["readingStatus"])!; result._fileID = jsonObject["fileID"]; result._fileData = FileData.fromJson(jsonObject["fileData"]); - result._certificates = - SecurityObjectCertificates.fromJson(jsonObject["certificates"]); - result._docFieldsText = jsonObject["docFieldsText"].cast(); - result._docFieldsGraphics = jsonObject["docFieldsGraphics"].cast(); - result._docFieldsOriginals = jsonObject["docFieldsOriginals"].cast(); - result._notifications = jsonObject["notifications"].cast(); + result._certificates = SecurityObjectCertificates.fromJson( + jsonObject["certificates"], + ); + result._docFieldsText = _intListFrom(jsonObject["docFieldsText"])!; + result._docFieldsGraphics = _intListFrom(jsonObject["docFieldsGraphics"])!; + result._docFieldsOriginals = + _intListFrom(jsonObject["docFieldsOriginals"])!; + result._notifications = _intListFrom(jsonObject["notifications"])!; return result; } diff --git a/lib/src/results/rfid/FileData.dart b/lib/src/results/rfid/FileData.dart deleted file mode 100644 index b4c81f8b2f..0000000000 --- a/lib/src/results/rfid/FileData.dart +++ /dev/null @@ -1,44 +0,0 @@ -// -// FileData.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class FileData { - String? get data => _data; - String? _data; - - int get length => _length; - late int _length; - - int get type => _type; - late int _type; - - int get status => _status; - late int _status; - - /// Allows you to serialize object. - static FileData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = FileData(); - - result._length = jsonObject["length"]; - result._type = jsonObject["type"]; - result._status = jsonObject["status"]; - result._data = jsonObject["data"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "data": data, - "length": length, - "type": type, - "status": status, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/RFIDAccessControlProcedureType.dart b/lib/src/results/rfid/RFIDAccessControlProcedureType.dart deleted file mode 100644 index a68316e2b9..0000000000 --- a/lib/src/results/rfid/RFIDAccessControlProcedureType.dart +++ /dev/null @@ -1,48 +0,0 @@ -// -// RFIDAccessControlProcedureType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum RFIDAccessControlProcedureType { - /// Type is not defined. - UNDEFINED(0), - - /// Basic Access Control (BAC) / Protection (BAP). - BAC(1), - - /// Password Authenticated Connection Establishment. - PACE(2), - - /// Chip Authentication. - CA(3), - - /// Terminal Authentication. - TA(4), - - /// Active Authentication. - AA(5), - - /// Restricted Identification. - RI(6), - - /// Card info. - CARD_INFO(10); - - const RFIDAccessControlProcedureType(this.value); - final int value; - - static RFIDAccessControlProcedureType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDAccessControlProcedureType.values - .firstWhere((x) => x.value == i); - } catch (_) { - return RFIDAccessControlProcedureType.UNDEFINED; - } - } -} diff --git a/lib/src/results/rfid/RFIDCertificateType.dart b/lib/src/results/rfid/RFIDCertificateType.dart deleted file mode 100644 index d422164ec0..0000000000 --- a/lib/src/results/rfid/RFIDCertificateType.dart +++ /dev/null @@ -1,45 +0,0 @@ -// -// RFIDCertificateType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum RFIDCertificateType { - UNDEFINED(0), - - CSCA(1), - - CSCA_LINK(2), - - DS(3), - - MLS(4), - - DEV_LS(5), - - DEF_LS(6), - - BLS(7), - - LDS2(8), - - BCS(9), - - BCSNC(10); - - const RFIDCertificateType(this.value); - final int value; - - static RFIDCertificateType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDCertificateType.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDCertificateType.UNDEFINED; - } - } -} diff --git a/lib/src/results/rfid/RFIDDataFileType.dart b/lib/src/results/rfid/RFIDDataFileType.dart deleted file mode 100644 index 5eaebd1588..0000000000 --- a/lib/src/results/rfid/RFIDDataFileType.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// RFIDDataFileType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enumeration contains a set of constants that define the file type -/// (or logical belonging of the data object) within the context of the -/// communication session with electronic document. -enum RFIDDataFileType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - UNSPECIFIED(0), - PASSPORT_DG1(1), - PASSPORT_DG2(2), - PASSPORT_DG3(3), - PASSPORT_DG4(4), - PASSPORT_DG5(5), - PASSPORT_DG6(6), - PASSPORT_DG7(7), - PASSPORT_DG8(8), - PASSPORT_DG9(9), - PASSPORT_DG10(10), - PASSPORT_DG11(11), - PASSPORT_DG12(12), - PASSPORT_DG13(13), - PASSPORT_DG14(14), - PASSPORT_DG15(15), - PASSPORT_DG16(16), - PASSPORT_DG17(17), - PASSPORT_DG18(18), - PASSPORT_DG19(19), - PASSPORT_DG20(20), - PASSPORT_SOD(21), - PASSPORT_CVCA(22), - PASSPORT_COM(23), - ID_DG1(101), - ID_DG2(102), - ID_DG3(103), - ID_DG4(104), - ID_DG5(105), - ID_DG6(106), - ID_DG7(107), - ID_DG8(108), - ID_DG9(109), - ID_DG10(110), - ID_DG11(111), - ID_DG12(112), - ID_DG13(113), - ID_DG14(114), - ID_DG15(115), - ID_DG16(116), - ID_DG17(117), - ID_DG18(118), - ID_DG19(119), - ID_DG20(120), - ID_DG21(121), - DL_COM(150), - DL_DG1(151), - DL_DG2(152), - DL_DG3(153), - DL_DG4(154), - DL_DG5(155), - DL_DG6(156), - DL_DG7(157), - DL_DG8(158), - DL_DG9(159), - DL_DG10(160), - DL_DG11(161), - DL_DG12(162), - DL_DG13(163), - DL_DG14(164), - DL_SOD(165), - DL_CE(166), - DL_CVCA(167), - PACE_CARDACCESS(200), - PACE_CARDSECURITY(201), - PACE_CHIPSECURITY(202), - MIFARE_DATA(300), - MIFARE_VALIDITY(301), - AUTHENTICITYV2(302), - ATR(400), - ESIGN_PK(500), - ESIGN_SIGNEDDATA(501), - CERTIFICATE(600), - MASTERLIST(601), - DEFECTLIST(602), - DEVIATIONLIST(603), - APP_DIRECTORY(700), - SESSION(701), - LOGDATA(702), - CHIP_PROPERTIES(703), - SAM_DATA(800), - SAM_DATA_MAX(800 + 32), - VDS(900), - VDSNC(901), - USERDEFINED(1000); - - const RFIDDataFileType(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static RFIDDataFileType? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDDataFileType.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDDataFileType.UNKNOWN; - } - } -} diff --git a/lib/src/results/rfid/RFIDSessionData.dart b/lib/src/results/rfid/RFIDSessionData.dart deleted file mode 100644 index aa4b5d1ac2..0000000000 --- a/lib/src/results/rfid/RFIDSessionData.dart +++ /dev/null @@ -1,105 +0,0 @@ -// -// RFIDSessionData.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Used to describe the results of work with the SDK within the context -/// of the current communication session with electronic document. -class RFIDSessionData { - /// List of containers to store information about the supported procedures - /// of authentication and secure data access within the context of the session. - List get accessControls => _accessControls; - List _accessControls = []; - - /// List of containers to store information about the involved ap-plications - /// of electronic document. - List get applications => _applications; - List _applications = []; - - /// ist of containers to store information about the detected - /// document security objects. - List get securityObjects => _securityObjects; - List _securityObjects = []; - - /// Set of electronic document chip characteristics. - CardProperties? get cardProperties => _cardProperties; - CardProperties? _cardProperties; - - /// Total number of bytes received from the RFID-chip during the whole session. - int get totalBytesReceived => _totalBytesReceived; - late int _totalBytesReceived; - - /// Total number of bytes transmitted to the RFID-chip during the whole session. - int get totalBytesSent => _totalBytesSent; - late int _totalBytesSent; - - /// Status. - RFIDErrorCodes get status => _status; - late RFIDErrorCodes _status; - - /// Sign of support of RFID-chip for extended length commands of reading. - RFIDErrorCodes get extLeSupport => _extLeSupport; - late RFIDErrorCodes _extLeSupport; - - /// Total time of all operations performed during the session, ms. - int get processTime => _processTime; - late int _processTime; - - /// List of data fields - List get dataFields => _dataFields; - List _dataFields = []; - - /// List of data groups. - List? get dataGroups => _dataGroups; - List? _dataGroups; - - /// Allows you to deserialize object. - static RFIDSessionData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDSessionData(); - - result._totalBytesReceived = jsonObject["totalBytesReceived"]; - result._totalBytesSent = jsonObject["totalBytesSent"]; - result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!; - result._extLeSupport = - RFIDErrorCodes.getByValue(jsonObject["extLeSupport"])!; - result._processTime = jsonObject["processTime"]; - result._cardProperties = - CardProperties.fromJson(jsonObject["cardProperties"]); - for (var item in jsonObject["accessControls"]) - result._accessControls.addSafe(AccessControlProcedureType.fromJson(item)); - for (var item in jsonObject["applications"]) - result._applications.addSafe(Application.fromJson(item)); - for (var item in jsonObject["securityObjects"]) - result._securityObjects.addSafe(SecurityObject.fromJson(item)); - for (var item in jsonObject["dataFields"]) - result._dataFields.addSafe(DataField.fromJson(item)); - if (jsonObject["dataGroups"] != null) { - result._dataGroups = []; - for (var item in jsonObject["dataGroups"]) - result._dataGroups!.addSafe(RFIDDataFileType.getByValue(item)); - } - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "cardProperties": cardProperties?.toJson(), - "totalBytesReceived": totalBytesReceived, - "totalBytesSent": totalBytesSent, - "status": status.value, - "extLeSupport": extLeSupport.value, - "processTime": processTime, - "accessControls": accessControls.map((e) => e.toJson()).toList(), - "applications": applications.map((e) => e.toJson()).toList(), - "securityObjects": securityObjects.map((e) => e.toJson()).toList(), - "dataFields": dataFields.map((e) => e.toJson()).toList(), - "dataGroups": dataGroups?.map((e) => e.value).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/rfid/RFIDValidity.dart b/lib/src/results/rfid/RFIDValidity.dart deleted file mode 100644 index 21b0b69d60..0000000000 --- a/lib/src/results/rfid/RFIDValidity.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// RFIDValidity.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class RFIDValidity { - RFIDValue? get notAfter => _notAfter; - RFIDValue? _notAfter; - - RFIDValue? get notBefore => _notBefore; - RFIDValue? _notBefore; - - /// Allows you to deserialize object. - static RFIDValidity? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDValidity(); - - result._notAfter = RFIDValue.fromJson(jsonObject["notAfter"]); - result._notBefore = RFIDValue.fromJson(jsonObject["notBefore"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "notAfter": notAfter?.toJson(), - "notBefore": notBefore?.toJson(), - }.clearNulls(); -} diff --git a/lib/src/results/rfid/RFIDValue.dart b/lib/src/results/rfid/RFIDValue.dart deleted file mode 100644 index 95f784116f..0000000000 --- a/lib/src/results/rfid/RFIDValue.dart +++ /dev/null @@ -1,49 +0,0 @@ -// -// RFIDValue.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class RFIDValue { - String? get data => _data; - String? _data; - - int get length => _length; - late int _length; - - int get status => _status; - late int _status; - - int get type => _type; - late int _type; - - String? get format => _format; - String? _format; - - /// Allows you to deserialize object. - static RFIDValue? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDValue(); - - result._length = jsonObject["length"]; - result._type = jsonObject["type"]; - result._status = jsonObject["status"]; - result._data = jsonObject["data"]; - result._format = jsonObject["format"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "data": data, - "length": length, - "status": status, - "type": type, - "format": format, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/SecurityObject.dart b/lib/src/results/rfid/SecurityObject.dart deleted file mode 100644 index 3724e930d3..0000000000 --- a/lib/src/results/rfid/SecurityObject.dart +++ /dev/null @@ -1,61 +0,0 @@ -// -// SecurityObject.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure is used to describe the contents of a single document -/// security object (SO) and the results of its check within the context -/// of the communication session with electronic document. -class SecurityObject { - /// Reference to the source file of the security object data. - int get fileReference => _fileReference; - late int _fileReference; - - /// Security object identifier. - String? get objectType => _objectType; - String? _objectType; - - /// Security object version. - int get version => _version; - late int _version; - - /// List of containers to store information about digital - /// signature objects contained in the SO. - List get signerInfos => _signerInfos; - List _signerInfos = []; - - /// The list of remarks occured during the scanning procedure. - /// - /// Each element belongs to the [LDSParsingErrorCodes]. - List get notifications => _notifications; - List _notifications = []; - - /// Allows you to deserialize object. - static SecurityObject? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = SecurityObject(); - - result._fileReference = jsonObject["fileReference"]; - result._version = jsonObject["version"]; - result._objectType = jsonObject["objectType"]; - result._notifications = jsonObject["notifications"].cast(); - for (var item in jsonObject["signerInfos"]) - result.signerInfos.addSafe(SignerInfo.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "fileReference": fileReference, - "objectType": objectType, - "version": version, - "signerInfos": signerInfos.map((e) => e.toJson()).toList(), - "notifications": notifications, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/SecurityObjectCertificates.dart b/lib/src/results/rfid/SecurityObjectCertificates.dart deleted file mode 100644 index 5b8918595c..0000000000 --- a/lib/src/results/rfid/SecurityObjectCertificates.dart +++ /dev/null @@ -1,30 +0,0 @@ -// -// SecurityObjectCertificates.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class SecurityObjectCertificates { - CertificateData? get securityObject => _securityObject; - CertificateData? _securityObject; - - /// Allows you to deserialize object. - static SecurityObjectCertificates? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = SecurityObjectCertificates(); - - result._securityObject = - CertificateData.fromJson(jsonObject["securityObject"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "securityObject": securityObject?.toJson(), - }.clearNulls(); -} diff --git a/lib/src/results/rfid/SignerInfo.dart b/lib/src/results/rfid/SignerInfo.dart deleted file mode 100644 index ecd39c71f9..0000000000 --- a/lib/src/results/rfid/SignerInfo.dart +++ /dev/null @@ -1,103 +0,0 @@ -// -// SignerInfo.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure is used to store the result of the verification of a single digital -/// signature of the number present in EF.SOD. -class SignerInfo { - /// Data to hash. - String? get dataToHash => _dataToHash; - String? _dataToHash; - - /// Digital signature hash-function algorithm identifier. - String? get digestAlgorithm => _digestAlgorithm; - String? _digestAlgorithm; - - /// Result of the digital signature verification. - int get paStatus => _paStatus; - late int _paStatus; - - /// Digital signature algorithm identifier. - String? get signatureAlgorithm => _signatureAlgorithm; - String? _signatureAlgorithm; - - /// Version of the digital signature data structure. - int get version => _version; - late int _version; - - /// Identifier of the necessary certificate issuer. - Authority? get issuer => _issuer; - Authority? _issuer; - - /// Serial number of the necessary certificate. - RFIDValue? get serialNumber => _serialNumber; - RFIDValue? _serialNumber; - - /// Binary data of the verified digital signature. - RFIDValue? get signature => _signature; - RFIDValue? _signature; - - /// List of the signed attributes. - List get signedAttributes => _signedAttributes; - List _signedAttributes = []; - - /// Signature object identifier of the necessary certificate. - RFIDValue? get subjectKeyIdentifier => _subjectKeyIdentifier; - RFIDValue? _subjectKeyIdentifier; - - /// Certificate chain, used for the digital signature verification. - List get certificateChain => _certificateChain; - List _certificateChain = []; - - /// The list of remarks occured during the scanning procedure. - /// - /// Each element belongs to the [LDSParsingErrorCodes]. - List get notifications => _notifications; - List _notifications = []; - - /// Allows you to deserialize object. - static SignerInfo? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = SignerInfo(); - - result._version = jsonObject["version"]; - result._paStatus = jsonObject["paStatus"]; - result._dataToHash = jsonObject["dataToHash"]; - result._digestAlgorithm = jsonObject["digestAlgorithm"]; - result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; - result._serialNumber = RFIDValue.fromJson(jsonObject["serialNumber"]); - result._signature = RFIDValue.fromJson(jsonObject["signature"]); - result._subjectKeyIdentifier = - RFIDValue.fromJson(jsonObject["subjectKeyIdentifier"]); - result._issuer = Authority.fromJson(jsonObject["issuer"]); - result._notifications = jsonObject["notifications"].cast(); - for (var item in jsonObject["signedAttributes"]) - result._signedAttributes.addSafe(Extension.fromJson(item)); - for (var item in jsonObject["certificateChain"]) - result._certificateChain.addSafe(CertificateChain.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "dataToHash": dataToHash, - "digestAlgorithm": digestAlgorithm, - "version": version, - "paStatus": paStatus, - "signatureAlgorithm": signatureAlgorithm, - "issuer": issuer?.toJson(), - "serialNumber": serialNumber?.toJson(), - "signature": signature?.toJson(), - "subjectKeyIdentifier": subjectKeyIdentifier?.toJson(), - "signedAttributes": signedAttributes.map((e) => e.toJson()).toList(), - "certificateChain": certificateChain.map((e) => e.toJson()).toList(), - "notifications": notifications, - }.clearNulls(); -} diff --git a/lib/src/results/rfid/access_control_procedure_type.dart b/lib/src/results/rfid/access_control_procedure_type.dart new file mode 100644 index 0000000000..a43ebe4e8a --- /dev/null +++ b/lib/src/results/rfid/access_control_procedure_type.dart @@ -0,0 +1,52 @@ +// +// AccessControlProcedureType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure is used to describe the results of a single authentication +/// procedure or a procedure of secure data access within the context +/// of the communication session with electronic document. +class AccessControlProcedureType { + /// Index of the active variant of the procedure. + int get activeOptionIdx => _activeOptionIdx; + late int _activeOptionIdx; + + /// List of remarks arisen during the procedure. + List get notifications => _notifications; + List _notifications = []; + + /// Procedure status. + RFIDErrorCodes get status => _status; + late RFIDErrorCodes _status; + + /// Procedure type. + RFIDAccessControlProcedureType get type => _type; + late RFIDAccessControlProcedureType _type; + + /// Allows you to deserialize object. + static AccessControlProcedureType? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = AccessControlProcedureType(); + + result._activeOptionIdx = jsonObject["activeOptionIdx"]; + result._type = + RFIDAccessControlProcedureType.getByValue(jsonObject["type"])!; + result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!; + result._notifications = _intListFrom(jsonObject["notifications"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "activeOptionIdx": activeOptionIdx, + "notifications": notifications, + "status": status.value, + "type": type.value, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/card_properties.dart b/lib/src/results/rfid/card_properties.dart new file mode 100644 index 0000000000..0d7d5b9110 --- /dev/null +++ b/lib/src/results/rfid/card_properties.dart @@ -0,0 +1,115 @@ +// +// CardProperties.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure is used to store extended information about the characteristics +/// of the RFID-chip located in the scope of the reader. +class CardProperties { + /// Numeric ATQ_A value in hexadecimal format (e.g. "0x0000"). + int get aTQA => _aTQA; + late int _aTQA; + + /// ATQ_B contents in text format. Each byte is represented by its + /// hexadecimal value. The individual bytes are sepa-rated by spaces + /// (e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81"). + String? get aTQB => _aTQB; + String? _aTQB; + + /// aTR contents in text format. Each byte is represented by its hexadecimal value. + /// The individual bytes are separated by spaces + /// (e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93"). + String? get aTR => _aTR; + String? _aTR; + + /// Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F"). + String? get baudrate1 => _baudrate1; + String? _baudrate1; + + /// Numeric Baudrate2 value in hexadecimal format. + String? get baudrate2 => _baudrate2; + String? _baudrate2; + + /// Numeric BitRateR value in hexadecimal format (e.g. "0x04"). + int get bitRateR => _bitRateR; + late int _bitRateR; + + /// Numeric BitRateS value in hexadecimal format (e.g. "0x04"). + int get bitRateS => _bitRateS; + late int _bitRateS; + + /// Text abbreviation of ChipType_A value. + int get chipTypeA => _chipTypeA; + late int _chipTypeA; + + /// Numeric MifareMemory value. + int get mifareMemory => _mifareMemory; + late int _mifareMemory; + + /// Text abbreviation of RFID_Type value. + int get rfidType => _rfidType; + late int _rfidType; + + /// Numeric SAK value in hexadecimal format (e.g. "0x00"). + int get sAK => _sAK; + late int _sAK; + + /// Boolean Support_4 value. + bool get support4 => _support4; + late bool _support4; + + /// Boolean Support_Mifare value. + bool get supportMifare => _supportMifare; + late bool _supportMifare; + + /// UID contents in text format. Each byte is represented by its hexadecimal value. + /// The individual bytes are separated by spaces (e.g. "F9 4F 41 60"). + String? get uID => _uID; + String? _uID; + + /// Allows you to deserialize object. + static CardProperties? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = CardProperties(); + + result._aTQA = jsonObject["aTQA"]; + result._bitRateR = jsonObject["bitRateR"]; + result._bitRateS = jsonObject["bitRateS"]; + result._chipTypeA = jsonObject["chipTypeA"]; + result._mifareMemory = jsonObject["mifareMemory"]; + result._rfidType = jsonObject["rfidType"]; + result._sAK = jsonObject["sAK"]; + result._support4 = jsonObject["support4"]; + result._supportMifare = jsonObject["supportMifare"]; + result._aTQB = jsonObject["aTQB"]; + result._aTR = jsonObject["aTR"]; + result._baudrate1 = jsonObject["baudrate1"]; + result._baudrate2 = jsonObject["baudrate2"]; + result._uID = jsonObject["uID"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "aTQA": aTQA, + "bitRateR": bitRateR, + "bitRateS": bitRateS, + "chipTypeA": chipTypeA, + "mifareMemory": mifareMemory, + "rfidType": rfidType, + "sAK": sAK, + "support4": support4, + "supportMifare": supportMifare, + "aTQB": aTQB, + "aTR": aTR, + "baudrate1": baudrate1, + "baudrate2": baudrate2, + "uID": uID, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/certificate_chain.dart b/lib/src/results/rfid/certificate_chain.dart new file mode 100644 index 0000000000..4d74a4c2bf --- /dev/null +++ b/lib/src/results/rfid/certificate_chain.dart @@ -0,0 +1,93 @@ +// +// CertificateChain.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class CertificateChain { + /// Define the type of certificate used in the procedure of document + /// security object digital signature verification. + RFIDCertificateType get type => _type; + late RFIDCertificateType _type; + + List get extensions => _extensions; + List _extensions = []; + + RFIDValue? get fileName => _fileName; + RFIDValue? _fileName; + + Authority? get issuer => _issuer; + Authority? _issuer; + + List get notifications => _notifications; + List _notifications = []; + + int get origin => _origin; + late int _origin; + + int get paStatus => _paStatus; + late int _paStatus; + + String? get serialNumber => _serialNumber; + String? _serialNumber; + + String? get signatureAlgorithm => _signatureAlgorithm; + String? _signatureAlgorithm; + + Authority? get subject => _subject; + Authority? _subject; + + String? get subjectPKAlgorithm => _subjectPKAlgorithm; + String? _subjectPKAlgorithm; + + RFIDValidity? get validity => _validity; + RFIDValidity? _validity; + + int get version => _version; + late int _version; + + /// Allows you to deserialize object. + static CertificateChain? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = CertificateChain(); + + result._origin = jsonObject["origin"]; + result._type = RFIDCertificateType.getByValue(jsonObject["type"])!; + result._version = jsonObject["version"]; + result._paStatus = jsonObject["paStatus"]; + result._serialNumber = jsonObject["serialNumber"]; + result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; + result._subjectPKAlgorithm = jsonObject["subjectPKAlgorithm"]; + result._fileName = RFIDValue.fromJson(jsonObject["fileName"]); + result._validity = RFIDValidity.fromJson(jsonObject["validity"]); + result._issuer = Authority.fromJson(jsonObject["issuer"]); + result._subject = Authority.fromJson(jsonObject["subject"]); + result._notifications = _intListFrom(jsonObject["notifications"])!; + for (var item in jsonObject["extensions"]) { + result._extensions.addSafe(Extension.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type.value, + "extensions": extensions.map((e) => e.toJson()).toList(), + "fileName": fileName?.toJson(), + "issuer": issuer?.toJson(), + "notifications": notifications, + "origin": origin, + "paStatus": paStatus, + "serialNumber": serialNumber, + "signatureAlgorithm": signatureAlgorithm, + "subject": subject?.toJson(), + "subjectPKAlgorithm": subjectPKAlgorithm, + "validity": validity?.toJson(), + "version": version, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/certificate_data.dart b/lib/src/results/rfid/certificate_data.dart new file mode 100644 index 0000000000..347a02741f --- /dev/null +++ b/lib/src/results/rfid/certificate_data.dart @@ -0,0 +1,32 @@ +// +// CertificateData.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class CertificateData { + String? get data => _data; + String? _data; + + int get length => _length; + late int _length; + + /// Allows you to deserialize object. + static CertificateData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = CertificateData(); + + result._length = jsonObject["length"]; + result._data = jsonObject["data"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"data": data, "length": length}.clearNulls(); +} diff --git a/lib/src/results/rfid/data_field.dart b/lib/src/results/rfid/data_field.dart new file mode 100644 index 0000000000..9c3a2fc5e4 --- /dev/null +++ b/lib/src/results/rfid/data_field.dart @@ -0,0 +1,34 @@ +// +// DataField.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class DataField { + String get data => _data; + String _data = ""; + + RFIDDataFileType get fieldType => _fieldType; + RFIDDataFileType _fieldType = RFIDDataFileType.UNSPECIFIED; + + /// Allows you to deserialize object. + static DataField? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DataField(); + + result._data = jsonObject["data"]; + var fieldType = RFIDDataFileType.getByValue(jsonObject["fieldType"]); + if (fieldType == null) return null; + result._fieldType = fieldType; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"data": data, "fieldType": fieldType.value}.clearNulls(); +} diff --git a/lib/src/results/rfid/file_data.dart b/lib/src/results/rfid/file_data.dart new file mode 100644 index 0000000000..6e86f5678c --- /dev/null +++ b/lib/src/results/rfid/file_data.dart @@ -0,0 +1,44 @@ +// +// FileData.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class FileData { + String? get data => _data; + String? _data; + + int get length => _length; + late int _length; + + int get type => _type; + late int _type; + + int get status => _status; + late int _status; + + /// Allows you to serialize object. + static FileData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = FileData(); + + result._length = jsonObject["length"]; + result._type = jsonObject["type"]; + result._status = jsonObject["status"]; + result._data = jsonObject["data"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "data": data, + "length": length, + "type": type, + "status": status, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/rfid_access_control_procedure_type.dart b/lib/src/results/rfid/rfid_access_control_procedure_type.dart new file mode 100644 index 0000000000..b6f9936692 --- /dev/null +++ b/lib/src/results/rfid/rfid_access_control_procedure_type.dart @@ -0,0 +1,49 @@ +// +// RFIDAccessControlProcedureType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +enum RFIDAccessControlProcedureType { + /// Type is not defined. + UNDEFINED(0), + + /// Basic Access Control (BAC) / Protection (BAP). + BAC(1), + + /// Password Authenticated Connection Establishment. + PACE(2), + + /// Chip Authentication. + CA(3), + + /// Terminal Authentication. + TA(4), + + /// Active Authentication. + AA(5), + + /// Restricted Identification. + RI(6), + + /// Card info. + CARD_INFO(10); + + const RFIDAccessControlProcedureType(this.value); + final int value; + + static RFIDAccessControlProcedureType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDAccessControlProcedureType.values.firstWhere( + (x) => x.value == i, + ); + } catch (_) { + return RFIDAccessControlProcedureType.UNDEFINED; + } + } +} diff --git a/lib/src/results/rfid/rfid_certificate_type.dart b/lib/src/results/rfid/rfid_certificate_type.dart new file mode 100644 index 0000000000..857e3d25aa --- /dev/null +++ b/lib/src/results/rfid/rfid_certificate_type.dart @@ -0,0 +1,39 @@ +part of "../../../flutter_document_reader_api.dart"; + +enum RFIDCertificateType { + UNDEFINED(0), + + CSCA(1), + + CSCA_LINK(2), + + DS(3), + + MLS(4), + + DEV_LS(5), + + DEF_LS(6), + + BLS(7), + + LDS2(8), + + BCS(9), + + BCSNC(10), + + MDLS(13); + + const RFIDCertificateType(this.value); + final int value; + + static RFIDCertificateType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDCertificateType.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDCertificateType.UNDEFINED; + } + } +} diff --git a/lib/src/results/rfid/rfid_data_file_type.dart b/lib/src/results/rfid/rfid_data_file_type.dart new file mode 100644 index 0000000000..b2c0bdd024 --- /dev/null +++ b/lib/src/results/rfid/rfid_data_file_type.dart @@ -0,0 +1,133 @@ +// +// RFIDDataFileType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enumeration contains a set of constants that define the file type +/// (or logical belonging of the data object) within the context of the +/// communication session with electronic document. +enum RFIDDataFileType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + UNSPECIFIED(0), + PASSPORT_DG1(1), + PASSPORT_DG2(2), + PASSPORT_DG3(3), + PASSPORT_DG4(4), + PASSPORT_DG5(5), + PASSPORT_DG6(6), + PASSPORT_DG7(7), + PASSPORT_DG8(8), + PASSPORT_DG9(9), + PASSPORT_DG10(10), + PASSPORT_DG11(11), + PASSPORT_DG12(12), + PASSPORT_DG13(13), + PASSPORT_DG14(14), + PASSPORT_DG15(15), + PASSPORT_DG16(16), + PASSPORT_DG17(17), + PASSPORT_DG18(18), + PASSPORT_DG19(19), + PASSPORT_DG20(20), + PASSPORT_SOD(21), + PASSPORT_CVCA(22), + PASSPORT_COM(23), + DTC_DG17(57), + DTC_DG18(58), + DTC_DG22(62), + DTC_DG23(63), + DTC_DG24(64), + ID_DG1(101), + ID_DG2(102), + ID_DG3(103), + ID_DG4(104), + ID_DG5(105), + ID_DG6(106), + ID_DG7(107), + ID_DG8(108), + ID_DG9(109), + ID_DG10(110), + ID_DG11(111), + ID_DG12(112), + ID_DG13(113), + ID_DG14(114), + ID_DG15(115), + ID_DG16(116), + ID_DG17(117), + ID_DG18(118), + ID_DG19(119), + ID_DG20(120), + ID_DG21(121), + ID_DG22(122), + DL_COM(150), + DL_DG1(151), + DL_DG2(152), + DL_DG3(153), + DL_DG4(154), + DL_DG5(155), + DL_DG6(156), + DL_DG7(157), + DL_DG8(158), + DL_DG9(159), + DL_DG10(160), + DL_DG11(161), + DL_DG12(162), + DL_DG13(163), + DL_DG14(164), + DL_SOD(165), + DL_CE(166), + DL_CVCA(167), + PACE_CARDACCESS(200), + PACE_CARDSECURITY(201), + PACE_CHIPSECURITY(202), + MIFARE_DATA(300), + MIFARE_VALIDITY(301), + AUTHENTICITYV2(302), + ATR(400), + ESIGN_PK(500), + ESIGN_SIGNEDDATA(501), + CERTIFICATE(600), + MASTERLIST(601), + DEFECTLIST(602), + DEVIATIONLIST(603), + APP_DIRECTORY(700), + SESSION(701), + LOGDATA(702), + CHIP_PROPERTIES(703), + POST_CA_RESPONSE(710), + POST_CA_PUBLIC_KEY(711), + POST_CA_INFO(712), + POST_CA_DPARAMS(713), + POST_CA_CHECK_PK(714), + POST_CA_CHECK_SK(715), + SAM_DATA(800), + SAM_DATA_MAX(800 + 32), + VDS(900), + VDSNC(901), + USERDEFINED(1000); + + const RFIDDataFileType(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static RFIDDataFileType? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDDataFileType.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDDataFileType.UNKNOWN; + } + } +} diff --git a/lib/src/results/rfid/rfid_session_data.dart b/lib/src/results/rfid/rfid_session_data.dart new file mode 100644 index 0000000000..197ff06234 --- /dev/null +++ b/lib/src/results/rfid/rfid_session_data.dart @@ -0,0 +1,111 @@ +// +// RFIDSessionData.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Used to describe the results of work with the SDK within the context +/// of the current communication session with electronic document. +class RFIDSessionData { + /// List of containers to store information about the supported procedures + /// of authentication and secure data access within the context of the session. + List get accessControls => _accessControls; + List _accessControls = []; + + /// List of containers to store information about the involved ap-plications + /// of electronic document. + List get applications => _applications; + List _applications = []; + + /// ist of containers to store information about the detected + /// document security objects. + List get securityObjects => _securityObjects; + List _securityObjects = []; + + /// Set of electronic document chip characteristics. + CardProperties? get cardProperties => _cardProperties; + CardProperties? _cardProperties; + + /// Total number of bytes received from the RFID-chip during the whole session. + int get totalBytesReceived => _totalBytesReceived; + late int _totalBytesReceived; + + /// Total number of bytes transmitted to the RFID-chip during the whole session. + int get totalBytesSent => _totalBytesSent; + late int _totalBytesSent; + + /// Status. + RFIDErrorCodes get status => _status; + late RFIDErrorCodes _status; + + /// Sign of support of RFID-chip for extended length commands of reading. + RFIDErrorCodes get extLeSupport => _extLeSupport; + late RFIDErrorCodes _extLeSupport; + + /// Total time of all operations performed during the session, ms. + int get processTime => _processTime; + late int _processTime; + + /// List of data fields + List get dataFields => _dataFields; + List _dataFields = []; + + /// List of data groups. + List? get dataGroups => _dataGroups; + List? _dataGroups; + + /// Allows you to deserialize object. + static RFIDSessionData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDSessionData(); + + result._totalBytesReceived = jsonObject["totalBytesReceived"]; + result._totalBytesSent = jsonObject["totalBytesSent"]; + result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!; + result._extLeSupport = + RFIDErrorCodes.getByValue(jsonObject["extLeSupport"])!; + result._processTime = jsonObject["processTime"]; + result._cardProperties = CardProperties.fromJson( + jsonObject["cardProperties"], + ); + for (var item in jsonObject["accessControls"]) { + result._accessControls.addSafe(AccessControlProcedureType.fromJson(item)); + } + for (var item in jsonObject["applications"]) { + result._applications.addSafe(Application.fromJson(item)); + } + for (var item in jsonObject["securityObjects"]) { + result._securityObjects.addSafe(SecurityObject.fromJson(item)); + } + for (var item in jsonObject["dataFields"]) { + result._dataFields.addSafe(DataField.fromJson(item)); + } + if (jsonObject["dataGroups"] != null) { + result._dataGroups = []; + for (var item in jsonObject["dataGroups"]) { + result._dataGroups!.addSafe(RFIDDataFileType.getByValue(item)); + } + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "cardProperties": cardProperties?.toJson(), + "totalBytesReceived": totalBytesReceived, + "totalBytesSent": totalBytesSent, + "status": status.value, + "extLeSupport": extLeSupport.value, + "processTime": processTime, + "accessControls": accessControls.map((e) => e.toJson()).toList(), + "applications": applications.map((e) => e.toJson()).toList(), + "securityObjects": securityObjects.map((e) => e.toJson()).toList(), + "dataFields": dataFields.map((e) => e.toJson()).toList(), + "dataGroups": dataGroups?.map((e) => e.value).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/rfid/rfid_validity.dart b/lib/src/results/rfid/rfid_validity.dart new file mode 100644 index 0000000000..5805b78e31 --- /dev/null +++ b/lib/src/results/rfid/rfid_validity.dart @@ -0,0 +1,34 @@ +// +// RFIDValidity.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class RFIDValidity { + RFIDValue? get notAfter => _notAfter; + RFIDValue? _notAfter; + + RFIDValue? get notBefore => _notBefore; + RFIDValue? _notBefore; + + /// Allows you to deserialize object. + static RFIDValidity? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDValidity(); + + result._notAfter = RFIDValue.fromJson(jsonObject["notAfter"]); + result._notBefore = RFIDValue.fromJson(jsonObject["notBefore"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "notAfter": notAfter?.toJson(), + "notBefore": notBefore?.toJson(), + }.clearNulls(); +} diff --git a/lib/src/results/rfid/rfid_value.dart b/lib/src/results/rfid/rfid_value.dart new file mode 100644 index 0000000000..3f7886fa3e --- /dev/null +++ b/lib/src/results/rfid/rfid_value.dart @@ -0,0 +1,49 @@ +// +// RFIDValue.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class RFIDValue { + String? get data => _data; + String? _data; + + int get length => _length; + late int _length; + + int get status => _status; + late int _status; + + int get type => _type; + late int _type; + + String? get format => _format; + String? _format; + + /// Allows you to deserialize object. + static RFIDValue? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDValue(); + + result._length = jsonObject["length"]; + result._type = jsonObject["type"]; + result._status = jsonObject["status"]; + result._data = jsonObject["data"]; + result._format = jsonObject["format"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "data": data, + "length": length, + "status": status, + "type": type, + "format": format, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/security_object.dart b/lib/src/results/rfid/security_object.dart new file mode 100644 index 0000000000..fb68f99e8f --- /dev/null +++ b/lib/src/results/rfid/security_object.dart @@ -0,0 +1,62 @@ +// +// SecurityObject.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure is used to describe the contents of a single document +/// security object (SO) and the results of its check within the context +/// of the communication session with electronic document. +class SecurityObject { + /// Reference to the source file of the security object data. + int get fileReference => _fileReference; + late int _fileReference; + + /// Security object identifier. + String? get objectType => _objectType; + String? _objectType; + + /// Security object version. + int get version => _version; + late int _version; + + /// List of containers to store information about digital + /// signature objects contained in the SO. + List get signerInfos => _signerInfos; + List _signerInfos = []; + + /// The list of remarks occured during the scanning procedure. + /// + /// Each element belongs to the [LDSParsingErrorCodes]. + List get notifications => _notifications; + List _notifications = []; + + /// Allows you to deserialize object. + static SecurityObject? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = SecurityObject(); + + result._fileReference = jsonObject["fileReference"]; + result._version = jsonObject["version"]; + result._objectType = jsonObject["objectType"]; + result._notifications = _intListFrom(jsonObject["notifications"])!; + for (var item in jsonObject["signerInfos"]) { + result.signerInfos.addSafe(SignerInfo.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "fileReference": fileReference, + "objectType": objectType, + "version": version, + "signerInfos": signerInfos.map((e) => e.toJson()).toList(), + "notifications": notifications, + }.clearNulls(); +} diff --git a/lib/src/results/rfid/security_object_certificates.dart b/lib/src/results/rfid/security_object_certificates.dart new file mode 100644 index 0000000000..87a4a3cadf --- /dev/null +++ b/lib/src/results/rfid/security_object_certificates.dart @@ -0,0 +1,30 @@ +// +// SecurityObjectCertificates.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class SecurityObjectCertificates { + CertificateData? get securityObject => _securityObject; + CertificateData? _securityObject; + + /// Allows you to deserialize object. + static SecurityObjectCertificates? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = SecurityObjectCertificates(); + + result._securityObject = CertificateData.fromJson( + jsonObject["securityObject"], + ); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"securityObject": securityObject?.toJson()}.clearNulls(); +} diff --git a/lib/src/results/rfid/signer_info.dart b/lib/src/results/rfid/signer_info.dart new file mode 100644 index 0000000000..316da19e64 --- /dev/null +++ b/lib/src/results/rfid/signer_info.dart @@ -0,0 +1,106 @@ +// +// SignerInfo.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure is used to store the result of the verification of a single digital +/// signature of the number present in EF.SOD. +class SignerInfo { + /// Data to hash. + String? get dataToHash => _dataToHash; + String? _dataToHash; + + /// Digital signature hash-function algorithm identifier. + String? get digestAlgorithm => _digestAlgorithm; + String? _digestAlgorithm; + + /// Result of the digital signature verification. + int get paStatus => _paStatus; + late int _paStatus; + + /// Digital signature algorithm identifier. + String? get signatureAlgorithm => _signatureAlgorithm; + String? _signatureAlgorithm; + + /// Version of the digital signature data structure. + int get version => _version; + late int _version; + + /// Identifier of the necessary certificate issuer. + Authority? get issuer => _issuer; + Authority? _issuer; + + /// Serial number of the necessary certificate. + RFIDValue? get serialNumber => _serialNumber; + RFIDValue? _serialNumber; + + /// Binary data of the verified digital signature. + RFIDValue? get signature => _signature; + RFIDValue? _signature; + + /// List of the signed attributes. + List get signedAttributes => _signedAttributes; + List _signedAttributes = []; + + /// Signature object identifier of the necessary certificate. + RFIDValue? get subjectKeyIdentifier => _subjectKeyIdentifier; + RFIDValue? _subjectKeyIdentifier; + + /// Certificate chain, used for the digital signature verification. + List get certificateChain => _certificateChain; + List _certificateChain = []; + + /// The list of remarks occured during the scanning procedure. + /// + /// Each element belongs to the [LDSParsingErrorCodes]. + List get notifications => _notifications; + List _notifications = []; + + /// Allows you to deserialize object. + static SignerInfo? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = SignerInfo(); + + result._version = jsonObject["version"]; + result._paStatus = jsonObject["paStatus"]; + result._dataToHash = jsonObject["dataToHash"]; + result._digestAlgorithm = jsonObject["digestAlgorithm"]; + result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; + result._serialNumber = RFIDValue.fromJson(jsonObject["serialNumber"]); + result._signature = RFIDValue.fromJson(jsonObject["signature"]); + result._subjectKeyIdentifier = RFIDValue.fromJson( + jsonObject["subjectKeyIdentifier"], + ); + result._issuer = Authority.fromJson(jsonObject["issuer"]); + result._notifications = _intListFrom(jsonObject["notifications"])!; + for (var item in jsonObject["signedAttributes"]) { + result._signedAttributes.addSafe(Extension.fromJson(item)); + } + for (var item in jsonObject["certificateChain"]) { + result._certificateChain.addSafe(CertificateChain.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "dataToHash": dataToHash, + "digestAlgorithm": digestAlgorithm, + "version": version, + "paStatus": paStatus, + "signatureAlgorithm": signatureAlgorithm, + "issuer": issuer?.toJson(), + "serialNumber": serialNumber?.toJson(), + "signature": signature?.toJson(), + "subjectKeyIdentifier": subjectKeyIdentifier?.toJson(), + "signedAttributes": signedAttributes.map((e) => e.toJson()).toList(), + "certificateChain": certificateChain.map((e) => e.toJson()).toList(), + "notifications": notifications, + }.clearNulls(); +} diff --git a/lib/src/results/status/CheckResult.dart b/lib/src/results/status/CheckResult.dart deleted file mode 100644 index 2c3fc32f9a..0000000000 --- a/lib/src/results/status/CheckResult.dart +++ /dev/null @@ -1,35 +0,0 @@ -// -// CheckResult.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum CheckResult { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// Check was not passed, the controlled parameter is not permitted. - ERROR(0), - - /// Check was passed, the controlled parameter is permitted. - OK(1), - - /// Check was not carried out. - WAS_NOT_DONE(2); - - const CheckResult(this.value); - final int value; - - static CheckResult? getByValue(int? i) { - if (i == null) return null; - try { - return CheckResult.values.firstWhere((x) => x.value == i); - } catch (_) { - return CheckResult.UNKNOWN; - } - } -} diff --git a/lib/src/results/status/OpticalStatus.dart b/lib/src/results/status/OpticalStatus.dart deleted file mode 100644 index c9e1e49909..0000000000 --- a/lib/src/results/status/OpticalStatus.dart +++ /dev/null @@ -1,81 +0,0 @@ -// -// OpticalStatus.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Container for an optical related scanning statuses. -class OpticalStatus { - /// Summary of all optical results. - CheckResult get overallStatus => _overallStatus; - late CheckResult _overallStatus; - - /// MRZ verification: values validity, dates, checkdigits verification. - CheckResult get mrz => _mrz; - late CheckResult _mrz; - - /// Text fields valitity: values validity for specific fields, cross-comparison - /// of values from different sources, dates & checkdigits verification. - CheckResult get text => _text; - late CheckResult _text; - - /// Check status if document type was recognized or not. - CheckResult get docType => _docType; - late CheckResult _docType; - - /// Authenticity verification status. - CheckResult get security => _security; - late CheckResult _security; - - /// Input images quality verification status. - CheckResult get imageQA => _imageQA; - late CheckResult _imageQA; - - /// Document validity period verification status. - CheckResult get expiry => _expiry; - late CheckResult _expiry; - - /// Visible Digital Seal verification status. - CheckResult get vds => _vds; - late CheckResult _vds; - - /// Number of scanned document pages. - int get pagesCount => _pagesCount; - late int _pagesCount; - - /// Allows you to deserialize object. - static OpticalStatus? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = OpticalStatus(); - - result._overallStatus = - CheckResult.getByValue(jsonObject["overallStatus"])!; - result._mrz = CheckResult.getByValue(jsonObject["mrz"])!; - result._text = CheckResult.getByValue(jsonObject["text"])!; - result._docType = CheckResult.getByValue(jsonObject["docType"])!; - result._security = CheckResult.getByValue(jsonObject["security"])!; - result._imageQA = CheckResult.getByValue(jsonObject["imageQA"])!; - result._expiry = CheckResult.getByValue(jsonObject["expiry"])!; - result._vds = CheckResult.getByValue(jsonObject["vds"])!; - result._pagesCount = jsonObject["pagesCount"]!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "overallStatus": overallStatus.value, - "mrz": mrz.value, - "text": text.value, - "docType": docType.value, - "security": security.value, - "imageQA": imageQA.value, - "expiry": expiry.value, - "vds": vds.value, - "pagesCount": pagesCount, - }.clearNulls(); -} diff --git a/lib/src/results/status/RFIDStatus.dart b/lib/src/results/status/RFIDStatus.dart deleted file mode 100644 index bac1381e19..0000000000 --- a/lib/src/results/status/RFIDStatus.dart +++ /dev/null @@ -1,68 +0,0 @@ -// -// RFIDStatus.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Container for a RFID related scanning statuses. -class RFIDStatus { - /// Summary of all RFID results. - CheckResult get overallStatus => _overallStatus; - late CheckResult _overallStatus; - - /// Passive authentication status. - CheckResult get pa => _pa; - late CheckResult _pa; - - /// Chip authentication status. - CheckResult get ca => _ca; - late CheckResult _ca; - - /// Acitve authentication status. - CheckResult get aa => _aa; - late CheckResult _aa; - - /// Terminal authentication status. - CheckResult get ta => _ta; - late CheckResult _ta; - - /// Basics access control status. - CheckResult get bac => _bac; - late CheckResult _bac; - - /// Password authenticated connection establishment status. - CheckResult get pace => _pace; - late CheckResult _pace; - - /// Allows you to deserialize object. - static RFIDStatus? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDStatus(); - - result._pa = CheckResult.getByValue(jsonObject["pa"])!; - result._ca = CheckResult.getByValue(jsonObject["ca"])!; - result._aa = CheckResult.getByValue(jsonObject["aa"])!; - result._ta = CheckResult.getByValue(jsonObject["ta"])!; - result._bac = CheckResult.getByValue(jsonObject["bac"])!; - result._pace = CheckResult.getByValue(jsonObject["pace"])!; - result._overallStatus = - CheckResult.getByValue(jsonObject["overallStatus"])!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "overallStatus": overallStatus.value, - "pa": pa.value, - "ca": ca.value, - "aa": aa.value, - "ta": ta.value, - "bac": bac.value, - "pace": pace.value, - }.clearNulls(); -} diff --git a/lib/src/results/status/ResultsStatus.dart b/lib/src/results/status/ResultsStatus.dart deleted file mode 100644 index ef9132ab57..0000000000 --- a/lib/src/results/status/ResultsStatus.dart +++ /dev/null @@ -1,69 +0,0 @@ -// -// ResultsStatus.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Provision of document verification status. -class ResultsStatus { - /// Summary of all results. - CheckResult get overallStatus => _overallStatus; - late CheckResult _overallStatus; - - /// Summary of all optical results. The same value as [OpticalStatus.overallStatus] - CheckResult get optical => _optical; - late CheckResult _optical; - - /// Container for an optical related scanning statuses. - OpticalStatus get detailsOptical => _detailsOptical; - late OpticalStatus _detailsOptical; - - /// Summary of all RFID results. Same as [RFIDStatus.overallStatus]. - CheckResult get rfid => _rfid; - late CheckResult _rfid; - - /// Container for a RFID related scanning statuses. - RFIDStatus get detailsRFID => _detailsRFID; - late RFIDStatus _detailsRFID; - - /// Comparison status for portrait in the document aganist live or external image. - CheckResult get portrait => _portrait; - late CheckResult _portrait; - - /// Verification status for document data against database. - CheckResult get stopList => _stopList; - late CheckResult _stopList; - - /// Allows you to deserialize object. - static ResultsStatus? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = ResultsStatus(); - - result._overallStatus = - CheckResult.getByValue(jsonObject["overallStatus"])!; - result._optical = CheckResult.getByValue(jsonObject["optical"])!; - result._detailsOptical = - OpticalStatus.fromJson(jsonObject["detailsOptical"])!; - result._rfid = CheckResult.getByValue(jsonObject["rfid"])!; - result._detailsRFID = RFIDStatus.fromJson(jsonObject["detailsRFID"])!; - result._portrait = CheckResult.getByValue(jsonObject["portrait"])!; - result._stopList = CheckResult.getByValue(jsonObject["stopList"])!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "overallStatus": overallStatus.value, - "optical": optical.value, - "rfid": rfid.value, - "portrait": portrait.value, - "stopList": stopList.value, - "detailsOptical": detailsOptical.toJson(), - "detailsRFID": detailsRFID.toJson(), - }.clearNulls(); -} diff --git a/lib/src/results/status/age_status.dart b/lib/src/results/status/age_status.dart new file mode 100644 index 0000000000..9df3b1b104 --- /dev/null +++ b/lib/src/results/status/age_status.dart @@ -0,0 +1,48 @@ +part of "../../../flutter_document_reader_api.dart"; + +/// Container for an age related scanning statuses. +class AgeStatus { + int? get threshold => _threshold; + late int? _threshold; + + CheckResult get overThreshold => _overThreshold; + late CheckResult _overThreshold; + + CheckResult get over18 => _over18; + late CheckResult _over18; + + CheckResult get over21 => _over21; + late CheckResult _over21; + + CheckResult get over25 => _over25; + late CheckResult _over25; + + CheckResult get over65 => _over65; + late CheckResult _over65; + + /// Allows you to deserialize object. + static AgeStatus? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = AgeStatus(); + + result._threshold = jsonObject["threshold"]; + result._overThreshold = + CheckResult.getByValue(jsonObject["overThreshold"])!; + result._over18 = CheckResult.getByValue(jsonObject["over18"])!; + result._over21 = CheckResult.getByValue(jsonObject["over21"])!; + result._over25 = CheckResult.getByValue(jsonObject["over25"])!; + result._over65 = CheckResult.getByValue(jsonObject["over65"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "threshold": threshold, + "overThreshold": overThreshold.value, + "over18": over18.value, + "over21": over21.value, + "over25": over25.value, + "over65": over65.value, + }.clearNulls(); +} diff --git a/lib/src/results/status/check_result.dart b/lib/src/results/status/check_result.dart new file mode 100644 index 0000000000..4fdb6dd44d --- /dev/null +++ b/lib/src/results/status/check_result.dart @@ -0,0 +1,35 @@ +// +// CheckResult.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +enum CheckResult { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Check was not passed, the controlled parameter is not permitted. + ERROR(0), + + /// Check was passed, the controlled parameter is permitted. + OK(1), + + /// Check was not carried out. + WAS_NOT_DONE(2); + + const CheckResult(this.value); + final int value; + + static CheckResult? getByValue(int? i) { + if (i == null) return null; + try { + return CheckResult.values.firstWhere((x) => x.value == i); + } catch (_) { + return CheckResult.UNKNOWN; + } + } +} diff --git a/lib/src/results/status/optical_status.dart b/lib/src/results/status/optical_status.dart new file mode 100644 index 0000000000..f0d224dcfd --- /dev/null +++ b/lib/src/results/status/optical_status.dart @@ -0,0 +1,81 @@ +// +// OpticalStatus.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Container for an optical related scanning statuses. +class OpticalStatus { + /// Summary of all optical results. + CheckResult get overallStatus => _overallStatus; + late CheckResult _overallStatus; + + /// MRZ verification: values validity, dates, checkdigits verification. + CheckResult get mrz => _mrz; + late CheckResult _mrz; + + /// Text fields valitity: values validity for specific fields, cross-comparison + /// of values from different sources, dates & checkdigits verification. + CheckResult get text => _text; + late CheckResult _text; + + /// Check status if document type was recognized or not. + CheckResult get docType => _docType; + late CheckResult _docType; + + /// Authenticity verification status. + CheckResult get security => _security; + late CheckResult _security; + + /// Input images quality verification status. + CheckResult get imageQA => _imageQA; + late CheckResult _imageQA; + + /// Document validity period verification status. + CheckResult get expiry => _expiry; + late CheckResult _expiry; + + /// Visible Digital Seal verification status. + CheckResult get vds => _vds; + late CheckResult _vds; + + /// Number of scanned document pages. + int get pagesCount => _pagesCount; + late int _pagesCount; + + /// Allows you to deserialize object. + static OpticalStatus? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = OpticalStatus(); + + result._overallStatus = + CheckResult.getByValue(jsonObject["overallStatus"])!; + result._mrz = CheckResult.getByValue(jsonObject["mrz"])!; + result._text = CheckResult.getByValue(jsonObject["text"])!; + result._docType = CheckResult.getByValue(jsonObject["docType"])!; + result._security = CheckResult.getByValue(jsonObject["security"])!; + result._imageQA = CheckResult.getByValue(jsonObject["imageQA"])!; + result._expiry = CheckResult.getByValue(jsonObject["expiry"])!; + result._vds = CheckResult.getByValue(jsonObject["vds"])!; + result._pagesCount = jsonObject["pagesCount"]!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "overallStatus": overallStatus.value, + "mrz": mrz.value, + "text": text.value, + "docType": docType.value, + "security": security.value, + "imageQA": imageQA.value, + "expiry": expiry.value, + "vds": vds.value, + "pagesCount": pagesCount, + }.clearNulls(); +} diff --git a/lib/src/results/status/results_status.dart b/lib/src/results/status/results_status.dart new file mode 100644 index 0000000000..54e5b71acf --- /dev/null +++ b/lib/src/results/status/results_status.dart @@ -0,0 +1,93 @@ +// +// ResultsStatus.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Provision of document verification status. +class ResultsStatus { + /// Summary of all results. + CheckResult get overallStatus => _overallStatus; + late CheckResult _overallStatus; + + /// Summary of all optical results. The same value as [OpticalStatus.overallStatus] + CheckResult get optical => _optical; + late CheckResult _optical; + + /// Container for an optical related scanning statuses. + OpticalStatus get detailsOptical => _detailsOptical; + late OpticalStatus _detailsOptical; + + /// Summary of all RFID results. Same as [RFIDStatus.overallStatus]. + CheckResult get rfid => _rfid; + late CheckResult _rfid; + + /// Container for a RFID related scanning statuses. + RFIDStatus get detailsRFID => _detailsRFID; + late RFIDStatus _detailsRFID; + + /// Comparison status for portrait in the document aganist live or external image. + CheckResult get portrait => _portrait; + late CheckResult _portrait; + + /// Verification status for document data against database. + CheckResult get stopList => _stopList; + late CheckResult _stopList; + + /// Summary of all mDL results. + CheckResult get mDL => _mDL; + late CheckResult _mDL; + + /// Summary of all age results. + CheckResult get age => _age; + late CheckResult _age; + + CheckResult? get captureProcessIntegrity => _captureProcessIntegrity; + late CheckResult? _captureProcessIntegrity; + + /// Container for an details age scanning statuses. + AgeStatus get ageStatus => _ageStatus; + late AgeStatus _ageStatus; + + /// Allows you to deserialize object. + static ResultsStatus? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = ResultsStatus(); + + result._overallStatus = + CheckResult.getByValue(jsonObject["overallStatus"])!; + result._optical = CheckResult.getByValue(jsonObject["optical"])!; + result._detailsOptical = + OpticalStatus.fromJson(jsonObject["detailsOptical"])!; + result._rfid = CheckResult.getByValue(jsonObject["rfid"])!; + result._detailsRFID = RFIDStatus.fromJson(jsonObject["detailsRFID"])!; + result._portrait = CheckResult.getByValue(jsonObject["portrait"])!; + result._stopList = CheckResult.getByValue(jsonObject["stopList"])!; + result._mDL = CheckResult.getByValue(jsonObject["mDL"])!; + result._age = CheckResult.getByValue(jsonObject["age"])!; + result._captureProcessIntegrity = + CheckResult.getByValue(jsonObject["captureProcessIntegrity"]); + result._ageStatus = AgeStatus.fromJson(jsonObject["detailsAge"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "overallStatus": overallStatus.value, + "optical": optical.value, + "rfid": rfid.value, + "portrait": portrait.value, + "stopList": stopList.value, + "mDL": mDL.value, + "age": age.value, + "captureProcessIntegrity": captureProcessIntegrity?.value, + "detailsOptical": detailsOptical.toJson(), + "detailsAge": ageStatus.toJson(), + "detailsRFID": detailsRFID.toJson(), + }.clearNulls(); +} diff --git a/lib/src/results/status/rfid_status.dart b/lib/src/results/status/rfid_status.dart new file mode 100644 index 0000000000..8d3becf681 --- /dev/null +++ b/lib/src/results/status/rfid_status.dart @@ -0,0 +1,68 @@ +// +// RFIDStatus.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Container for a RFID related scanning statuses. +class RFIDStatus { + /// Summary of all RFID results. + CheckResult get overallStatus => _overallStatus; + late CheckResult _overallStatus; + + /// Passive authentication status. + CheckResult get pa => _pa; + late CheckResult _pa; + + /// Chip authentication status. + CheckResult get ca => _ca; + late CheckResult _ca; + + /// Acitve authentication status. + CheckResult get aa => _aa; + late CheckResult _aa; + + /// Terminal authentication status. + CheckResult get ta => _ta; + late CheckResult _ta; + + /// Basics access control status. + CheckResult get bac => _bac; + late CheckResult _bac; + + /// Password authenticated connection establishment status. + CheckResult get pace => _pace; + late CheckResult _pace; + + /// Allows you to deserialize object. + static RFIDStatus? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDStatus(); + + result._pa = CheckResult.getByValue(jsonObject["pa"])!; + result._ca = CheckResult.getByValue(jsonObject["ca"])!; + result._aa = CheckResult.getByValue(jsonObject["aa"])!; + result._ta = CheckResult.getByValue(jsonObject["ta"])!; + result._bac = CheckResult.getByValue(jsonObject["bac"])!; + result._pace = CheckResult.getByValue(jsonObject["pace"])!; + result._overallStatus = + CheckResult.getByValue(jsonObject["overallStatus"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "overallStatus": overallStatus.value, + "pa": pa.value, + "ca": ca.value, + "aa": aa.value, + "ta": ta.value, + "bac": bac.value, + "pace": pace.value, + }.clearNulls(); +} diff --git a/lib/src/results/transaction_info.dart b/lib/src/results/transaction_info.dart new file mode 100644 index 0000000000..b4cf45545d --- /dev/null +++ b/lib/src/results/transaction_info.dart @@ -0,0 +1,40 @@ +// +// TransactionInfo.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class TransactionInfo { + String? get transactionId => _transactionId; + String? _transactionId; + + String? get tag => _tag; + String? _tag; + + /// The path to the logs folder of the session. + String? get sessionLogFolder => _sessionLogFolder; + String? _sessionLogFolder; + + /// Allows you to deserialize object. + static TransactionInfo? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TransactionInfo(); + + result._transactionId = jsonObject["transactionId"]; + result._tag = jsonObject["tag"]; + result._sessionLogFolder = jsonObject["sessionLogFolder"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "transactionId": transactionId, + "tag": tag, + "sessionLogFolder": sessionLogFolder, + }.clearNulls(); +} diff --git a/lib/src/results/visible_digital_seals/BytesData.dart b/lib/src/results/visible_digital_seals/BytesData.dart deleted file mode 100644 index 1b219a4367..0000000000 --- a/lib/src/results/visible_digital_seals/BytesData.dart +++ /dev/null @@ -1,44 +0,0 @@ -// -// BytesData.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class BytesData { - String get data => _data; - late String _data; - - int get length => _length; - late int _length; - - int get status => _status; - late int _status; - - int get type => _type; - late int _type; - - /// Allows you to deserialize object. - static BytesData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = BytesData(); - - result._data = jsonObject["data"]; - result._length = jsonObject["length"]; - result._status = jsonObject["status"]; - result._type = jsonObject["type"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "data": data, - "length": length, - "status": status, - "type": type, - }.clearNulls(); -} diff --git a/lib/src/results/visible_digital_seals/LDSParsingErrorCodes.dart b/lib/src/results/visible_digital_seals/LDSParsingErrorCodes.dart deleted file mode 100644 index 13ecf016fd..0000000000 --- a/lib/src/results/visible_digital_seals/LDSParsingErrorCodes.dart +++ /dev/null @@ -1,157 +0,0 @@ -// -// LDSParsingErrorCodes.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum LDSParsingErrorCodes { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - OK(0x00000001), - ASN_INCORRECT_DATA(0x80000001), - ASN_NOT_ENOUGH_DATA(0x80000002), - ASN_CONTENTS_UNEXPECTED_DATA(0x80000003), - ASN_SIGNED_DATA_INCORRECT_DATA(0x80000008), - ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA(0x80000009), - ASN_SIGNED_DATA_VERSION_INCORRECT_DATA(0x8000000A), - ASN_SIGNED_DATA_DIGEST_ALGORITHMS_INCORRECT_DATA(0x80000011), - ASN_LDS_OBJECT_INCORRECT_DATA(0x80000013), - ASN_LDS_OBJECT_VERSION_INCORRECT_DATA(0x80000014), - ASN_LDS_OBJECT_DIGEST_ALGORITHM_INCORRECT_DATA(0x80000015), - ASN_LDS_OBJECT_DG_HASHES_INCORRECT_DATA(0x80000016), - ASN_LDS_OBJECT_VERSION_INFO_INCORRECT_DATA(0x80000012), - ASN_CERTIFICATE_INCORRECT_DATA(0x80000017), - ASN_CERTIFICATE_VERSION_INCORRECT_DATA(0x80000018), - ASN_CERTIFICATE_SN_INCORRECT_DATA(0x80000019), - ASN_CERTIFICATE_SIGNATURE_INCORRECT_DATA(0x8000001A), - ASN_CERTIFICATE_ISSUER_INCORRECT_DATA(0x8000001B), - ASN_CERTIFICATE_VALIDITY_INCORRECT_DATA(0x8000001C), - ASN_CERTIFICATE_SUBJECT_INCORRECT_DATA(0x8000001D), - ASN_CERTIFICATE_SUBJECT_PK_INCORRECT_DATA(0x8000001E), - ASN_CERTIFICATE_EXTENSIONS_INCORRECT_DATA(0x8000001F), - ASN_SIGNER_INFO_INCORRECT_DATA(0x80000020), - ASN_SIGNER_INFO_VERSION_INCORRECT_DATA(0x80000021), - ASN_SIGNER_INFO_SID_INCORRECT_DATA(0x80000022), - ASN_SIGNER_INFO_DIGEST_ALG_INCORRECT_DATA(0x80000023), - ASN_SIGNER_INFO_SIGNED_ATTRS_INCORRECT_DATA(0x80000024), - ASN_SIGNER_INFO_SIGN_ALG_INCORRECT_DATA(0x80000025), - ASN_SIGNER_INFO_SIGNATURE_INCORRECT_DATA(0x80000026), - ASN_SIGNER_INFO_UNSIGNED_ATTRS_INCORRECT_DATA(0x80000027), - ICAO_LDS_OBJECT_UNSUPPORTED_DIGEST_ALGORITHM(0x80000030), - ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY(0x80000031), - ICAO_SIGNER_INFO_UNSUPPORTED_DIGEST_ALGORITHM(0x80000032), - ICAO_SIGNER_INFO_UNSUPPORTED_SIGNATURE_ALGORITHM(0x80000033), - ICAO_SIGNER_INFO_MESSAGE_DIGEST_ERROR(0x80000034), - ICAO_SIGNER_INFO_SIGNED_ATTRS_MISSED(0x80000036), - AUTH_SIGNER_INFO_CANT_FIND_CERTIFICATE(0x80000035), - AUTH_ERROR(0x80000050), - AUTH_UNSUPPORTED_SIGNATURE_ALGORITHM(0x80000051), - AUTH_UNSUPPORTED_PUBLIC_KEY_ALGORITHM(0x80000052), - AUTH_MESSED_ALGORITHMS(0x80000053), - AUTH_PUBLIC_KEY_DATA_INVALID(0x80000054), - AUTH_ALGORITHM_PARAMETERS_DATA_INVALID(0x80000055), - AUTH_SIGNATURE_DATA_INVALID(0x80000056), - AUTH_UNSUPPORTED_DIGEST_ALGORITHM(0x80000057), - AUTH_SIGNATURE_DATA_INCORRECT(0x80000058), - AUTH_ALGORITHM_PARAMETERS_NOT_DEFINED(0x80000059), - AUTH_SIGNATURE_CHECK_FAILED(0x8000005A), - DG_WRONG_TAH(0x80000070), - DG_CONTENTS_UNEXPECTED_DATA(0x80000071), - BAP_SYMMETRIC_CYPHER_CANT_INITIALIZE(0x81000011), - PACE_INFO_NOT_AVAILABLE(0x81000020), - PACE_SYMMETRIC_CYPHER_CANT_INITIALIZE(0x81000021), - PACE_KEY_AGREEMENT_CANT_INITIALIZE(0x81000022), - PACE_EPHEMERAL_KEYS_CANT_CREATE(0x81000023), - PACE_MAPPING_CANT_DECODE_NONCE(0x81000024), - PACE_SHARED_SECRET_CANT_CREATE(0x81000025), - PACE_DOMAIN_PARAMS_UNSUPPORTED_FORMAT(0x81000026), - PACE_EPHEMERAL_KEYS_INCORRECT(0x81000027), - PACE_MAPPING_EPHEMERAL_KEYS_INCORRECT(0x81000028), - PACE_MAPPING_CANT_PERFORM(0x81000029), - PACE_NON_MATCHING_AUTH_TOKENS(0x8100002A), - PACE_CAM_DATA_INCORRECT(0x8100002B), - PACE_CAM_DATA_CANT_VERIFY(0x8100002C), - PACE_CAM_DATA_NON_MATCHING(0x8100002D), - PACE_IM_SCHEME_INCORRECT(0x8100002E), - PACE_IM_RANDOM_MAPPING_FAILED(0x8100002F), - CA_CANT_FIND_PUBLIC_KEY(0x81000030), - CA_CANT_FIND_INFO(0x81000031), - CA_INCORRECT_VERSION(0x81000032), - CA_CANT_FIND_DOMAIN_PARAMETERS(0x81000033), - CA_KEY_AGREEMENT_CANT_INITIALIZE(0x81000034), - CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000035), - CA_EPHEMERAL_KEYS_CANT_CREATE(0x81000036), - CA_SHARED_SECRET_CANT_CREATE(0x81000037), - CA_NON_MATCHING_AUTH_TOKENS(0x81000038), - TA_INCORRECT_VERSION(0x81000040), - TA_CANT_BUILD_CERTIFICATE_CHAIN(0x81000041), - TA_CANT_FIND_IS_PRIVATE_KEY(0x81000042), - TA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000043), - TA_SIGNATURE_BUILDING_ERROR(0x81000044), - TA_INVALID_KEY_ALGORITHM_PARAMETERS(0x81000045), - AA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000050), - AA_PUBLIC_KEY_INCORRECT_DATA(0x81000051), - AA_PUBLIC_KEY_INCORRECT_PARAMETERS(0x81000052), - AA_PUBLIC_KEY_UNDEFINED_PARAMETERS(0x81000053), - AA_SIGNATURE_INCORRECT_DATA(0x81000054), - AA_UNSUPPORTED_RECOVERY_SCHEME(0x81000055), - AA_INCORRECT_TRAILER(0x81000056), - AA_UNSUPPORTED_DIGEST_ALGORITHM(0x81000057), - RI_SECTOR_KEY_CANT_FIND(0x81000070), - RI_SECTOR_KEY_INCORRECT_DATA(0x81000071), - RI_SECTOR_KEY_INCOMPLETE_DATA(0x81000072), - CV_CERTIFICATE_MISSING_MANDATORY_DATA_PK(0x81000060), - CV_CERTIFICATE_PUBLIC_KEY_UNSUPPORTED(0x81000062), - CV_CERTIFICATE_CHAT_UNSUPPORTED_TERMINAL_TYPE(0x81000063), - CV_CERTIFICATE_PRIVATE_KEY_UNSUPPORTED(0x8100006), - CV_CERTIFICATE_PRIVATE_KEY_INVALID_PARAMS(0x81000065), - CV_CERTIFICATE_INCORRECT_DATA(0x81000160), - CV_CERTIFICATE_CPI_INCORRECT_DATA(0x81000161), - CV_CERTIFICATE_CAR_INCORRECT_DATA(0x81000162), - CV_CERTIFICATE_PUBLIC_KEY_INCORRECT_DATA(0x81000163), - CV_CERTIFICATE_CHR_INCORRECT_DATA(0x81000164), - CV_CERTIFICATE_CHAT_INCORRECT_DATA(0x81000165), - CV_CERTIFICATE_VALID_FROM_INCORRECT_DATA(0x81000166), - CV_CERTIFICATE_VALID_TO_INCORRECT_DATA(0x81000167), - CV_CERTIFICATE_EXTENSIONS_INCORRECT_DATA(0x81000168), - CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_DATA(0x81000169), - CV_CERTIFICATE_PRIVATE_KEY_MISSING(0x8100016A), - VDS_UNSUPPORTED_VERSION(0x81000200), - VDS_ISSUING_COUNTRY_SIZE(0x81000201), - VDS_ISSUING_COUNTRY_INCORRECT_DATA(0x81000202), - VDS_SIGNER_CERTIFICATE_SIZE(0x81000203), - VDS_SIGNER_CERTIFICATE_DATA(0x81000204), - VDS_SIGNATURE_INCORRECT_DATA(0x81000205), - VDS_NC_INCORRECT_DATA(0x81000300), - VDS_NC_MISSING_OR_INCORRECT_DATA(0x81000301), - VDS_NC_MISSING_OR_INCORRECT_HEADER(0x81000302), - VDS_NC_MISSING_OR_INCORRECT_TYPE(0x81000303), - VDS_NC_MISSING_OR_INCORRECT_VERSION(0x81000304), - VDS_NC_MISSING_OR_INCORRECT_ISSUING_COUNTRY(0x81000305), - VDS_NC_MISSING_OR_INCORRECT_MESSAGE(0x81000306), - VDS_NC_MISSING_OR_INCORRECT_SIGNATURE(0x81000307), - VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM(0x81000308), - VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE(0x81000309), - VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE(0x8100030A); - - const LDSParsingErrorCodes(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static LDSParsingErrorCodes? getByValue(int? i) { - if (i == null) return null; - try { - return LDSParsingErrorCodes.values.firstWhere((x) => x.value == i); - } catch (_) { - return LDSParsingErrorCodes.UNKNOWN; - } - } -} diff --git a/lib/src/results/visible_digital_seals/LDSParsingNotificationCodes.dart b/lib/src/results/visible_digital_seals/LDSParsingNotificationCodes.dart deleted file mode 100644 index 6237aa21e5..0000000000 --- a/lib/src/results/visible_digital_seals/LDSParsingNotificationCodes.dart +++ /dev/null @@ -1,253 +0,0 @@ -// -// LDSParsingNotificationCodes.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum LDSParsingNotificationCodes { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - ASN_CERTIFICATE_INCORRECT_VERSION(0x90000001), - ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM(0x90000002), - ASN_CERTIFICATE_INCORRECT_TIME_CODING(0x90000003), - ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME(0x90000004), - ASN_CERTIFICATE_EMPTY_ISSUER(0x90000005), - ASN_CERTIFICATE_EMPTY_SUBJECT(0x90000006), - ASN_CERTIFICATE_UNSUPPORTED_CRITICAL_EXTENSION(0x90000008), - ASN_CERTIFICATE_FORCED_DEFAULT_CSCA_ROLE(0x9000000E), - ASN_CERTIFICATE_FORCED_DEFAULT_DS_ROLE(0x9000000F), - ASN_CERTIFICATE_INCORRECT_ISSUER_SUBJECT_DS(0x90000010), - ASN_CERTIFICATE_DUPLICATING_EXTENSIONS(0x90000017), - ICAO_CERTIFICATE_VERSION_MISSED(0x90000200), - ICAO_CERTIFICATE_VERSION_INCORRECT(0x90000201), - ICAO_CERTIFICATE_ISSUER_COUNTRY_MISSED(0x90000202), - ICAO_CERTIFICATE_ISSUER_COMMON_NAME_MISSED(0x90000203), - ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_COMPLIANT(0x90000204), - ICAO_CERTIFICATE_SUBJECT_COUNTRY_MISSED(0x90000205), - ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_MISSED(0x90000206), - ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_COMPLIANT(0x90000207), - ICAO_CERTIFICATE_USING_NON_COMPLIANT_DATA(0x90000208), - ICAO_CERTIFICATE_UNSUPPORTED_SIGNATURE_ALGORITHM(0x90000209), - ICAO_CERTIFICATE_UNSUPPORTED_PUBLIC_KEY_ALGORITHM(0x9000020A), - ICAO_CERTIFICATE_MISSED_EXTENSIONS(0x9000020B), - ICAO_CERTIFICATE_VALIDITY(0x9000020C), - ICAO_CERTIFICATE_EXT_USING_NON_COMPLIANT_DATA(0x9000020D), - ICAO_CERTIFICATE_EXT_KEY_USAGE_MISSED(0x9000020E), - ICAO_CERTIFICATE_EXT_KEY_USAGE_NOT_CRITICAL(0x9000020F), - ICAO_CERTIFICATE_EXT_KEY_USAGE_INCORRECT_DATA(0x90000210), - ICAO_CERTIFICATE_EXT_BASIC_C_MISSED(0x90000211), - ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE1(0x90000212), - ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE2(0x90000213), - ICAO_CERTIFICATE_EXT_BASIC_C_NOT_CRITICAL(0x90000214), - ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_DATA(0x90000215), - ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_MISSED(0x90000216), - ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_INCORRECT(0x90000217), - ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_NOT_CRITICAL(0x90000218), - ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_USAGE(0x90000219), - ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_DATA(0x9000021A), - ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_MISSED(0x9000021B), - ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_INCORRECT_DATA(0x9000021C), - ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_KEY_ID_MISSED(0x9000021D), - ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_MISSED(0x9000021E), - ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_INCORRECT_DATA(0x9000021F), - ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_MISSED(0x90000220), - ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_INCORRECT_DATA(0x90000221), - ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_EMPTY(0x90000222), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_MISSED(0x90000223), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_INCORRECT_DATA(0x90000224), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_EMPTY(0x90000225), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_NON_COMPLIANT(0x90000226), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_CRITICAL(0x90000228), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_EMPTY(0x90000229), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_INCORRECT(0x9000022A), - ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_NON_COMPLIANT(0x9000022B), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_MISSED(0x9000022C), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_INCORRECT_DATA(0x9000022D), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_EMPTY(0x9000022E), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_NON_COMPLIANT(0x9000022F), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_CRITICAL(0x90000231), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_EMPTY(0x90000232), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_INCORRECT(0x90000233), - ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_NON_COMPLIANT(0x90000234), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_MISSED(0x90000235), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_INCORRECT_DATA(0x90000236), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_VERSION(0x90000237), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES(0x90000238), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES_EMPTY(0x90000239), - ICAO_CERTIFICATE_EXT_CERT_POLICIES_INCORRECT_DATA(0x9000023A), - ICAO_CERTIFICATE_EXT_CERT_POLICIES_EMPTY(0x9000023B), - ICAO_CERTIFICATE_EXT_CERT_POLICIES_POLICY_ID_MISSED(0x9000023C), - ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_MISSED(0x9000023D), - ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_INCORRECT_DATA(0x9000023E), - ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_EMPTY(0x9000023F), - ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_POINT_MISSED(0x90000240), - ICAO_CERTIFICATE_SN_NON_COMPLIANT(0x90000241), - ICAO_CERTIFICATE_ISSUER_SN_NON_COMPLIANT(0x90000242), - ICAO_CERTIFICATE_SUBJECT_SN_NON_COMPLIANT(0x90000243), - ICAO_CERTIFICATE_ISSUER_ATTRIBUTE_NON_COMPLIANT(0x90000244), - ICAO_CERTIFICATE_SUBJECT_ATTRIBUTE_NON_COMPLIANT(0x90000245), - ICAO_CERTIFICATE_ISSUER_SUBJECT_COUNTRY_NON_MATCHING(0x90000246), - ICAO_CERTIFICATE_EXT_CSCA_ALT_NAMES_NON_MATCHING(0x90000247), - ICAO_CERTIFICATE_EXT_NAME_CHANGE_INCORRECT_DATA(0x90000248), - ICAO_CERTIFICATE_EXT_NAME_CHANGE_NON_COMPLIANT(0x90000249), - ICAO_CERTIFICATE_EXT_NAME_CHANGE_CRITICAL(0x9000024A), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_NON_COMPLIANT(0x9000024B), - ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_CRITICAL(0x9000024C), - ICAO_CERTIFICATE_EXT_OPTIONAL_CRITICAL(0x9000024D), - ICAO_CERTIFICATE_SUBJECT_NON_COMPLIANT(0x9000024E), - ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_NON_COMPLIANT(0x9000024F), - ICAO_COM_LDS_VERSION_INCORRECT(0x90000020), - ICAO_COM_LDS_VERSION_MISSING(0x90000021), - ICAO_COM_UNICODE_VERSION_INCORRECT(0x90000022), - ICAO_COM_UNICODE_VERSION_MISSING(0x90000023), - ICAO_COM_DGPM_INCORRECT(0x90000024), - ICAO_COM_DGPM_MISSING(0x90000025), - ICAO_COM_DGPM_UNEXPECTED(0x90000026), - ICAO_APPLICATION_LDS_VERSION_UNSUPPORTED(0x90000030), - ICAO_APPLICATION_UNICODE_VERSION_UNSUPPORTED(0x90000031), - ICAO_APPLICATION_LDS_VERSION_INCONSISTENT(0x90000032), - ICAO_APPLICATION_UNICODE_VERSION_INCONSISTENT(0x90000033), - ASN_SIGNED_DATA_OID_INCORRECT(0x90000100), - ASN_SIGNED_DATA_VERSION_INCORRECT(0x900001A0), - ASN_SIGNED_DATA_CONTENT_OID_INCORRECT(0x900001A1), - ICAO_SIGNED_DATA_VERSION_INCORRECT(0x90000101), - ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_EMPTY(0x90000102), - ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_UNSUPPORTED(0x90000103), - ICAO_SIGNED_DATA_SIGNER_INFOS_MULTIPLE_ENTRIES(0x90000109), - ICAO_SIGNED_DATA_CERTIFICATES_MISSED(0x900001B0), - ICAO_SIGNED_DATA_CERTIFICATES_EMPTY(0x900001B1), - ICAO_SIGNED_DATA_CRLS_INCORRECT_USAGE(0x900001B2), - ICAO_LDS_OBJECT_INCORRECT_CONTENT_OID(0x90000104), - ICAO_LDS_OBJECT_DG_NUMBER_INCORRECT(0x90000105), - ICAO_LDS_OBJECT_DG_HASH_MISSING(0x90000106), - ICAO_LDS_OBJECT_DG_HASH_EXTRA(0x90000107), - ICAO_LDS_OBJECT_VERSION_INCORRECT(0x90000108), - ICAO_MASTER_LIST_VERSION_INCORRECT(0x900001C0), - ICAO_DEVIATION_LIST_VERSION_INCORRECT(0x900001C8), - BSI_DEFECT_LIST_VERSION_INCORRECT(0x900001D0), - BSI_BLACK_LIST_VERSION_INCORRECT(0x900001D8), - ASN_SIGNER_INFO_VERSION_INCORRECT(0x9000010A), - ASN_SIGNER_INFO_SID_INCORRECT_CHOICE(0x9000010B), - ASN_SIGNER_INFO_SID_DIGEST_ALGORITHM_NOT_LISTED(0x9000010C), - ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_MISSING(0x9000010D), - ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_DATA(0x9000010E), - ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_Value(0x9000010F), - ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_MISSING(0x90000110), - ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_DATA(0x90000111), - ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_VALUE(0x90000112), - ASN_SIGNER_INFO_SIGNING_TIME_ATTR_MISSING(0x9000011B), - ASN_SIGNER_INFO_SIGNING_TIME_ATTR_DATA(0x9000011C), - ASN_SIGNER_INFO_SIGNING_TIME_ATTR_VALUE(0x9000011D), - ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_MISSING(0x9000011E), - ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_DATA(0x9000011F), - AUTH_SIGNER_INFO_CERTIFICATE_VALIDITY(0x90000115), - AUTH_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED(0x90000116), - AUTH_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA(0x90000117), - AUTH_SIGNER_INFO_CERTIFICATE_REVOKED(0x90000118), - AUTH_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID(0x90000119), - UNSUPPORTED_IMAGE_FORMAT(0x9000011A), - MRZ_DOCUMENT_TYPE_UNKNOWN(0x00022008), - MRZ_ISSUING_STATE_SYNTAX_ERROR(0x00022009), - MRZ_NAME_IS_VOID(0x0002200A), - MRZ_NUMBER_INCORRECT_CHECKSUM(0x0002200D), - MRZ_NATIONALITY_SYNTAX_ERROR(0x0002200E), - MRZ_DOB_SYNTAX_ERROR(0x0002200F), - MRZ_DOB_ERROR(0x00022010), - MRZ_DOB_INCORRECT_CHECKSUM(0x00022011), - MRZ_SEX_INCORRECT(0x00022012), - MRZ_DOE_SYNTAX_ERROR(0x00022013), - MRZ_DOE_ERROR(0x00022014), - MRZ_DOE_INCORRECT_CHECKSUM(0x00022015), - MRZ_OPTIONAL_DATA_INCORRECT_CHECKSUM(0x00022016), - MRZ_INCORRECT_CHECKSUM(0x00022017), - MRZ_INCORRECT(0x00022018), - BIOMETRICS_FORMAT_OWNER_MISSING(0x90010000), - BIOMETRICS_FORMAT_OWNER_INCORRECT(0x90020000), - BIOMETRICS_FORMAT_TYPE_MISSING(0x90030000), - BIOMETRICS_FORMAT_TYPE_INCORRECT(0x90040000), - BIOMETRICS_TYPE_INCORRECT(0x90050000), - BIOMETRICS_SUB_TYPE_MISSING(0x90060000), - BIOMETRICS_SUB_TYPE_INCORRECT(0x90070000), - BIOMETRICS_BDB_IMAGE_MISSING(0x90080000), - BIOMETRICS_BDB_FORMAT_ID_INCORRECT(0x90090000), - BIOMETRICS_BDB_VERSION_INCORRECT(0x900A0000), - BIOMETRICS_BDB_DATA_LENGTH_INCORRECT(0x900B0000), - BIOMETRICS_BDB_DATA_GENDER(0x90100000), - BIOMETRICS_BDB_DATA_EYE_COLOR(0x90110000), - BIOMETRICS_BDB_DATA_HAIR_COLOR(0x90120000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_YAW(0x90130000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_PITCH(0x90140000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_ROLL(0x90150000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_U_YAW(0x90160000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_U_PITCH(0x90170000), - BIOMETRICS_BDB_DATA_POSE_ANGLE_U_ROLL(0x90180000), - BIOMETRICS_BDB_DATA_FACE_IMAGE_TYPE(0x90190000), - BIOMETRICS_BDB_DATA_IMAGE_DATA_TYPE(0x901A0000), - SI_PACE_INFO_UNSUPPORTED_STD_PARAMETERS(0x91000000), - SI_PACE_INFO_DEPRECATED_VERSION(0x91000001), - SI_PACE_DOMAIN_PARAMS_USING_STD_REF(0x91000002), - SI_PACE_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x91000003), - SI_CA_INFO_INCORRECT_VERSION(0x91000004), - SI_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x91000005), - SI_CA_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x91000006), - SI_TA_INFO_INCORRECT_VERSION(0x91000007), - SI_TA_INFO_FILE_ID_FOR_VERSION2(0x91000008), - SI_EID_SECURITY_UNSUPPORTED_DIGEST_ALGORITHM(0x91000009), - SI_RI_INFO_INCORRECT_VERSION(0x9100000A), - SI_RI_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x9100000B), - SI_AA_INFO_INCORRECT_VERSION(0x9100000C), - SI_AA_INFO_UNSUPPORTED_ALGORITHM(0x9100000D), - SI_AA_INFO_INCONSISTENT_ALGORITHM_REFERENCE(0x9100000E), - SI_STORAGE_PACE_INFO_NOT_AVAILABLE(0x91000100), - SI_STORAGE_PACE_INFO_NO_STD_PARAMETERS(0x91000101), - SI_STORAGE_PACE_INFO_NO_MATCHING_DOMAIN_PARAMS(0x91000102), - SI_STORAGE_CA_INFO_NOT_AVAILABLE(0x91000103), - SI_STORAGE_CA_DOMAIN_PARAMS_NO_REQUIRED_OPTION(0x91000104), - SI_STORAGE_CA_DOMAIN_PARAMS_NOT_AVAILABLE(0x91000105), - SI_STORAGE_CA_ANONYMOUS_INFOS(0x91000106), - SI_STORAGE_CA_INFO_NO_MATCHING_DOMAIN_PARAMS(0x91000107), - SI_STORAGE_CA_INFO_NO_MATCHING_PUBLIC_KEY(0x91000108), - SI_STORAGE_CA_INCORRECT_INFOS_QUANTITY(0x91000109), - SI_STORAGE_TA_INFO_NOT_AVAILABLE(0x9100010A), - SI_STORAGE_CARD_INFO_LOCATOR_MULTIPLE_ENTRIES(0x9100010B), - SI_STORAGE_EID_SECURITY_INFO_MULTIPLE_ENTRIES(0x9100010C), - SI_STORAGE_PRIVILEGED_TI_MULTIPLE_ENTRIES(0x9100010D), - SI_STORAGE_PRIVILEGED_TI_INCORRECT_USAGE(0x9100010E), - SI_STORAGE_RI_DOMAIN_PARAMS_MULTIPLE_ENTRIES(0x9100010F), - SI_STORAGE_PACE_INFOS_NON_CONSISTANT(0x91000110), - CV_CERTIFICATE_PROFILE_INCORRECT_VERSION(0x91000201), - CV_CERTIFICATE_VALIDITY(0x91000202), - CV_CERTIFICATE_NON_CV_CA_DOMAIN_PARAMETERS(0x91000203), - CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_VERSION(0x91000204), - TA_PACE_STATIC_BINDING_USED(0x91000300), - AUTH_ML_SIGNER_INFO_CERTIFICATE_VALIDITY(0x92000115), - AUTH_ML_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED(0x92000116), - AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA(0x92000117), - AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED(0x92000118), - AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID(0x92000119), - NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING(0x90000250), - NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING(0x90000251), - NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING(0x00022019), - NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING(0x90000252); - - const LDSParsingNotificationCodes(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static LDSParsingNotificationCodes? getByValue(int? i) { - if (i == null) return null; - try { - return LDSParsingNotificationCodes.values.firstWhere((x) => x.value == i); - } catch (_) { - return LDSParsingNotificationCodes.UNKNOWN; - } - } -} diff --git a/lib/src/results/visible_digital_seals/VDSNCData.dart b/lib/src/results/visible_digital_seals/VDSNCData.dart deleted file mode 100644 index 922a6c915b..0000000000 --- a/lib/src/results/visible_digital_seals/VDSNCData.dart +++ /dev/null @@ -1,87 +0,0 @@ -// -// VDSNCData.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Visible Digital Seal for Non Constrained environments. -class VDSNCData { - /// Visible Digital Seal use case type. - /// Type is set to `icao.test` for Proof of Testing (data defined by CAPSCA), - /// `icao.vacc` for Proof of Vaccination (data defined by WHO). - /// Other Types may be added in the future. - String? get type => _type; - String? _type; - - /// Visible Digital Seal use case version. - int get version => _version; - late int _version; - - /// Three letter code identifying the issuing state or organization. - String? get issuingCountry => _issuingCountry; - String? _issuingCountry; - - /// The message field contains the actual data as a dictionary (JSON). - Map? get message => _message; - Map? _message = {}; - - /// The signature algorithm used to produce the signature. ECDSA scheme. - String? get signatureAlgorithm => _signatureAlgorithm; - String? _signatureAlgorithm; - - /// The binary data of the verified digital signature. - BytesData? get signature => _signature; - BytesData? _signature; - - /// The binary data of the signer certificate. - BytesData? get certificate => _certificate; - BytesData? _certificate; - - /// The certificate chain, used for the digital signature verification. - List get certificateChain => _certificateChain; - List _certificateChain = []; - - /// The list of remarks occured during the scanning procedure. - /// - /// Each element belongs to the [LDSParsingErrorCodes] or the [LDSParsingNotificationCodes]. - List? get notifications => _notifications; - List? _notifications = []; - - /// Allows you to deserialize object. - static VDSNCData? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = VDSNCData(); - - result._type = jsonObject["type"]; - result._version = jsonObject["version"]; - result._issuingCountry = jsonObject["issuingCountry"]; - result._message = jsonObject["message"]; - result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; - result._signature = BytesData.fromJson(jsonObject["signature"]); - result._certificate = BytesData.fromJson(jsonObject["certificate"]); - for (var item in jsonObject["certificateChain"]) - result._certificateChain.addSafe(CertificateChain.fromJson(item)); - result._notifications = jsonObject["notifications"] == null - ? null - : List.from(jsonObject["notifications"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "type": type, - "version": version, - "issuingCountry": issuingCountry, - "message": message, - "signatureAlgorithm": signatureAlgorithm, - "signature": signature?.toJson(), - "certificate": certificate?.toJson(), - "certificateChain": certificateChain.map((e) => e.toJson()).toList(), - "notifications": notifications, - }.clearNulls(); -} diff --git a/lib/src/results/visible_digital_seals/bytes_data.dart b/lib/src/results/visible_digital_seals/bytes_data.dart new file mode 100644 index 0000000000..07fa14dd34 --- /dev/null +++ b/lib/src/results/visible_digital_seals/bytes_data.dart @@ -0,0 +1,44 @@ +// +// BytesData.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +class BytesData { + String get data => _data; + late String _data; + + int get length => _length; + late int _length; + + int get status => _status; + late int _status; + + int get type => _type; + late int _type; + + /// Allows you to deserialize object. + static BytesData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = BytesData(); + + result._data = jsonObject["data"]; + result._length = jsonObject["length"]; + result._status = jsonObject["status"]; + result._type = jsonObject["type"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "data": data, + "length": length, + "status": status, + "type": type, + }.clearNulls(); +} diff --git a/lib/src/results/visible_digital_seals/doc_feature.dart b/lib/src/results/visible_digital_seals/doc_feature.dart new file mode 100644 index 0000000000..c91c0c86a6 --- /dev/null +++ b/lib/src/results/visible_digital_seals/doc_feature.dart @@ -0,0 +1,26 @@ +part of "../../../flutter_document_reader_api.dart"; + +class DocFeature { + int? get type => _type; + int? _type; + + BytesData? get data => _data; + BytesData? _data; + + /// Allows you to deserialize object. + static DocFeature? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = DocFeature(); + + result._type = jsonObject["type"]; + result._data = BytesData.fromJson(jsonObject["data"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type, + "data": data?.toJson(), + }.clearNulls(); +} diff --git a/lib/src/results/visible_digital_seals/lds_parsing_error_codes.dart b/lib/src/results/visible_digital_seals/lds_parsing_error_codes.dart new file mode 100644 index 0000000000..d925172298 --- /dev/null +++ b/lib/src/results/visible_digital_seals/lds_parsing_error_codes.dart @@ -0,0 +1,153 @@ +part of "../../../flutter_document_reader_api.dart"; + +enum LDSParsingErrorCodes { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + OK(0x00000001), + ASN_INCORRECT_DATA(0x80000001), + ASN_NOT_ENOUGH_DATA(0x80000002), + ASN_CONTENTS_UNEXPECTED_DATA(0x80000003), + ASN_SIGNED_DATA_INCORRECT_DATA(0x80000008), + ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA(0x80000009), + ASN_SIGNED_DATA_VERSION_INCORRECT_DATA(0x8000000A), + ASN_SIGNED_DATA_DIGEST_ALGORITHMS_INCORRECT_DATA(0x80000011), + ASN_LDS_OBJECT_INCORRECT_DATA(0x80000013), + ASN_LDS_OBJECT_VERSION_INCORRECT_DATA(0x80000014), + ASN_LDS_OBJECT_DIGEST_ALGORITHM_INCORRECT_DATA(0x80000015), + ASN_LDS_OBJECT_DG_HASHES_INCORRECT_DATA(0x80000016), + ASN_LDS_OBJECT_VERSION_INFO_INCORRECT_DATA(0x80000012), + ASN_CERTIFICATE_INCORRECT_DATA(0x80000017), + ASN_CERTIFICATE_VERSION_INCORRECT_DATA(0x80000018), + ASN_CERTIFICATE_SN_INCORRECT_DATA(0x80000019), + ASN_CERTIFICATE_SIGNATURE_INCORRECT_DATA(0x8000001A), + ASN_CERTIFICATE_ISSUER_INCORRECT_DATA(0x8000001B), + ASN_CERTIFICATE_VALIDITY_INCORRECT_DATA(0x8000001C), + ASN_CERTIFICATE_SUBJECT_INCORRECT_DATA(0x8000001D), + ASN_CERTIFICATE_SUBJECT_PK_INCORRECT_DATA(0x8000001E), + ASN_CERTIFICATE_EXTENSIONS_INCORRECT_DATA(0x8000001F), + ASN_SIGNER_INFO_INCORRECT_DATA(0x80000020), + ASN_SIGNER_INFO_VERSION_INCORRECT_DATA(0x80000021), + ASN_SIGNER_INFO_SID_INCORRECT_DATA(0x80000022), + ASN_SIGNER_INFO_DIGEST_ALG_INCORRECT_DATA(0x80000023), + ASN_SIGNER_INFO_SIGNED_ATTRS_INCORRECT_DATA(0x80000024), + ASN_SIGNER_INFO_SIGN_ALG_INCORRECT_DATA(0x80000025), + ASN_SIGNER_INFO_SIGNATURE_INCORRECT_DATA(0x80000026), + ASN_SIGNER_INFO_UNSIGNED_ATTRS_INCORRECT_DATA(0x80000027), + ICAO_LDS_OBJECT_UNSUPPORTED_DIGEST_ALGORITHM(0x80000030), + ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY(0x80000031), + ICAO_SIGNER_INFO_UNSUPPORTED_DIGEST_ALGORITHM(0x80000032), + ICAO_SIGNER_INFO_UNSUPPORTED_SIGNATURE_ALGORITHM(0x80000033), + ICAO_SIGNER_INFO_MESSAGE_DIGEST_ERROR(0x80000034), + ICAO_SIGNER_INFO_SIGNED_ATTRS_MISSED(0x80000036), + AUTH_SIGNER_INFO_CANT_FIND_CERTIFICATE(0x80000035), + AUTH_ERROR(0x80000050), + AUTH_UNSUPPORTED_SIGNATURE_ALGORITHM(0x80000051), + AUTH_UNSUPPORTED_PUBLIC_KEY_ALGORITHM(0x80000052), + AUTH_MESSED_ALGORITHMS(0x80000053), + AUTH_PUBLIC_KEY_DATA_INVALID(0x80000054), + AUTH_ALGORITHM_PARAMETERS_DATA_INVALID(0x80000055), + AUTH_SIGNATURE_DATA_INVALID(0x80000056), + AUTH_UNSUPPORTED_DIGEST_ALGORITHM(0x80000057), + AUTH_SIGNATURE_DATA_INCORRECT(0x80000058), + AUTH_ALGORITHM_PARAMETERS_NOT_DEFINED(0x80000059), + AUTH_SIGNATURE_CHECK_FAILED(0x8000005A), + DG_WRONG_TAH(0x80000070), + DG_CONTENTS_UNEXPECTED_DATA(0x80000071), + BAP_SYMMETRIC_CYPHER_CANT_INITIALIZE(0x81000011), + PACE_INFO_NOT_AVAILABLE(0x81000020), + PACE_SYMMETRIC_CYPHER_CANT_INITIALIZE(0x81000021), + PACE_KEY_AGREEMENT_CANT_INITIALIZE(0x81000022), + PACE_EPHEMERAL_KEYS_CANT_CREATE(0x81000023), + PACE_MAPPING_CANT_DECODE_NONCE(0x81000024), + PACE_SHARED_SECRET_CANT_CREATE(0x81000025), + PACE_DOMAIN_PARAMS_UNSUPPORTED_FORMAT(0x81000026), + PACE_EPHEMERAL_KEYS_INCORRECT(0x81000027), + PACE_MAPPING_EPHEMERAL_KEYS_INCORRECT(0x81000028), + PACE_MAPPING_CANT_PERFORM(0x81000029), + PACE_NON_MATCHING_AUTH_TOKENS(0x8100002A), + PACE_CAM_DATA_INCORRECT(0x8100002B), + PACE_CAM_DATA_CANT_VERIFY(0x8100002C), + PACE_CAM_DATA_NON_MATCHING(0x8100002D), + PACE_IM_SCHEME_INCORRECT(0x8100002E), + PACE_IM_RANDOM_MAPPING_FAILED(0x8100002F), + CA_CANT_FIND_PUBLIC_KEY(0x81000030), + CA_CANT_FIND_INFO(0x81000031), + CA_INCORRECT_VERSION(0x81000032), + CA_CANT_FIND_DOMAIN_PARAMETERS(0x81000033), + CA_KEY_AGREEMENT_CANT_INITIALIZE(0x81000034), + CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000035), + CA_EPHEMERAL_KEYS_CANT_CREATE(0x81000036), + CA_SHARED_SECRET_CANT_CREATE(0x81000037), + CA_NON_MATCHING_AUTH_TOKENS(0x81000038), + TA_INCORRECT_VERSION(0x81000040), + TA_CANT_BUILD_CERTIFICATE_CHAIN(0x81000041), + TA_CANT_FIND_IS_PRIVATE_KEY(0x81000042), + TA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000043), + TA_SIGNATURE_BUILDING_ERROR(0x81000044), + TA_INVALID_KEY_ALGORITHM_PARAMETERS(0x81000045), + AA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x81000050), + AA_PUBLIC_KEY_INCORRECT_DATA(0x81000051), + AA_PUBLIC_KEY_INCORRECT_PARAMETERS(0x81000052), + AA_PUBLIC_KEY_UNDEFINED_PARAMETERS(0x81000053), + AA_SIGNATURE_INCORRECT_DATA(0x81000054), + AA_UNSUPPORTED_RECOVERY_SCHEME(0x81000055), + AA_INCORRECT_TRAILER(0x81000056), + AA_UNSUPPORTED_DIGEST_ALGORITHM(0x81000057), + RI_SECTOR_KEY_CANT_FIND(0x81000070), + RI_SECTOR_KEY_INCORRECT_DATA(0x81000071), + RI_SECTOR_KEY_INCOMPLETE_DATA(0x81000072), + CV_CERTIFICATE_MISSING_MANDATORY_DATA_PK(0x81000060), + CV_CERTIFICATE_PUBLIC_KEY_UNSUPPORTED(0x81000062), + CV_CERTIFICATE_CHAT_UNSUPPORTED_TERMINAL_TYPE(0x81000063), + CV_CERTIFICATE_PRIVATE_KEY_UNSUPPORTED(0x8100006), + CV_CERTIFICATE_PRIVATE_KEY_INVALID_PARAMS(0x81000065), + CV_CERTIFICATE_INCORRECT_DATA(0x81000160), + CV_CERTIFICATE_CPI_INCORRECT_DATA(0x81000161), + CV_CERTIFICATE_CAR_INCORRECT_DATA(0x81000162), + CV_CERTIFICATE_PUBLIC_KEY_INCORRECT_DATA(0x81000163), + CV_CERTIFICATE_CHR_INCORRECT_DATA(0x81000164), + CV_CERTIFICATE_CHAT_INCORRECT_DATA(0x81000165), + CV_CERTIFICATE_VALID_FROM_INCORRECT_DATA(0x81000166), + CV_CERTIFICATE_VALID_TO_INCORRECT_DATA(0x81000167), + CV_CERTIFICATE_EXTENSIONS_INCORRECT_DATA(0x81000168), + CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_DATA(0x81000169), + CV_CERTIFICATE_PRIVATE_KEY_MISSING(0x8100016A), + VDS_UNSUPPORTED_VERSION(0x81000200), + VDS_ISSUING_COUNTRY_SIZE(0x81000201), + VDS_ISSUING_COUNTRY_INCORRECT_DATA(0x81000202), + VDS_SIGNER_CERTIFICATE_SIZE(0x81000203), + VDS_SIGNER_CERTIFICATE_DATA(0x81000204), + VDS_SIGNATURE_INCORRECT_DATA(0x81000205), + VDS_NC_INCORRECT_DATA(0x81000300), + VDS_NC_MISSING_OR_INCORRECT_DATA(0x81000301), + VDS_NC_MISSING_OR_INCORRECT_HEADER(0x81000302), + VDS_NC_MISSING_OR_INCORRECT_TYPE(0x81000303), + VDS_NC_MISSING_OR_INCORRECT_VERSION(0x81000304), + VDS_NC_MISSING_OR_INCORRECT_ISSUING_COUNTRY(0x81000305), + VDS_NC_MISSING_OR_INCORRECT_MESSAGE(0x81000306), + VDS_NC_MISSING_OR_INCORRECT_SIGNATURE(0x81000307), + VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM(0x81000308), + VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE(0x81000309), + VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE(0x8100030A), + PACE_CAM_DATA_USAGE_INCORRECT(0x8100012B), + PACE_IM_MAPPING_DATA_INCORRECT(0x8100012F); + + const LDSParsingErrorCodes(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static LDSParsingErrorCodes? getByValue(int? i) { + if (i == null) return null; + try { + return LDSParsingErrorCodes.values.firstWhere((x) => x.value == i); + } catch (_) { + return LDSParsingErrorCodes.UNKNOWN; + } + } +} diff --git a/lib/src/results/visible_digital_seals/lds_parsing_notification_codes.dart b/lib/src/results/visible_digital_seals/lds_parsing_notification_codes.dart new file mode 100644 index 0000000000..e006b4ef92 --- /dev/null +++ b/lib/src/results/visible_digital_seals/lds_parsing_notification_codes.dart @@ -0,0 +1,264 @@ +// +// LDSParsingNotificationCodes.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +enum LDSParsingNotificationCodes { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + ASN_CERTIFICATE_INCORRECT_VERSION(0x90000001), + ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM(0x90000002), + ASN_CERTIFICATE_INCORRECT_TIME_CODING(0x90000003), + ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME(0x90000004), + ASN_CERTIFICATE_EMPTY_ISSUER(0x90000005), + ASN_CERTIFICATE_EMPTY_SUBJECT(0x90000006), + ASN_CERTIFICATE_UNSUPPORTED_CRITICAL_EXTENSION(0x90000008), + ASN_CERTIFICATE_FORCED_DEFAULT_CSCA_ROLE(0x9000000E), + ASN_CERTIFICATE_FORCED_DEFAULT_DS_ROLE(0x9000000F), + ASN_CERTIFICATE_INCORRECT_ISSUER_SUBJECT_DS(0x90000010), + ASN_CERTIFICATE_DUPLICATING_EXTENSIONS(0x90000017), + ICAO_CERTIFICATE_VERSION_MISSED(0x90000200), + ICAO_CERTIFICATE_VERSION_INCORRECT(0x90000201), + ICAO_CERTIFICATE_ISSUER_COUNTRY_MISSED(0x90000202), + ICAO_CERTIFICATE_ISSUER_COMMON_NAME_MISSED(0x90000203), + ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_COMPLIANT(0x90000204), + ICAO_CERTIFICATE_SUBJECT_COUNTRY_MISSED(0x90000205), + ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_MISSED(0x90000206), + ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_COMPLIANT(0x90000207), + ICAO_CERTIFICATE_USING_NON_COMPLIANT_DATA(0x90000208), + ICAO_CERTIFICATE_UNSUPPORTED_SIGNATURE_ALGORITHM(0x90000209), + ICAO_CERTIFICATE_UNSUPPORTED_PUBLIC_KEY_ALGORITHM(0x9000020A), + ICAO_CERTIFICATE_MISSED_EXTENSIONS(0x9000020B), + ICAO_CERTIFICATE_VALIDITY(0x9000020C), + ICAO_CERTIFICATE_EXT_USING_NON_COMPLIANT_DATA(0x9000020D), + ICAO_CERTIFICATE_EXT_KEY_USAGE_MISSED(0x9000020E), + ICAO_CERTIFICATE_EXT_KEY_USAGE_NOT_CRITICAL(0x9000020F), + ICAO_CERTIFICATE_EXT_KEY_USAGE_INCORRECT_DATA(0x90000210), + ICAO_CERTIFICATE_EXT_BASIC_C_MISSED(0x90000211), + ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE1(0x90000212), + ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE2(0x90000213), + ICAO_CERTIFICATE_EXT_BASIC_C_NOT_CRITICAL(0x90000214), + ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_DATA(0x90000215), + ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_MISSED(0x90000216), + ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_INCORRECT(0x90000217), + ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_NOT_CRITICAL(0x90000218), + ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_USAGE(0x90000219), + ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_DATA(0x9000021A), + ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_MISSED(0x9000021B), + ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_INCORRECT_DATA(0x9000021C), + ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_KEY_ID_MISSED(0x9000021D), + ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_MISSED(0x9000021E), + ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_INCORRECT_DATA(0x9000021F), + ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_MISSED(0x90000220), + ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_INCORRECT_DATA(0x90000221), + ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_EMPTY(0x90000222), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_MISSED(0x90000223), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_INCORRECT_DATA(0x90000224), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_EMPTY(0x90000225), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_NON_COMPLIANT(0x90000226), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_CRITICAL(0x90000228), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_EMPTY(0x90000229), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_INCORRECT(0x9000022A), + ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_NON_COMPLIANT(0x9000022B), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_MISSED(0x9000022C), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_INCORRECT_DATA(0x9000022D), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_EMPTY(0x9000022E), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_NON_COMPLIANT(0x9000022F), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_CRITICAL(0x90000231), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_EMPTY(0x90000232), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_INCORRECT(0x90000233), + ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_NON_COMPLIANT(0x90000234), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_MISSED(0x90000235), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_INCORRECT_DATA(0x90000236), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_VERSION(0x90000237), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES(0x90000238), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES_EMPTY(0x90000239), + ICAO_CERTIFICATE_EXT_CERT_POLICIES_INCORRECT_DATA(0x9000023A), + ICAO_CERTIFICATE_EXT_CERT_POLICIES_EMPTY(0x9000023B), + ICAO_CERTIFICATE_EXT_CERT_POLICIES_POLICY_ID_MISSED(0x9000023C), + ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_MISSED(0x9000023D), + ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_INCORRECT_DATA(0x9000023E), + ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_EMPTY(0x9000023F), + ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_POINT_MISSED(0x90000240), + ICAO_CERTIFICATE_SN_NON_COMPLIANT(0x90000241), + ICAO_CERTIFICATE_ISSUER_SN_NON_COMPLIANT(0x90000242), + ICAO_CERTIFICATE_SUBJECT_SN_NON_COMPLIANT(0x90000243), + ICAO_CERTIFICATE_ISSUER_ATTRIBUTE_NON_COMPLIANT(0x90000244), + ICAO_CERTIFICATE_SUBJECT_ATTRIBUTE_NON_COMPLIANT(0x90000245), + ICAO_CERTIFICATE_ISSUER_SUBJECT_COUNTRY_NON_MATCHING(0x90000246), + ICAO_CERTIFICATE_EXT_CSCA_ALT_NAMES_NON_MATCHING(0x90000247), + ICAO_CERTIFICATE_EXT_NAME_CHANGE_INCORRECT_DATA(0x90000248), + ICAO_CERTIFICATE_EXT_NAME_CHANGE_NON_COMPLIANT(0x90000249), + ICAO_CERTIFICATE_EXT_NAME_CHANGE_CRITICAL(0x9000024A), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_NON_COMPLIANT(0x9000024B), + ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_CRITICAL(0x9000024C), + ICAO_CERTIFICATE_EXT_OPTIONAL_CRITICAL(0x9000024D), + ICAO_CERTIFICATE_SUBJECT_NON_COMPLIANT(0x9000024E), + ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_NON_COMPLIANT(0x9000024F), + ICAO_COM_LDS_VERSION_INCORRECT(0x90000020), + ICAO_COM_LDS_VERSION_MISSING(0x90000021), + ICAO_COM_UNICODE_VERSION_INCORRECT(0x90000022), + ICAO_COM_UNICODE_VERSION_MISSING(0x90000023), + ICAO_COM_DGPM_INCORRECT(0x90000024), + ICAO_COM_DGPM_MISSING(0x90000025), + ICAO_COM_DGPM_UNEXPECTED(0x90000026), + ICAO_APPLICATION_LDS_VERSION_UNSUPPORTED(0x90000030), + ICAO_APPLICATION_UNICODE_VERSION_UNSUPPORTED(0x90000031), + ICAO_APPLICATION_LDS_VERSION_INCONSISTENT(0x90000032), + ICAO_APPLICATION_UNICODE_VERSION_INCONSISTENT(0x90000033), + ASN_SIGNED_DATA_OID_INCORRECT(0x90000100), + ASN_SIGNED_DATA_VERSION_INCORRECT(0x900001A0), + ASN_SIGNED_DATA_CONTENT_OID_INCORRECT(0x900001A1), + ICAO_SIGNED_DATA_VERSION_INCORRECT(0x90000101), + ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_EMPTY(0x90000102), + ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_UNSUPPORTED(0x90000103), + ICAO_SIGNED_DATA_SIGNER_INFOS_MULTIPLE_ENTRIES(0x90000109), + ICAO_SIGNED_DATA_CERTIFICATES_MISSED(0x900001B0), + ICAO_SIGNED_DATA_CERTIFICATES_EMPTY(0x900001B1), + ICAO_SIGNED_DATA_CRLS_INCORRECT_USAGE(0x900001B2), + ICAO_LDS_OBJECT_INCORRECT_CONTENT_OID(0x90000104), + ICAO_LDS_OBJECT_DG_NUMBER_INCORRECT(0x90000105), + ICAO_LDS_OBJECT_DG_HASH_MISSING(0x90000106), + ICAO_LDS_OBJECT_DG_HASH_EXTRA(0x90000107), + ICAO_LDS_OBJECT_VERSION_INCORRECT(0x90000108), + ICAO_MASTER_LIST_VERSION_INCORRECT(0x900001C0), + ICAO_DEVIATION_LIST_VERSION_INCORRECT(0x900001C8), + BSI_DEFECT_LIST_VERSION_INCORRECT(0x900001D0), + BSI_BLACK_LIST_VERSION_INCORRECT(0x900001D8), + ASN_SIGNER_INFO_VERSION_INCORRECT(0x9000010A), + ASN_SIGNER_INFO_SID_INCORRECT_CHOICE(0x9000010B), + ASN_SIGNER_INFO_SID_DIGEST_ALGORITHM_NOT_LISTED(0x9000010C), + ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_MISSING(0x9000010D), + ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_DATA(0x9000010E), + ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_Value(0x9000010F), + ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_MISSING(0x90000110), + ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_DATA(0x90000111), + ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_VALUE(0x90000112), + ASN_SIGNER_INFO_SIGNING_TIME_ATTR_MISSING(0x9000011B), + ASN_SIGNER_INFO_SIGNING_TIME_ATTR_DATA(0x9000011C), + ASN_SIGNER_INFO_SIGNING_TIME_ATTR_VALUE(0x9000011D), + ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_MISSING(0x9000011E), + ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_DATA(0x9000011F), + AUTH_SIGNER_INFO_CERTIFICATE_VALIDITY(0x90000115), + AUTH_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED(0x90000116), + AUTH_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA(0x90000117), + AUTH_SIGNER_INFO_CERTIFICATE_REVOKED(0x90000118), + AUTH_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID(0x90000119), + UNSUPPORTED_IMAGE_FORMAT(0x9000011A), + MRZ_DOCUMENT_TYPE_UNKNOWN(0x00022008), + MRZ_ISSUING_STATE_SYNTAX_ERROR(0x00022009), + MRZ_NAME_IS_VOID(0x0002200A), + MRZ_NUMBER_INCORRECT_CHECKSUM(0x0002200D), + MRZ_NATIONALITY_SYNTAX_ERROR(0x0002200E), + MRZ_DOB_SYNTAX_ERROR(0x0002200F), + MRZ_DOB_ERROR(0x00022010), + MRZ_DOB_INCORRECT_CHECKSUM(0x00022011), + MRZ_SEX_INCORRECT(0x00022012), + MRZ_DOE_SYNTAX_ERROR(0x00022013), + MRZ_DOE_ERROR(0x00022014), + MRZ_DOE_INCORRECT_CHECKSUM(0x00022015), + MRZ_OPTIONAL_DATA_INCORRECT_CHECKSUM(0x00022016), + MRZ_INCORRECT_CHECKSUM(0x00022017), + MRZ_INCORRECT(0x00022018), + BIOMETRICS_FORMAT_OWNER_MISSING(0x90010000), + BIOMETRICS_FORMAT_OWNER_INCORRECT(0x90020000), + BIOMETRICS_FORMAT_TYPE_MISSING(0x90030000), + BIOMETRICS_FORMAT_TYPE_INCORRECT(0x90040000), + BIOMETRICS_TYPE_INCORRECT(0x90050000), + BIOMETRICS_SUB_TYPE_MISSING(0x90060000), + BIOMETRICS_SUB_TYPE_INCORRECT(0x90070000), + BIOMETRICS_BDB_IMAGE_MISSING(0x90080000), + BIOMETRICS_BDB_FORMAT_ID_INCORRECT(0x90090000), + BIOMETRICS_BDB_VERSION_INCORRECT(0x900A0000), + BIOMETRICS_BDB_DATA_LENGTH_INCORRECT(0x900B0000), + BIOMETRICS_BDB_DATA_GENDER(0x90100000), + BIOMETRICS_BDB_DATA_EYE_COLOR(0x90110000), + BIOMETRICS_BDB_DATA_HAIR_COLOR(0x90120000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_YAW(0x90130000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_PITCH(0x90140000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_ROLL(0x90150000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_U_YAW(0x90160000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_U_PITCH(0x90170000), + BIOMETRICS_BDB_DATA_POSE_ANGLE_U_ROLL(0x90180000), + BIOMETRICS_BDB_DATA_FACE_IMAGE_TYPE(0x90190000), + BIOMETRICS_BDB_DATA_IMAGE_DATA_TYPE(0x901A0000), + SI_PACE_INFO_UNSUPPORTED_STD_PARAMETERS(0x91000000), + SI_PACE_INFO_DEPRECATED_VERSION(0x91000001), + SI_PACE_DOMAIN_PARAMS_USING_STD_REF(0x91000002), + SI_PACE_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x91000003), + SI_CA_INFO_INCORRECT_VERSION(0x91000004), + SI_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM(0x91000005), + SI_CA_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x91000006), + SI_TA_INFO_INCORRECT_VERSION(0x91000007), + SI_TA_INFO_FILE_ID_FOR_VERSION2(0x91000008), + SI_EID_SECURITY_UNSUPPORTED_DIGEST_ALGORITHM(0x91000009), + SI_RI_INFO_INCORRECT_VERSION(0x9100000A), + SI_RI_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM(0x9100000B), + SI_AA_INFO_INCORRECT_VERSION(0x9100000C), + SI_AA_INFO_UNSUPPORTED_ALGORITHM(0x9100000D), + SI_AA_INFO_INCONSISTENT_ALGORITHM_REFERENCE(0x9100000E), + SI_STORAGE_PACE_INFO_NOT_AVAILABLE(0x91000100), + SI_STORAGE_PACE_INFO_NO_STD_PARAMETERS(0x91000101), + SI_STORAGE_PACE_INFO_NO_MATCHING_DOMAIN_PARAMS(0x91000102), + SI_STORAGE_CA_INFO_NOT_AVAILABLE(0x91000103), + SI_STORAGE_CA_DOMAIN_PARAMS_NO_REQUIRED_OPTION(0x91000104), + SI_STORAGE_CA_DOMAIN_PARAMS_NOT_AVAILABLE(0x91000105), + SI_STORAGE_CA_ANONYMOUS_INFOS(0x91000106), + SI_STORAGE_CA_INFO_NO_MATCHING_DOMAIN_PARAMS(0x91000107), + SI_STORAGE_CA_INFO_NO_MATCHING_PUBLIC_KEY(0x91000108), + SI_STORAGE_CA_INCORRECT_INFOS_QUANTITY(0x91000109), + SI_STORAGE_TA_INFO_NOT_AVAILABLE(0x9100010A), + SI_STORAGE_CARD_INFO_LOCATOR_MULTIPLE_ENTRIES(0x9100010B), + SI_STORAGE_EID_SECURITY_INFO_MULTIPLE_ENTRIES(0x9100010C), + SI_STORAGE_PRIVILEGED_TI_MULTIPLE_ENTRIES(0x9100010D), + SI_STORAGE_PRIVILEGED_TI_INCORRECT_USAGE(0x9100010E), + SI_STORAGE_RI_DOMAIN_PARAMS_MULTIPLE_ENTRIES(0x9100010F), + SI_STORAGE_PACE_INFOS_NON_CONSISTANT(0x91000110), + SI_STORAGE_CS_NONCONSISTANT(0x91000111), + SI_STORAGE_CS_PACE_CAM_KEY_MISSING(0x91000112), + CV_CERTIFICATE_PROFILE_INCORRECT_VERSION(0x91000201), + CV_CERTIFICATE_VALIDITY(0x91000202), + CV_CERTIFICATE_NON_CV_CA_DOMAIN_PARAMETERS(0x91000203), + CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_VERSION(0x91000204), + TA_PACE_STATIC_BINDING_USED(0x91000300), + AUTH_ML_SIGNER_INFO_CERTIFICATE_VALIDITY(0x92000115), + AUTH_ML_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED(0x92000116), + AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA(0x92000117), + AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED(0x92000118), + AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID(0x92000119), + NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING(0x90000250), + NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING(0x90000251), + NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING(0x00022019), + NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING(0x90000252), + NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE(0x90000253), + NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE(0x90000254), + ASN_CERTIFICATE_NONMATCHINGDSROLE(0x90000011), + MDL_CERTIFICATE_CHAIN_SOP_NONMATCHING(0x90000400), + MDL_CERTIFICATE_UNSUPPORTEDPUBLICKEYALGORITHM(0x90000401), + MDL_CERTIFICATE_UNSUPPORTEDSIGNATUREALGORITHM(0x90000402), + MDL_CERTIFICATE_UNSUPPORTEDPUBLICKEYPARAMS(0x90000403); + + const LDSParsingNotificationCodes(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static LDSParsingNotificationCodes? getByValue(int? i) { + if (i == null) return null; + try { + return LDSParsingNotificationCodes.values.firstWhere((x) => x.value == i); + } catch (_) { + return LDSParsingNotificationCodes.UNKNOWN; + } + } +} diff --git a/lib/src/results/visible_digital_seals/vds_data.dart b/lib/src/results/visible_digital_seals/vds_data.dart new file mode 100644 index 0000000000..357d264c4d --- /dev/null +++ b/lib/src/results/visible_digital_seals/vds_data.dart @@ -0,0 +1,94 @@ +part of "../../../flutter_document_reader_api.dart"; + +/// Visible Digital Seal. +class VDSData { + int? get type => _type; + late int? _type; + + int? get docType => _docType; + late int? _docType; + + int? get featureRef => _featureRef; + late int? _featureRef; + + /// Visible Digital Seal use case version. + int? get version => _version; + late int? _version; + + /// Three letter code identifying the issuing state or organization. + String? get issuingCountry => _issuingCountry; + String? _issuingCountry; + + String? get docIssueDate => _docIssueDate; + String? _docIssueDate; + + /// The binary data of the verified digital signature. + BytesData? get signature => _signature; + BytesData? _signature; + + String? get signatureDate => _signatureDate; + String? _signatureDate; + + String? get signer => _signer; + String? _signer; + + String? get certificate => _certificate; + String? _certificate; + + /// The certificate chain, used for the digital signature verification. + List get certificateChain => _certificateChain; + List _certificateChain = []; + + /// The doc features. + List get docFeatures => _docFeatures; + List _docFeatures = []; + + /// The list of remarks occured during the scanning procedure. + /// + /// Each element belongs to the [LDSParsingErrorCodes] or the [LDSParsingNotificationCodes]. + List get notifications => _notifications; + List _notifications = []; + + /// Allows you to deserialize object. + static VDSData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = VDSData(); + + result._type = jsonObject["type"]; + result._docType = jsonObject["docType"]; + result._featureRef = jsonObject["featureRef"]; + result._version = jsonObject["version"]; + result._issuingCountry = jsonObject["issuingCountry"]; + result._docIssueDate = jsonObject["docIssueDate"]; + result._signature = BytesData.fromJson(jsonObject["signature"]); + result._signatureDate = jsonObject["signatureDate"]; + result._signer = jsonObject["signer"]; + result._certificate = jsonObject["certificate"]; + for (var item in jsonObject["certificateChain"]) { + result._certificateChain.addSafe(CertificateChain.fromJson(item)); + } + for (var item in jsonObject["docFeatures"]) { + result._docFeatures.addSafe(DocFeature.fromJson(item)); + } + result._notifications = _intListFrom(jsonObject["notifications"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type, + "docType": docType, + "featureRef": featureRef, + "version": version, + "issuingCountry": issuingCountry, + "docIssueDate": docIssueDate, + "signature": signature?.toJson(), + "signatureDate": signatureDate, + "signer": signer, + "certificate": certificate, + "certificateChain": certificateChain.map((e) => e.toJson()).toList(), + "docFeatures": docFeatures.map((e) => e.toJson()).toList(), + "notifications": notifications, + }.clearNulls(); +} diff --git a/lib/src/results/visible_digital_seals/vdsnc_data.dart b/lib/src/results/visible_digital_seals/vdsnc_data.dart new file mode 100644 index 0000000000..c864461989 --- /dev/null +++ b/lib/src/results/visible_digital_seals/vdsnc_data.dart @@ -0,0 +1,86 @@ +// +// VDSNCData.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Visible Digital Seal for Non Constrained environments. +class VDSNCData { + /// Visible Digital Seal use case type. + /// Type is set to `icao.test` for Proof of Testing (data defined by CAPSCA), + /// `icao.vacc` for Proof of Vaccination (data defined by WHO). + /// Other Types may be added in the future. + String? get type => _type; + String? _type; + + /// Visible Digital Seal use case version. + int get version => _version; + late int _version; + + /// Three letter code identifying the issuing state or organization. + String? get issuingCountry => _issuingCountry; + String? _issuingCountry; + + /// The message field contains the actual data as a dictionary (JSON). + Map? get message => _message; + Map? _message = {}; + + /// The signature algorithm used to produce the signature. ECDSA scheme. + String? get signatureAlgorithm => _signatureAlgorithm; + String? _signatureAlgorithm; + + /// The binary data of the verified digital signature. + BytesData? get signature => _signature; + BytesData? _signature; + + /// The binary data of the signer certificate. + BytesData? get certificate => _certificate; + BytesData? _certificate; + + /// The certificate chain, used for the digital signature verification. + List get certificateChain => _certificateChain; + List _certificateChain = []; + + /// The list of remarks occured during the scanning procedure. + /// + /// Each element belongs to the [LDSParsingErrorCodes] or the [LDSParsingNotificationCodes]. + List get notifications => _notifications; + List _notifications = []; + + /// Allows you to deserialize object. + static VDSNCData? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = VDSNCData(); + + result._type = jsonObject["type"]; + result._version = jsonObject["version"]; + result._issuingCountry = jsonObject["issuingCountry"]; + result._message = jsonObject["message"]; + result._signatureAlgorithm = jsonObject["signatureAlgorithm"]; + result._signature = BytesData.fromJson(jsonObject["signature"]); + result._certificate = BytesData.fromJson(jsonObject["certificate"]); + for (var item in jsonObject["certificateChain"]) { + result._certificateChain.addSafe(CertificateChain.fromJson(item)); + } + result._notifications = _intListFrom(jsonObject["notifications"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "type": type, + "version": version, + "issuingCountry": issuingCountry, + "message": message, + "signatureAlgorithm": signatureAlgorithm, + "signature": signature?.toJson(), + "certificate": certificate?.toJson(), + "certificateChain": certificateChain.map((e) => e.toJson()).toList(), + "notifications": notifications, + }.clearNulls(); +} diff --git a/lib/src/results/visual_results/Comparison.dart b/lib/src/results/visual_results/Comparison.dart index 6be3aa1cb3..4d93c473fc 100644 --- a/lib/src/results/visual_results/Comparison.dart +++ b/lib/src/results/visual_results/Comparison.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Structure describing single value of the field. class Comparison { diff --git a/lib/src/results/visual_results/FieldType.dart b/lib/src/results/visual_results/FieldType.dart deleted file mode 100644 index 8dbf94e1ac..0000000000 --- a/lib/src/results/visual_results/FieldType.dart +++ /dev/null @@ -1,1918 +0,0 @@ -// -// FieldType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enum contains identifiers that determine the logical type of text data -/// obtained while reading MRZ, document filling fields, and barcodes. -enum FieldType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// Document class code. - DOCUMENT_CLASS_CODE(0), - - /// Issuing state code in compliance with 3166-1 standard (ICAO doc 9303). - ISSUING_STATE_CODE(1), - - /// Document number. - DOCUMENT_NUMBER(2), - - /// Expiry date of the document. - DATE_OF_EXPIRY(3), - - /// Issue date of the document. - DATE_OF_ISSUE(4), - - /// Date of birth. - DATE_OF_BIRTH(5), - - /// Place of birth. - PLACE_OF_BIRTH(6), - - /// Personal number. - PERSONAL_NUMBER(7), - - /// Surname. - SURNAME(8), - - /// Given name(s). - GIVEN_NAMES(9), - - /// Mother's name. - MOTHERS_NAME(10), - - /// Nationality. - NATIONALITY(11), - - /// Sex. - SEX(12), - - /// Height. - HEIGHT(13), - - /// Weight. - WEIGHT(14), - - /// Eye color. - EYES_COLOR(15), - - /// Hair color. - HAIR_COLOR(16), - - /// Address. - ADDRESS(17), - - /// Organ donor indicator. - DONOR(18), - - /// Social security number. - SOCIAL_SECURITY_NUMBER(19), - - /// Driving licence classification code. - DL_CLASS(20), - - /// Driving licenсe endorsement code. - DL_ENDORSED(21), - - /// Driving licence restriction code. - DL_RESTRICTION_CODE(22), - - /// Date of 21st birthday. - DL_UNDER_21_DATE(23), - - /// Issuing authority. - AUTHORITY(24), - - /// Surname and given name(s). - SURNAME_AND_GIVEN_NAMES(25), - - /// Nationality code in compliance with ISO3166-1 standard (ICAO doc 9303). - NATIONALITY_CODE(26), - - /// Passport number. - PASSPORT_NUMBER(27), - - /// Invitation number. - INVITATION_NUMBER(28), - - /// Visa identification number. - VISA_ID(29), - - /// Visa class. - VISA_CLASS(30), - - /// Visa subclass. - VISA_SUB_CLASS(31), - - /// Not used. - MRZ_STRING_1(32), - - /// Not used. - MRZ_STRING_2(33), - - /// Not used. - MRZ_STRING_3(34), - - /// MRZ type (ID-1 – 0, ID-2 – 1, ID-3 – 2). - MRZ_TYPE(35), - - /// Optional data. - OPTIONAL_DATA(36), - - /// Document class name. - DOCUMENT_CLASS_NAME(37), - - /// Issuing state name. - ISSUING_STATE_NAME(38), - - /// Place of issue. - PLACE_OF_ISSUE(39), - - /// Checksum for document number. - DOCUMENT_NUMBER_CHECKSUM(40), - - /// Checksum for date of birth. - DATE_OF_BIRTH_CHECKSUM(41), - - /// Checksum for date of expiry. - DATE_OF_EXPIRY_CHECKSUM(42), - - /// Checksum for personal number. - PERSONAL_NUMBER_CHECKSUM(43), - - /// Final checksum (for the whole MRZ). - FINAL_CHECKSUM(44), - - /// Checksum for passport number (for visas). - PASSPORT_NUMBER_CHECKSUM(45), - - /// Checksum for passport number (for visas). - INVITATION_NUMBER_CHECKSUM(46), - - /// Checksum for visa identification number. - VISA_ID_CHECKSUM(47), - - /// Checksum for surname + given name(s). - SURNAME_AND_GIVEN_NAMES_CHECKSUM(48), - - /// Checksum for visa expiry date. - VISA_VALID_UNTIL_CHECKSUM(49), - - /// Other information. - OTHER(50), - - /// MRZ lines. - MRZ_STRINGS(51), - - /// Name suffix. - NAME_SUFFIX(52), - - /// Name prefix. - NAME_PREFIX(53), - - /// Checksum for date of issue. - DATE_OF_ISSUE_CHECKSUM(54), - - /// Check digit for date of issue. - DATE_OF_ISSUE_CHECK_DIGIT(55), - - /// Document series. - DOCUMENT_SERIES(56), - - /// Serial number of registration certificate. - REG_CERT_REG_NUMBER(57), - - /// Vehicle model. - REG_CERT_CAR_MODEL(58), - - /// Vehicle color. - REG_CERT_CAR_COLOR(59), - - /// Vehicle identification number (VIN). - REG_CERT_BODY_NUMBER(60), - - /// Vehicle type. - REG_CERT_CAR_TYPE(61), - - /// Permissible maximum weight. - REG_CERT_MAX_WEIGHT(62), - - /// Vehicle weight. - REG_CERT_WEIGHT(63), - - /// Address (area). - ADDRESS_AREA(64), - - /// Address (state). - ADDRESS_STATE(65), - - /// Address (building number). - ADDRESS_BUILDING(66), - - /// Address (house number). - ADDRESS_HOUSE(67), - - /// Address (flat number). - ADDRESS_FLAT(68), - - /// Place of registration. - PLACE_OF_REGISTRATION(69), - - /// Date of registration. - DATE_OF_REGISTRATION(70), - - /// Resident from (date). - RESIDENT_FROM(71), - - /// Resident until (date). - RESIDENT_UNTIL(72), - - /// Issuing authority code (for the passport of the Russian Federation). - AUTHORITY_CODE(73), - - /// Place of birth (area). - PLACE_OF_BIRTH_AREA(74), - - /// Place of birth (state code). - PLACE_OF_BIRTH_STATE_CODE(75), - - /// Address (street). - ADDRESS_STREET(76), - - /// Address (city). - ADDRESS_CITY(77), - - /// Address (jurisdiction code). - ADDRESS_JURISDICTION_CODE(78), - - /// Address (postal code). - ADDRESS_POSTAL_CODE(79), - - /// Check digit for document number. - DOCUMENT_NUMBER_CHECK_DIGIT(80), - - /// Check digit for date of birth. - DATE_OF_BIRTH_CHECK_DIGIT(81), - - /// Check digit for document expiry date. - DATE_OF_EXPIRY_CHECK_DIGIT(82), - - /// Check digit for personal number. - PERSONAL_NUMBER_CHECK_DIGIT(83), - - /// Final check digit (for the whole MRZ). - FINAL_CHECK_DIGIT(84), - - /// Check digit for passport number (for visas). - PASSPORT_NUMBER_CHECK_DIGIT(85), - - /// Check digit for invitation number (for visas). - INVITATION_NUMBER_CHECK_DIGIT(86), - - /// Check digit for visa number. - VISA_ID_CHECK_DIGIT(87), - - /// Check digit for surname and given name(s). - SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT(88), - - /// Check digit for visa expiry date. - VISA_VALID_UNTIL_CHECK_DIGIT(89), - - /// Permit type. - PERMIT_DL_CLASS(90), - - /// Permit expiry date. - PERMIT_DATE_OF_EXPIRY(91), - - /// Permit identifier. - PERMIT_IDENTIFIER(92), - - /// Permit issue date. - PERMIT_DATE_OF_ISSUE(93), - - /// Driving permit restriction code. - PERMIT_RESTRICTION_CODE(94), - - /// Driving permit endorsement code. - PERMIT_ENDORSED(95), - - /// A line used for document validation in accordance with the database. - ISSUE_TIMESTAMP(96), - - /// Number of duplicates. - NUMBER_OF_DUPLICATES(97), - - /// Medical indicator/code. - MEDICAL_INDICATOR_CODES(98), - - /// Indicator showing that the document holder is a non-resident. - NON_RESIDENT_INDICATOR(99), - - /// Visa type. - VISA_TYPE(100), - - /// The earliest date from which the visa is valid. - VISA_VALID_FROM(101), - - /// The date until which the visa is valid. - VISA_VALID_UNTIL(102), - - /// Duration of stay (in days) granted by the visa. - DURATION_OF_STAY(103), - - /// Number of entries granted by the visa. - NUMBER_OF_ENTRIES(104), - - /// Day in the date. - DAY(105), - - /// Month in the date. - MONTH(106), - - /// Year in the date. - YEAR(107), - - /// Identification number. - UNIQUE_CUSTOMER_IDENTIFIER(108), - - /// Commercial vehicle code. - COMMERCIAL_VEHICLE_CODES(109), - - /// Also known as (date of birth). - AKA_DATE_OF_BIRTH(110), - - /// Also known as (social security number). - AKA_SOCIAL_SECURITY_NUMBER(111), - - /// Also known as (surname). - AKA_SURNAME(112), - - /// Also known as (given names). - AKA_GIVEN_NAMES(113), - - /// Also known as (suffix name). - AKA_NAME_SUFFIX(114), - - /// Also known as (prefix name). - AKA_NAME_PREFIX(115), - - /// Mailing address (street). - MAILING_ADDRESS_STREET(116), - - /// Mailing address (city). - MAILING_ADDRESS_CITY(117), - - /// Mailing address (jurisdiction code). - MAILING_ADDRESS_JURISDICTION_CODE(118), - - /// Mailing address (postal code). - MAILING_ADDRESS_POSTAL_CODE(119), - - /// A number which is used for driving licence validation. - AUDIT_INFORMATION(120), - - /// Race/ethnicity. - INVENTORY_NUMBER(121), - - /// Race/ethnicity. - RACE_ETHNICITY(122), - - /// Jurisdiction vehicle class. - JURISDICTION_VEHICLE_CLASS(123), - - /// Jurisdiction endorsement code. - JURISDICTION_ENDORSEMENT_CODE(124), - - /// Jurisdiction restriction code. - JURISDICTION_RESTRICTION_CODE(125), - - /// Surname and (or) given name(s) at birth. - FAMILY_NAME(126), - - /// Given name(s) (Russian transcription). - GIVEN_NAMES_RUS(127), - - /// Visa ID (Russian transcription). - VISA_ID_RUS(128), - - /// Father’s name/patronymic. - FATHERS_NAME(129), - - /// Father’s name/patronymic (Russian transcription). - FATHERS_NAME_RUS(130), - - /// Surname and given name(s) (Russian transcription). - SURNAME_AND_GIVEN_NAMES_RUS(131), - - /// Place of birth (Russian transcription). - PLACE_OF_BIRTH_RUS(132), - - /// Document issuing authority (Russian transcription). - AUTHORITY_RUS(133), - - /// Numeric issuing state code in compliance with ISO 3166-1 standard. - ISSUING_STATE_CODE_NUMERIC(134), - - /// Numeric nationality code in compliance with ISO 3166-1 standard. - NATIONALITY_CODE_NUMERIC(135), - - /// Engine power. - ENGINE_POWER(136), - - /// Engine capacity. - ENGINE_VOLUME(137), - - /// Chassis number. - CHASSIS_NUMBER(138), - - /// Engine number. - ENGINE_NUMBER(139), - - /// Engine model. - ENGINE_MODEL(140), - - /// Vehicle category. - VEHICLE_CATEGORY(141), - - /// Identity card number. - IDENTITY_CARD_NUMBER(142), - - /// Control number. - CONTROL_NO(143), - - /// Parents' given names. - PARRENTS_GIVEN_NAMES(144), - - /// Second surname. - SECOND_SURNAME(145), - - /// Second name. - MIDDLE_NAME(146), - - /// Vehicle identification number. - REG_CERT_VIN(147), - - /// Check digit for vehicle identification number. - REG_CERT_VIN_CHECK_DIGIT(148), - - /// Checksum for vehicle identification number. - REG_CERT_VIN_CHECKSUM(149), - - /// Check digit for the first MRZ line. - LINE_1_CHECK_DIGIT(150), - - /// Check digit for the second MRZ line. - LINE_2_CHECK_DIGIT(151), - - /// Check digit for the third MRZ line. - LINE_3_CHECK_DIGIT(152), - - /// Checksum for the first MRZ line. - LINE_1_CHECKSUM(153), - - /// Checksum for the second MRZ line. - LINE_2_CHECKSUM(154), - - /// Checksum for the third MRZ line. - LINE_3_CHECKSUM(155), - - /// Check digit for vehicle registration number. - REG_CERT_REG_NUMBER_CHECK_DIGIT(156), - - /// Check sum for vehicle registration number. - REG_CERT_REG_NUMBER_CHECKSUM(157), - - /// Vehicle code according to ITS (IntelligentTransportation Systems). - REG_CERT_VEHICLE_ITS_CODE(158), - - /// Access number for RFID chip. - CARD_ACCESS_NUMBER(159), - - /// Marital status. - MARITAL_STATUS(160), - - /// Company name. - COMPANY_NAME(161), - - /// Special notes. - SPECIAL_NOTES(162), - - /// Surname of spouse. - SURNAME_OF_SPOSE(163), - - /// Number for checking document status. - TRACKING_NUMBER(164), - - /// Booklet number. - BOOKLET_NUMBER(165), - - /// Children. - CHILDREN(166), - - /// Copy number. - COPY(167), - - /// Serial number. - SERIAL_NUMBER(168), - - /// Dossier number. - DOSSIER_NUMBER(169), - - /// Also known as (surname and given names). - AKA_SURNAME_AND_GIVEN_NAMES(170), - - /// Territorial validity. - TERRITORIAL_VALIDITY(171), - - /// MRZ with correct checksums. - MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS(172), - - /// Commercial driving license restriction code. - DL_CDL_RESTRICTION_CODE(173), - - /// Date of 18th birthday. - DL_UNDER_18_DATE(174), - - /// Date of record creation. - DL_RECORD_CREATED(175), - - /// Date of duplicate creation. - DL_DUPLICATE_DATE(176), - - /// Type of issued driving license. - DL_ISS_TYPE(177), - - /// Military card number. - MILITARY_BOOK_NUMBER(178), - - /// Destination. - DESTINATION(179), - - /// Blood group. - BLOOD_GROUP(180), - - /// Sequence number. - SEQUENCE_NUMBER(181), - - /// Car body type. - REG_CERT_BODY_TYPE(182), - - /// Car make. - REG_CERT_CAR_MARK(183), - - /// Transaction number. - TRANSACTION_NUMBER(184), - - /// Age. - AGE(185), - - /// Folio number. - FOLIO_NUMBER(186), - - /// Voter's identification number. - VOTER_KEY(187), - - /// Address (municipality). - ADDRESS_MUNICIPALITY(188), - - /// Address (location). - ADDRESS_LOCATION(189), - - /// Section/sector. - SECTION(190), - - /// OCR number. - OCR_NUMBER(191), - - /// Federal elections. - FEDERAL_ELECTIONS(192), - - /// Unique number. - REFERENCE_NUMBER(193), - - /// Checksum for optional data. - OPTIONAL_DATA_CHECKSUM(194), - - /// Check digit for optional data. - OPTIONAL_DATA_CHECK_DIGIT(195), - - /// Visa number. - VISA_NUMBER(196), - - /// Checksum for visa. - VISA_NUMBER_CHECKSUM(197), - - /// Checkdigit for visa. - VISA_NUMBER_CHECK_DIGIT(198), - - /// Voter. - VOTER(199), - - /// Type/number of the previous document. - PREVIOUS_TYPE(200), - - /// Reserved for internal use. - FIELD_FROM_MRZ(220), - - /// Reserved for internal use. - CURRENT_DATE(221), - - /// Status expiry date. - STATUS_DATE_OF_EXPIRY(251), - - /// Banknote number. - BANKNOTE_NUMBER(252), - - /// Customer Service Centre code. - CSC_CODE(253), - - /// Pseudonym. - ARTISTIC_NAME(254), - - /// Academic title. - ACADEMIC_TITLE(255), - - /// Address (country). - ADDRESS_COUNTRY(256), - - /// Address (zip code). - ADDRESS_ZIPCODE(257), - - /// Data on permanent residence permit 1(eID field). - E_ID_RESIDENCE_PERMIT_1(258), - - /// Data on permanent residence permit 2(eID field). - E_ID_RESIDENCE_PERMIT_2(259), - - /// Place of birth: street (eID field). - E_ID_PLACE_OF_BIRTH_STREET(260), - - /// Place of birth: city (eID field). - E_ID_PLACE_OF_BIRTH_CITY(261), - - /// Place of birth: state (eID field). - E_ID_PLACE_OF_BIRTH_STATE(262), - - /// Place of birth: country (eID field). - E_ID_PLACE_OF_BIRTH_COUNTRY(263), - - /// Place of birth: zip code (eID field). - E_ID_PLACE_OF_BIRTH_ZIPCODE(264), - - /// Commercial driving license class. - CDL_CLASS(265), - - /// Date of 19th birthday. - DL_UNDER_19_DATE(266), - - /// Weight (pounds). - WEIGHT_POUNDS(267), - - /// Indicator of document limited duration. - LIMITED_DURATION_DOCUMENT_INDICATOR(268), - - /// Endorsement expiry date. - ENDORSEMENT_EXPIRATION_DATE(269), - - /// Date of revision. - REVISION_DATE(270), - - /// Type of compliance. - COMPLIANCE_TYPE(271), - - /// Family name truncation. - FAMILY_NAME_TRUNCATION(272), - - /// First name truncation. - FIRST_NAME_TRUNCATION(273), - - /// Middle name truncation. - MIDDLE_NAME_TRUNCATION(274), - - /// Examination date. - EXAM_DATE(275), - - /// Organization. - ORGANIZATION(276), - - /// Department. - DEPARTMENT(277), - - /// Pay grade. - PAY_GRADE(278), - - /// Rank/status/title. - RANK(279), - - /// Number that relates to benefit eligibility. - BENEFITS_NUMBER(280), - - /// Sponsor's service. - SPONSOR_SERVICE(281), - - /// Sponsor's status. - SPONSOR_STATUS(282), - - /// Sponsor. - SPONSOR(283), - - /// Relationship. - RELATIONSHIP(284), - - /// Alien registration number issued by the U.S. - /// Citizenship and Immigration Service. - USCIS(285), - - /// Category. - CATEGORY(286), - - /// Conditions. - CONDITIONS(287), - - /// Identifier. - IDENTIFIER(288), - - /// Configuration. - CONFIGURATION(289), - - /// Discretionary data. - DISCRETIONARY_DATA(290), - - /// Optional data from MRZ Line 1. - LINE_1_OPTIONAL_DATA(291), - - /// Optional data from MRZ Line 2. - LINE_2_OPTIONAL_DATA(292), - - /// Optional data from MRZ Line 3. - LINE_3_OPTIONAL_DATA(293), - - /// Equivalence value (security code). - EQV_CODE(294), - - /// ALT сode. - ALT_CODE(295), - - /// Binary сode. - BINARY_CODE(296), - - /// Pseudo-code. - PSEUDO_CODE(297), - - /// Fee. - FEE(298), - - /// Stamp number. - STAMP_NUMBER(299), - - /// Parameters of biometric data protection. - SBH_SECURITYOPTIONS(300), - - /// Parameters of biometric data integrity. - SBH_INTEGRITYOPTIONS(301), - - /// Date of creation of biometric data record. - DATE_OF_CREATION(302), - - /// Term of validity of biometric data record. - VALIDITY_PERIOD(303), - - /// Version of header of biometric data format owner. - PATRON_HEADER_VERSION(304), - - /// Type of biometric data record. - BDB_TYPE(305), - - /// Type of biometric data. - BIOMETRIC_TYPE(306), - - /// Subtype of biometric data. - BIOMETRIC_SUBTYPE(307), - - /// Identifier of biometric data. - BIOMETRIC_PRODUCTID(308), - - /// Identifier of biometric data format owner. - BIOMETRIC_FORMAT_OWNER(309), - - /// Biometric data format. - BIOMETRIC_FORMAT_TYPE(310), - - /// DO's phone number. - PHONE(311), - - /// DO's profession. - PROFESSION(312), - - /// DO's title. - TITLE(313), - - /// DO's personal summary data. - PERSONAL_SUMMARY(314), - - /// Other valid identifier. - OTHER_VALID_ID(315), - - /// Custody information. - CUSTODY_INFO(316), - - /// Other name. - OTHER_NAME(317), - - /// Observations. - OBSERVATIONS(318), - - /// Tax information. - TAX(319), - - /// Date of document personalization. - DATE_OF_PERSONALIZATION(320), - - /// Serial number of personalization. - PERSONALIZATION_SN(321), - - /// Other person's name. - OTHERPERSON_NAME(322), - - /// Date of record entry on persons to notify in case of emergency. - PERSONTONOTIFY_DATE_OF_RECORD(323), - - /// Name of person to notify in case of emergency. - PERSONTONOTIFY_NAME(324), - - /// Phone number of person to notify in case of emergency. - PERSONTONOTIFY_PHONE(325), - - /// Address of person to notify in case of emergency. - PERSONTONOTIFY_ADDRESS(326), - - /// Textual information about the DS-certificate issuer. - DS_CERTIFICATE_ISSUER(327), - - /// Textual information about the document issuer. - DS_CERTIFICATE_SUBJECT(328), - - /// Start date of the DS-certificate validity. - DS_CERTIFICATE_VALIDFROM(329), - - /// Expiration date of the DS-certificate. - DS_CERTIFICATE_VALIDTO(330), - - /// Vehicle category/restrictions/conditions from - /// DG1 data group of eDL application. - VRC_DATAOBJECT_ENTRY(331), - - /// Type approval number. - TYPE_APPROVAL_NUMBER(332), - - /// Administrative number. - ADMINISTRATIVE_NUMBER(333), - - /// Document discriminator. - DOCUMENT_DISCRIMINATOR(334), - - /// Data discriminator. - DATA_DISCRIMINATOR(335), - - /// ISO issuer ID number. - ISO_ISSUER_ID_NUMBER(336), - - /// Registration number issued by GardaNational Immigration Bureau. - GNIB_NUMBER(340), - - /// Department number. - DEPT_NUMBER(341), - - /// Telegraph code. - TELEX_CODE(342), - - /// Allergies. - ALLERGIES(343), - - /// Sp. code. - SP_CODE(344), - - /// Code of restriction imposed by court. - COURT_CODE(345), - - /// County code. - CTY(346), - - /// Sponsor's social security number. - SPONSOR_SSN(347), - - /// Department of Defense identification number. - DO_D_NUMBER(348), - - /// Expiry date of Motorcycle status. - MC_NOVICE_DATE(349), - - /// DUF Number (a number that is assigned to everyone who applies - /// for residence inNorway). - DUF_NUMBER(350), - - /// Code of Philippine Land TransportationOffice Agency. - AGY(351), - - /// Passenger name record (reservation code). - PNR_CODE(352), - - /// Code of the airport of departure. - FROM_AIRPORT_CODE(353), - - /// Code of the airport of arrival. - TO_AIRPORT_CODE(354), - - /// Flight number. - FLIGHT_NUMBER(355), - - /// Date of flight. - DATE_OF_FLIGHT(356), - - /// Seat number. - SEAT_NUMBER(357), - - /// Date of boarding pass issue. - DATE_OF_ISSUE_BOARDING_PASS(358), - - /// Expiration date of Concealed CarryWeapon Permit. - CCW_UNTIL(359), - - /// Checksum for reference number. - REFERENCE_NUMBER_CHECKSUM(360), - - /// Check digit for reference number. - REFERENCE_NUMBER_CHECK_DIGIT(361), - - /// Room number. - ROOM_NUMBER(362), - - /// Religion. - RELIGION(363), - - /// Months to expire. - REMAINDER_TERM(364), - - /// Electronic ticket indicator. - ELECTRONIC_TICKET_INDICATOR(365), - - /// Compartment сode. - COMPARTMENT_CODE(366), - - /// Check-in sequence number on a boarding pass. - CHECK_IN_SEQUENCE_NUMBER(367), - - /// Code of the airline which issued the boarding pass. - AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER(368), - - /// Numeric airline code. - AIRLINE_NUMERIC_CODE(369), - - /// Ticket number. - TICKET_NUMBER(370), - - /// Frequent flyer indicator. - FREQUENT_FLYER_AIRLINE_DESIGNATOR(371), - - /// Frequent flyer number. - FREQUENT_FLYER_NUMBER(372), - - /// Free baggage allowance. - FREE_BAGGAGE_ALLOWANCE(373), - - /// Codec for PDF417. - PDF_417_CODEC(374), - - /// Checksum for identity card number. - IDENTITY_CARD_NUMBER_CHECKSUM(375), - - /// Check digit for identity card number. - IDENTITY_CARD_NUMBER_CHECK_DIGIT(376), - - /// Veteran. - VETERAN(377), - - /// DL class code A1 valid from. - DL_CLASS_CODE_A_1_FROM(378), - - /// DL class code A1 valid to. - DL_CLASS_CODE_A_1_TO(379), - - /// DL class code A1 valid notes. - DL_CLASS_CODE_A_1_NOTES(380), - - /// DL class code A1 valid from. - DL_CLASS_CODE_A_FROM(381), - - /// DL class code A1 valid to. - DL_CLASS_CODE_A_TO(382), - - /// DL class code A1 valid notes. - DL_CLASS_CODE_A_NOTES(383), - - /// DL class code B valid from. - DL_CLASS_CODE_B_FROM(384), - - /// DL class code B valid to. - DL_CLASS_CODE_B_TO(385), - - /// DL class code B valid notes. - DL_CLASS_CODE_B_NOTES(386), - - /// DL class code C1 valid from. - DL_CLASS_CODE_C_1_FROM(387), - - /// DL class code C1 valid to. - DL_CLASS_CODE_C_1_TO(388), - - /// DL class code C1 valid notes. - DL_CLASS_CODE_C_1_NOTES(389), - - /// DL class code C valid from. - DL_CLASS_CODE_C_FROM(390), - - /// DL class code C valid to. - DL_CLASS_CODE_C_TO(391), - - /// DL class code C valid notes. - DL_CLASS_CODE_C_NOTES(392), - - /// DL class code D1 valid from. - DL_CLASS_CODE_D_1_FROM(393), - - /// DL class code D1 valid to. - DL_CLASS_CODE_D_1_TO(394), - - /// DL class code D1 valid notes. - DL_CLASS_CODE_D_1_NOTES(395), - - /// DL class code D valid from. - DL_CLASS_CODE_D_FROM(396), - - /// DL class code D valid to. - DL_CLASS_CODE_D_TO(397), - - /// DL class code D valid notes. - DL_CLASS_CODE_D_NOTES(398), - - /// DL class code BE valid from. - DL_CLASS_CODE_BE_FROM(399), - - /// DL class code BE valid to. - DL_CLASS_CODE_BE_TO(400), - - /// DL class code BE valid notes. - DL_CLASS_CODE_BE_NOTES(401), - - /// DL class code C1E valid from. - DL_CLASS_CODE_C_1_E_FROM(402), - - /// DL class code C1E valid to. - DL_CLASS_CODE_C_1_E_TO(403), - - /// DL class code C1E valid notes. - DL_CLASS_CODE_C_1_E_NOTES(404), - - /// DL class code CE valid from. - DL_CLASS_CODE_CE_FROM(405), - - /// DL class code CE valid to. - DL_CLASS_CODE_CE_TO(406), - - /// DL class code CE valid notes. - DL_CLASS_CODE_CE_NOTES(407), - - /// DL class code D1E valid from. - DL_CLASS_CODE_D_1_E_FROM(408), - - /// DL class code D1E valid to. - DL_CLASS_CODE_D_1_E_TO(409), - - /// DL class code D1E valid notes. - DL_CLASS_CODE_D_1_E_NOTES(410), - - /// DL class code DE valid from. - DL_CLASS_CODE_DE_FROM(411), - - /// DL class code DE valid to. - DL_CLASS_CODE_DE_TO(412), - - /// DL class code DE valid notes. - DL_CLASS_CODE_DE_NOTES(413), - - /// DL class code M valid from. - DL_CLASS_CODE_M_FROM(414), - - /// DL class code M valid to. - DL_CLASS_CODE_M_TO(415), - - /// DL class code M valid notes. - DL_CLASS_CODE_M_NOTES(416), - - /// DL class code L valid from. - DL_CLASS_CODE_L_FROM(417), - - /// DL class code L valid to. - DL_CLASS_CODE_L_TO(418), - - /// DL class code L valid notes. - DL_CLASS_CODE_L_NOTES(419), - - /// DL class code T valid from. - DL_CLASS_CODE_T_FROM(420), - - /// DL class code T valid to. - DL_CLASS_CODE_T_TO(421), - - /// DL class code T valid notes. - DL_CLASS_CODE_T_NOTES(422), - - /// DL class code AM valid from. - DL_CLASS_CODE_AM_FROM(423), - - /// DL class code AM valid to. - DL_CLASS_CODE_AM_TO(424), - - /// DL class code AM valid notes. - DL_CLASS_CODE_AM_NOTES(425), - - /// DL class code A2 valid from. - DL_CLASS_CODE_A_2_FROM(426), - - /// DL class code A2 valid to. - DL_CLASS_CODE_A_2_TO(427), - - /// DL class code A2 valid notes. - DL_CLASS_CODE_A_2_NOTES(428), - - /// DL class code B1 valid from. - DL_CLASS_CODE_B_1_FROM(429), - - /// DL class code B1 valid to. - DL_CLASS_CODE_B_1_TO(430), - - /// DL class code B1 valid notes. - DL_CLASS_CODE_B_1_NOTES(431), - - /// Surname at birth. - SURNAME_AT_BIRTH(432), - - /// Civil status. - CIVIL_STATUS(433), - - /// Number of seats. - NUMBER_OF_SEATS(434), - - /// Number of standing places. - NUMBER_OF_STANDING_PLACES(435), - - /// Maximum speed. - MAX_SPEED(436), - - /// Fuel type. - FUEL_TYPE(437), - - /// Vehicle environmental type. - EC_ENVIRONMENTAL_TYPE(438), - - /// Power–to–weight ratio. - POWER_WEIGHT_RATIO(439), - - /// Maximum weight of the trailer without brakes. - MAX_MASS_OF_TRAILER_BRAKED(440), - - /// Maximum weight of the trailer without brakes. - MAX_MASS_OF_TRAILER_UNBRAKED(441), - - /// Transmission type. - TRANSMISSION_TYPE(442), - - /// Trailer hitch. - TRAILER_HITCH(443), - - /// Accompanying person. - ACCOMPANIED_BY(444), - - /// Police district. - POLICE_DISTRICT(445), - - /// Date of first issue. - FIRST_ISSUE_DATE(446), - - /// Payload capacity. - PAYLOAD_CAPACITY(447), - - /// Number of axels. - NUMBER_OF_AXELS(448), - - /// Permissible axle load. - PERMISSIBLE_AXLE_LOAD(449), - - /// Precinct. - PRECINCT(450), - - /// Invited by. - INVITED_BY(451), - - /// Purpose of entry. - PURPOSE_OF_ENTRY(452), - - /// Skin color. - SKIN_COLOR(453), - - /// Complexion. - COMPLEXION(454), - - /// Airport of departure. - AIRPORT_FROM(455), - - /// Airport of arrival. - AIRPORT_TO(456), - - /// Airline name. - AIRLINE_NAME(457), - - /// A loyalty program offered by the airline to its customers who fly frequently. - AIRLINE_NAME_FREQUENT_FLYER(458), - - /// Licenсe number. - LICENSE_NUMBER(459), - - /// In tanks. - IN_TANKS(460), - - /// Except in tanks. - EXEPT_IN_TANKS(461), - - /// Passenger using the Fast Track service in the airport. - FAST_TRACK(462), - - /// Owner. - OWNER(463), - - /// MRZ strings from ICAO RFID. - MRZ_STRINGS_ICAO_RFID(464), - - /// The number of times a card with this number has been issued. - NUMBER_OF_CARD_ISSUANCE(465), - - /// Number of card issuance checksum. - NUMBER_OF_CARD_ISSUANCE_CHECKSUM(466), - - /// Number of card issuance check digit. - NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT(467), - - /// Century of birth. - CENTURY_DATE_OF_BIRTH(468), - - /// DL class code A3 valid from. - DL_CLASSCODE_A3_FROM(469), - - /// DL class code A3 valid to. - DL_CLASSCODE_A3_TO(470), - - /// DL class code A3 valid notes. - DL_CLASSCODE_A3_NOTES(471), - - /// DL class code C2 valid from. - DL_CLASSCODE_C2_FROM(472), - - /// DL class code C2 valid to. - DL_CLASSCODE_C2_TO(473), - - /// DL class code C2 valid notes. - DL_CLASSCODE_C2_NOTES(474), - - /// DL class code B2 valid from. - DL_CLASSCODE_B2_FROM(475), - - /// DL class code B2 valid to. - DL_CLASSCODE_B2_TO(476), - - /// DL class code B2 valid notes. - DL_CLASSCODE_B2_NOTES(477), - - /// DL class code D2 valid from. - DL_CLASSCODE_D2_FROM(478), - - /// DL class code B2 valid to. - DL_CLASSCODE_D2_TO(479), - - /// DL class code B2 valid notes. - DL_CLASSCODE_D2_NOTES(480), - - /// DL class code B2E valid from. - DL_CLASSCODE_B2E_FROM(481), - - /// DL class code B2E valid to. - DL_CLASSCODE_B2E_TO(482), - - /// DL class code B2E valid notes. - DL_CLASSCODE_B2E_NOTES(483), - - /// DL class code G valid from. - DL_CLASSCODE_G_FROM(484), - - /// DL class code G valid to. - DL_CLASSCODE_G_TO(485), - - /// DL class code G valid notes. - DL_CLASSCODE_G_NOTES(486), - - /// DL class code J valid from. - DL_CLASSCODE_J_FROM(487), - - /// DL class code J valid to. - DL_CLASSCODE_J_TO(488), - - /// DL class code J valid notes. - DL_CLASSCODE_J_NOTES(489), - - /// DL class code LC valid from. - DL_CLASSCODE_LC_FROM(490), - - /// DL class code LC valid to. - DL_CLASSCODE_LC_TO(491), - - /// DL class code LC valid notes. - DLC_LASSCODE_LC_NOTES(492), - - /// Bank card number. - BANKCARDNUMBER(493), - - /// Bank card validity. - BANKCARDVALIDTHRU(494), - - /// Tax number. - TAX_NUMBER(495), - - /// Health insurance number. - HEALTH_NUMBER(496), - - /// Grandfather's name. - GRANDFATHERNAME(497), - - /// Selectee indicator. - SELECTEE_INDICATOR(498), - - /// Mother's surname. - MOTHER_SURNAME(499), - - /// Mother's given name. - MOTHER_GIVENNAME(500), - - /// Father's surname. - FATHER_SURNAME(501), - - /// Father's given name. - FATHER_GIVENNAME(502), - - /// Mother's date of birth. - MOTHER_DATEOFBIRTH(503), - - /// Father's date of birth. - FATHER_DATEOFBIRTH(504), - - /// Mother's personal number. - MOTHER_PERSONALNUMBER(505), - - /// Father's personal number. - FATHER_PERSONALNUMBER(506), - - /// Mother's place of birth. - MOTHER_PLACEOFBIRTH(507), - - /// Father's place of birth. - FATHER_PLACEOFBIRTH(508), - - /// Mother's country of birth. - MOTHER_COUNTRYOFBIRTH(509), - - /// Father's country of birth. - FATHER_COUNTRYOFBIRTH(510), - - /// Date of first renewal. - DATE_FIRST_RENEWAL(511), - - /// Date of second renewal. - DATE_SECOND_RENEWAL(512), - - /// Place of examination. - PLACE_OF_EXAMINATION(513), - - /// Application number. - APPLICATION_NUMBER(514), - - /// Voucher number. - VOUCHER_NUMBER(515), - - /// Authorization number. - AUTHORIZATION_NUMBER(516), - - /// Faculty. - FACULTY(517), - - /// Form of education. - FORM_OF_EDUCATION(518), - - /// DNI number. - DNI_NUMBER(519), - - /// Retirement number. - RETIREMENT_NUMBER(520), - - /// Professional Id number. - PROFESSIONAL_ID_NUMBER(521), - - /// Age at issue. - AGE_AT_ISSUE(522), - - /// Years since issue. - YEARS_SINCE_ISSUE(523), - - /// DL class code BTP valid from. - DLCLASSCODE_BTP_FROM(524), - - /// DL class code BTP valid notes. - DLCLASSCODE_BTP_NOTES(525), - - /// DL class code BTP valid to. - DLCLASSCODE_BTP_TO(526), - - /// DL class code C3 valid from. - DLCLASSCODE_C3_FROM(527), - - /// DL class code C3 valid notes. - DLCLASSCODE_C3_NOTES(528), - - /// DL class code C3 valid to. - DLCLASSCODE_C3_TO(529), - - /// DL class code E valid from. - DLCLASSCODE_E_FROM(530), - - /// DL class code E valid notes. - DLCLASSCODE_E_NOTES(531), - - /// DL class code E valid to. - DLCLASSCODE_E_TO(532), - - /// DL class code F valid from. - DLCLASSCODE_F_FROM(533), - - /// DL class code F valid notes. - DLCLASSCODE_F_NOTES(534), - - /// DL class code F valid to. - DLCLASSCODE_F_TO(535), - - /// DL class code FA valid from. - DLCLASSCODE_FA_FROM(536), - - /// DL class code FA valid notes. - DLCLASSCODE_FA_NOTES(537), - - /// DL class code FA valid to. - DLCLASSCODE_FA_TO(538), - - /// DL class code FA1 valid from. - DLCLASSCODE_FA1_FROM(539), - - /// DL class code FA1 valid notes. - DLCLASSCODE_FA1_NOTES(540), - - /// DL class code FA1 valid to. - DLCLASSCODE_FA1_TO(541), - - /// DL class code FB valid from. - DLCLASSCODE_FB_FROM(542), - - /// DL class code FB valid notes. - DLCLASSCODE_FB_NOTES(543), - - /// DL class code FB valid to. - DLCLASSCODE_FB_TO(544), - - /// DL class code G1 valid from. - DLCLASSCODE_G1_FROM(545), - - /// DL class code G1 valid notes. - DLCLASSCODE_G1_NOTES(546), - - /// DL class code G1 valid to. - DLCLASSCODE_G1_TO(547), - - /// DL class code H valid from. - DLCLASSCODE_H_FROM(548), - - /// DL class code H valid notes. - DLCLASSCODE_H_NOTES(549), - - /// DL class code H valid to. - DLCLASSCODE_H_TO(550), - - /// DL class code I valid from. - DLCLASSCODE_I_FROM(551), - - /// DL class code I valid notes. - DLCLASSCODE_I_NOTES(552), - - /// DL class code I valid to. - DLCLASSCODE_I_TO(553), - - /// DL class code K valid from. - DLCLASSCODE_K_FROM(554), - - /// DL class code K valid notes. - DLCLASSCODE_K_NOTES(555), - - /// DL class code K valid to. - DLCLASSCODE_K_TO(556), - - /// DL class code LK valid from. - DLCLASSCODE_LK_FROM(557), - - /// DL class code LK valid notes. - DLCLASSCODE_LK_NOTES(558), - - /// DL class code LK valid to. - DLCLASSCODE_LK_TO(559), - - /// DL class code N valid from. - DLCLASSCODE_N_FROM(560), - - /// DL class code N valid notes. - DLCLASSCODE_N_NOTES(561), - - /// DL class code N valid to. - DLCLASSCODE_N_TO(562), - - /// DL class code S valid from. - DLCLASSCODE_S_FROM(563), - - /// DL class code S valid notes. - DLCLASSCODE_S_NOTES(564), - - /// DL class code S valid to. - DLCLASSCODE_S_TO(565), - - /// DL class code TB valid from. - DLCLASSCODE_TB_FROM(566), - - /// DL class code TB valid notes. - DLCLASSCODE_TB_NOTES(567), - - /// DL class code TB valid to. - DLCLASSCODE_TB_TO(568), - - /// DL class code TM valid from. - DLCLASSCODE_TM_FROM(569), - - /// DL class code TM valid notes. - DLCLASSCODE_TM_NOTES(570), - - /// DL class code TM valid to. - DLCLASSCODE_TM_TO(571), - - /// DL class code TR valid from. - DLCLASSCODE_TR_FROM(572), - - /// DL class code TR valid notes. - DLCLASSCODE_TR_NOTES(573), - - /// DL class code TR valid to. - DLCLASSCODE_TR_TO(574), - - /// DL class code TV valid from. - DLCLASSCODE_TV_FROM(575), - - /// DL class code TV valid notes. - DLCLASSCODE_TV_NOTES(576), - - /// DL class code TV valid to. - DLCLASSCODE_TV_TO(577), - - /// DL class code V valid from. - DLCLASSCODE_V_FROM(578), - - /// DL class code V valid notes. - DLCLASSCODE_V_NOTES(579), - - /// DL class code V valid to. - DLCLASSCODE_V_TO(580), - - /// DL class code W valid from. - DLCLASSCODE_W_FROM(581), - - /// DL class code W valid notes. - DLCLASSCODE_W_NOTES(582), - - /// DL class code W valid to. - DLCLASSCODE_W_TO(583), - - /// Uniform Resource Locator. - URL(584), - - /// Caliber. - CALIBER(585), - - /// Model. - MODEL(586), - - /// Make. - MAKE(587), - - /// Number of cylinders. - NUMBER_OF_CYLINDERS(588), - - /// Surname of husband after registration. - SURNAME_OF_HUSBAND_AFTER_REGISTRATION(589), - - /// Surname of wife after registration. - SURNAME_OF_WIFE_AFTER_REGISTRATION(590), - - /// Wife's date of birth. - DATE_OF_BIRTH_OF_WIFE(591), - - /// Husband's date of birth. - DATE_OF_BIRTH_OF_HUSBAND(592), - - /// Citizenship of the first person. - CITIZENSHIP_OF_FIRST_PERSON(593), - - /// Citizenship of the second person. - CITIZENSHIP_OF_SECOND_PERSON(594), - - /// Card Security Code. - CVV(595), - - /// Date of insurance expiry. - DATE_OF_INSURANCE_EXPIRY(596), - - /// Mortgage by. - MORTGAGE_BY(597), - - /// Old document number. - OLD_DOCUMENT_NUMBER(598), - - /// Old date of issue. - OLD_DATE_OF_ISSUE(599), - - /// Old place of issue. - OLD_PLACE_OF_ISSUE(600), - - /// DL category LR valid from. - DLCLASSCODE_LR_FROM(601), - - /// DL category LR valid to. - DLCLASSCODE_LR_TO(602), - - /// DL category LR valid notes. - DLCLASSCODE_LR_NOTES(603), - - /// DL category MR valid from. - DLCLASSCODE_MR_FROM(604), - - /// DL category MR valid to. - DLCLASSCODE_MR_TO(605), - - /// DL category MR valid notes. - DLCLASSCODE_MR_NOTES(606), - - /// DL category HR valid from. - DLCLASSCODE_HR_FROM(607), - - /// DL category HR valid to. - DLCLASSCODE_HR_TO(608), - - /// DL category HR valid notes. - DLCLASSCODE_HR_NOTES(609), - - /// DL category HC valid from. - DLCLASSCODE_HC_FROM(610), - - /// DL category HC valid to. - DLCLASSCODE_HC_TO(611), - - /// DL category HC valid notes. - DLCLASSCODE_HC_NOTES(612), - - /// DL category MC valid from. - DLCLASSCODE_MC_FROM(613), - - /// DL category MC valid to. - DLCLASSCODE_MC_TO(614), - - /// DL category MC valid notes. - DLCLASSCODE_MC_NOTES(615), - - /// DL category RE valid from. - DLCLASSCODE_RE_FROM(616), - - /// DL category RE valid to. - DLCLASSCODE_RE_TO(617), - - /// DL category RE valid notes. - DLCLASSCODE_RE_NOTES(618), - - /// DL category R valid from. - DLCLASSCODE_R_FROM(619), - - /// DL category R valid to. - DLCLASSCODE_R_TO(620), - - /// DL category R valid notes. - DLCLASSCODE_R_NOTES(621), - - /// DL category CA valid from. - DLCLASSCODE_CA_FROM(622), - - /// DL category CA valid to. - DLCLASSCODE_CA_TO(623), - - /// DL category CA valid notes. - DLCLASSCODE_CA_NOTES(624), - - /// Citizenship status. - CITIZENSHIP_STATUS(625), - - /// Start date of military service. - MILITARY_SERVICE_FROM(626), - - /// End date of military service. - MILITARY_SERVICE_TO(627), - - /// DL category NT valid notes. - DLCLASSCODE_NT_FROM(628), - - /// DL category NT valid to. - DLCLASSCODE_NT_TO(629), - - /// DL category NT valid notes. - DLCLASSCODE_NT_NOTES(630), - - /// DL category TN valid from. - DLCLASSCODE_TN_FROM(631), - - /// DL category TN valid to. - DLCLASSCODE_TN_TO(632), - - /// DL category TN valid notes. - DLCLASSCODE_TN_NOTES(633), - - /// DL category D3 valid from. - DLCLASSCODE_D3_FROM(634), - - /// DL category D3 valid to. - DLCLASSCODE_D3_TO(635), - - /// DL category D3 valid notes. - DLCLASSCODE_D3_NOTES(636), - - /// Alternative date of expiry. - ALT_DATE_OF_EXPIRY(637), - - /// DL category CD valid from. - DLCLASSCODE_CD_FROM(638), - - /// DL category CD valid to. - DLCLASSCODE_CD_TO(639), - - /// DL category CD valid notes. - DLCLASSCODE_CD_NOTES(640), - - /// End date of payment period. - PAYMENT_PERIOD_TO(643), - - /// Start date of payment period. - PAYMENT_PERIOD_FROM(642), - - /// Issuer identification number (IIN). - ISSUER_IDENTIFICATION_NUMBER(641), - - /// Vaccination certificate identifier. - VACCINATION_CERTIFICATE_IDENTIFIER(644), - - /// First name. - FIRST_NAME(645), - - /// Date of arrival. - DATE_OF_ARRIVAL(646), - - /// Second name. - SECOND_NAME(647), - - /// Third name. - THIRD_NAME(648), - - /// Fourth name. - FOURTH_NAME(649), - - /// Last name. - LAST_NAME(650), - - /// DL class code RM valid from. - DLCLASSCODE_RM_FROM(651), - - /// DL class code RM notes. - DLCLASSCODE_RM_NOTES(652), - - /// DL class code RM valid to. - DLCLASSCODE_RM_TO(653), - - /// DL class code PW valid from. - DLCLASSCODE_PW_FROM(654), - - /// DL class code PW notes. - DLCLASSCODE_PW_NOTES(655), - - /// DL class code PW valid to. - DLCLASSCODE_PW_TO(656), - - DLCLASSCODE_EB_FROM(657), - - DLCLASSCODE_EB_NOTES(658), - - DLCLASSCODE_EB_TO(659), - - DLCLASSCODE_EC_FROM(660), - - DLCLASSCODE_EC_NOTES(661), - - DLCLASSCODE_EC_TO(662), - - DLCLASSCODE_EC1_FROM(663), - - DLCLASSCODE_EC1_NOTES(664), - - DLCLASSCODE_EC1_TO(665), - - PLACE_OF_BIRTH_CITY(666), - - YEAR_OF_BIRTH(667), - - YEAR_OF_EXPIRY(668), - - GRANDFATHER_NAME_MATERNAL(669), - - FIRST_SURNAME(670), - - MONTH_OF_BIRTH(671), - - ADDRESS_FLOOR_NUMBER(672), - - ADDRESS_ENTRANCE(673), - - ADDRESS_BLOCK_NUMBER(674), - - ADDRESS_STREET_NUMBER(675), - - ADDRESS_STREET_TYPE(676), - - ADDRESS_CITY_SECTOR(677), - - ADDRESS_COUNTY_TYPE(678), - - ADDRESS_CITY_TYPE(679), - - ADDRESS_BUILDING_TYPE(680), - - /// Date of retirement. - DATE_OF_RETIREMENT(681), - - /// Document status. - DOCUMENT_STATUS(682), - - /// Signature. - SIGNATURE(683); - - const FieldType(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static FieldType? getByValue(int? i) { - if (i == null) return null; - try { - return FieldType.values.firstWhere((x) => x.value == i); - } catch (_) { - return FieldType.UNKNOWN; - } - } - - static List? fromIntList(List? input) { - if (input == null) return null; - List list = []; - for (int item in input) list.addSafe(getByValue(item)); - return list; - } -} diff --git a/lib/src/results/visual_results/GraphicField.dart b/lib/src/results/visual_results/GraphicField.dart deleted file mode 100644 index 32301c5426..0000000000 --- a/lib/src/results/visual_results/GraphicField.dart +++ /dev/null @@ -1,79 +0,0 @@ -// -// GraphicField.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, describing single graphic field extracted. -class GraphicField { - /// Identifies zone whence data is extracted. - ResultType get sourceType => _sourceType; - late ResultType _sourceType; - - /// Graphic field logical type. - GraphicFieldType get fieldType => _fieldType; - late GraphicFieldType _fieldType; - - /// Graphic field symbolic name. - String get fieldName => _fieldName; - late String _fieldName; - - /// Light type. - Lights get light => _light; - late Lights _light; - - /// Light symbolic name. - String get lightName => _lightName; - late String _lightName; - - /// An index of the document page whence the graphic field is extracted. - int get pageIndex => _pageIndex; - late int _pageIndex; - - /// Original page index. - int get originalPageIndex => _originalPageIndex; - late int _originalPageIndex; - - /// An image. - Uint8List? get value => _value; - Uint8List? _value; - - /// Field area coordinates on the general image. - Rect? get fieldRect => _fieldRect; - Rect? _fieldRect; - - /// Allows you to deserialize object. - static GraphicField? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = GraphicField(); - - result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!; - result._fieldType = GraphicFieldType.getByValue(jsonObject["fieldType"])!; - result._light = Lights.getByValue(jsonObject["light"])!; - result._pageIndex = jsonObject["pageIndex"]; - result._originalPageIndex = jsonObject["originalPageIndex"]; - result._fieldName = jsonObject["fieldName"]; - result._lightName = jsonObject["lightName"]; - result._value = _bytesFromBase64(jsonObject["value"]); - result._fieldRect = Rect.fromJson(jsonObject["fieldRect"]); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "sourceType": sourceType.value, - "fieldType": fieldType.value, - "fieldName": fieldName, - "light": light.value, - "lightName": lightName, - "pageIndex": pageIndex, - "originalPageIndex": originalPageIndex, - "value": _bytesToBase64(value), - "fieldRect": fieldRect?.toJson(), - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/GraphicFieldType.dart b/lib/src/results/visual_results/GraphicFieldType.dart deleted file mode 100644 index 9f94974ba9..0000000000 --- a/lib/src/results/visual_results/GraphicFieldType.dart +++ /dev/null @@ -1,97 +0,0 @@ -// -// GraphicFieldType.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Enumeration contains identifiers that determine the logical type -/// of the graphic data obtained while reading the document filling fields or barcodes. -enum GraphicFieldType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - /// Photo of the document owner. - PORTRAIT(201), - - /// Fingerprint of the document owner. - FINGERPR(202), - - /// Iris of the document owner. - EYE(203), - - /// Signature of the document owner. - SIGNATURE(204), - - /// Barcode image. - BAR_CODE(205), - - /// Image of the citizenship proving document. - PROOF_OF_CITIZENSHIP(206), - - /// Document image. - DOCUMENT_IMAGE(207), - - /// Color dynamic area in the document. - COLOR_DYNAMIC(209), - - /// Ghost portrait. - GHOST_PORTRAIT(210), - - /// Stamp. - STAMP(211), - - /// Portrait of child. - PORTRAIT_OF_CHILD(212), - - /// Contact chip. - CONTACT_CHIP(213), - - /// Other image type. - OTHER(250), - - /// Fingerprint, left thumb. - FINGER_LEFT_THUMB(300), - - /// Fingerprint, left index. - FINGER_LEFT_INDEX(301), - - /// Fingerprint, left middle. - FINGER_LEFT_MIDDLE(302), - - /// Fingerprint, left ring. - FINGER_LEFT_RING(303), - - /// Fingerprint, left little. - FINGER_LEFT_LITTLE(304), - - /// Fingerprint, right thumb. - FINGER_RIGHT_THUMB(305), - - /// Fingerprint, right index. - FINGER_RIGHT_INDEX(306), - - /// Fingerprint, right middle. - FINGER_RIGHT_MIDDLE(307), - - /// Fingerprint, right ring. - FINGER_RIGHT_RING(308), - - /// Fingerprint, right little. - FINGER_RIGHT_LITTLE(309); - - const GraphicFieldType(this.value); - final int value; - - static GraphicFieldType? getByValue(int? i) { - if (i == null) return null; - try { - return GraphicFieldType.values.firstWhere((x) => x.value == i); - } catch (_) { - return GraphicFieldType.UNKNOWN; - } - } -} diff --git a/lib/src/results/visual_results/GraphicResult.dart b/lib/src/results/visual_results/GraphicResult.dart deleted file mode 100644 index 463d70a217..0000000000 --- a/lib/src/results/visual_results/GraphicResult.dart +++ /dev/null @@ -1,32 +0,0 @@ -// -// GraphicResult.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, containing all graphic fields extracted. -class GraphicResult { - /// An array of graphic results. - List get fields => _fields; - List _fields = []; - - /// Allows you to deserialize object. - static GraphicResult? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = GraphicResult(); - - for (var item in jsonObject["fields"]) - result._fields.addSafe(GraphicField.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "fields": fields.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/LCID.dart b/lib/src/results/visual_results/LCID.dart index 4af56e9c7b..753644d45a 100644 --- a/lib/src/results/visual_results/LCID.dart +++ b/lib/src/results/visual_results/LCID.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Enumeration contains a language ID that identifies a particular language. enum LCID { @@ -183,8 +183,10 @@ enum LCID { final int value; Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); } static LCID? getByValue(int? i) { @@ -199,7 +201,9 @@ enum LCID { static List? fromIntList(List? input) { if (input == null) return null; List list = []; - for (int item in input) list.addSafe(getByValue(item)); + for (int item in input) { + list.addSafe(getByValue(item)); + } return list; } } diff --git a/lib/src/results/visual_results/Lights.dart b/lib/src/results/visual_results/Lights.dart index 95e895f982..b333560d05 100644 --- a/lib/src/results/visual_results/Lights.dart +++ b/lib/src/results/visual_results/Lights.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Enumeration contains a set of identifiers used for identifying the /// document reader possibilities, specifying lighting schemes for scanning, etc. diff --git a/lib/src/results/visual_results/RFIDOrigin.dart b/lib/src/results/visual_results/RFIDOrigin.dart deleted file mode 100644 index 6ec581e832..0000000000 --- a/lib/src/results/visual_results/RFIDOrigin.dart +++ /dev/null @@ -1,45 +0,0 @@ -// -// RFIDOrigin.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure containing rfid origin values. -class RFIDOrigin { - int get dg => _dg; - late int _dg; - - int get dgTag => _dgTag; - late int _dgTag; - - int get entryView => _entryView; - late int _entryView; - - int get tagEntry => _tagEntry; - late int _tagEntry; - - /// Allows you to deserialize object. - static RFIDOrigin? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDOrigin(); - - result._dg = jsonObject["dg"]; - result._dgTag = jsonObject["dgTag"]; - result._entryView = jsonObject["entryView"]; - result._tagEntry = jsonObject["tagEntry"]; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "dg": dg, - "dgTag": dgTag, - "entryView": entryView, - "tagEntry": tagEntry, - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/Rect.dart b/lib/src/results/visual_results/Rect.dart index 9e4085c499..cd889ee9a0 100644 --- a/lib/src/results/visual_results/Rect.dart +++ b/lib/src/results/visual_results/Rect.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; class Rect { int get bottom => _bottom; @@ -35,10 +35,6 @@ class Rect { } /// Allows you to serialize object. - Map toJson() => { - "bottom": bottom, - "top": top, - "left": left, - "right": right, - }.clearNulls(); + Map toJson() => + {"bottom": bottom, "top": top, "left": left, "right": right}.clearNulls(); } diff --git a/lib/src/results/visual_results/Symbol.dart b/lib/src/results/visual_results/Symbol.dart index d11b6b4ef2..ca686e0f3f 100644 --- a/lib/src/results/visual_results/Symbol.dart +++ b/lib/src/results/visual_results/Symbol.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Structure describing single value of the field. class Symbol { diff --git a/lib/src/results/visual_results/TextField.dart b/lib/src/results/visual_results/TextField.dart deleted file mode 100644 index a2685522ae..0000000000 --- a/lib/src/results/visual_results/TextField.dart +++ /dev/null @@ -1,103 +0,0 @@ -// -// TextField.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Serves for storing information from one text data field. -class TextField { - /// Textual field logical type. - FieldType get fieldType => _fieldType; - late FieldType _fieldType; - - /// Textual field symbolic name. - String get fieldName => _fieldName; - late String _fieldName; - - /// ID of language-culture to differentiate one field of the same type from - /// another (for example Belarus Passport Page # 31 – Belarusian and Russian - /// fields of the same type). - LCID get lcid => _lcid; - late LCID _lcid; - - /// LCID symbolic name. - String get lcidName => _lcidName; - late String _lcidName; - - /// Value from the field. - String? get value => _value; - String? _value; - - Value? getValue() => _getValue; - Value? _getValue; - - /// An array of values. - List get values => _values; - List _values = []; - - /// Textual field check result. - CheckResult get status => _status; - late CheckResult _status; - - /// List of all comparison statuses for this field type. - List get comparisonList => _comparisonList; - List _comparisonList = []; - - /// List of all validity statuses for this field type. - List get validityList => _validityList; - List _validityList = []; - - /// Comparison result of the field. - CheckResult get comparisonStatus => _comparisonStatus; - late CheckResult _comparisonStatus; - - /// Validity result of the field - CheckResult get validityStatus => _validityStatus; - late CheckResult _validityStatus; - - /// Allows you to deserialize object. - static TextField? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TextField(); - - result._fieldType = FieldType.getByValue(jsonObject["fieldType"])!; - result._lcid = LCID.getByValue(jsonObject["lcid"])!; - result._status = CheckResult.getByValue(jsonObject["status"])!; - result._comparisonStatus = - CheckResult.getByValue(jsonObject["comparisonStatus"])!; - result._validityStatus = - CheckResult.getByValue(jsonObject["validityStatus"])!; - result._lcidName = jsonObject["lcidName"]; - result._fieldName = jsonObject["fieldName"]; - result._value = jsonObject["value"]; - result._getValue = Value.fromJson(jsonObject["getValue"]); - for (var item in jsonObject["values"]) - result._values.addSafe(Value.fromJson(item)); - for (var item in jsonObject["comparisonList"]) - result._comparisonList.addSafe(Comparison.fromJson(item)); - for (var item in jsonObject["validityList"]) - result._validityList.addSafe(Validity.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "fieldType": fieldType.value, - "fieldName": fieldName, - "lcid": lcid.value, - "lcidName": lcidName, - "value": value, - "getValue": getValue()?.toJson(), - "values": values.map((e) => e.toJson()).toList(), - "status": status.value, - "comparisonList": comparisonList.map((e) => e.toJson()).toList(), - "validityList": validityList.map((e) => e.toJson()).toList(), - "comparisonStatus": comparisonStatus.value, - "validityStatus": validityStatus.value, - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/TextResult.dart b/lib/src/results/visual_results/TextResult.dart deleted file mode 100644 index 0ed136e212..0000000000 --- a/lib/src/results/visual_results/TextResult.dart +++ /dev/null @@ -1,61 +0,0 @@ -// -// TextResult.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure, containing all text data extracted and recognized from the document. -class TextResult { - /// Textual fields check result. - CheckResult get status => _status; - late CheckResult _status; - - /// Comparison status of all text fields. - CheckResult get comparisonStatus => _comparisonStatus; - late CheckResult _comparisonStatus; - - /// Validity status of all text fields. - CheckResult get validityStatus => _validityStatus; - late CheckResult _validityStatus; - - /// List of all available origin source with overall validity - /// status of all text fields of a particular source type. - List get availableSourceList => _availableSourceList; - List _availableSourceList = []; - - /// An array of textual results. - List get fields => _fields; - List _fields = []; - - /// Allows you to deserialize object. - static TextResult? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TextResult(); - - result._status = CheckResult.getByValue(jsonObject["status"])!; - result._comparisonStatus = - CheckResult.getByValue(jsonObject["comparisonStatus"])!; - result._validityStatus = - CheckResult.getByValue(jsonObject["validityStatus"])!; - for (var item in jsonObject["availableSourceList"]) - result._availableSourceList.addSafe(TextSource.fromJson(item)); - for (var item in jsonObject["fields"]) - result._fields.addSafe(TextField.fromJson(item)); - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "status": status.value, - "comparisonStatus": comparisonStatus.value, - "validityStatus": validityStatus.value, - "availableSourceList": - availableSourceList.map((e) => e.toJson()).toList(), - "fields": fields.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/TextSource.dart b/lib/src/results/visual_results/TextSource.dart deleted file mode 100644 index c03ccdb856..0000000000 --- a/lib/src/results/visual_results/TextSource.dart +++ /dev/null @@ -1,44 +0,0 @@ -// -// TextSource.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure describing single value of the field. -class TextSource { - /// The value's origin source. - ResultType get sourceType => _sourceType; - late ResultType _sourceType; - - /// The value's origin source string description. - String? get source => _source; - String? _source; - - /// Overall validity status of all text fields of this source type. - CheckResult get validityStatus => _validityStatus; - late CheckResult _validityStatus; - - /// Allows you to deserialize object. - static TextSource? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TextSource(); - - result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!; - result._source = jsonObject["source"]; - result._validityStatus = - CheckResult.getByValue(jsonObject["validityStatus"])!; - - return result; - } - - /// Allows you to serialize object. - Map toJson() => { - "sourceType": sourceType.value, - "source": source, - "validityStatus": validityStatus.value, - }.clearNulls(); -} diff --git a/lib/src/results/visual_results/Validity.dart b/lib/src/results/visual_results/Validity.dart index f0c603e38e..00d3a6dcfc 100644 --- a/lib/src/results/visual_results/Validity.dart +++ b/lib/src/results/visual_results/Validity.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Structure describing single value of the field. class Validity { @@ -30,8 +30,6 @@ class Validity { } /// Allows you to serialize object. - Map toJson() => { - "sourceType": sourceType.value, - "status": status.value, - }.clearNulls(); + Map toJson() => + {"sourceType": sourceType.value, "status": status.value}.clearNulls(); } diff --git a/lib/src/results/visual_results/Value.dart b/lib/src/results/visual_results/Value.dart index b558dc6ccc..389d7bb192 100644 --- a/lib/src/results/visual_results/Value.dart +++ b/lib/src/results/visual_results/Value.dart @@ -6,7 +6,7 @@ // Copyright © 2023 Regula. All rights reserved. // -part of document_reader; +part of "../../../flutter_document_reader_api.dart"; /// Structure describing single value of the field. class Value { @@ -53,8 +53,9 @@ class Value { result._value = jsonObject["value"]; result._originalValue = jsonObject["originalValue"]; result._boundRect = Rect.fromJson(jsonObject["boundRect"]); - for (var item in jsonObject["originalSymbols"]) + for (var item in jsonObject["originalSymbols"]) { result._originalSymbols.addSafe(Symbol.fromJson(item)); + } result._rfidOrigin = RFIDOrigin.fromJson(jsonObject["rfidOrigin"]); return result; diff --git a/lib/src/results/visual_results/field_type.dart b/lib/src/results/visual_results/field_type.dart new file mode 100644 index 0000000000..ce5b133ae0 --- /dev/null +++ b/lib/src/results/visual_results/field_type.dart @@ -0,0 +1,1980 @@ +// +// FieldType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enum contains identifiers that determine the logical type of text data +/// obtained while reading MRZ, document filling fields, and barcodes. +enum FieldType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Document class code. + DOCUMENT_CLASS_CODE(0), + + /// Issuing state code in compliance with 3166-1 standard (ICAO doc 9303). + ISSUING_STATE_CODE(1), + + /// Document number. + DOCUMENT_NUMBER(2), + + /// Expiry date of the document. + DATE_OF_EXPIRY(3), + + /// Issue date of the document. + DATE_OF_ISSUE(4), + + /// Date of birth. + DATE_OF_BIRTH(5), + + /// Place of birth. + PLACE_OF_BIRTH(6), + + /// Personal number. + PERSONAL_NUMBER(7), + + /// Surname. + SURNAME(8), + + /// Given name(s). + GIVEN_NAMES(9), + + /// Mother's name. + MOTHERS_NAME(10), + + /// Nationality. + NATIONALITY(11), + + /// Sex. + SEX(12), + + /// Height. + HEIGHT(13), + + /// Weight. + WEIGHT(14), + + /// Eye color. + EYES_COLOR(15), + + /// Hair color. + HAIR_COLOR(16), + + /// Address. + ADDRESS(17), + + /// Organ donor indicator. + DONOR(18), + + /// Social security number. + SOCIAL_SECURITY_NUMBER(19), + + /// Driving licence classification code. + DL_CLASS(20), + + /// Driving licenсe endorsement code. + DL_ENDORSED(21), + + /// Driving licence restriction code. + DL_RESTRICTION_CODE(22), + + /// Date of 21st birthday. + DL_UNDER_21_DATE(23), + + /// Issuing authority. + AUTHORITY(24), + + /// Surname and given name(s). + SURNAME_AND_GIVEN_NAMES(25), + + /// Nationality code in compliance with ISO3166-1 standard (ICAO doc 9303). + NATIONALITY_CODE(26), + + /// Passport number. + PASSPORT_NUMBER(27), + + /// Invitation number. + INVITATION_NUMBER(28), + + /// Visa identification number. + VISA_ID(29), + + /// Visa class. + VISA_CLASS(30), + + /// Visa subclass. + VISA_SUB_CLASS(31), + + /// Not used. + MRZ_STRING_1(32), + + /// Not used. + MRZ_STRING_2(33), + + /// Not used. + MRZ_STRING_3(34), + + /// MRZ type (ID-1 – 0, ID-2 – 1, ID-3 – 2). + MRZ_TYPE(35), + + /// Optional data. + OPTIONAL_DATA(36), + + /// Document class name. + DOCUMENT_CLASS_NAME(37), + + /// Issuing state name. + ISSUING_STATE_NAME(38), + + /// Place of issue. + PLACE_OF_ISSUE(39), + + /// Checksum for document number. + DOCUMENT_NUMBER_CHECKSUM(40), + + /// Checksum for date of birth. + DATE_OF_BIRTH_CHECKSUM(41), + + /// Checksum for date of expiry. + DATE_OF_EXPIRY_CHECKSUM(42), + + /// Checksum for personal number. + PERSONAL_NUMBER_CHECKSUM(43), + + /// Final checksum (for the whole MRZ). + FINAL_CHECKSUM(44), + + /// Checksum for passport number (for visas). + PASSPORT_NUMBER_CHECKSUM(45), + + /// Checksum for passport number (for visas). + INVITATION_NUMBER_CHECKSUM(46), + + /// Checksum for visa identification number. + VISA_ID_CHECKSUM(47), + + /// Checksum for surname + given name(s). + SURNAME_AND_GIVEN_NAMES_CHECKSUM(48), + + /// Checksum for visa expiry date. + VISA_VALID_UNTIL_CHECKSUM(49), + + /// Other information. + OTHER(50), + + /// MRZ lines. + MRZ_STRINGS(51), + + /// Name suffix. + NAME_SUFFIX(52), + + /// Name prefix. + NAME_PREFIX(53), + + /// Checksum for date of issue. + DATE_OF_ISSUE_CHECKSUM(54), + + /// Check digit for date of issue. + DATE_OF_ISSUE_CHECK_DIGIT(55), + + /// Document series. + DOCUMENT_SERIES(56), + + /// Serial number of registration certificate. + REG_CERT_REG_NUMBER(57), + + /// Vehicle model. + REG_CERT_CAR_MODEL(58), + + /// Vehicle color. + REG_CERT_CAR_COLOR(59), + + /// Vehicle identification number (VIN). + REG_CERT_BODY_NUMBER(60), + + /// Vehicle type. + REG_CERT_CAR_TYPE(61), + + /// Permissible maximum weight. + REG_CERT_MAX_WEIGHT(62), + + /// Vehicle weight. + REG_CERT_WEIGHT(63), + + /// Address (area). + ADDRESS_AREA(64), + + /// Address (state). + ADDRESS_STATE(65), + + /// Address (building number). + ADDRESS_BUILDING(66), + + /// Address (house number). + ADDRESS_HOUSE(67), + + /// Address (flat number). + ADDRESS_FLAT(68), + + /// Place of registration. + PLACE_OF_REGISTRATION(69), + + /// Date of registration. + DATE_OF_REGISTRATION(70), + + /// Resident from (date). + RESIDENT_FROM(71), + + /// Resident until (date). + RESIDENT_UNTIL(72), + + /// Issuing authority code (for the passport of the Russian Federation). + AUTHORITY_CODE(73), + + /// Place of birth (area). + PLACE_OF_BIRTH_AREA(74), + + /// Place of birth (state code). + PLACE_OF_BIRTH_STATE_CODE(75), + + /// Address (street). + ADDRESS_STREET(76), + + /// Address (city). + ADDRESS_CITY(77), + + /// Address (jurisdiction code). + ADDRESS_JURISDICTION_CODE(78), + + /// Address (postal code). + ADDRESS_POSTAL_CODE(79), + + /// Check digit for document number. + DOCUMENT_NUMBER_CHECK_DIGIT(80), + + /// Check digit for date of birth. + DATE_OF_BIRTH_CHECK_DIGIT(81), + + /// Check digit for document expiry date. + DATE_OF_EXPIRY_CHECK_DIGIT(82), + + /// Check digit for personal number. + PERSONAL_NUMBER_CHECK_DIGIT(83), + + /// Final check digit (for the whole MRZ). + FINAL_CHECK_DIGIT(84), + + /// Check digit for passport number (for visas). + PASSPORT_NUMBER_CHECK_DIGIT(85), + + /// Check digit for invitation number (for visas). + INVITATION_NUMBER_CHECK_DIGIT(86), + + /// Check digit for visa number. + VISA_ID_CHECK_DIGIT(87), + + /// Check digit for surname and given name(s). + SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT(88), + + /// Check digit for visa expiry date. + VISA_VALID_UNTIL_CHECK_DIGIT(89), + + /// Permit type. + PERMIT_DL_CLASS(90), + + /// Permit expiry date. + PERMIT_DATE_OF_EXPIRY(91), + + /// Permit identifier. + PERMIT_IDENTIFIER(92), + + /// Permit issue date. + PERMIT_DATE_OF_ISSUE(93), + + /// Driving permit restriction code. + PERMIT_RESTRICTION_CODE(94), + + /// Driving permit endorsement code. + PERMIT_ENDORSED(95), + + /// A line used for document validation in accordance with the database. + ISSUE_TIMESTAMP(96), + + /// Number of duplicates. + NUMBER_OF_DUPLICATES(97), + + /// Medical indicator/code. + MEDICAL_INDICATOR_CODES(98), + + /// Indicator showing that the document holder is a non-resident. + NON_RESIDENT_INDICATOR(99), + + /// Visa type. + VISA_TYPE(100), + + /// The earliest date from which the visa is valid. + VISA_VALID_FROM(101), + + /// The date until which the visa is valid. + VISA_VALID_UNTIL(102), + + /// Duration of stay (in days) granted by the visa. + DURATION_OF_STAY(103), + + /// Number of entries granted by the visa. + NUMBER_OF_ENTRIES(104), + + /// Day in the date. + DAY(105), + + /// Month in the date. + MONTH(106), + + /// Year in the date. + YEAR(107), + + /// Identification number. + UNIQUE_CUSTOMER_IDENTIFIER(108), + + /// Commercial vehicle code. + COMMERCIAL_VEHICLE_CODES(109), + + /// Also known as (date of birth). + AKA_DATE_OF_BIRTH(110), + + /// Also known as (social security number). + AKA_SOCIAL_SECURITY_NUMBER(111), + + /// Also known as (surname). + AKA_SURNAME(112), + + /// Also known as (given names). + AKA_GIVEN_NAMES(113), + + /// Also known as (suffix name). + AKA_NAME_SUFFIX(114), + + /// Also known as (prefix name). + AKA_NAME_PREFIX(115), + + /// Mailing address (street). + MAILING_ADDRESS_STREET(116), + + /// Mailing address (city). + MAILING_ADDRESS_CITY(117), + + /// Mailing address (jurisdiction code). + MAILING_ADDRESS_JURISDICTION_CODE(118), + + /// Mailing address (postal code). + MAILING_ADDRESS_POSTAL_CODE(119), + + /// A number which is used for driving licence validation. + AUDIT_INFORMATION(120), + + /// Race/ethnicity. + INVENTORY_NUMBER(121), + + /// Race/ethnicity. + RACE_ETHNICITY(122), + + /// Jurisdiction vehicle class. + JURISDICTION_VEHICLE_CLASS(123), + + /// Jurisdiction endorsement code. + JURISDICTION_ENDORSEMENT_CODE(124), + + /// Jurisdiction restriction code. + JURISDICTION_RESTRICTION_CODE(125), + + /// Surname and (or) given name(s) at birth. + FAMILY_NAME(126), + + /// Given name(s) (Russian transcription). + GIVEN_NAMES_RUS(127), + + /// Visa ID (Russian transcription). + VISA_ID_RUS(128), + + /// Father’s name/patronymic. + FATHERS_NAME(129), + + /// Father’s name/patronymic (Russian transcription). + FATHERS_NAME_RUS(130), + + /// Surname and given name(s) (Russian transcription). + SURNAME_AND_GIVEN_NAMES_RUS(131), + + /// Place of birth (Russian transcription). + PLACE_OF_BIRTH_RUS(132), + + /// Document issuing authority (Russian transcription). + AUTHORITY_RUS(133), + + /// Numeric issuing state code in compliance with ISO 3166-1 standard. + ISSUING_STATE_CODE_NUMERIC(134), + + /// Numeric nationality code in compliance with ISO 3166-1 standard. + NATIONALITY_CODE_NUMERIC(135), + + /// Engine power. + ENGINE_POWER(136), + + /// Engine capacity. + ENGINE_VOLUME(137), + + /// Chassis number. + CHASSIS_NUMBER(138), + + /// Engine number. + ENGINE_NUMBER(139), + + /// Engine model. + ENGINE_MODEL(140), + + /// Vehicle category. + VEHICLE_CATEGORY(141), + + /// Identity card number. + IDENTITY_CARD_NUMBER(142), + + /// Control number. + CONTROL_NO(143), + + /// Parents' given names. + PARRENTS_GIVEN_NAMES(144), + + /// Second surname. + SECOND_SURNAME(145), + + /// Second name. + MIDDLE_NAME(146), + + /// Vehicle identification number. + REG_CERT_VIN(147), + + /// Check digit for vehicle identification number. + REG_CERT_VIN_CHECK_DIGIT(148), + + /// Checksum for vehicle identification number. + REG_CERT_VIN_CHECKSUM(149), + + /// Check digit for the first MRZ line. + LINE_1_CHECK_DIGIT(150), + + /// Check digit for the second MRZ line. + LINE_2_CHECK_DIGIT(151), + + /// Check digit for the third MRZ line. + LINE_3_CHECK_DIGIT(152), + + /// Checksum for the first MRZ line. + LINE_1_CHECKSUM(153), + + /// Checksum for the second MRZ line. + LINE_2_CHECKSUM(154), + + /// Checksum for the third MRZ line. + LINE_3_CHECKSUM(155), + + /// Check digit for vehicle registration number. + REG_CERT_REG_NUMBER_CHECK_DIGIT(156), + + /// Check sum for vehicle registration number. + REG_CERT_REG_NUMBER_CHECKSUM(157), + + /// Vehicle code according to ITS (IntelligentTransportation Systems). + REG_CERT_VEHICLE_ITS_CODE(158), + + /// Access number for RFID chip. + CARD_ACCESS_NUMBER(159), + + /// Marital status. + MARITAL_STATUS(160), + + /// Company name. + COMPANY_NAME(161), + + /// Special notes. + SPECIAL_NOTES(162), + + /// Surname of spouse. + SURNAME_OF_SPOSE(163), + + /// Number for checking document status. + TRACKING_NUMBER(164), + + /// Booklet number. + BOOKLET_NUMBER(165), + + /// Children. + CHILDREN(166), + + /// Copy number. + COPY(167), + + /// Serial number. + SERIAL_NUMBER(168), + + /// Dossier number. + DOSSIER_NUMBER(169), + + /// Also known as (surname and given names). + AKA_SURNAME_AND_GIVEN_NAMES(170), + + /// Territorial validity. + TERRITORIAL_VALIDITY(171), + + /// MRZ with correct checksums. + MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS(172), + + /// Commercial driving license restriction code. + DL_CDL_RESTRICTION_CODE(173), + + /// Date of 18th birthday. + DL_UNDER_18_DATE(174), + + /// Date of record creation. + DL_RECORD_CREATED(175), + + /// Date of duplicate creation. + DL_DUPLICATE_DATE(176), + + /// Type of issued driving license. + DL_ISS_TYPE(177), + + /// Military card number. + MILITARY_BOOK_NUMBER(178), + + /// Destination. + DESTINATION(179), + + /// Blood group. + BLOOD_GROUP(180), + + /// Sequence number. + SEQUENCE_NUMBER(181), + + /// Car body type. + REG_CERT_BODY_TYPE(182), + + /// Car make. + REG_CERT_CAR_MARK(183), + + /// Transaction number. + TRANSACTION_NUMBER(184), + + /// Age. + AGE(185), + + /// Folio number. + FOLIO_NUMBER(186), + + /// Voter's identification number. + VOTER_KEY(187), + + /// Address (municipality). + ADDRESS_MUNICIPALITY(188), + + /// Address (location). + ADDRESS_LOCATION(189), + + /// Section/sector. + SECTION(190), + + /// OCR number. + OCR_NUMBER(191), + + /// Federal elections. + FEDERAL_ELECTIONS(192), + + /// Unique number. + REFERENCE_NUMBER(193), + + /// Checksum for optional data. + OPTIONAL_DATA_CHECKSUM(194), + + /// Check digit for optional data. + OPTIONAL_DATA_CHECK_DIGIT(195), + + /// Visa number. + VISA_NUMBER(196), + + /// Checksum for visa. + VISA_NUMBER_CHECKSUM(197), + + /// Checkdigit for visa. + VISA_NUMBER_CHECK_DIGIT(198), + + /// Voter. + VOTER(199), + + /// Type/number of the previous document. + PREVIOUS_TYPE(200), + + /// Reserved for internal use. + FIELD_FROM_MRZ(220), + + /// Reserved for internal use. + CURRENT_DATE(221), + + /// Status expiry date. + STATUS_DATE_OF_EXPIRY(251), + + /// Banknote number. + BANKNOTE_NUMBER(252), + + /// Customer Service Centre code. + CSC_CODE(253), + + /// Pseudonym. + ARTISTIC_NAME(254), + + /// Academic title. + ACADEMIC_TITLE(255), + + /// Address (country). + ADDRESS_COUNTRY(256), + + /// Address (zip code). + ADDRESS_ZIPCODE(257), + + /// Data on permanent residence permit 1(eID field). + E_ID_RESIDENCE_PERMIT_1(258), + + /// Data on permanent residence permit 2(eID field). + E_ID_RESIDENCE_PERMIT_2(259), + + /// Place of birth: street (eID field). + E_ID_PLACE_OF_BIRTH_STREET(260), + + /// Place of birth: city (eID field). + E_ID_PLACE_OF_BIRTH_CITY(261), + + /// Place of birth: state (eID field). + E_ID_PLACE_OF_BIRTH_STATE(262), + + /// Place of birth: country (eID field). + E_ID_PLACE_OF_BIRTH_COUNTRY(263), + + /// Place of birth: zip code (eID field). + E_ID_PLACE_OF_BIRTH_ZIPCODE(264), + + /// Commercial driving license class. + CDL_CLASS(265), + + /// Date of 19th birthday. + DL_UNDER_19_DATE(266), + + /// Weight (pounds). + WEIGHT_POUNDS(267), + + /// Indicator of document limited duration. + LIMITED_DURATION_DOCUMENT_INDICATOR(268), + + /// Endorsement expiry date. + ENDORSEMENT_EXPIRATION_DATE(269), + + /// Date of revision. + REVISION_DATE(270), + + /// Type of compliance. + COMPLIANCE_TYPE(271), + + /// Family name truncation. + FAMILY_NAME_TRUNCATION(272), + + /// First name truncation. + FIRST_NAME_TRUNCATION(273), + + /// Middle name truncation. + MIDDLE_NAME_TRUNCATION(274), + + /// Examination date. + EXAM_DATE(275), + + /// Organization. + ORGANIZATION(276), + + /// Department. + DEPARTMENT(277), + + /// Pay grade. + PAY_GRADE(278), + + /// Rank/status/title. + RANK(279), + + /// Number that relates to benefit eligibility. + BENEFITS_NUMBER(280), + + /// Sponsor's service. + SPONSOR_SERVICE(281), + + /// Sponsor's status. + SPONSOR_STATUS(282), + + /// Sponsor. + SPONSOR(283), + + /// Relationship. + RELATIONSHIP(284), + + /// Alien registration number issued by the U.S. + /// Citizenship and Immigration Service. + USCIS(285), + + /// Category. + CATEGORY(286), + + /// Conditions. + CONDITIONS(287), + + /// Identifier. + IDENTIFIER(288), + + /// Configuration. + CONFIGURATION(289), + + /// Discretionary data. + DISCRETIONARY_DATA(290), + + /// Optional data from MRZ Line 1. + LINE_1_OPTIONAL_DATA(291), + + /// Optional data from MRZ Line 2. + LINE_2_OPTIONAL_DATA(292), + + /// Optional data from MRZ Line 3. + LINE_3_OPTIONAL_DATA(293), + + /// Equivalence value (security code). + EQV_CODE(294), + + /// ALT сode. + ALT_CODE(295), + + /// Binary сode. + BINARY_CODE(296), + + /// Pseudo-code. + PSEUDO_CODE(297), + + /// Fee. + FEE(298), + + /// Stamp number. + STAMP_NUMBER(299), + + /// Parameters of biometric data protection. + SBH_SECURITYOPTIONS(300), + + /// Parameters of biometric data integrity. + SBH_INTEGRITYOPTIONS(301), + + /// Date of creation of biometric data record. + DATE_OF_CREATION(302), + + /// Term of validity of biometric data record. + VALIDITY_PERIOD(303), + + /// Version of header of biometric data format owner. + PATRON_HEADER_VERSION(304), + + /// Type of biometric data record. + BDB_TYPE(305), + + /// Type of biometric data. + BIOMETRIC_TYPE(306), + + /// Subtype of biometric data. + BIOMETRIC_SUBTYPE(307), + + /// Identifier of biometric data. + BIOMETRIC_PRODUCTID(308), + + /// Identifier of biometric data format owner. + BIOMETRIC_FORMAT_OWNER(309), + + /// Biometric data format. + BIOMETRIC_FORMAT_TYPE(310), + + /// DO's phone number. + PHONE(311), + + /// DO's profession. + PROFESSION(312), + + /// DO's title. + TITLE(313), + + /// DO's personal summary data. + PERSONAL_SUMMARY(314), + + /// Other valid identifier. + OTHER_VALID_ID(315), + + /// Custody information. + CUSTODY_INFO(316), + + /// Other name. + OTHER_NAME(317), + + /// Observations. + OBSERVATIONS(318), + + /// Tax information. + TAX(319), + + /// Date of document personalization. + DATE_OF_PERSONALIZATION(320), + + /// Serial number of personalization. + PERSONALIZATION_SN(321), + + /// Other person's name. + OTHERPERSON_NAME(322), + + /// Date of record entry on persons to notify in case of emergency. + PERSONTONOTIFY_DATE_OF_RECORD(323), + + /// Name of person to notify in case of emergency. + PERSONTONOTIFY_NAME(324), + + /// Phone number of person to notify in case of emergency. + PERSONTONOTIFY_PHONE(325), + + /// Address of person to notify in case of emergency. + PERSONTONOTIFY_ADDRESS(326), + + /// Textual information about the DS-certificate issuer. + DS_CERTIFICATE_ISSUER(327), + + /// Textual information about the document issuer. + DS_CERTIFICATE_SUBJECT(328), + + /// Start date of the DS-certificate validity. + DS_CERTIFICATE_VALIDFROM(329), + + /// Expiration date of the DS-certificate. + DS_CERTIFICATE_VALIDTO(330), + + /// Vehicle category/restrictions/conditions from + /// DG1 data group of eDL application. + VRC_DATAOBJECT_ENTRY(331), + + /// Type approval number. + TYPE_APPROVAL_NUMBER(332), + + /// Administrative number. + ADMINISTRATIVE_NUMBER(333), + + /// Document discriminator. + DOCUMENT_DISCRIMINATOR(334), + + /// Data discriminator. + DATA_DISCRIMINATOR(335), + + /// ISO issuer ID number. + ISO_ISSUER_ID_NUMBER(336), + + DTC_VERSION(337), + + DTC_ID(338), + + DTC_DATE_OF_EXPIRY(339), + + /// Registration number issued by GardaNational Immigration Bureau. + GNIB_NUMBER(340), + + /// Department number. + DEPT_NUMBER(341), + + /// Telegraph code. + TELEX_CODE(342), + + /// Allergies. + ALLERGIES(343), + + /// Sp. code. + SP_CODE(344), + + /// Code of restriction imposed by court. + COURT_CODE(345), + + /// County code. + CTY(346), + + /// Sponsor's social security number. + SPONSOR_SSN(347), + + /// Department of Defense identification number. + DO_D_NUMBER(348), + + /// Expiry date of Motorcycle status. + MC_NOVICE_DATE(349), + + /// DUF Number (a number that is assigned to everyone who applies + /// for residence inNorway). + DUF_NUMBER(350), + + /// Code of Philippine Land TransportationOffice Agency. + AGY(351), + + /// Passenger name record (reservation code). + PNR_CODE(352), + + /// Code of the airport of departure. + FROM_AIRPORT_CODE(353), + + /// Code of the airport of arrival. + TO_AIRPORT_CODE(354), + + /// Flight number. + FLIGHT_NUMBER(355), + + /// Date of flight. + DATE_OF_FLIGHT(356), + + /// Seat number. + SEAT_NUMBER(357), + + /// Date of boarding pass issue. + DATE_OF_ISSUE_BOARDING_PASS(358), + + /// Expiration date of Concealed CarryWeapon Permit. + CCW_UNTIL(359), + + /// Checksum for reference number. + REFERENCE_NUMBER_CHECKSUM(360), + + /// Check digit for reference number. + REFERENCE_NUMBER_CHECK_DIGIT(361), + + /// Room number. + ROOM_NUMBER(362), + + /// Religion. + RELIGION(363), + + /// Months to expire. + REMAINDER_TERM(364), + + /// Electronic ticket indicator. + ELECTRONIC_TICKET_INDICATOR(365), + + /// Compartment сode. + COMPARTMENT_CODE(366), + + /// Check-in sequence number on a boarding pass. + CHECK_IN_SEQUENCE_NUMBER(367), + + /// Code of the airline which issued the boarding pass. + AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER(368), + + /// Numeric airline code. + AIRLINE_NUMERIC_CODE(369), + + /// Ticket number. + TICKET_NUMBER(370), + + /// Frequent flyer indicator. + FREQUENT_FLYER_AIRLINE_DESIGNATOR(371), + + /// Frequent flyer number. + FREQUENT_FLYER_NUMBER(372), + + /// Free baggage allowance. + FREE_BAGGAGE_ALLOWANCE(373), + + /// Codec for PDF417. + PDF_417_CODEC(374), + + /// Checksum for identity card number. + IDENTITY_CARD_NUMBER_CHECKSUM(375), + + /// Check digit for identity card number. + IDENTITY_CARD_NUMBER_CHECK_DIGIT(376), + + /// Veteran. + VETERAN(377), + + /// DL class code A1 valid from. + DL_CLASS_CODE_A_1_FROM(378), + + /// DL class code A1 valid to. + DL_CLASS_CODE_A_1_TO(379), + + /// DL class code A1 valid notes. + DL_CLASS_CODE_A_1_NOTES(380), + + /// DL class code A1 valid from. + DL_CLASS_CODE_A_FROM(381), + + /// DL class code A1 valid to. + DL_CLASS_CODE_A_TO(382), + + /// DL class code A1 valid notes. + DL_CLASS_CODE_A_NOTES(383), + + /// DL class code B valid from. + DL_CLASS_CODE_B_FROM(384), + + /// DL class code B valid to. + DL_CLASS_CODE_B_TO(385), + + /// DL class code B valid notes. + DL_CLASS_CODE_B_NOTES(386), + + /// DL class code C1 valid from. + DL_CLASS_CODE_C_1_FROM(387), + + /// DL class code C1 valid to. + DL_CLASS_CODE_C_1_TO(388), + + /// DL class code C1 valid notes. + DL_CLASS_CODE_C_1_NOTES(389), + + /// DL class code C valid from. + DL_CLASS_CODE_C_FROM(390), + + /// DL class code C valid to. + DL_CLASS_CODE_C_TO(391), + + /// DL class code C valid notes. + DL_CLASS_CODE_C_NOTES(392), + + /// DL class code D1 valid from. + DL_CLASS_CODE_D_1_FROM(393), + + /// DL class code D1 valid to. + DL_CLASS_CODE_D_1_TO(394), + + /// DL class code D1 valid notes. + DL_CLASS_CODE_D_1_NOTES(395), + + /// DL class code D valid from. + DL_CLASS_CODE_D_FROM(396), + + /// DL class code D valid to. + DL_CLASS_CODE_D_TO(397), + + /// DL class code D valid notes. + DL_CLASS_CODE_D_NOTES(398), + + /// DL class code BE valid from. + DL_CLASS_CODE_BE_FROM(399), + + /// DL class code BE valid to. + DL_CLASS_CODE_BE_TO(400), + + /// DL class code BE valid notes. + DL_CLASS_CODE_BE_NOTES(401), + + /// DL class code C1E valid from. + DL_CLASS_CODE_C_1_E_FROM(402), + + /// DL class code C1E valid to. + DL_CLASS_CODE_C_1_E_TO(403), + + /// DL class code C1E valid notes. + DL_CLASS_CODE_C_1_E_NOTES(404), + + /// DL class code CE valid from. + DL_CLASS_CODE_CE_FROM(405), + + /// DL class code CE valid to. + DL_CLASS_CODE_CE_TO(406), + + /// DL class code CE valid notes. + DL_CLASS_CODE_CE_NOTES(407), + + /// DL class code D1E valid from. + DL_CLASS_CODE_D_1_E_FROM(408), + + /// DL class code D1E valid to. + DL_CLASS_CODE_D_1_E_TO(409), + + /// DL class code D1E valid notes. + DL_CLASS_CODE_D_1_E_NOTES(410), + + /// DL class code DE valid from. + DL_CLASS_CODE_DE_FROM(411), + + /// DL class code DE valid to. + DL_CLASS_CODE_DE_TO(412), + + /// DL class code DE valid notes. + DL_CLASS_CODE_DE_NOTES(413), + + /// DL class code M valid from. + DL_CLASS_CODE_M_FROM(414), + + /// DL class code M valid to. + DL_CLASS_CODE_M_TO(415), + + /// DL class code M valid notes. + DL_CLASS_CODE_M_NOTES(416), + + /// DL class code L valid from. + DL_CLASS_CODE_L_FROM(417), + + /// DL class code L valid to. + DL_CLASS_CODE_L_TO(418), + + /// DL class code L valid notes. + DL_CLASS_CODE_L_NOTES(419), + + /// DL class code T valid from. + DL_CLASS_CODE_T_FROM(420), + + /// DL class code T valid to. + DL_CLASS_CODE_T_TO(421), + + /// DL class code T valid notes. + DL_CLASS_CODE_T_NOTES(422), + + /// DL class code AM valid from. + DL_CLASS_CODE_AM_FROM(423), + + /// DL class code AM valid to. + DL_CLASS_CODE_AM_TO(424), + + /// DL class code AM valid notes. + DL_CLASS_CODE_AM_NOTES(425), + + /// DL class code A2 valid from. + DL_CLASS_CODE_A_2_FROM(426), + + /// DL class code A2 valid to. + DL_CLASS_CODE_A_2_TO(427), + + /// DL class code A2 valid notes. + DL_CLASS_CODE_A_2_NOTES(428), + + /// DL class code B1 valid from. + DL_CLASS_CODE_B_1_FROM(429), + + /// DL class code B1 valid to. + DL_CLASS_CODE_B_1_TO(430), + + /// DL class code B1 valid notes. + DL_CLASS_CODE_B_1_NOTES(431), + + /// Surname at birth. + SURNAME_AT_BIRTH(432), + + /// Civil status. + CIVIL_STATUS(433), + + /// Number of seats. + NUMBER_OF_SEATS(434), + + /// Number of standing places. + NUMBER_OF_STANDING_PLACES(435), + + /// Maximum speed. + MAX_SPEED(436), + + /// Fuel type. + FUEL_TYPE(437), + + /// Vehicle environmental type. + EC_ENVIRONMENTAL_TYPE(438), + + /// Power–to–weight ratio. + POWER_WEIGHT_RATIO(439), + + /// Maximum weight of the trailer without brakes. + MAX_MASS_OF_TRAILER_BRAKED(440), + + /// Maximum weight of the trailer without brakes. + MAX_MASS_OF_TRAILER_UNBRAKED(441), + + /// Transmission type. + TRANSMISSION_TYPE(442), + + /// Trailer hitch. + TRAILER_HITCH(443), + + /// Accompanying person. + ACCOMPANIED_BY(444), + + /// Police district. + POLICE_DISTRICT(445), + + /// Date of first issue. + FIRST_ISSUE_DATE(446), + + /// Payload capacity. + PAYLOAD_CAPACITY(447), + + /// Number of axels. + NUMBER_OF_AXELS(448), + + /// Permissible axle load. + PERMISSIBLE_AXLE_LOAD(449), + + /// Precinct. + PRECINCT(450), + + /// Invited by. + INVITED_BY(451), + + /// Purpose of entry. + PURPOSE_OF_ENTRY(452), + + /// Skin color. + SKIN_COLOR(453), + + /// Complexion. + COMPLEXION(454), + + /// Airport of departure. + AIRPORT_FROM(455), + + /// Airport of arrival. + AIRPORT_TO(456), + + /// Airline name. + AIRLINE_NAME(457), + + /// A loyalty program offered by the airline to its customers who fly frequently. + AIRLINE_NAME_FREQUENT_FLYER(458), + + /// Licenсe number. + LICENSE_NUMBER(459), + + /// In tanks. + IN_TANKS(460), + + /// Except in tanks. + EXEPT_IN_TANKS(461), + + /// Passenger using the Fast Track service in the airport. + FAST_TRACK(462), + + /// Owner. + OWNER(463), + + /// MRZ strings from ICAO RFID. + MRZ_STRINGS_ICAO_RFID(464), + + /// The number of times a card with this number has been issued. + NUMBER_OF_CARD_ISSUANCE(465), + + /// Number of card issuance checksum. + NUMBER_OF_CARD_ISSUANCE_CHECKSUM(466), + + /// Number of card issuance check digit. + NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT(467), + + /// Century of birth. + CENTURY_DATE_OF_BIRTH(468), + + /// DL class code A3 valid from. + DL_CLASSCODE_A3_FROM(469), + + /// DL class code A3 valid to. + DL_CLASSCODE_A3_TO(470), + + /// DL class code A3 valid notes. + DL_CLASSCODE_A3_NOTES(471), + + /// DL class code C2 valid from. + DL_CLASSCODE_C2_FROM(472), + + /// DL class code C2 valid to. + DL_CLASSCODE_C2_TO(473), + + /// DL class code C2 valid notes. + DL_CLASSCODE_C2_NOTES(474), + + /// DL class code B2 valid from. + DL_CLASSCODE_B2_FROM(475), + + /// DL class code B2 valid to. + DL_CLASSCODE_B2_TO(476), + + /// DL class code B2 valid notes. + DL_CLASSCODE_B2_NOTES(477), + + /// DL class code D2 valid from. + DL_CLASSCODE_D2_FROM(478), + + /// DL class code B2 valid to. + DL_CLASSCODE_D2_TO(479), + + /// DL class code B2 valid notes. + DL_CLASSCODE_D2_NOTES(480), + + /// DL class code B2E valid from. + DL_CLASSCODE_B2E_FROM(481), + + /// DL class code B2E valid to. + DL_CLASSCODE_B2E_TO(482), + + /// DL class code B2E valid notes. + DL_CLASSCODE_B2E_NOTES(483), + + /// DL class code G valid from. + DL_CLASSCODE_G_FROM(484), + + /// DL class code G valid to. + DL_CLASSCODE_G_TO(485), + + /// DL class code G valid notes. + DL_CLASSCODE_G_NOTES(486), + + /// DL class code J valid from. + DL_CLASSCODE_J_FROM(487), + + /// DL class code J valid to. + DL_CLASSCODE_J_TO(488), + + /// DL class code J valid notes. + DL_CLASSCODE_J_NOTES(489), + + /// DL class code LC valid from. + DL_CLASSCODE_LC_FROM(490), + + /// DL class code LC valid to. + DL_CLASSCODE_LC_TO(491), + + /// DL class code LC valid notes. + DLC_LASSCODE_LC_NOTES(492), + + /// Bank card number. + BANKCARDNUMBER(493), + + /// Bank card validity. + BANKCARDVALIDTHRU(494), + + /// Tax number. + TAX_NUMBER(495), + + /// Health insurance number. + HEALTH_NUMBER(496), + + /// Grandfather's name. + GRANDFATHERNAME(497), + + /// Selectee indicator. + SELECTEE_INDICATOR(498), + + /// Mother's surname. + MOTHER_SURNAME(499), + + /// Mother's given name. + MOTHER_GIVENNAME(500), + + /// Father's surname. + FATHER_SURNAME(501), + + /// Father's given name. + FATHER_GIVENNAME(502), + + /// Mother's date of birth. + MOTHER_DATEOFBIRTH(503), + + /// Father's date of birth. + FATHER_DATEOFBIRTH(504), + + /// Mother's personal number. + MOTHER_PERSONALNUMBER(505), + + /// Father's personal number. + FATHER_PERSONALNUMBER(506), + + /// Mother's place of birth. + MOTHER_PLACEOFBIRTH(507), + + /// Father's place of birth. + FATHER_PLACEOFBIRTH(508), + + /// Mother's country of birth. + MOTHER_COUNTRYOFBIRTH(509), + + /// Father's country of birth. + FATHER_COUNTRYOFBIRTH(510), + + /// Date of first renewal. + DATE_FIRST_RENEWAL(511), + + /// Date of second renewal. + DATE_SECOND_RENEWAL(512), + + /// Place of examination. + PLACE_OF_EXAMINATION(513), + + /// Application number. + APPLICATION_NUMBER(514), + + /// Voucher number. + VOUCHER_NUMBER(515), + + /// Authorization number. + AUTHORIZATION_NUMBER(516), + + /// Faculty. + FACULTY(517), + + /// Form of education. + FORM_OF_EDUCATION(518), + + /// DNI number. + DNI_NUMBER(519), + + /// Retirement number. + RETIREMENT_NUMBER(520), + + /// Professional Id number. + PROFESSIONAL_ID_NUMBER(521), + + /// Age at issue. + AGE_AT_ISSUE(522), + + /// Years since issue. + YEARS_SINCE_ISSUE(523), + + /// DL class code BTP valid from. + DLCLASSCODE_BTP_FROM(524), + + /// DL class code BTP valid notes. + DLCLASSCODE_BTP_NOTES(525), + + /// DL class code BTP valid to. + DLCLASSCODE_BTP_TO(526), + + /// DL class code C3 valid from. + DLCLASSCODE_C3_FROM(527), + + /// DL class code C3 valid notes. + DLCLASSCODE_C3_NOTES(528), + + /// DL class code C3 valid to. + DLCLASSCODE_C3_TO(529), + + /// DL class code E valid from. + DLCLASSCODE_E_FROM(530), + + /// DL class code E valid notes. + DLCLASSCODE_E_NOTES(531), + + /// DL class code E valid to. + DLCLASSCODE_E_TO(532), + + /// DL class code F valid from. + DLCLASSCODE_F_FROM(533), + + /// DL class code F valid notes. + DLCLASSCODE_F_NOTES(534), + + /// DL class code F valid to. + DLCLASSCODE_F_TO(535), + + /// DL class code FA valid from. + DLCLASSCODE_FA_FROM(536), + + /// DL class code FA valid notes. + DLCLASSCODE_FA_NOTES(537), + + /// DL class code FA valid to. + DLCLASSCODE_FA_TO(538), + + /// DL class code FA1 valid from. + DLCLASSCODE_FA1_FROM(539), + + /// DL class code FA1 valid notes. + DLCLASSCODE_FA1_NOTES(540), + + /// DL class code FA1 valid to. + DLCLASSCODE_FA1_TO(541), + + /// DL class code FB valid from. + DLCLASSCODE_FB_FROM(542), + + /// DL class code FB valid notes. + DLCLASSCODE_FB_NOTES(543), + + /// DL class code FB valid to. + DLCLASSCODE_FB_TO(544), + + /// DL class code G1 valid from. + DLCLASSCODE_G1_FROM(545), + + /// DL class code G1 valid notes. + DLCLASSCODE_G1_NOTES(546), + + /// DL class code G1 valid to. + DLCLASSCODE_G1_TO(547), + + /// DL class code H valid from. + DLCLASSCODE_H_FROM(548), + + /// DL class code H valid notes. + DLCLASSCODE_H_NOTES(549), + + /// DL class code H valid to. + DLCLASSCODE_H_TO(550), + + /// DL class code I valid from. + DLCLASSCODE_I_FROM(551), + + /// DL class code I valid notes. + DLCLASSCODE_I_NOTES(552), + + /// DL class code I valid to. + DLCLASSCODE_I_TO(553), + + /// DL class code K valid from. + DLCLASSCODE_K_FROM(554), + + /// DL class code K valid notes. + DLCLASSCODE_K_NOTES(555), + + /// DL class code K valid to. + DLCLASSCODE_K_TO(556), + + /// DL class code LK valid from. + DLCLASSCODE_LK_FROM(557), + + /// DL class code LK valid notes. + DLCLASSCODE_LK_NOTES(558), + + /// DL class code LK valid to. + DLCLASSCODE_LK_TO(559), + + /// DL class code N valid from. + DLCLASSCODE_N_FROM(560), + + /// DL class code N valid notes. + DLCLASSCODE_N_NOTES(561), + + /// DL class code N valid to. + DLCLASSCODE_N_TO(562), + + /// DL class code S valid from. + DLCLASSCODE_S_FROM(563), + + /// DL class code S valid notes. + DLCLASSCODE_S_NOTES(564), + + /// DL class code S valid to. + DLCLASSCODE_S_TO(565), + + /// DL class code TB valid from. + DLCLASSCODE_TB_FROM(566), + + /// DL class code TB valid notes. + DLCLASSCODE_TB_NOTES(567), + + /// DL class code TB valid to. + DLCLASSCODE_TB_TO(568), + + /// DL class code TM valid from. + DLCLASSCODE_TM_FROM(569), + + /// DL class code TM valid notes. + DLCLASSCODE_TM_NOTES(570), + + /// DL class code TM valid to. + DLCLASSCODE_TM_TO(571), + + /// DL class code TR valid from. + DLCLASSCODE_TR_FROM(572), + + /// DL class code TR valid notes. + DLCLASSCODE_TR_NOTES(573), + + /// DL class code TR valid to. + DLCLASSCODE_TR_TO(574), + + /// DL class code TV valid from. + DLCLASSCODE_TV_FROM(575), + + /// DL class code TV valid notes. + DLCLASSCODE_TV_NOTES(576), + + /// DL class code TV valid to. + DLCLASSCODE_TV_TO(577), + + /// DL class code V valid from. + DLCLASSCODE_V_FROM(578), + + /// DL class code V valid notes. + DLCLASSCODE_V_NOTES(579), + + /// DL class code V valid to. + DLCLASSCODE_V_TO(580), + + /// DL class code W valid from. + DLCLASSCODE_W_FROM(581), + + /// DL class code W valid notes. + DLCLASSCODE_W_NOTES(582), + + /// DL class code W valid to. + DLCLASSCODE_W_TO(583), + + /// Uniform Resource Locator. + URL(584), + + /// Caliber. + CALIBER(585), + + /// Model. + MODEL(586), + + /// Make. + MAKE(587), + + /// Number of cylinders. + NUMBER_OF_CYLINDERS(588), + + /// Surname of husband after registration. + SURNAME_OF_HUSBAND_AFTER_REGISTRATION(589), + + /// Surname of wife after registration. + SURNAME_OF_WIFE_AFTER_REGISTRATION(590), + + /// Wife's date of birth. + DATE_OF_BIRTH_OF_WIFE(591), + + /// Husband's date of birth. + DATE_OF_BIRTH_OF_HUSBAND(592), + + /// Citizenship of the first person. + CITIZENSHIP_OF_FIRST_PERSON(593), + + /// Citizenship of the second person. + CITIZENSHIP_OF_SECOND_PERSON(594), + + /// Card Security Code. + CVV(595), + + /// Date of insurance expiry. + DATE_OF_INSURANCE_EXPIRY(596), + + /// Mortgage by. + MORTGAGE_BY(597), + + /// Old document number. + OLD_DOCUMENT_NUMBER(598), + + /// Old date of issue. + OLD_DATE_OF_ISSUE(599), + + /// Old place of issue. + OLD_PLACE_OF_ISSUE(600), + + /// DL category LR valid from. + DLCLASSCODE_LR_FROM(601), + + /// DL category LR valid to. + DLCLASSCODE_LR_TO(602), + + /// DL category LR valid notes. + DLCLASSCODE_LR_NOTES(603), + + /// DL category MR valid from. + DLCLASSCODE_MR_FROM(604), + + /// DL category MR valid to. + DLCLASSCODE_MR_TO(605), + + /// DL category MR valid notes. + DLCLASSCODE_MR_NOTES(606), + + /// DL category HR valid from. + DLCLASSCODE_HR_FROM(607), + + /// DL category HR valid to. + DLCLASSCODE_HR_TO(608), + + /// DL category HR valid notes. + DLCLASSCODE_HR_NOTES(609), + + /// DL category HC valid from. + DLCLASSCODE_HC_FROM(610), + + /// DL category HC valid to. + DLCLASSCODE_HC_TO(611), + + /// DL category HC valid notes. + DLCLASSCODE_HC_NOTES(612), + + /// DL category MC valid from. + DLCLASSCODE_MC_FROM(613), + + /// DL category MC valid to. + DLCLASSCODE_MC_TO(614), + + /// DL category MC valid notes. + DLCLASSCODE_MC_NOTES(615), + + /// DL category RE valid from. + DLCLASSCODE_RE_FROM(616), + + /// DL category RE valid to. + DLCLASSCODE_RE_TO(617), + + /// DL category RE valid notes. + DLCLASSCODE_RE_NOTES(618), + + /// DL category R valid from. + DLCLASSCODE_R_FROM(619), + + /// DL category R valid to. + DLCLASSCODE_R_TO(620), + + /// DL category R valid notes. + DLCLASSCODE_R_NOTES(621), + + /// DL category CA valid from. + DLCLASSCODE_CA_FROM(622), + + /// DL category CA valid to. + DLCLASSCODE_CA_TO(623), + + /// DL category CA valid notes. + DLCLASSCODE_CA_NOTES(624), + + /// Citizenship status. + CITIZENSHIP_STATUS(625), + + /// Start date of military service. + MILITARY_SERVICE_FROM(626), + + /// End date of military service. + MILITARY_SERVICE_TO(627), + + /// DL category NT valid notes. + DLCLASSCODE_NT_FROM(628), + + /// DL category NT valid to. + DLCLASSCODE_NT_TO(629), + + /// DL category NT valid notes. + DLCLASSCODE_NT_NOTES(630), + + /// DL category TN valid from. + DLCLASSCODE_TN_FROM(631), + + /// DL category TN valid to. + DLCLASSCODE_TN_TO(632), + + /// DL category TN valid notes. + DLCLASSCODE_TN_NOTES(633), + + /// DL category D3 valid from. + DLCLASSCODE_D3_FROM(634), + + /// DL category D3 valid to. + DLCLASSCODE_D3_TO(635), + + /// DL category D3 valid notes. + DLCLASSCODE_D3_NOTES(636), + + /// Alternative date of expiry. + ALT_DATE_OF_EXPIRY(637), + + /// DL category CD valid from. + DLCLASSCODE_CD_FROM(638), + + /// DL category CD valid to. + DLCLASSCODE_CD_TO(639), + + /// DL category CD valid notes. + DLCLASSCODE_CD_NOTES(640), + + /// End date of payment period. + PAYMENT_PERIOD_TO(643), + + /// Start date of payment period. + PAYMENT_PERIOD_FROM(642), + + /// Issuer identification number (IIN). + ISSUER_IDENTIFICATION_NUMBER(641), + + /// Vaccination certificate identifier. + VACCINATION_CERTIFICATE_IDENTIFIER(644), + + /// First name. + FIRST_NAME(645), + + /// Date of arrival. + DATE_OF_ARRIVAL(646), + + /// Second name. + SECOND_NAME(647), + + /// Third name. + THIRD_NAME(648), + + /// Fourth name. + FOURTH_NAME(649), + + /// Last name. + LAST_NAME(650), + + /// DL class code RM valid from. + DLCLASSCODE_RM_FROM(651), + + /// DL class code RM notes. + DLCLASSCODE_RM_NOTES(652), + + /// DL class code RM valid to. + DLCLASSCODE_RM_TO(653), + + /// DL class code PW valid from. + DLCLASSCODE_PW_FROM(654), + + /// DL class code PW notes. + DLCLASSCODE_PW_NOTES(655), + + /// DL class code PW valid to. + DLCLASSCODE_PW_TO(656), + + DLCLASSCODE_EB_FROM(657), + + DLCLASSCODE_EB_NOTES(658), + + DLCLASSCODE_EB_TO(659), + + DLCLASSCODE_EC_FROM(660), + + DLCLASSCODE_EC_NOTES(661), + + DLCLASSCODE_EC_TO(662), + + DLCLASSCODE_EC1_FROM(663), + + DLCLASSCODE_EC1_NOTES(664), + + DLCLASSCODE_EC1_TO(665), + + PLACE_OF_BIRTH_CITY(666), + + YEAR_OF_BIRTH(667), + + YEAR_OF_EXPIRY(668), + + GRANDFATHER_NAME_MATERNAL(669), + + FIRST_SURNAME(670), + + MONTH_OF_BIRTH(671), + + ADDRESS_FLOOR_NUMBER(672), + + ADDRESS_ENTRANCE(673), + + ADDRESS_BLOCK_NUMBER(674), + + ADDRESS_STREET_NUMBER(675), + + ADDRESS_STREET_TYPE(676), + + ADDRESS_CITY_SECTOR(677), + + ADDRESS_COUNTY_TYPE(678), + + ADDRESS_CITY_TYPE(679), + + ADDRESS_BUILDING_TYPE(680), + + /// Date of retirement. + DATE_OF_RETIREMENT(681), + + /// Document status. + DOCUMENT_STATUS(682), + + /// Signature. + SIGNATURE(683), + + /// Unique certificate identifier. + UNIQUE_CERTIFICATE_IDENTIFIER(684), + + /// Email. + EMAIL(685), + + /// Date of specimen collection. + DATE_OF_SPECIMEN_COLLECTION(686), + + /// Type of testing. + TYPE_OF_TESTING(687), + + /// Result of testing. + RESULT_OF_TESTING(688), + + /// Method of testing. + METHOD_OF_TESTING(689), + + // Digital travel authorization number. + DIGITAL_TRAVEL_AUTHORIZATION_NUMBER(690), + + /// Date of first positive test result. + DATE_OF_FIRST_POSITIVE_TEST_RESULT(691), + + EF_CARD_ACCESS(692), + + SHORT_FLIGHT_NUMBER(693), + + AIRLINE_CODE(694), + + MVC_AGENCY(695), + + ISSUING_STATE_CODE_ALPHA_2(696), + + NATIONALITY_CODE_ALPHA_2(697), + + FIRST_ISSUE_DATE_CHECKDIGIT(698), + + FIRST_ISSUE_DATE_CHECKSUM(699), + + EXPIRY_TIMESTAMP(700), + + COMMERCIAL_INDICATOR(701), + + NON_DOMICILED_INDICATOR(702), + + JURISDICTION_SPECIFIC_DATA(703), + + DATA_DATE_OF_EXPIRY(704), + + CONSUL(705); + + const FieldType(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static FieldType? getByValue(int? i) { + if (i == null) return null; + try { + return FieldType.values.firstWhere((x) => x.value == i); + } catch (_) { + return FieldType.UNKNOWN; + } + } + + static List? fromIntList(List? input) { + if (input == null) return null; + List list = []; + for (int item in input) { + list.addSafe(getByValue(item)); + } + return list; + } +} diff --git a/lib/src/results/visual_results/graphic_field.dart b/lib/src/results/visual_results/graphic_field.dart new file mode 100644 index 0000000000..c12edbb175 --- /dev/null +++ b/lib/src/results/visual_results/graphic_field.dart @@ -0,0 +1,79 @@ +// +// GraphicField.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, describing single graphic field extracted. +class GraphicField { + /// Identifies zone whence data is extracted. + ResultType get sourceType => _sourceType; + late ResultType _sourceType; + + /// Graphic field logical type. + GraphicFieldType get fieldType => _fieldType; + late GraphicFieldType _fieldType; + + /// Graphic field symbolic name. + String get fieldName => _fieldName; + late String _fieldName; + + /// Light type. + Lights get light => _light; + late Lights _light; + + /// Light symbolic name. + String get lightName => _lightName; + late String _lightName; + + /// An index of the document page whence the graphic field is extracted. + int get pageIndex => _pageIndex; + late int _pageIndex; + + /// Original page index. + int get originalPageIndex => _originalPageIndex; + late int _originalPageIndex; + + /// An image. + Uint8List? get value => _value; + Uint8List? _value; + + /// Field area coordinates on the general image. + Rect? get fieldRect => _fieldRect; + Rect? _fieldRect; + + /// Allows you to deserialize object. + static GraphicField? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = GraphicField(); + + result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!; + result._fieldType = GraphicFieldType.getByValue(jsonObject["fieldType"])!; + result._light = Lights.getByValue(jsonObject["light"])!; + result._pageIndex = jsonObject["pageIndex"]; + result._originalPageIndex = jsonObject["originalPageIndex"]; + result._fieldName = jsonObject["fieldName"]; + result._lightName = jsonObject["lightName"]; + result._value = _bytesFromBase64(jsonObject["value"]); + result._fieldRect = Rect.fromJson(jsonObject["fieldRect"]); + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "sourceType": sourceType.value, + "fieldType": fieldType.value, + "fieldName": fieldName, + "light": light.value, + "lightName": lightName, + "pageIndex": pageIndex, + "originalPageIndex": originalPageIndex, + "value": _bytesToBase64(value), + "fieldRect": fieldRect?.toJson(), + }.clearNulls(); +} diff --git a/lib/src/results/visual_results/graphic_field_type.dart b/lib/src/results/visual_results/graphic_field_type.dart new file mode 100644 index 0000000000..4b38dc0b00 --- /dev/null +++ b/lib/src/results/visual_results/graphic_field_type.dart @@ -0,0 +1,97 @@ +// +// GraphicFieldType.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Enumeration contains identifiers that determine the logical type +/// of the graphic data obtained while reading the document filling fields or barcodes. +enum GraphicFieldType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Photo of the document owner. + PORTRAIT(201), + + /// Fingerprint of the document owner. + FINGERPR(202), + + /// Iris of the document owner. + EYE(203), + + /// Signature of the document owner. + SIGNATURE(204), + + /// Barcode image. + BAR_CODE(205), + + /// Image of the citizenship proving document. + PROOF_OF_CITIZENSHIP(206), + + /// Document image. + DOCUMENT_IMAGE(207), + + /// Color dynamic area in the document. + COLOR_DYNAMIC(209), + + /// Ghost portrait. + GHOST_PORTRAIT(210), + + /// Stamp. + STAMP(211), + + /// Portrait of child. + PORTRAIT_OF_CHILD(212), + + /// Contact chip. + CONTACT_CHIP(213), + + /// Other image type. + OTHER(250), + + /// Fingerprint, left thumb. + FINGER_LEFT_THUMB(300), + + /// Fingerprint, left index. + FINGER_LEFT_INDEX(301), + + /// Fingerprint, left middle. + FINGER_LEFT_MIDDLE(302), + + /// Fingerprint, left ring. + FINGER_LEFT_RING(303), + + /// Fingerprint, left little. + FINGER_LEFT_LITTLE(304), + + /// Fingerprint, right thumb. + FINGER_RIGHT_THUMB(305), + + /// Fingerprint, right index. + FINGER_RIGHT_INDEX(306), + + /// Fingerprint, right middle. + FINGER_RIGHT_MIDDLE(307), + + /// Fingerprint, right ring. + FINGER_RIGHT_RING(308), + + /// Fingerprint, right little. + FINGER_RIGHT_LITTLE(309); + + const GraphicFieldType(this.value); + final int value; + + static GraphicFieldType? getByValue(int? i) { + if (i == null) return null; + try { + return GraphicFieldType.values.firstWhere((x) => x.value == i); + } catch (_) { + return GraphicFieldType.UNKNOWN; + } + } +} diff --git a/lib/src/results/visual_results/graphic_result.dart b/lib/src/results/visual_results/graphic_result.dart new file mode 100644 index 0000000000..6443389ebd --- /dev/null +++ b/lib/src/results/visual_results/graphic_result.dart @@ -0,0 +1,32 @@ +// +// GraphicResult.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, containing all graphic fields extracted. +class GraphicResult { + /// An array of graphic results. + List get fields => _fields; + List _fields = []; + + /// Allows you to deserialize object. + static GraphicResult? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = GraphicResult(); + + for (var item in jsonObject["fields"]) { + result._fields.addSafe(GraphicField.fromJson(item)); + } + + return result; + } + + /// Allows you to serialize object. + Map toJson() => + {"fields": fields.map((e) => e.toJson()).toList()}.clearNulls(); +} diff --git a/lib/src/results/visual_results/rfid_origin.dart b/lib/src/results/visual_results/rfid_origin.dart new file mode 100644 index 0000000000..d39b4716c8 --- /dev/null +++ b/lib/src/results/visual_results/rfid_origin.dart @@ -0,0 +1,45 @@ +// +// RFIDOrigin.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure containing rfid origin values. +class RFIDOrigin { + int get dg => _dg; + late int _dg; + + int get dgTag => _dgTag; + late int _dgTag; + + int get entryView => _entryView; + late int _entryView; + + int get tagEntry => _tagEntry; + late int _tagEntry; + + /// Allows you to deserialize object. + static RFIDOrigin? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDOrigin(); + + result._dg = jsonObject["dg"]; + result._dgTag = jsonObject["dgTag"]; + result._entryView = jsonObject["entryView"]; + result._tagEntry = jsonObject["tagEntry"]; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "dg": dg, + "dgTag": dgTag, + "entryView": entryView, + "tagEntry": tagEntry, + }.clearNulls(); +} diff --git a/lib/src/results/visual_results/text_field.dart b/lib/src/results/visual_results/text_field.dart new file mode 100644 index 0000000000..1e9079384e --- /dev/null +++ b/lib/src/results/visual_results/text_field.dart @@ -0,0 +1,105 @@ +// +// TextField.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Serves for storing information from one text data field. +class TextField { + /// Textual field logical type. + FieldType get fieldType => _fieldType; + late FieldType _fieldType; + + /// Textual field symbolic name. + String get fieldName => _fieldName; + late String _fieldName; + + /// ID of language-culture to differentiate one field of the same type from + /// another (for example Belarus Passport Page # 31 – Belarusian and Russian + /// fields of the same type). + LCID get lcid => _lcid; + late LCID _lcid; + + /// LCID symbolic name. + String get lcidName => _lcidName; + late String _lcidName; + + /// Value from the field. + String? get value => _value; + String? _value; + + Value? getValue() => _getValue; + Value? _getValue; + + /// An array of values. + List get values => _values; + List _values = []; + + /// Textual field check result. + CheckResult get status => _status; + late CheckResult _status; + + /// List of all comparison statuses for this field type. + List get comparisonList => _comparisonList; + List _comparisonList = []; + + /// List of all validity statuses for this field type. + List get validityList => _validityList; + List _validityList = []; + + /// Comparison result of the field. + CheckResult get comparisonStatus => _comparisonStatus; + late CheckResult _comparisonStatus; + + /// Validity result of the field + CheckResult get validityStatus => _validityStatus; + late CheckResult _validityStatus; + + /// Allows you to deserialize object. + static TextField? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TextField(); + + result._fieldType = FieldType.getByValue(jsonObject["fieldType"])!; + result._lcid = LCID.getByValue(jsonObject["lcid"])!; + result._status = CheckResult.getByValue(jsonObject["status"])!; + result._comparisonStatus = + CheckResult.getByValue(jsonObject["comparisonStatus"])!; + result._validityStatus = + CheckResult.getByValue(jsonObject["validityStatus"])!; + result._lcidName = jsonObject["lcidName"]; + result._fieldName = jsonObject["fieldName"]; + result._value = jsonObject["value"]; + result._getValue = Value.fromJson(jsonObject["getValue"]); + for (var item in jsonObject["values"]) { + result._values.addSafe(Value.fromJson(item)); + } + for (var item in jsonObject["comparisonList"]) { + result._comparisonList.addSafe(Comparison.fromJson(item)); + } + for (var item in jsonObject["validityList"]) { + result._validityList.addSafe(Validity.fromJson(item)); + } + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "fieldType": fieldType.value, + "fieldName": fieldName, + "lcid": lcid.value, + "lcidName": lcidName, + "value": value, + "getValue": getValue()?.toJson(), + "values": values.map((e) => e.toJson()).toList(), + "status": status.value, + "comparisonList": comparisonList.map((e) => e.toJson()).toList(), + "validityList": validityList.map((e) => e.toJson()).toList(), + "comparisonStatus": comparisonStatus.value, + "validityStatus": validityStatus.value, + }.clearNulls(); +} diff --git a/lib/src/results/visual_results/text_result.dart b/lib/src/results/visual_results/text_result.dart new file mode 100644 index 0000000000..9214c4da26 --- /dev/null +++ b/lib/src/results/visual_results/text_result.dart @@ -0,0 +1,62 @@ +// +// TextResult.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure, containing all text data extracted and recognized from the document. +class TextResult { + /// Textual fields check result. + CheckResult get status => _status; + late CheckResult _status; + + /// Comparison status of all text fields. + CheckResult get comparisonStatus => _comparisonStatus; + late CheckResult _comparisonStatus; + + /// Validity status of all text fields. + CheckResult get validityStatus => _validityStatus; + late CheckResult _validityStatus; + + /// List of all available origin source with overall validity + /// status of all text fields of a particular source type. + List get availableSourceList => _availableSourceList; + List _availableSourceList = []; + + /// An array of textual results. + List get fields => _fields; + List _fields = []; + + /// Allows you to deserialize object. + static TextResult? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TextResult(); + + result._status = CheckResult.getByValue(jsonObject["status"])!; + result._comparisonStatus = + CheckResult.getByValue(jsonObject["comparisonStatus"])!; + result._validityStatus = + CheckResult.getByValue(jsonObject["validityStatus"])!; + for (var item in jsonObject["availableSourceList"]) { + result._availableSourceList.addSafe(TextSource.fromJson(item)); + } + for (var item in jsonObject["fields"]) { + result._fields.addSafe(TextField.fromJson(item)); + } + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "status": status.value, + "comparisonStatus": comparisonStatus.value, + "validityStatus": validityStatus.value, + "availableSourceList": + availableSourceList.map((e) => e.toJson()).toList(), + "fields": fields.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/results/visual_results/text_source.dart b/lib/src/results/visual_results/text_source.dart new file mode 100644 index 0000000000..3006e8c8f6 --- /dev/null +++ b/lib/src/results/visual_results/text_source.dart @@ -0,0 +1,44 @@ +// +// TextSource.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../../flutter_document_reader_api.dart"; + +/// Structure describing single value of the field. +class TextSource { + /// The value's origin source. + ResultType get sourceType => _sourceType; + late ResultType _sourceType; + + /// The value's origin source string description. + String? get source => _source; + String? _source; + + /// Overall validity status of all text fields of this source type. + CheckResult get validityStatus => _validityStatus; + late CheckResult _validityStatus; + + /// Allows you to deserialize object. + static TextSource? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TextSource(); + + result._sourceType = ResultType.getByValue(jsonObject["sourceType"])!; + result._source = jsonObject["source"]; + result._validityStatus = + CheckResult.getByValue(jsonObject["validityStatus"])!; + + return result; + } + + /// Allows you to serialize object. + Map toJson() => { + "sourceType": sourceType.value, + "source": source, + "validityStatus": validityStatus.value, + }.clearNulls(); +} diff --git a/lib/src/rfid/PAAttribute.dart b/lib/src/rfid/PAAttribute.dart deleted file mode 100644 index 17ed9396a1..0000000000 --- a/lib/src/rfid/PAAttribute.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// PAAttribute.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class PAAttribute { - String get type => _type; - late String _type; - - String get value => _value; - late String _value; - - @visibleForTesting - static PAAttribute? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = PAAttribute(); - - result._type = jsonObject["type"] ?? ""; - result._value = jsonObject["value"] ?? ""; - - return result; - } - - @visibleForTesting - Map toJson() => { - "type": type, - "value": value, - }.clearNulls(); -} diff --git a/lib/src/rfid/PAResourcesIssuer.dart b/lib/src/rfid/PAResourcesIssuer.dart deleted file mode 100644 index 927c076102..0000000000 --- a/lib/src/rfid/PAResourcesIssuer.dart +++ /dev/null @@ -1,40 +0,0 @@ -// -// PAResourcesIssuer.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class PAResourcesIssuer { - Uint8List get data => _data; - late Uint8List _data; - - String? get friendlyName => _friendlyName; - String? _friendlyName; - - List get attributes => _attributes; - List _attributes = []; - - @visibleForTesting - static PAResourcesIssuer? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = PAResourcesIssuer(); - - result._data = _bytesFromBase64(jsonObject["data"])!; - result._friendlyName = jsonObject["friendlyName"]; - for (var item in jsonObject["attributes"]) - result._attributes.addSafe(PAAttribute.fromJson(item)); - - return result; - } - - @visibleForTesting - Map toJson() => { - "data": _bytesToBase64(data), - "friendlyName": friendlyName, - "attributes": attributes.map((e) => e.toJson()).toList(), - }.clearNulls(); -} diff --git a/lib/src/rfid/PKDCertificate.dart b/lib/src/rfid/PKDCertificate.dart deleted file mode 100644 index a13a622772..0000000000 --- a/lib/src/rfid/PKDCertificate.dart +++ /dev/null @@ -1,103 +0,0 @@ -// -// PKDCertificate.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Class contains information about PKD certificate. -class PKDCertificate { - /// Certificate in binary type. - ByteData get binaryData => _binaryData; - ByteData _binaryData; - - /// Indicates type of certificate. - PKDResourceType get resourceType => _resourceType; - PKDResourceType _resourceType; - - /// Private key in binary type. - ByteData? get privateKey => _privateKey; - ByteData? _privateKey; - - PKDCertificate(ByteData binaryData, PKDResourceType resourceType, - {ByteData? privateKey}) - : _binaryData = binaryData, - _resourceType = resourceType, - _privateKey = privateKey; - - @visibleForTesting - static PKDCertificate? fromJson(jsonObject) { - if (jsonObject == null) return null; - return PKDCertificate( - _dataFromBase64(jsonObject["binaryData"])!, - PKDResourceType.getByValue(jsonObject["resourceType"])!, - privateKey: _dataFromBase64(jsonObject["privateKey"]), - ); - } - - @visibleForTesting - Map toJson() => { - "binaryData": _dataToBase64(binaryData), - "resourceType": resourceType.value, - "privateKey": _dataToBase64(privateKey) - }.clearNulls(); -} - -enum PKDResourceType { - /// Will be returned if [getByValue] if a non-existent was passed. - UNKNOWN(-1), - - CERTIFICATE_PA(0), - - CERTIFICATE_TA(1), - - LDIF(2), - - CRL(3), - - ML(4), - - DEFL(5), - - DEVL(6), - - BL(7); - - const PKDResourceType(this.value); - final int value; - - static PKDResourceType? getByValue(int? i) { - if (i == null) return null; - try { - return PKDResourceType.values.firstWhere((x) => x.value == i); - } catch (_) { - return PKDResourceType.UNKNOWN; - } - } - - static PKDResourceType getType(String value) { - switch (value) { - case "pa": - return CERTIFICATE_PA; - case "ta": - return CERTIFICATE_TA; - case "ldif": - return LDIF; - case "crl": - return CRL; - case "ml": - return ML; - case "defl": - return DEFL; - case "devl": - return DEVL; - case "bl": - return BL; - default: - return CERTIFICATE_PA; - } - } -} diff --git a/lib/src/rfid/RFIDErrorCodes.dart b/lib/src/rfid/RFIDErrorCodes.dart deleted file mode 100644 index e76246123d..0000000000 --- a/lib/src/rfid/RFIDErrorCodes.dart +++ /dev/null @@ -1,144 +0,0 @@ -// -// RFIDErrorCodes.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -enum RFIDErrorCodes { - UNDEFINED(0), - NO_ERROR(0x00000001), - ALREADY_DONE(0x00000002), - FAILED(0xffffffff), - NO_CHIP_DETECTED(0x80010001), - NOT_AVAILABLE(0x80010002), - INVALID_PARAMETER(0x80010004), - NOT_INITIALIZED(0x80010005), - NOT_ENOUGH_MEMORY(0x80010006), - INVALID_DIRECTORY(0x80010008), - UNKNOWN_COMMAND(0x80010009), - FILE_IO_ERROR(0x8001000A), - BUSY(0x8001000B), - OLD_FIRMWARE(0x8001000C), - PCSC_FAILED(0x80020000), - PCSC_READER_NOT_AVAILABLE(0x80020001), - PCSC_CANT_CONNECT_CARD(0x80020002), - PCSC_CARD_IS_NOT_CONNECTED(0x80020003), - PCSC_OPERATION_CANCELLED(0x80020004), - PCSC_CARD_IS_BUSY(0x80020005), - PCSC_FAILED_SCARD(0x80020006), - PCSC_EXT_LE_FAILED(0x80020010), - LAYER6_SECURITY_MANAGER(0x86000000), - LAYER6_APP_SELECTION_FAILURE(0x86000001), - LAYER6_MUTUAL_AUTH_MAC_FAIL(0x86000100), - LAYER6_MUTUAL_AUTH_ENC_FAIL(0x86000101), - LAYER6_MUTUAL_AUTH_FAILURE(0x86000102), - LAYER6_MUTUAL_AUTH_FAILURE_DATA(0x86000103), - LAYER6_SM_DO_8E_MISSING(0x86000200), - LAYER6_SM_DO_87_MISSING(0x86000201), - LAYER6_SM_DO_99_MISSING(0x86000202), - LAYER6_SM_MAC_INCORRECT(0x86000203), - LAYER6_SM_DO_87_INCORRECT(0x86000204), - LAYER6_NON_TLV_RESPONSE_DATA(0x86000300), - LAYER6_WRONG_RND_ICC_LENGTH(0x86000301), - LAYER6_INT_AUTH_FAILURE(0x86000302), - LAYER6_MSE_SET_KAT_FAILURE(0x86000303), - LAYER6_MSE_SET_DST_FAILURE(0x86000304), - LAYER6_PSO_CERTIFICATE_FAILURE(0x86000305), - LAYER6_MSE_SET_AT_FAILURE(0x86000306), - LAYER6_GET_CHALLENGE_FAILURE(0x86000307), - LAYER6_EXT_AUTH_FAILURE(0x86000308), - LAYER6_GENERAL_AUTH_FAILURE(0x86000309), - LAYER6_FILE_NOT_FOUND(0x80006A82), - LAYER6_FILE_EOF1(0x80006282), - LAYER6_FILE_EOF2(0x80006B00), - LAYER6_INCORRECT_PARAMS(0x80006A80), - LAYER6_NO_REFERENCE_DATA(0x80006A88), - LAYER6_PWD_SUSPEND(0x800063C1), - LAYER6_PWD_BLOCKED(0x800063C0), - LAYER6_PWD_DEACTIVATED(0x80006283), - LAYER6_PWD_BLOCKED2(0x80006983), - LAYER6_PWD_DEACTIVATED2(0x80006984), - LAYER6_PWD_SUSPEND2(0x80006985), - LAYER6_PWD_FAILED(0x801063C0), - NOT_PERFORMED(0x83000000), - SESSION_IS_CLOSED(0x83000001), - SESSION_TERMINAL_UNSUPPORTED_OPERATION(0x83000002), - SESSION_TERMINAL_TYPE_UNKNOWN(0x83000010), - SESSION_TERMINAL_TYPE_BAD_CERTIFICATE(0x83000011), - SESSION_TERMINAL_TYPE_NOT_SET(0x83000012), - SESSION_PROCEDURE_TYPE_UNKNOWN(0x83000013), - Session_Procedure_Type_Unsupported(0x83000014), - SESSION_PROCEDURE_TYPE_NOT_SET(0x83000015), - SESSION_ACCESS_KEY_UNKNOWN_TYPE(0x83000016), - SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE(0x83000017), - SESSION_ACCESS_KEY_INCORRECT_SM_TYPE(0x83000018), - SESSION_ACCESS_KEY_RESTRICTED(0x83000019), - SESSION_ACCESS_KEY_INCORRECT_DATA(0x8300001A), - SESSION_ACCESS_KEY_NOT_SET(0x8300001B), - SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED(0x8300001C), - SESSION_ACCESS_CONTROL_UNKNOWN_TYPE(0x83000020), - SESSION_ACCESS_CONTROL_REQUIRES_SM(0x83000021), - SESSION_ACCESS_CONTROL_REQUIRES_PACE(0x83000022), - SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS(0x83000023), - SESSION_ACCESS_CONTROL_REQUIRES_TA(0x83000024), - SESSION_ACCESS_CONTROL_REQUIRES_CA(0x83000025), - SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA(0x83000026), - SESSION_ACCESS_CONTROL_CA_FAILED(0x83000027), - SESSION_ACCESS_CONTROL_TA_FAILED(0x83000028), - SESSION_ACCESS_CONTROL_AA_FAILED(0x83000029), - SESSION_ACCESS_CONTROL_RI_FAILED(0x8300002A), - SESSION_PA_SIGNATURE_CHECK_FAILED(0x83000030), - SESSION_PA_HASH_CHECK_FAILED(0x83000031), - SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY(0x83000040), - SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH(0x83000041), - SESSION_INVALID_AUX_DATA_COMMUNITY_ID(0x83000042), - SESSION_E_SIGN_REQUIRES_APP_SELECTION(0x83000050), - SESSION_E_SIGN_PIN_NOT_SET(0x83000051), - SESSION_E_SIGN_PIN_NOT_VERIFIED(0x83000052), - SESSION_INCORRECT_DATA(0x83000060), - SESSION_FILE_NOT_ENOUGH_DATA(0x83010000), - SESSION_FILE_INCORRECT_DATA(0x83020000), - SESSION_FILE_UNEXPECTED_DATA(0x83030000), - SESSION_FILE_CONTENTS_UNEXPECTED_DATA(0x83040000), - SESSION_FILE_WRONG_TAG(0x83050000), - SESSION_FILE_CANT_USE_DATA(0x83060000), - SESSION_FILE_CANT_READ_DATA(0x83070000), - SESSION_FILE_ACCESS_DENIED(0x83080000), - LAYER34_NO_ERROR(0x84000000), - LAYER34_TIME_OUT(0x84010000), - LAYER34_COLLISION(0x84020000), - LAYER34_CRC(0x84030000), - LAYER34_DATA_INTEGRITY(0x84040000), - LAYER34_DATA_LENGTH(0x84050000), - Layer34_RFU(0x84060000), - LAYER34_COLLISION_TOO_MANY(0x84070000), - LAYER34_PROTOCOL_B(0x84080000), - LAYER34_DATA_CONTENTS(0x84090000), - LAYER34_PROTOCOL(0x840A0000), - LAYER34_GLOBAL_TIME_OUT(0x840B0000), - LAYER34_MIFARE_AUTH(0x840C0000), - LAYER34_SAM_ERROR(0x840D0000), - LAYER34_SAM_COLLISION(0x840E0000), - LAYER34_SAM_ACKNOWLEDGE(0x840F0000); - - const RFIDErrorCodes(this.value); - final int value; - - Future getTranslation() async { - return await _bridge - .invokeMethod("getTranslation", [runtimeType.toString(), value]); - } - - static RFIDErrorCodes? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDErrorCodes.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDErrorCodes.UNDEFINED; - } - } -} diff --git a/lib/src/rfid/RFIDNotification.dart b/lib/src/rfid/RFIDNotification.dart deleted file mode 100644 index 86193d9253..0000000000 --- a/lib/src/rfid/RFIDNotification.dart +++ /dev/null @@ -1,197 +0,0 @@ -// -// RFIDNotification.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// Structure containing data of notification about RFID reading process. -class RFIDNotification { - /// RFID notification code. - RFIDNotificationCodes get notificationCode => _notificationCode; - late RFIDNotificationCodes _notificationCode; - - /// Defines the file type (or logical belonging of the data object) within - /// the context of the communication session with electronic document. - RFIDDataFileType get dataFileType => _dataFileType; - late RFIDDataFileType _dataFileType; - - /// RFID progress. - int get progress => _progress; - late int _progress; - - @visibleForTesting - static RFIDNotification? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = RFIDNotification(); - - result._notificationCode = - RFIDNotificationCodes.getByValue(jsonObject["notificationCode"])!; - result._dataFileType = - RFIDDataFileType.getByValue(jsonObject["dataFileType"])!; - result._progress = jsonObject["progress"]; - - return result; - } - - @visibleForTesting - Map toJson() => { - "notificationCode": notificationCode.value, - "dataFileType": dataFileType.value, - "progress": progress - }.clearNulls(); -} - -/// Enumeration contains a set of notification returned -/// to the user application by calling the callback-function. -enum RFIDNotificationCodes { - /// Will be returned by [getByValue] if a non-existent value was passed. - UNKNOWN(-1), - - /// The notification indicates an error. - ERROR(65536), - - /// Event of appearance of RFID-chip in the scope of the reader antenna - /// or its moving away from the scope of the reader. - DOCUMENT_READY(65537), - - /// Event of the beginning/end of data reading from the RFID-chip via ISO/IEC - /// 14443-4 proto-col When working in the batch mode. - READ_PROTOCOL4(65539), - - /// Event of the beginning/end of data reading from the RFID-chip via ISO/IEC - /// 14443-3 proto-col. - READ_PROTOCOL3(65546), - - /// Indication of the progress of execution of data reading operation. - PROGRESS(65547), - - /// Indication of the next step of terminal authentication in - /// Online-authentication mode. - TA_STEP(65550), - - /// Event of detection of the need to organize a secure communication channel. - SM_REQUIRED(65551), - - /// Event informing the user application on detection of data incompliance - /// processed with the regulations of normative documents, errors when - /// executing the current operation. - ISO_ERROR(69632), - - /// Request of the user-defined DS-certificate priot to the procedure of digital - /// signature verifi-cation of EF.SOD document security object in the batch mode. - PA_REQUEST(77824), - - /// Event of the result of the opening of a secure communication channel. - SM_ESTABLISHED(81935), - - /// Event of unplugging of the RFID-chip reader from the PC. - PCSC_READER_DISCONNECTED(131072), - - /// Event of the beginning of reorganization of the list of RFID-readers - /// connected to the PC, working under PC/SC-driver control. - PCSC_READER_LIST_CHANGED(131073), - - /// Transfer of the total amount of information received from the RFID-chip - /// to the user appli-cation during execution of data reading operation. - PCSC_BYTES_RECEIVED(131074), - - /// Transfer of the total time of execution of data reading operation - /// to the user application. - PCSC_TOTAL_READING_TIME(131075), - - /// Transfer of the total amount of information and service groups data - /// received from the RF-ID-chip to the user application during execution - /// of data reading operation. - PCSC_DATA_RECEIVED(131076), - - /// Transfer of the total amount of information transmitted to the RFID-chip - /// to the user appli-cation during execution of data reading operation. - PCSC_BYTES_SENT(131077), - - /// Transfer of the average data reading rate to the user application. - PCSC_TOTAL_READING_SPEED(131078), - - /// Transfer of the total time of execution of data reading procedure - /// to the user application. - PCSC_TOTAL_PROCESS_TIME(131079), - - /// Event of the beginning of reorganization of the list of RFID-readers - /// connected to the PC, working under PC/SC-driver control. - PCSC_READER_LIST_CHANGING(131080), - - /// Event of detection of extended length reading commands support - /// by the RFID-chip. - PCSC_EXT_LENGTH_SUPPORT(131088), - - /// Event of the start/end of the certificate chain formation for the - /// document security object digital signature verification - /// as a part of passive authentication procedure. - PA_CERTIFICATE_CHAIN(131089), - - /// Event that indicates a type of the current analyzed element of the - /// certificate chain being composed. - /// - /// All subsequent notifications prior to the next [PA_CERTIFICATE_CHAIN_ITEM] - /// or [PA_CERTIFICATE_CHAIN] will correspond to this element. - PA_CERTIFICATE_CHAIN_ITEM(131090), - - /// A request from the user application of some data or actions in a certain - /// step of the scenario. - SCENARIO(131104), - - /// Event of the beginning/end of file reading. - PCSC_READING_DATAGROUP(196608), - - /// Event of detection of file absence. - PCSC_FILE_NOT_FOUND(262144), - - /// Event of reaching the file end when performing its reading. - PCSC_END_OF_FILE(327680), - - /// Event of detection of absence of the file access rights. - PCSC_FILE_ACCESS_DENIED(393216), - - /// Event of the application selection operation. - PCSC_APPLICATION_SELECTED(458752), - - /// Event of the beginning of the authentication or secure data access procedure. - AC_PROCEDURE_START(524288), - - /// Event of the end of the authentication or secure data access procedure. - AC_PROCEDURE_FINISH(589824), - - /// Event of the data security object verification as part of PA. - PA_SECURITY_OBJECT_CHECK(655360), - - /// Event of the file data integrity checking as part of PA. - PA_FILE_CHECK(720896), - - /// Event of the procedure of file contents updating. - PCSC_UPDATING_DATAGROUP(786432), - - /// Event of the auxiliary data verification. - AUXILIARY_DATA_VALIDATION(851968), - - /// Event of the receiving of the sector identifier data during RI. - RI_SECTOR_ID(917504), - - /// Event of the detection of real biometric data absence in DG3 or DG4 - /// and random filling data usage. - BIOMETRICS_EMPTY_PLACEHOLDER(983040); - - const RFIDNotificationCodes(this.value); - final int value; - - static RFIDNotificationCodes? getByValue(int? i) { - if (i == null) return null; - try { - return RFIDNotificationCodes.values.firstWhere((x) => x.value == i); - } catch (_) { - return RFIDNotificationCodes.UNKNOWN; - } - } -} diff --git a/lib/src/rfid/TAChallenge.dart b/lib/src/rfid/TAChallenge.dart deleted file mode 100644 index aeb6c20dc1..0000000000 --- a/lib/src/rfid/TAChallenge.dart +++ /dev/null @@ -1,49 +0,0 @@ -// -// TAChallenge.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -class TAChallenge { - Uint8List get data => _data; - late Uint8List _data; - - String get auxPCD => _auxPCD; - late String _auxPCD; - - String get challengePICC => _challengePICC; - late String _challengePICC; - - String get hashPK => _hashPK; - late String _hashPK; - - String get idPICC => _idPICC; - late String _idPICC; - - @visibleForTesting - static TAChallenge? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TAChallenge(); - - result._data = _bytesFromBase64(jsonObject["data"])!; - result._auxPCD = jsonObject["auxPCD"] ?? ""; - result._challengePICC = jsonObject["challengePICC"] ?? ""; - result._hashPK = jsonObject["hashPK"] ?? ""; - result._idPICC = jsonObject["idPICC"] ?? ""; - - return result; - } - - @visibleForTesting - Map toJson() => { - "data": _bytesToBase64(data), - "auxPCD": auxPCD, - "challengePICC": challengePICC, - "hashPK": hashPK, - "idPICC": idPICC, - }.clearNulls(); -} diff --git a/lib/src/rfid/TccParams.dart b/lib/src/rfid/TccParams.dart deleted file mode 100644 index 5be69226fb..0000000000 --- a/lib/src/rfid/TccParams.dart +++ /dev/null @@ -1,54 +0,0 @@ -// -// TccParams.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - -part of document_reader; - -/// TCC service related parameters for RFID session configuration. -class TccParams { - /// The TA URL for the TCC service. The value of the property - /// must be a valid URL string. - String? serviceUrlTA; - - /// The PA URL for the TCC service. The value of the property - /// must be a valid URL string. - String? serviceUrlPA; - - /// The URL for the certificate for a TCC service. - /// The value of the property must be a valid URL string. - String? pfxCertUrl; - - /// The passphrase for the cerficiate provided by the [pfxCertUrl] property. - String? pfxPassPhrase; - - /// The bytes of the certificate for a TCC service. - /// This data will be used instead of loading the certificate via [pfxCertUrl]. - ByteData? pfxCert; - - @visibleForTesting - static TccParams? fromJson(jsonObject) { - if (jsonObject == null) return null; - var result = TccParams(); - - result.serviceUrlTA = jsonObject["serviceUrlTA"]; - result.serviceUrlPA = jsonObject["serviceUrlPA"]; - result.pfxCertUrl = jsonObject["pfxCertUrl"]; - result.pfxPassPhrase = jsonObject["pfxPassPhrase"]; - result.pfxCert = _dataFromBase64(jsonObject["pfxCert"]); - - return result; - } - - @visibleForTesting - Map toJson() => { - "serviceUrlTA": serviceUrlTA, - "serviceUrlPA": serviceUrlPA, - "pfxCertUrl": pfxCertUrl, - "pfxPassPhrase": pfxPassPhrase, - "pfxCert": _dataToBase64(pfxCert) - }.clearNulls(); -} diff --git a/lib/src/rfid/ca_protocol.dart b/lib/src/rfid/ca_protocol.dart new file mode 100644 index 0000000000..6dc9472bca --- /dev/null +++ b/lib/src/rfid/ca_protocol.dart @@ -0,0 +1,36 @@ +part of "../../flutter_document_reader_api.dart"; + +class CAProtocol { + String get version => _version; + late String _version; + + String get scheme => _scheme; + late String _scheme; + + String get keyAlgorithm => _keyAlgorithm; + late String _keyAlgorithm; + + bool get chipIndividual => _chipIndividual; + late bool _chipIndividual; + + @visibleForTesting + static CAProtocol? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = CAProtocol(); + + result._version = jsonObject["version"]; + result._scheme = jsonObject["scheme"]; + result._keyAlgorithm = jsonObject["keyAlgorithm"]; + result._chipIndividual = jsonObject["chipIndividual"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "version": version, + "scheme": scheme, + "keyAlgorithm": keyAlgorithm, + "chipIndividual": chipIndividual, + }.clearNulls(); +} diff --git a/lib/src/rfid/pa_attribute.dart b/lib/src/rfid/pa_attribute.dart new file mode 100644 index 0000000000..b26121a9f8 --- /dev/null +++ b/lib/src/rfid/pa_attribute.dart @@ -0,0 +1,31 @@ +// +// PAAttribute.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class PAAttribute { + String get type => _type; + late String _type; + + String get value => _value; + late String _value; + + @visibleForTesting + static PAAttribute? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = PAAttribute(); + + result._type = jsonObject["type"] ?? ""; + result._value = jsonObject["value"] ?? ""; + + return result; + } + + @visibleForTesting + Map toJson() => {"type": type, "value": value}.clearNulls(); +} diff --git a/lib/src/rfid/pa_resources_issuer.dart b/lib/src/rfid/pa_resources_issuer.dart new file mode 100644 index 0000000000..4afb213e65 --- /dev/null +++ b/lib/src/rfid/pa_resources_issuer.dart @@ -0,0 +1,40 @@ +// +// PAResourcesIssuer.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class PAResourcesIssuer { + Uint8List get data => _data; + late Uint8List _data; + + String? get friendlyName => _friendlyName; + String? _friendlyName; + + List get attributes => _attributes; + List _attributes = []; + + @visibleForTesting + static PAResourcesIssuer? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = PAResourcesIssuer(); + + result._data = _bytesFromBase64(jsonObject["data"])!; + result._friendlyName = jsonObject["friendlyName"]; + for (var item in jsonObject["attributes"]) { + result._attributes.addSafe(PAAttribute.fromJson(item)); + } + return result; + } + + @visibleForTesting + Map toJson() => { + "data": _bytesToBase64(data), + "friendlyName": friendlyName, + "attributes": attributes.map((e) => e.toJson()).toList(), + }.clearNulls(); +} diff --git a/lib/src/rfid/pace_protocol.dart b/lib/src/rfid/pace_protocol.dart new file mode 100644 index 0000000000..f82fbfc138 --- /dev/null +++ b/lib/src/rfid/pace_protocol.dart @@ -0,0 +1,31 @@ +part of "../../flutter_document_reader_api.dart"; + +class PACEProtocol { + String get version => _version; + late String _version; + + String get stdDomainParams => _stdDomainParams; + late String _stdDomainParams; + + String get keyAlgorithm => _keyAlgorithm; + late String _keyAlgorithm; + + @visibleForTesting + static PACEProtocol? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = PACEProtocol(); + + result._version = jsonObject["version"]; + result._stdDomainParams = jsonObject["stdDomainParams"]; + result._keyAlgorithm = jsonObject["keyAlgorithm"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "version": version, + "stdDomainParams": stdDomainParams, + "keyAlgorithm": keyAlgorithm, + }.clearNulls(); +} diff --git a/lib/src/rfid/pkd_certificate.dart b/lib/src/rfid/pkd_certificate.dart new file mode 100644 index 0000000000..e55b81b3bd --- /dev/null +++ b/lib/src/rfid/pkd_certificate.dart @@ -0,0 +1,122 @@ +// +// PKDCertificate.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// Class contains information about PKD certificate. +class PKDCertificate { + /// Certificate in binary type. + ByteData get binaryData => _binaryData; + ByteData _binaryData; + + /// Indicates type of certificate. + PKDResourceType get resourceType => _resourceType; + PKDResourceType _resourceType; + + /// Private key in binary type. + ByteData? get privateKey => _privateKey; + ByteData? _privateKey; + + PKDCertificate( + ByteData binaryData, + PKDResourceType resourceType, { + ByteData? privateKey, + }) : _binaryData = binaryData, + _resourceType = resourceType, + _privateKey = privateKey; + + @visibleForTesting + static PKDCertificate? fromJson(jsonObject) { + if (jsonObject == null) return null; + return PKDCertificate( + _dataFromBase64(jsonObject["binaryData"])!, + PKDResourceType.getByValue(jsonObject["resourceType"])!, + privateKey: _dataFromBase64(jsonObject["privateKey"]), + ); + } + + @visibleForTesting + Map toJson() => { + "binaryData": _dataToBase64(binaryData), + "resourceType": resourceType.value, + "privateKey": _dataToBase64(privateKey), + }.clearNulls(); +} + +enum PKDResourceType { + /// Will be returned if [getByValue] if a non-existent was passed. + UNKNOWN(-1), + + /// Certificate file contents (.pem, .cer, .crt, .der). + CERTIFICATE_PA(0), + + /// Certificate file contents (.cvcert) and private key file contents (.pkcs8). + CERTIFICATE_TA(1), + + /// LDIF file contents (.ldif). + LDIF(2), + + /// CRL file contents (.crl). + CRL(3), + + /// Master List (.ml, .mls). + ML(4), + + /// Defect List (.dl, .dls, .dfl). + DEFL(5), + + /// Deviance List (.dl, .dls, .dvl). + DEVL(6), + + /// Black List (.bl, .bls). + BL(7), + + /// LDIF file contents for TA. + LDIF_TA(8), + + /// Master List with CV certificates for TA. + ML_TA(9), + + /// CBOR List. + CBOR(10); + + const PKDResourceType(this.value); + final int value; + + static PKDResourceType? getByValue(int? i) { + if (i == null) return null; + try { + return PKDResourceType.values.firstWhere((x) => x.value == i); + } catch (_) { + return PKDResourceType.UNKNOWN; + } + } + + static PKDResourceType getType(String value) { + switch (value) { + case "pa": + return CERTIFICATE_PA; + case "ta": + return CERTIFICATE_TA; + case "ldif": + return LDIF; + case "crl": + return CRL; + case "ml": + return ML; + case "defl": + return DEFL; + case "devl": + return DEVL; + case "bl": + return BL; + default: + return CERTIFICATE_PA; + } + } +} diff --git a/lib/src/rfid/rfid_error_codes.dart b/lib/src/rfid/rfid_error_codes.dart new file mode 100644 index 0000000000..801a0e7a66 --- /dev/null +++ b/lib/src/rfid/rfid_error_codes.dart @@ -0,0 +1,146 @@ +// +// RFIDErrorCodes.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +enum RFIDErrorCodes { + UNDEFINED(0), + NO_ERROR(0x00000001), + ALREADY_DONE(0x00000002), + FAILED(0xffffffff), + NO_CHIP_DETECTED(0x80010001), + NOT_AVAILABLE(0x80010002), + INVALID_PARAMETER(0x80010004), + NOT_INITIALIZED(0x80010005), + NOT_ENOUGH_MEMORY(0x80010006), + INVALID_DIRECTORY(0x80010008), + UNKNOWN_COMMAND(0x80010009), + FILE_IO_ERROR(0x8001000A), + BUSY(0x8001000B), + OLD_FIRMWARE(0x8001000C), + PCSC_FAILED(0x80020000), + PCSC_READER_NOT_AVAILABLE(0x80020001), + PCSC_CANT_CONNECT_CARD(0x80020002), + PCSC_CARD_IS_NOT_CONNECTED(0x80020003), + PCSC_OPERATION_CANCELLED(0x80020004), + PCSC_CARD_IS_BUSY(0x80020005), + PCSC_FAILED_SCARD(0x80020006), + PCSC_EXT_LE_FAILED(0x80020010), + LAYER6_SECURITY_MANAGER(0x86000000), + LAYER6_APP_SELECTION_FAILURE(0x86000001), + LAYER6_MUTUAL_AUTH_MAC_FAIL(0x86000100), + LAYER6_MUTUAL_AUTH_ENC_FAIL(0x86000101), + LAYER6_MUTUAL_AUTH_FAILURE(0x86000102), + LAYER6_MUTUAL_AUTH_FAILURE_DATA(0x86000103), + LAYER6_SM_DO_8E_MISSING(0x86000200), + LAYER6_SM_DO_87_MISSING(0x86000201), + LAYER6_SM_DO_99_MISSING(0x86000202), + LAYER6_SM_MAC_INCORRECT(0x86000203), + LAYER6_SM_DO_87_INCORRECT(0x86000204), + LAYER6_NON_TLV_RESPONSE_DATA(0x86000300), + LAYER6_WRONG_RND_ICC_LENGTH(0x86000301), + LAYER6_INT_AUTH_FAILURE(0x86000302), + LAYER6_MSE_SET_KAT_FAILURE(0x86000303), + LAYER6_MSE_SET_DST_FAILURE(0x86000304), + LAYER6_PSO_CERTIFICATE_FAILURE(0x86000305), + LAYER6_MSE_SET_AT_FAILURE(0x86000306), + LAYER6_GET_CHALLENGE_FAILURE(0x86000307), + LAYER6_EXT_AUTH_FAILURE(0x86000308), + LAYER6_GENERAL_AUTH_FAILURE(0x86000309), + LAYER6_FILE_NOT_FOUND(0x80006A82), + LAYER6_FILE_EOF1(0x80006282), + LAYER6_FILE_EOF2(0x80006B00), + LAYER6_INCORRECT_PARAMS(0x80006A80), + LAYER6_NO_REFERENCE_DATA(0x80006A88), + LAYER6_PWD_SUSPEND(0x800063C1), + LAYER6_PWD_BLOCKED(0x800063C0), + LAYER6_PWD_DEACTIVATED(0x80006283), + LAYER6_PWD_BLOCKED2(0x80006983), + LAYER6_PWD_DEACTIVATED2(0x80006984), + LAYER6_PWD_SUSPEND2(0x80006985), + LAYER6_PWD_FAILED(0x801063C0), + NOT_PERFORMED(0x83000000), + SESSION_IS_CLOSED(0x83000001), + SESSION_TERMINAL_UNSUPPORTED_OPERATION(0x83000002), + SESSION_TERMINAL_TYPE_UNKNOWN(0x83000010), + SESSION_TERMINAL_TYPE_BAD_CERTIFICATE(0x83000011), + SESSION_TERMINAL_TYPE_NOT_SET(0x83000012), + SESSION_PROCEDURE_TYPE_UNKNOWN(0x83000013), + Session_Procedure_Type_Unsupported(0x83000014), + SESSION_PROCEDURE_TYPE_NOT_SET(0x83000015), + SESSION_ACCESS_KEY_UNKNOWN_TYPE(0x83000016), + SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE(0x83000017), + SESSION_ACCESS_KEY_INCORRECT_SM_TYPE(0x83000018), + SESSION_ACCESS_KEY_RESTRICTED(0x83000019), + SESSION_ACCESS_KEY_INCORRECT_DATA(0x8300001A), + SESSION_ACCESS_KEY_NOT_SET(0x8300001B), + SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED(0x8300001C), + SESSION_ACCESS_CONTROL_UNKNOWN_TYPE(0x83000020), + SESSION_ACCESS_CONTROL_REQUIRES_SM(0x83000021), + SESSION_ACCESS_CONTROL_REQUIRES_PACE(0x83000022), + SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS(0x83000023), + SESSION_ACCESS_CONTROL_REQUIRES_TA(0x83000024), + SESSION_ACCESS_CONTROL_REQUIRES_CA(0x83000025), + SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA(0x83000026), + SESSION_ACCESS_CONTROL_CA_FAILED(0x83000027), + SESSION_ACCESS_CONTROL_TA_FAILED(0x83000028), + SESSION_ACCESS_CONTROL_AA_FAILED(0x83000029), + SESSION_ACCESS_CONTROL_RI_FAILED(0x8300002A), + SESSION_PA_SIGNATURE_CHECK_FAILED(0x83000030), + SESSION_PA_HASH_CHECK_FAILED(0x83000031), + SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY(0x83000040), + SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH(0x83000041), + SESSION_INVALID_AUX_DATA_COMMUNITY_ID(0x83000042), + SESSION_E_SIGN_REQUIRES_APP_SELECTION(0x83000050), + SESSION_E_SIGN_PIN_NOT_SET(0x83000051), + SESSION_E_SIGN_PIN_NOT_VERIFIED(0x83000052), + SESSION_INCORRECT_DATA(0x83000060), + SESSION_FILE_NOT_ENOUGH_DATA(0x83010000), + SESSION_FILE_INCORRECT_DATA(0x83020000), + SESSION_FILE_UNEXPECTED_DATA(0x83030000), + SESSION_FILE_CONTENTS_UNEXPECTED_DATA(0x83040000), + SESSION_FILE_WRONG_TAG(0x83050000), + SESSION_FILE_CANT_USE_DATA(0x83060000), + SESSION_FILE_CANT_READ_DATA(0x83070000), + SESSION_FILE_ACCESS_DENIED(0x83080000), + LAYER34_NO_ERROR(0x84000000), + LAYER34_TIME_OUT(0x84010000), + LAYER34_COLLISION(0x84020000), + LAYER34_CRC(0x84030000), + LAYER34_DATA_INTEGRITY(0x84040000), + LAYER34_DATA_LENGTH(0x84050000), + Layer34_RFU(0x84060000), + LAYER34_COLLISION_TOO_MANY(0x84070000), + LAYER34_PROTOCOL_B(0x84080000), + LAYER34_DATA_CONTENTS(0x84090000), + LAYER34_PROTOCOL(0x840A0000), + LAYER34_GLOBAL_TIME_OUT(0x840B0000), + LAYER34_MIFARE_AUTH(0x840C0000), + LAYER34_SAM_ERROR(0x840D0000), + LAYER34_SAM_COLLISION(0x840E0000), + LAYER34_SAM_ACKNOWLEDGE(0x840F0000); + + const RFIDErrorCodes(this.value); + final int value; + + Future getTranslation() async { + return await _bridge.invokeMethod("getTranslation", [ + runtimeType.toString(), + value, + ]); + } + + static RFIDErrorCodes? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDErrorCodes.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDErrorCodes.UNDEFINED; + } + } +} diff --git a/lib/src/rfid/rfid_notification.dart b/lib/src/rfid/rfid_notification.dart new file mode 100644 index 0000000000..dbc5980fb1 --- /dev/null +++ b/lib/src/rfid/rfid_notification.dart @@ -0,0 +1,203 @@ +// +// RFIDNotification.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// Structure containing data of notification about RFID reading process. +class RFIDNotification { + /// RFID notification code. + RFIDNotificationCodes get notificationCode => _notificationCode; + late RFIDNotificationCodes _notificationCode; + + /// Defines the file type (or logical belonging of the data object) within + /// the context of the communication session with electronic document. + RFIDDataFileType get dataFileType => _dataFileType; + late RFIDDataFileType _dataFileType; + + /// RFID progress. + int get progress => _progress; + late int _progress; + + @visibleForTesting + static RFIDNotification? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = RFIDNotification(); + + result._notificationCode = + RFIDNotificationCodes.getByValue(jsonObject["notificationCode"])!; + result._dataFileType = + RFIDDataFileType.getByValue(jsonObject["dataFileType"])!; + result._progress = jsonObject["progress"]; + + return result; + } + + @visibleForTesting + Map toJson() => { + "notificationCode": notificationCode.value, + "dataFileType": dataFileType.value, + "progress": progress, + }.clearNulls(); +} + +/// Enumeration contains a set of notification returned +/// to the user application by calling the callback-function. +enum RFIDNotificationCodes { + /// Will be returned by [getByValue] if a non-existent value was passed. + UNKNOWN(-1), + + /// The notification indicates an error. + ERROR(65536), + + /// Event of appearance of RFID-chip in the scope of the reader antenna + /// or its moving away from the scope of the reader. + DOCUMENT_READY(65537), + + /// Event of the beginning/end of data reading from the RFID-chip via ISO/IEC + /// 14443-4 proto-col When working in the batch mode. + READ_PROTOCOL4(65539), + + /// Event of the beginning/end of data reading from the RFID-chip via ISO/IEC + /// 14443-3 proto-col. + READ_PROTOCOL3(65546), + + /// Indication of the progress of execution of data reading operation. + PROGRESS(65547), + + /// Indication of the next step of terminal authentication in + /// Online-authentication mode. + TA_STEP(65550), + + /// Event of detection of the need to organize a secure communication channel. + SM_REQUIRED(65551), + + /// Event informing the user application on detection of data incompliance + /// processed with the regulations of normative documents, errors when + /// executing the current operation. + ISO_ERROR(69632), + + /// Request of the user-defined DS-certificate priot to the procedure of digital + /// signature verifi-cation of EF.SOD document security object in the batch mode. + PA_REQUEST(77824), + + /// Event of the result of the opening of a secure communication channel. + SM_ESTABLISHED(81935), + + /// Event of unplugging of the RFID-chip reader from the PC. + PCSC_READER_DISCONNECTED(131072), + + /// Event of the beginning of reorganization of the list of RFID-readers + /// connected to the PC, working under PC/SC-driver control. + PCSC_READER_LIST_CHANGED(131073), + + /// Transfer of the total amount of information received from the RFID-chip + /// to the user appli-cation during execution of data reading operation. + PCSC_BYTES_RECEIVED(131074), + + /// Transfer of the total time of execution of data reading operation + /// to the user application. + PCSC_TOTAL_READING_TIME(131075), + + /// Transfer of the total amount of information and service groups data + /// received from the RF-ID-chip to the user application during execution + /// of data reading operation. + PCSC_DATA_RECEIVED(131076), + + /// Transfer of the total amount of information transmitted to the RFID-chip + /// to the user appli-cation during execution of data reading operation. + PCSC_BYTES_SENT(131077), + + /// Transfer of the average data reading rate to the user application. + PCSC_TOTAL_READING_SPEED(131078), + + /// Transfer of the total time of execution of data reading procedure + /// to the user application. + PCSC_TOTAL_PROCESS_TIME(131079), + + /// Event of the beginning of reorganization of the list of RFID-readers + /// connected to the PC, working under PC/SC-driver control. + PCSC_READER_LIST_CHANGING(131080), + + /// Event of detection of extended length reading commands support + /// by the RFID-chip. + PCSC_EXT_LENGTH_SUPPORT(131088), + + /// Event of the start/end of the certificate chain formation for the + /// document security object digital signature verification + /// as a part of passive authentication procedure. + PA_CERTIFICATE_CHAIN(131089), + + /// Event that indicates a type of the current analyzed element of the + /// certificate chain being composed. + /// + /// All subsequent notifications prior to the next [PA_CERTIFICATE_CHAIN_ITEM] + /// or [PA_CERTIFICATE_CHAIN] will correspond to this element. + PA_CERTIFICATE_CHAIN_ITEM(131090), + + /// A request from the user application of some data or actions in a certain + /// step of the scenario. + SCENARIO(131104), + + /// Event of the beginning/end of file reading. + PCSC_READING_DATAGROUP(196608), + + /// Event of detection of file absence. + PCSC_FILE_NOT_FOUND(262144), + + /// Event of reaching the file end when performing its reading. + PCSC_END_OF_FILE(327680), + + /// Event of detection of absence of the file access rights. + PCSC_FILE_ACCESS_DENIED(393216), + + /// Event of the application selection operation. + PCSC_APPLICATION_SELECTED(458752), + + /// Event of the beginning of the authentication or secure data access procedure. + AC_PROCEDURE_START(524288), + + /// Event of the end of the authentication or secure data access procedure. + AC_PROCEDURE_FINISH(589824), + + /// Event of the data security object verification as part of PA. + PA_SECURITY_OBJECT_CHECK(655360), + + /// Event of the file data integrity checking as part of PA. + PA_FILE_CHECK(720896), + + /// Event of the procedure of file contents updating. + PCSC_UPDATING_DATAGROUP(786432), + + /// Event of the auxiliary data verification. + AUXILIARY_DATA_VALIDATION(851968), + + /// Event of the receiving of the sector identifier data during RI. + RI_SECTOR_ID(917504), + + /// Event of the detection of real biometric data absence in DG3 or DG4 + /// and random filling data usage. + BIOMETRICS_EMPTY_PLACEHOLDER(983040), + + SESSION_FILE_DATA_UPDATED(1048576), + + TCC_TA_RESOURCES(1114112), + + TCC_TA_SIGNATURE(1114113); + + const RFIDNotificationCodes(this.value); + final int value; + + static RFIDNotificationCodes? getByValue(int? i) { + if (i == null) return null; + try { + return RFIDNotificationCodes.values.firstWhere((x) => x.value == i); + } catch (_) { + return RFIDNotificationCodes.UNKNOWN; + } + } +} diff --git a/lib/src/rfid/ta_challenge.dart b/lib/src/rfid/ta_challenge.dart new file mode 100644 index 0000000000..cbd339f3c6 --- /dev/null +++ b/lib/src/rfid/ta_challenge.dart @@ -0,0 +1,49 @@ +// +// TAChallenge.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +class TAChallenge { + Uint8List get data => _data; + late Uint8List _data; + + String get auxPCD => _auxPCD; + late String _auxPCD; + + String get challengePICC => _challengePICC; + late String _challengePICC; + + String get hashPK => _hashPK; + late String _hashPK; + + String get idPICC => _idPICC; + late String _idPICC; + + @visibleForTesting + static TAChallenge? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TAChallenge(); + + result._data = _bytesFromBase64(jsonObject["data"])!; + result._auxPCD = jsonObject["auxPCD"] ?? ""; + result._challengePICC = jsonObject["challengePICC"] ?? ""; + result._hashPK = jsonObject["hashPK"] ?? ""; + result._idPICC = jsonObject["idPICC"] ?? ""; + + return result; + } + + @visibleForTesting + Map toJson() => { + "data": _bytesToBase64(data), + "auxPCD": auxPCD, + "challengePICC": challengePICC, + "hashPK": hashPK, + "idPICC": idPICC, + }.clearNulls(); +} diff --git a/lib/src/rfid/tcc_params.dart b/lib/src/rfid/tcc_params.dart new file mode 100644 index 0000000000..c3b2507774 --- /dev/null +++ b/lib/src/rfid/tcc_params.dart @@ -0,0 +1,54 @@ +// +// TccParams.dart +// DocumentReader +// +// Created by Pavel Masiuk on 21.09.2023. +// Copyright © 2023 Regula. All rights reserved. +// + +part of "../../flutter_document_reader_api.dart"; + +/// TCC service related parameters for RFID session configuration. +class TccParams { + /// The TA URL for the TCC service. The value of the property + /// must be a valid URL string. + String? serviceUrlTA; + + /// The PA URL for the TCC service. The value of the property + /// must be a valid URL string. + String? serviceUrlPA; + + /// The URL for the certificate for a TCC service. + /// The value of the property must be a valid URL string. + String? pfxCertUrl; + + /// The passphrase for the cerficiate provided by the [pfxCertUrl] property. + String? pfxPassPhrase; + + /// The bytes of the certificate for a TCC service. + /// This data will be used instead of loading the certificate via [pfxCertUrl]. + ByteData? pfxCert; + + @visibleForTesting + static TccParams? fromJson(jsonObject) { + if (jsonObject == null) return null; + var result = TccParams(); + + result.serviceUrlTA = jsonObject["serviceUrlTA"]; + result.serviceUrlPA = jsonObject["serviceUrlPA"]; + result.pfxCertUrl = jsonObject["pfxCertUrl"]; + result.pfxPassPhrase = jsonObject["pfxPassPhrase"]; + result.pfxCert = _dataFromBase64(jsonObject["pfxCert"]); + + return result; + } + + @visibleForTesting + Map toJson() => { + "serviceUrlTA": serviceUrlTA, + "serviceUrlPA": serviceUrlPA, + "pfxCertUrl": pfxCertUrl, + "pfxPassPhrase": pfxPassPhrase, + "pfxCert": _dataToBase64(pfxCert), + }.clearNulls(); +} diff --git a/pubspec.lock b/pubspec.lock index 17292542d2..fe19b5045b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,50 +5,50 @@ packages: dependency: transitive description: name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37 url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.13.1" boolean_selector: dependency: transitive description: name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" characters: dependency: transitive description: name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.0" clock: dependency: transitive description: name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" collection: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.1" fake_async: dependency: transitive description: name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.3" flutter: dependency: "direct main" description: flutter @@ -59,107 +59,139 @@ packages: description: flutter source: sdk version: "0.0.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + url: "https://pub.dev" + source: hosted + version: "11.0.2" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + url: "https://pub.dev" + source: hosted + version: "3.0.10" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + lints: + dependency: "direct dev" + description: + name: lints + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" + url: "https://pub.dev" + source: hosted + version: "4.0.0" matcher: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.11.1" meta: - dependency: transitive + dependency: "direct dev" description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.17.0" path: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.1" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.10.2" stack_trace: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" string_scanner: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.4.1" term_glyph: dependency: transitive description: name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" test_api: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.7.7" vector_math: dependency: transitive description: name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b url: "https://pub.dev" source: hosted - version: "2.1.4" - web: + version: "2.2.0" + vm_service: dependency: transitive description: - name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + name: vm_service + sha256: "0016aef94fc66495ac78af5859181e3f3bf2026bd8eecc72b9565601e19ab360" url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "15.2.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" - flutter: ">=3.10.0" + dart: ">=3.8.0-0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/pubspec.yaml b/pubspec.yaml index 8cf8664c4c..e611e688ca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: It allows you to easily scan documents, for example passport, using your phone's camera. Supports Android and iOS. repository: https://github.com/regulaforensics/DocumentReader-Flutter issue_tracker: https://github.com/regulaforensics/DocumentReader-Flutter/issues -version: 7.2.0 +version: 9.5.1250-beta environment: sdk: '>=3.1.5 <4.0.0' @@ -17,12 +17,14 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter + lints: ^4.0.0 + meta: ^1.10.0 flutter: plugin: platforms: android: - package: io.flutter.plugins.regula.documentreader.flutter_document_reader_api + package: com.regula.plugin.documentreader pluginClass: FlutterDocumentReaderApiPlugin ios: pluginClass: FlutterDocumentReaderApiPlugin diff --git a/test/document_reader_test.dart b/test/document_reader_test.dart index 6f30581a55..35cab25b85 100644 --- a/test/document_reader_test.dart +++ b/test/document_reader_test.dart @@ -1,11 +1,3 @@ -// -// document_reader_test.dart -// DocumentReader -// -// Created by Pavel Masiuk on 21.09.2023. -// Copyright © 2023 Regula. All rights reserved. -// - import 'package:flutter_document_reader_api/flutter_document_reader_api.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -15,38 +7,84 @@ import 'utils.dart'; void main() { group('DocumentReader', () { compare('initConfig', initConfig, InitConfig.fromJson); - compare('onlineProcessingConfig', onlineProcessingConfig, - OnlineProcessingConfig.fromJson); + compare( + 'onlineProcessingConfig', + onlineProcessingConfig, + OnlineProcessingConfig.fromJson, + ); compare('imageInputData', imageInputData, ImageInputData.fromJson); compare('recognizeConfig', recognizeConfig, RecognizeConfig.fromJson); compare('recognizeConfig2', recognizeConfig2, RecognizeConfig.fromJson); compare('scannerConfig', scannerConfig, ScannerConfig.fromJson); + compare('finalizeConfig', finalizeConfig, FinalizeConfig.fromJson); - compare('faceApiSearchParams', faceApiSearchParams, - FaceApiSearchParams.fromJson); + compare( + 'faceApiSearchParams', + faceApiSearchParams, + FaceApiSearchParams.fromJson, + ); compare('faceApiParams', faceApiParams, FaceApiParams.fromJson); - compare('livenessParams', livenessParams, LivenessParams.fromJson); - compare( - 'authenticityParams', authenticityParams, AuthenticityParams.fromJson); + compareParams('livenessParams', livenessParams, LivenessParams.fromJson); + compareParams( + 'authenticityParams', + authenticityParams, + AuthenticityParams.fromJson, + ); compare('glaresCheckParams', glaresCheckParams, GlaresCheckParams.fromJson); compare('rfidParams', rfidParams, RFIDParams.fromJson); compareParams('imageQA', imageQA, ImageQA.fromJson); - compare('backendProcessingConfig', backendProcessingConfig, - BackendProcessingConfig.fromJson); - compareParams('processParams', processParams, ProcessParams.fromJson, - skip: ["logs"]); + compare( + 'backendProcessingConfig', + backendProcessingConfig, + BackendProcessingConfig.fromJson, + ); + compare('bsi', bsi, Bsi.fromJson); + compareParams( + 'processParams', + processParams, + ProcessParams.fromJson, + skip: ["logs"], + ); compareParams('eDLDataGroups', eDLDataGroups, EDLDataGroups.fromJson); - compareParams('ePassportDataGroups', ePassportDataGroups, - EPassportDataGroups.fromJson); + compareParams( + 'ePassportDataGroups', + ePassportDataGroups, + EPassportDataGroups.fromJson, + ); compareParams('eIDDataGroups', eIDDataGroups, EIDDataGroups.fromJson); + compareParams('dtcDataGroup', dtcDataGroup, DTCDataGroup.fromJson); compareParams('rfidScenario', rfidScenario, RFIDScenario.fromJson); - compareParams('customizationColors', customizationColors, - CustomizationColors.fromJson); compareParams( - 'customizationFonts', customizationFonts, CustomizationFonts.fromJson); - compareParams('customizationImages', customizationImages, - CustomizationImages.fromJson); + 'customizationColors', + customizationColors, + CustomizationColors.fromJson, + ); + compareParams( + 'customizationFonts', + customizationFonts, + CustomizationFonts.fromJson, + ); + compareParams( + 'customizationImages', + customizationImages, + CustomizationImages.fromJson, + ); + compareParams( + 'customizationTimings', + customizationTimings, + CustomizationTimings.fromJson, + ); + compareParams( + 'customizationContentModes', + customizationContentModes, + CustomizationContentModes.fromJson, + ); + compareParams( + 'customizationMatrices', + customizationMatrices, + CustomizationMatrices.fromJson, + ); compareParams('customization', customization, Customization.fromJson); compareParams('functionality', functionality, Functionality.fromJson); @@ -55,26 +93,41 @@ void main() { compare('docReaderScenario', docReaderScenario, DocReaderScenario.fromJson); compare('license', license, License.fromJson); compare( - 'docReaderException', docReaderException, DocReaderException.fromJson); + 'docReaderException', + docReaderException, + DocReaderException.fromJson, + ); compare('rfidException', rfidException, RFIDException.fromJson); compare('prepareProgress', prepareProgress, PrepareProgress.fromJson); - compare('authenticityElement', authenticityElement, - AuthenticityElement.fromJson); + compare( + 'authenticityElement', + authenticityElement, + AuthenticityElement.fromJson, + ); compare('authenticityCheck', authenticityCheck, AuthenticityCheck.fromJson); compare( - 'authenticityResult', authenticityResult, AuthenticityResult.fromJson); + 'authenticityResult', + authenticityResult, + AuthenticityResult.fromJson, + ); compare('pdf417Info', pdf417Info, PDF417Info.fromJson); compare('barcodeField', barcodeField, BarcodeField.fromJson); compare('barcodeResult', barcodeResult, BarcodeResult.fromJson); compare('imageQuality', imageQuality, ImageQuality.fromJson); compare('imageQualityGroup', imageQualityGroup, ImageQualityGroup.fromJson); - compare('accessControlProcedureType', accessControlProcedureType, - AccessControlProcedureType.fromJson); + compare( + 'accessControlProcedureType', + accessControlProcedureType, + AccessControlProcedureType.fromJson, + ); compare('fileData', fileData, FileData.fromJson); compare('certificateData', certificateData, CertificateData.fromJson); - compare('securityObjectCertificates', securityObjectCertificates, - SecurityObjectCertificates.fromJson); + compare( + 'securityObjectCertificates', + securityObjectCertificates, + SecurityObjectCertificates.fromJson, + ); compare('file', file, File.fromJson); compare('application', application, Application.fromJson); compare('rfidValue', rfidValue, RFIDValue.fromJson); @@ -90,7 +143,10 @@ void main() { compare('rfidSessionData', rfidSessionData, RFIDSessionData.fromJson); compare('bytesData', bytesData, BytesData.fromJson); compare('vdsncData', vdsncData, VDSNCData.fromJson); + compare('docFeature', docFeature, DocFeature.fromJson); + compare('vdsData', vdsData, VDSData.fromJson); compare('opticalStatus', opticalStatus, OpticalStatus.fromJson); + compare('ageStatus', ageStatus, AgeStatus.fromJson); compare('rfidStatus', rfidStatus, RFIDStatus.fromJson); compare('resultsStatus', resultsStatus, ResultsStatus.fromJson); compare('comparison', comparison, Comparison.fromJson); @@ -115,6 +171,18 @@ void main() { compare('paResourcesIssuer', paResourcesIssuer, PAResourcesIssuer.fromJson); compare('pkdCertificate', pkdCertificate, PKDCertificate.fromJson); compare('taChallenge', taChallenge, TAChallenge.fromJson); + compare('paceProtocol', paceProtocol, PACEProtocol.fromJson); + compare('caProtocol', caProtocol, CAProtocol.fromJson); compare('tccParams', tccParams, TccParams.fromJson); + + compare('deviceRetrievalMethod', deviceRetrievalMethod, + DeviceRetrievalMethod.fromJson); + compare('deviceEngagement', deviceEngagement, DeviceEngagement.fromJson); + compare('nameSpaceMDL', nameSpaceMDL, NameSpaceMDL.fromJson); + compare( + 'documentRequestMDL', documentRequestMDL, DocumentRequestMDL.fromJson); + compare('documentRequest18013MDL', documentRequest18013MDL, + DocumentRequest18013MDL.fromJson); + compare('dataRetrieval', dataRetrieval, DataRetrieval.fromJson); }); } diff --git a/test/json.dart b/test/json.dart index 921fb4f25f..9bd37b1927 100644 --- a/test/json.dart +++ b/test/json.dart @@ -13,7 +13,7 @@ var img3 = useOldXcode var faceApiSearchParams = { "limit": 1, "threshold": 2, - "groupIds": [3, 4, 5] + "groupIds": ["test1", "test2", "test3"], }; var faceApiParams = { "url": "test1", @@ -23,13 +23,17 @@ var faceApiParams = { "proxy": "test3", "proxyPassword": "test4", "proxyType": 3, - "searchParams": faceApiSearchParams + "searchParams": faceApiSearchParams, }; var livenessParams = { "checkOVI": true, "checkMLI": false, "checkHolo": true, "checkED": false, + "checkBlackAndWhiteCopy": true, + "checkDynaprint": false, + "checkGeometry": true, + "checkBarcodeBackground": false, }; var authenticityParams = { "useLivenessCheck": true, @@ -46,12 +50,10 @@ var authenticityParams = { "checkPhotoEmbedding": false, "checkPhotoComparison": true, "checkLetterScreen": false, - "livenessParams": livenessParams -}; -var glaresCheckParams = { - "imgMarginPart": 0.5, - "maxGlaringPart": 1.5, + "checkSecurityText": true, + "livenessParams": livenessParams, }; +var glaresCheckParams = {"imgMarginPart": 0.5, "maxGlaringPart": 1.5}; var imageQA = { "dpiThreshold": 1, "angleThreshold": 2, @@ -62,15 +64,21 @@ var imageQA = { "screenCapture": false, "expectedPass": [1, 2, 3], "glaresCheckParams": glaresCheckParams, - "brightnessThreshold": 0.5 + "brightnessThreshold": 0.5, + "occlusionCheck": true, }; var rfidParams = { - "paIgnoreNotificationCodes": [1, 2, 3] + "paIgnoreNotificationCodes": [1, 2, 3], }; var backendProcessingConfig = { "url": "test", "rfidServerSideChipVerification": true, - "httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"} + "mdlVerification": false, + "httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"}, + "timeoutConnection": 0.5, +}; +var bsi = { + "generateResult": true, }; var processParams = { "multipageProcessing": true, @@ -93,21 +101,37 @@ var processParams = { "updateOCRValidityByGlare": false, "noGraphics": true, "multiDocOnImage": false, - "forceReadMrzBeforeLocate": true, "parseBarcodes": false, "shouldReturnPackageForReprocess": true, "disablePerforationOCR": false, "respectImageQuality": true, + "strictImageQuality": true, "splitNames": false, "useFaceApi": false, "useAuthenticityCheck": true, "checkHologram": false, + "generateNumericCodes": true, + "strictBarcodeDigitalSignatureCheck": false, + "selectLongestNames": true, + "generateDTCVC": false, + "strictDLCategoryExpiry": true, + "generateAlpha2Codes": false, + "disableAuthResolutionFilter": true, + "strictSecurityChecks": false, + "returnTransliteratedFields": true, + "checkCaptureProcessIntegrity": false, + "strictExpiryDate": true, + "debugSaveBinarySession": false, + "checkVDS": true, + "strictAgeCheck": false, + "bsiTr03135": bsi, "measureSystem": 1, "barcodeParserType": 3, "perspectiveAngle": 4, "minDPI": 5, "imageDpiOutMax": 6, "forceDocID": 6, + "pdfPagesLimit": 7, "forceDocFormat": 3, "shiftExpiryDate": 9, "minimalHolderAge": 10, @@ -115,14 +139,16 @@ var processParams = { "imageOutputMaxWidth": 12, "processAuth": 13, "convertCase": 3, + "logLevel": "FatalError", + "mrzDetectMode": 1, "dateFormat": "test1", "scenario": "Mrz", "captureButtonScenario": "Locate", - "sessionLogFolder": "test3", "timeout": 15, "timeoutFromFirstDetect": 16, "timeoutFromFirstDocType": 17, "documentAreaMin": 18, + "timeoutLiveness": 19, "documentIDList": [1, 2, 3], "barcodeTypes": [4, 5, 6], "fieldTypesFilter": [7, 8, 9], @@ -131,6 +157,7 @@ var processParams = { "documentGroupFilter": [135, 136, 137], "lcidIgnoreFilter": [10011, 1078, 1052], "lcidFilter": [1118, 5121, 15361], + "fieldTypesIgnoreFilter": [22, 23, 24], "imageQA": imageQA, "rfidParams": rfidParams, "faceApiParams": faceApiParams, @@ -147,15 +174,80 @@ var customizationColors = { "rfidProcessingScreenProgressLabelText": 0xff000003, "rfidProcessingScreenProgressBar": 0xff000004, "rfidProcessingScreenProgressBarBackground": 0xff000005, - "rfidProcessingScreenResultLabelText": 0xff000006 + "rfidProcessingScreenResultLabelText": 0xff000006, + "rfidProcessingScreenLoadingBar": 0xff000007, + "rfidEnableNfcTitleText": 0xff000008, + "rfidEnableNfcDescriptionText": 0xff000009, + "rfidEnableNfcButtonText": 0xff000010, + "rfidEnableNfcButtonBackground": 0xff000011, + "mdlProcessingScreenBackground": 0xff000012, + "mdlProcessingScreenHintLabelText": 0xff000013, + "mdlProcessingScreenHintLabelBackground": 0xff000014, + "mdlProcessingScreenProgressLabelText": 0xff000015, + "mdlProcessingScreenResultLabelText": 0xff000016, + "mdlProcessingScreenLoadingBar": 0xff000017, + "mdlEnableNfcTitleText": 0xff000018, + "mdlEnableNfcDescriptionText": 0xff000019, + "mdlEnableNfcButtonText": 0xff000020, + "mdlEnableNfcButtonBackground": 0xff000021, + "nextPageIdCardFront": 0xff000022, + "nextPageIdCardBack": 0xff000023, + "nextPagePassportShift": 0xff000024, + "nextPagePassportFlip": 0xff000025, }; var customizationFonts = { "rfidProcessingScreenHintLabel": font1, "rfidProcessingScreenProgressLabel": font2, "rfidProcessingScreenResultLabel": font1, + "rfidEnableNfcTitleText": font2, + "rfidEnableNfcDescriptionText": font1, + "rfidEnableNfcButtonText": font2, + "mdlProcessingScreenHintLabel": font1, + "mdlProcessingScreenProgressLabel": font2, + "mdlProcessingScreenResultLabel": font1, + "mdlEnableNfcTitleText": font2, + "mdlEnableNfcDescriptionText": font1, + "mdlEnableNfcButtonText": font2, }; var customizationImages = { + "helpAnimation": img1, + "livenessAnimation": img2, + "borderBackground": img1, + "torchButtonOn": img2, + "torchButtonOff": img1, + "captureButton": img2, + "switchButton": img1, + "closeButton": img2, + "multipageButton": img1, "rfidProcessingScreenFailureImage": img1, + "rfidEnableNfcImage": img2, + "rfidDisableNfcImage": img1, + "mdlProcessingScreenFailureImage": img2, + "mdlEnableNfcImage": img1, + "mdlDisableNfcImage": img2, + "nextPageIdCardFront": img1, + "nextPageIdCardBack": img2, + "nextPagePassportShift": img1, + "nextPagePassportFlipStart": img2, + "nextPagePassportFlipClean": img1, + "nextPagePassportFlipTop": img2, + "nextPagePassportFlipBottom": img1, +}; +var customizationTimings = { + "nextPageIdCardStartDelay": 0, + "nextPageIdCardEndDelay": 1, + "nextPagePassportShiftStartDelay": 2, + "nextPagePassportShiftEndDelay": 3, + "nextPagePassportFlipStartDelay": 4, + "nextPagePassportFlipEndDelay": 5, +}; +var customizationContentModes = { + "nextPageIdCardFront": 0, + "nextPageIdCardBack": 1, +}; +var customizationMatrices = { + "nextPageIdCardFront": [1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9], + "nextPageIdCardBack": [2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9], }; var customization = { "showStatusMessages": true, @@ -169,6 +261,7 @@ var customization = { "cameraFrameOffsetWidth": 3, "status": "test1", "resultStatus": "test2", + "multipageButtonText": "test3", "cameraFrameDefaultColor": 0xff000000, "cameraFrameActiveColor": 0xff000001, "statusTextColor": 0xff000002, @@ -179,6 +272,8 @@ var customization = { "activityIndicatorColor": 0xff000007, "statusBackgroundColor": 0xff000008, "cameraPreviewBackgroundColor": 0xff000009, + "backgroundMaskColor": 0xff000010, + "multipageButtonTextColor": 0xff000011, "statusPositionMultiplier": 0.5, "resultStatusPositionMultiplier": 1.5, "toolbarSize": 2.5, @@ -189,6 +284,12 @@ var customization = { "cameraFramePortraitAspectRatio": 7.5, "cameraFrameCornerRadius": 8.5, "livenessAnimationPositionMultiplier": 9.5, + "nextPageAnimationStartDelay": 10.5, + "nextPageAnimationEndDelay": 11.5, + "activityIndicatorPortraitPositionMultiplier": 12.5, + "activityIndicatorLandscapePositionMultiplier": 13.5, + "cameraPreviewVerticalPositionMultiplier": 14.5, + "multipageButtonPositionMultiplier": 15.5, "multipageAnimationFrontImage": img1, "multipageAnimationBackImage": img2, "borderBackgroundImage": img3, @@ -201,11 +302,13 @@ var customization = { "changeFrameButtonExpandImage": img1, "changeFrameButtonCollapseImage": img2, "livenessAnimationImage": img3, + "multipageButtonImage": img1, "customLabelStatus": "test3", "cameraFrameLineCap": 2, "uiCustomizationLayer": {"test": "test"}, "statusTextFont": font1, "resultStatusTextFont": font2, + "multipageButtonTextFont": font1, "helpAnimationImageContentMode": 0, "multipageAnimationFrontImageContentMode": 1, "multipageAnimationBackImageContentMode": 2, @@ -221,7 +324,7 @@ var customization = { 2.6, 2.7, 2.8, - 2.9 + 2.9, ], "multipageAnimationBackImageMatrix": [ 3.1, @@ -232,13 +335,16 @@ var customization = { 3.6, 3.7, 3.8, - 3.9 + 3.9, ], "livenessAnimationImageMatrix": [4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9], "borderBackgroundImageMatrix": [5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9], "colors": customizationColors, "fonts": customizationFonts, - "images": customizationImages + "images": customizationImages, + "timings": customizationTimings, + "contentModes": customizationContentModes, + "matrices": customizationMatrices, }; var cameraSize = {"width": 0, "height": 1}; var functionality = { @@ -258,6 +364,10 @@ var functionality = { "recordScanningProcess": false, "manualMultipageMode": true, "singleResult": false, + "torchTurnedOn": false, + "preventScreenRecording": true, + "homeIndicatorAutoHide": false, + "hideStatusBar": true, "showCaptureButtonDelayFromDetect": 0, "showCaptureButtonDelayFromStart": 1, "rfidTimeout": 2, @@ -270,6 +380,8 @@ var functionality = { "btDeviceName": "test", "zoomFactor": 0.5, "exposure": 1.5, + "videoRecordingSizeDownscaleFactor": 2.5, + "mdlTimeout": 3.5, "excludedCamera2Models": ["test1", "test2", "test3"], "cameraSize": cameraSize, "videoSessionPreset": 6, @@ -331,6 +443,13 @@ var eIDDataGroups = { "DG20": false, "DG21": true, }; +var dtcDataGroup = { + "DG17": true, + "DG18": false, + "DG22": false, + "DG23": true, + "DG24": false, +}; var rfidScenario = { "paceStaticBinding": true, "onlineTA": false, @@ -366,7 +485,11 @@ var rfidScenario = { "applyAmendments": false, "autoSettings": true, "proceedReadingAlways": false, - "readingBuffer": 1, + "readDTC": true, + "mrzStrictCheck": false, + "loadCRLFromRemote": true, + "independentSODStatus": false, + "readingBuffer": -1, "onlineTAToSignDataType": 3, "defaultReadingBufferSize": 2, "signManagementAction": 3, @@ -381,18 +504,26 @@ var rfidScenario = { "mrz": "test4", "eSignPINDefault": "test5", "eSignPINNewValue": "test6", + "cardAccess": "test7", + "mrzHash": "test8", + "documentNumber": "test9", + "dateOfBirth": "test10", + "dateOfExpiry": "test11", "eDLDataGroups": eDLDataGroups, "ePassportDataGroups": ePassportDataGroups, "eIDDataGroups": eIDDataGroups, + "dtcDataGroups": dtcDataGroup, }; var initConfig = { "delayedNNLoad": false, "licenseUpdate": true, + "licenseUpdateTimeout": 1.5, "customDb": img1, "blackList": {"key1": "val1", "key2": "val2", "key3": "val3"}, "databasePath": "test", - "license": img2 + "license": img2, + "useBleDevice": true, }; var onlineProcessingConfig = { "mode": 1, @@ -400,21 +531,20 @@ var onlineProcessingConfig = { "imageFormat": 1, "imageCompressionQuality": 1.5, "processParams": processParams, + "requestHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"}, }; -var imageInputData = { - "image": img1, - "light": 128, - "pageIndex": 2, -}; +var imageInputData = {"image": img1, "light": 128, "pageIndex": 2}; var recognizeConfig = { "scenario": "Mrz", "livePortrait": img1, "extPortrait": img2, "oneShotIdentification": true, + "dtc": img1, "image": img3, "data": img1, "images": [img1, img2, img3], - "imageInputData": [imageInputData, imageInputData, imageInputData] + "dataList": [img3, img2, img1], + "imageInputData": [imageInputData, imageInputData, imageInputData], }; var recognizeConfig2 = { "onlineProcessingConfig": onlineProcessingConfig, @@ -424,14 +554,20 @@ var recognizeConfig2 = { "image": img3, "data": img1, "images": [img1, img2, img3], - "imageInputData": [imageInputData, imageInputData, imageInputData] + "imageInputData": [imageInputData, imageInputData, imageInputData], }; var scannerConfig = { "scenario": "Mrz", "onlineProcessingConfig": onlineProcessingConfig, "livePortrait": img1, "extPortrait": img2, - "cameraId": 1 + "cameraId": 1, +}; +var finalizeConfig = { + "rawImages": true, + "video": false, + "rfidSession": true, + "mdlSession": false, }; var documentsDatabase = { @@ -441,13 +577,13 @@ var documentsDatabase = { "databaseDescription": "test4", "countriesNumber": 1, "documentsNumber": 2, - "size": 3 + "size": 3, }; var docReaderVersion = { "api": "test1", "core": "test2", "coreMode": "test3", - "database": documentsDatabase + "database": documentsDatabase, }; var docReaderScenario = { "uvTorch": true, @@ -462,66 +598,47 @@ var docReaderScenario = { "name": "test1", "caption": "test2", "description": "test3", - "manualCrop": false + "manualCrop": false, }; var license = { "expiryDate": "test1", "countryFilter": ["test2", "test3", "test4"], - "isRfidAvailable": true -}; -var docReaderException = { - "code": 1, - "message": "test1", -}; -var rfidException = { - "code": 2, - "message": "test2", -}; -var prepareProgress = { - "downloadedBytes": 1, - "totalBytes": 2, - "progress": 50, + "isRfidAvailable": true, }; +var docReaderException = {"code": 1, "message": "test1"}; +var rfidException = {"code": 2, "message": "test2"}; +var prepareProgress = {"downloadedBytes": 1, "totalBytes": 2, "progress": 50}; var authenticityElement = { "status": 1, "elementType": 2, "elementDiagnose": 3, "elementTypeName": "Photo element", - "elementDiagnoseName": "Error of internal data processing" + "elementDiagnoseName": "Error of internal data processing", }; var authenticityCheck = { - "type": 2, - "status": 1, - "typeName": "IR B900 ink", + "type": 1, + "status": 2, + "typeName": "UV dull paper check", "pageIndex": 3, - "elements": [authenticityElement, authenticityElement, authenticityElement] + "elements": [authenticityElement, authenticityElement, authenticityElement], }; var authenticityResult = { - "status": 1, - "checks": [authenticityCheck, authenticityCheck, authenticityCheck] -}; -var pdf417Info = { - "errorLevel": 2, - "columns": 3, - "rows": 4, + "status": 2, + "checks": [authenticityCheck, authenticityCheck, authenticityCheck], }; +var pdf417Info = {"errorLevel": 2, "columns": 3, "rows": 4}; var barcodeField = { "barcodeType": 5, "status": -6001, "pageIndex": 2, "pdf417Info": pdf417Info, - "data": img1 + "data": img1, }; var barcodeResult = { - "fields": [barcodeField, barcodeField, barcodeField] -}; -var rect = { - "bottom": 0, - "top": 1, - "left": 2, - "right": 3, + "fields": [barcodeField, barcodeField, barcodeField], }; +var rect = {"bottom": 0, "top": 1, "left": 2, "right": 3}; var imageQuality = { "featureType": 1, "result": 2, @@ -532,27 +649,17 @@ var imageQualityGroup = { "count": 1, "result": 2, "pageIndex": 3, - "imageQualityList": [imageQuality, imageQuality, imageQuality] + "imageQualityList": [imageQuality, imageQuality, imageQuality], }; var accessControlProcedureType = { "activeOptionIdx": 1, "type": 2, "status": 1, - "notifications": [1, 2, 3] -}; -var fileData = { - "data": "test", - "length": 2, - "type": 3, - "status": 4, -}; -var certificateData = { - "data": "test", - "length": 1, -}; -var securityObjectCertificates = { - "securityObject": certificateData, + "notifications": [1, 2, 3], }; +var fileData = {"data": "test", "length": 2, "type": 3, "status": 4}; +var certificateData = {"data": "test", "length": 1}; +var securityObjectCertificates = {"securityObject": certificateData}; var file = { "fileData": fileData, "fileID": "test1", @@ -565,7 +672,7 @@ var file = { "docFieldsText": [4, 5, 6], "docFieldsGraphics": [7, 8, 9], "docFieldsOriginals": [10, 11, 12], - "certificates": securityObjectCertificates + "certificates": securityObjectCertificates, }; var application = { "applicationID": "test1", @@ -574,7 +681,7 @@ var application = { "status": 1, "type": 2, "unicodeVersion": "test3", - "version": "test4" + "version": "test4", }; var rfidValue = { "data": "test1", @@ -583,10 +690,7 @@ var rfidValue = { "type": 3, "format": "test2", }; -var attribute = { - "type": "test", - "value": rfidValue, -}; +var attribute = {"type": "test", "value": rfidValue}; var authority = { "attributes": [attribute, attribute, attribute], "data": "test", @@ -606,16 +710,10 @@ var cardProperties = { "aTR": "test2", "baudrate1": "test3", "baudrate2": "test4", - "uID": "test5" -}; -var extension = { - "data": "test1", - "type": "test2", -}; -var rfidValidity = { - "notAfter": rfidValue, - "notBefore": rfidValue, + "uID": "test5", }; +var extension = {"data": "test1", "type": "test2"}; +var rfidValidity = {"notAfter": rfidValue, "notBefore": rfidValue}; var certificateChain = { "type": 1, "extensions": [extension, extension, extension], @@ -629,12 +727,9 @@ var certificateChain = { "subject": authority, "subjectPKAlgorithm": "test3", "validity": rfidValidity, - "version": 4 -}; -var dataField = { - "data": "test", - "fieldType": 1, + "version": 4, }; +var dataField = {"data": "test", "fieldType": 1}; var signerInfo = { "dataToHash": "test1", "digestAlgorithm": "test2", @@ -647,20 +742,20 @@ var signerInfo = { "subjectKeyIdentifier": rfidValue, "signedAttributes": [extension, extension, extension], "certificateChain": [certificateChain, certificateChain, certificateChain], - "notifications": [1, 2, 3] + "notifications": [1, 2, 3], }; var securityObject = { "fileReference": 1, "objectType": "test", "version": 2, "signerInfos": [signerInfo, signerInfo, signerInfo], - "notifications": [1, 2, 3] + "notifications": [1, 2, 3], }; var rfidSessionData = { "accessControls": [ accessControlProcedureType, accessControlProcedureType, - accessControlProcedureType + accessControlProcedureType, ], "applications": [application, application, application], "securityObjects": [securityObject, securityObject, securityObject], @@ -671,14 +766,9 @@ var rfidSessionData = { "totalBytesSent": 2, "status": 1, "extLeSupport": 1, - "processTime": 4 -}; -var bytesData = { - "data": "test", - "length": 1, - "status": 2, - "type": 3, + "processTime": 4, }; +var bytesData = {"data": "test", "length": 1, "status": 2, "type": 3}; var vdsncData = { "type": "test1", "version": 1, @@ -690,6 +780,22 @@ var vdsncData = { "certificateChain": [certificateChain, certificateChain, certificateChain], "notifications": [3000000001, 3000000002, 3000000003], }; +var docFeature = {"type": 0, "data": bytesData}; +var vdsData = { + "type": 1, + "docType": 2, + "featureRef": 3, + "version": 4, + "issuingCountry": "test1", + "docIssueDate": "test2", + "signature": bytesData, + "signatureDate": "test3", + "signer": "test4", + "certificate": "test5", + "certificateChain": [certificateChain, certificateChain, certificateChain], + "docFeatures": [docFeature, docFeature, docFeature], + "notifications": [3000000001, 3000000002, 3000000003], +}; var opticalStatus = { "overallStatus": 0, "mrz": 1, @@ -701,6 +807,14 @@ var opticalStatus = { "vds": 1, "pagesCount": 3, }; +var ageStatus = { + "threshold": 0, + "overThreshold": 1, + "over18": 2, + "over21": 0, + "over25": 1, + "over65": 2, +}; var rfidStatus = { "overallStatus": 0, "pa": 1, @@ -716,14 +830,14 @@ var resultsStatus = { "rfid": 2, "portrait": 0, "stopList": 1, + "mDL": 2, + "age": 0, + "captureProcessIntegrity": 1, "detailsOptical": opticalStatus, + "detailsAge": ageStatus, "detailsRFID": rfidStatus, }; -var comparison = { - "sourceTypeLeft": 0, - "sourceTypeRight": 1, - "status": 2, -}; +var comparison = {"sourceTypeLeft": 0, "sourceTypeRight": 1, "status": 2}; var graphicField = { "sourceType": 0, "fieldType": 201, @@ -738,21 +852,9 @@ var graphicField = { var graphicResult = { "fields": [graphicField, graphicField, graphicField], }; -var rfidOrigin = { - "dg": 1, - "dgTag": 2, - "entryView": 3, - "tagEntry": 4, -}; -var symbol = { - "rect": rect, - "code": 1, - "probability": 2, -}; -var validity = { - "sourceType": 1, - "status": 2, -}; +var rfidOrigin = {"dg": 1, "dgTag": 2, "entryView": 3, "tagEntry": 4}; +var symbol = {"rect": rect, "code": 1, "probability": 2}; +var validity = {"sourceType": 1, "status": 2}; var value = { "sourceType": 3, "value": "test1", @@ -799,7 +901,7 @@ var textResult = { "availableSourceList": [ textSource, documentReaderTextSource2, - documentReaderTextSource3 + documentReaderTextSource3, ], "fields": [textField, textField, textField], }; @@ -817,10 +919,7 @@ var documentType = { "dCountryName": "test5", "pageIndex": 3, }; -var coordinate = { - "x": 1, - "y": 2, -}; +var coordinate = {"x": 1, "y": 2}; var position = { "docFormat": 0, "resultStatus": 1, @@ -842,6 +941,7 @@ var position = { var transactionInfo = { "transactionId": "test1", "tag": "test2", + "sessionLogFolder": "test3", }; var results = { "chipPage": 0, @@ -857,23 +957,23 @@ var results = { "imageQuality": [imageQualityGroup, imageQualityGroup, imageQualityGroup], "documentType": [documentType, documentType, documentType], "rawResult": "test2", + "bsiTr03135Results": "test3", "rfidSessionData": rfidSessionData, "authenticityResult": authenticityResult, "barcodeResult": barcodeResult, "status": resultsStatus, "vdsncData": vdsncData, - "transactionInfo": transactionInfo + "vdsData": vdsData, + "dtcData": img1, + "transactionInfo": transactionInfo, }; var rfidNotification = { "notificationCode": 65536, "dataFileType": 1, - "progress": 2 -}; -var paAttribute = { - "type": "test1", - "value": "test2", + "progress": 2, }; +var paAttribute = {"type": "test1", "value": "test2"}; var paResourcesIssuer = { "data": img1, "friendlyName": "test", @@ -891,10 +991,92 @@ var taChallenge = { "hashPK": "test3", "idPICC": "test4", }; +var paceProtocol = { + "version": "123", + "stdDomainParams": "test2", + "keyAlgorithm": "test3", +}; +var caProtocol = { + "version": "123", + "scheme": "test2", + "keyAlgorithm": "test3", + "chipIndividual": true, +}; var tccParams = { "serviceUrlTA": "test1", "serviceUrlPA": "test2", "pfxCertUrl": "test3", "pfxPassPhrase": "test4", - "pfxCert": img1 + "pfxCert": img1, +}; +var deviceRetrievalMethod = { + "type": 1, + "version": 2, + "cmdMaxLength": 3, + "respMaxLength": 4, + "clientModeSupport": true, + "clientModeUUID": "test1", + "serverModeSupport": true, + "serverModeUUID": "test2", +}; +var deviceEngagement = { + "deviceRetrievalMethods": [ + deviceRetrievalMethod, + deviceRetrievalMethod, + deviceRetrievalMethod, + ], +}; +var nameSpaceMDL = { + "name": "test1", + "map": {"test2": 0, "test3": 1, "test4": 0}, +}; +var documentRequestMDL = { + "docType": "test1", + "namespaces": [nameSpaceMDL, nameSpaceMDL, nameSpaceMDL], +}; +var documentRequest18013MDL = { + "docType": "org.iso.18013.5.1.mDL", + "namespaces": [nameSpaceMDL, nameSpaceMDL, nameSpaceMDL], + "familyName": 0, + "givenName": 1, + "birthDate": 1, + "issueDate": 0, + "expiryDate": 1, + "issuingCountry": 0, + "issuingAuthority": 0, + "documentNumber": 0, + "portrait": 1, + "drivingPrivileges": 0, + "unDistinguishingSign": 0, + "administrativeNumber": 1, + "sex": 0, + "height": 0, + "weight": 0, + "eyeColour": 1, + "hairColour": 0, + "birthPlace": 1, + "residentAddress": 0, + "portraitCaptureDate": 0, + "ageInYears": 1, + "ageBirthYear": 1, + "ageOver18": 1, + "issuingJurisdiction": 0, + "nationality": 0, + "residentCity": 1, + "residentState": 0, + "residentPostalCode": 0, + "residentCountry": 1, + "biometricTemplateFace": 0, + "biometricTemplateIris": 0, + "biometricTemplateFinger": 1, + "biometricTemplateSignatureSign": 1, + "familyNameNationalCharacter": 0, + "givenNameNationalCharacter": 1, + "signatureUsualMark": 0, +}; +var dataRetrieval = { + "docRequestPreset": 0, + "intentToRetain": 1, + "deviceRetrieval": 2, + "requests": [documentRequestMDL, documentRequest18013MDL], }; diff --git a/test/nullable.dart b/test/nullable.dart index 04609fc599..4c232f0b7d 100644 --- a/test/nullable.dart +++ b/test/nullable.dart @@ -1,16 +1,18 @@ Map?> nullableMap = { - "initConfig": ["databasePath", "customDb"], + "initConfig": ["databasePath", "customDb", "licenseUpdateTimeout"], "recognizeConfig": [ "onlineProcessingConfig", "livePortrait", "extPortrait", "data", "images", - "imageInputData" + "dataList", + "imageInputData", ], "recognizeConfig2": ["scenario", "image"], - "scannerConfig": ["scenario", "livePortrait", "extPortrait", "cameraId"], + "scannerConfig": ["scenario", "livePortrait", "extPortrait"], "scannerConfig2": ["onlineProcessingConfig"], + "onlineProcessingConfig": ["requestHeaders"], "faceApiSearchParams": ["groupIds"], "faceApiParams": ["searchParams", "proxy", "proxyPassword", "proxyType"], "livenessParams!": [], @@ -18,13 +20,15 @@ Map?> nullableMap = { "glaresCheckParams!": [], "rfidParams!": [], "imageQA!": [], - "backendProcessingConfig": ["rfidServerSideChipVerification", "httpHeaders"], + "backendProcessingConfig!": ["url", "mdlVerification"], + "bsi!": [], "processParams!": ["imageQA", "authenticityParams"], "rfidScenario!": [ "defaultReadingBufferSize", "eDLDataGroups", "ePassportDataGroups", - "eIDDataGroups" + "eIDDataGroups", + "dtcDataGroups", ], "customization!": ["colors", "fonts", "images"], "functionality!": [], @@ -42,11 +46,13 @@ Map?> nullableMap = { "fDSID", "dDescription", "dYear", - "dCountryName" + "dCountryName", ], "transactionInfo!": [], - "results": ["authenticityResult"], + "results": ["authenticityResult", "bsiTr03135Results"], "paResourcesIssuer": ["friendlyName"], "pkdCertificate": ["privateKey"], "tccParams!": [], + "deviceRetrievalMethod!": ["type", "version"], + "documentRequest18013MDL!": ["docType", "namespaces"], }; diff --git a/test/utils.dart b/test/utils.dart index e876735f7a..3488277ce3 100644 --- a/test/utils.dart +++ b/test/utils.dart @@ -14,7 +14,10 @@ Future writeJson(String name, Map contents) async { @isTest void compare( - String name, Map json, T Function(dynamic) fromJson) { + String name, + Map json, + T Function(dynamic) fromJson, +) { test(name, () async { var toJson = (input) => input.toJson(); var actual = toJson(fromJson(json)); @@ -28,9 +31,14 @@ void compare( Map copy = {}; if (!invert) { copy = toJson(fromJson(json)); - for (String item in nullable) (copy).remove(item); - } else - for (String item in nullable) copy[item] = json[item]; + for (String item in nullable) { + copy.remove(item); + } + } else { + for (String item in nullable) { + copy[item] = json[item]; + } + } var actual = toJson(fromJson(copy)); expect(copy, actual); writeJson(name + "Nullable", copy); @@ -40,19 +48,23 @@ void compare( @isTest void compareParams( - String name, Map json, T Function(dynamic) fromJson, - {List? skip}) { + String name, + Map json, + T Function(dynamic) fromJson, { + List? skip, +}) { test(name, () { var toJson = (input) => input.toJson(); var getTestSetters = (input) => input.testSetters; var object = fromJson(json); var actual = toJson(object); var testSetters = getTestSetters(object); - if (skip != null) + if (skip != null) { for (String item in skip) { (actual as Map).remove(item); (testSetters as Map).remove(item); } + } expect(json, actual); expect(json, testSetters); writeJson(name, json);