4.2.0 • Published 9 days ago

capacitor-plugin-scanbot-sdk v4.2.0

Weekly downloads
-
License
Commercial
Repository
-
Last release
9 days ago

Scanbot Document and Barcode Scanner SDK for Capacitor

Add enterprise-grade document and barcode scanning as well as data capture functionalities to your app in no time

The Scanbot Document and Barcode Scanner SDK for Capacitor enables you to easily implement scanning, document creation, and data extraction functionalities for your apps on iOS and Android.

Access the available cameras on the mobile device, choose the interface, configure the settings, and let your users easily scan any document, barcode, or other data in your application.

Benefit from advanced machine-learning based features like automatic scanning, perspective correction, user guidance, automated cropping, multiple export formats like PDF, TIFF, JPEG; blur detection, image filters, encryption, and much more...

Check out the demo.

Documentation & Example App

To integrate this module into your application please follow the steps in our documentation and check out our example app.

Changelog

For a detailed list of the changes included in each version, please see the changelog.

Trial License

The Scanbot SDK will run without a license for one minute per session! To get an unrestricted, "no-strings-attached" 7-day trial license, please submit the Trial License Form on our website. If you need more time to test our SDK, you can also submit our Proof of Concept Form – giving you a free trial period of 30 days.

Please kindly note that a trial license can only be used in a development and staging environment. You are not allowed to publish your app to the App Store, Play Store or any 3rd party Android App Store with a trial license.

Free Developer Support

We provide free "no-strings-attached" developer support for the implementation & testing of the Scanbot SDK. If you encounter technical issues with integrating the Scanbot SDK or need advice on choosing the appropriate framework or features, please visit our Support Page.

Install

npm install capacitor-plugin-scanbot-sdk
npx cap sync

API

initializeSdk(...)

initializeSdk(config: ScanbotSdkConfiguration) => Promise<{ result: string; }>

Initializes the Scanbot SDK with the given configuration object. To be called once before any other SDK function.

ParamTypeDescription
configScanbotSdkConfigurationthe configuration object of the Scanbot SDK

Returns: Promise<{ result: string; }>


isSdkInitialized()

isSdkInitialized() => Promise<{ value: boolean; }>

Checks if the Scanbot SDK was initialized.

Returns: Promise<{ value: boolean; }>


getLicenseInfo()

getLicenseInfo() => Promise<LicenseInfo>

Returns info about the current license status.

Returns: Promise<LicenseInfo>


addListener('onLicenseError', ...)

addListener(eventName: 'onLicenseError', listenerFunc: (kind: { status: LicenseStatus; sdkFeature: SdkFeature; message: string; }) => void) => Promise<PluginListenerHandle>
ParamType
eventName'onLicenseError'
listenerFunc(kind: { status: LicenseStatus; sdkFeature: SdkFeature; message: string; }) => void

Returns: Promise<PluginListenerHandle>


removeAllListeners()

removeAllListeners() => Promise<void>

startDocumentScanner(...)

startDocumentScanner(args?: { uiConfigs?: DocumentScannerConfiguration | undefined; } | undefined) => Promise<DocumentScannerResult>

Starts the document scanner RTU UI.

ParamTypeDescription
args{ uiConfigs?: DocumentScannerConfiguration; }optional configuration object for the document scanner RTU UI

Returns: Promise<DocumentScannerResult>


startMrzScanner(...)

startMrzScanner(configuration: MrzScannerConfiguration) => Promise<MrzResult>

Starts the Mrz scanner RTU UI.

ParamTypeDescription
configurationMrzScannerConfigurationthe configuration object for the Mrz scanner RTU UI

Returns: Promise<MrzResult>


startBarcodeScanner(...)

startBarcodeScanner(args: { barcodeTypes?: BarcodeFormat[]; }) => Promise<BarcodeResult>

Starts the barcode scanner RTU UI.

ParamTypeDescription
args{ barcodeTypes?: BarcodeFormat[]; }configuration object, containing the optional barcode types that should be recognized

Returns: Promise<BarcodeResult>


startTextDataScanner(...)

startTextDataScanner(configuration: TextDataScannerConfiguration) => Promise<TextDataScannerResult>

Starts the text data scanner RTU UI.

ParamTypeDescription
configurationTextDataScannerConfigurationthe configuration object for the text data scanner RTU UI

Returns: Promise<TextDataScannerResult>


startGenericDocumentRecognizer(...)

startGenericDocumentRecognizer(configuration: GenericDocumentRecognizerConfiguration) => Promise<GenericDocumentRecognizerResult>

Starts the generic document recognizer RTU UI.

ParamTypeDescription
configurationGenericDocumentRecognizerConfigurationthe configuration object for the document detection RTU UI

Returns: Promise<GenericDocumentRecognizerResult>


startBatchBarcodeScanner(...)

startBatchBarcodeScanner(configuration: BatchBarcodeScannerConfiguration) => Promise<BarcodeResult>

Starts the batch barcode scanner RTU UI.

ParamTypeDescription
configurationBatchBarcodeScannerConfigurationthe configuration object for the batch barcode scanner RTU UI

Returns: Promise<BarcodeResult>


startEHICScanner(...)

startEHICScanner(configuration: HealthInsuranceCardScannerConfiguration) => Promise<HealthInsuranceCardScannerResult>

Starts the European Health Insurance Card scanner RTU UI.

ParamTypeDescription
configurationHealthInsuranceCardScannerConfigurationthe configuration object for the health insurance card scanner RTU UI

Returns: Promise<HealthInsuranceCardScannerResult>


startLicensePlateScanner(...)

startLicensePlateScanner(configuration: LicensePlateScannerConfiguration) => Promise<LicensePlateScannerResult>

Starts the license plate scanner RTU UI.

ParamTypeDescription
configurationLicensePlateScannerConfigurationthe configuration object for the license plate scanner RTU UI

Returns: Promise<LicensePlateScannerResult>


startMedicalCertificateScanner(...)

startMedicalCertificateScanner(configuration: MedicalCertificateRecognizerConfiguration) => Promise<MedicalCertificateScannerResult>

Starts the medical certificate scanner RTU UI.

ParamTypeDescription
configurationMedicalCertificateRecognizerConfigurationthe configuration object for the medical certificate scanner RTU UI

Returns: Promise<MedicalCertificateScannerResult>


closeDocumentScanner()

closeDocumentScanner() => Promise<void>

Force closes the document scanner RTU UI.


closeMrzScanner()

closeMrzScanner() => Promise<void>

Force closes the Mrz scanner RTU UI.


closeBarcodeScanner()

closeBarcodeScanner() => Promise<void>

Force closes the barcode scanner RTU UI.


closeTextDataScanner()

closeTextDataScanner() => Promise<void>

Force closes the text data scanner RTU UI.


closeGenericDocumentRecognizer()

closeGenericDocumentRecognizer() => Promise<void>

Force closes the generic document recognizer RTU UI.


closeBatchBarcodeScanner()

closeBatchBarcodeScanner() => Promise<void>

Force closes the batch barcode scanner RTU UI.


closeEHICScanner()

closeEHICScanner() => Promise<void>

Force closes the European Health Insurance Card scanner RTU UI.


closeLicensePlateScanner()

closeLicensePlateScanner() => Promise<void>

Force closes the license plate scanner RTU UI.


closeMedicalCertificateScanner()

closeMedicalCertificateScanner() => Promise<void>

Force closes the license plate scanner RTU UI.


startCroppingScreen(...)

startCroppingScreen(args: { pageId: string; config?: CroppingScreenConfiguration; }) => Promise<CroppingResult>

Starts the cropping screen RTU UI.

ParamTypeDescription
args{ pageId: string; config?: CroppingScreenConfiguration; }the page or pageId to be cropped and an optional configuration object

Returns: Promise<CroppingResult>


startCroppingScreen(...)

startCroppingScreen(args: { page: Page; config?: CroppingScreenConfiguration; }) => Promise<CroppingResult>

Starts the cropping screen RTU UI.

ParamTypeDescription
args{ page: Page; config?: CroppingScreenConfiguration; }the page or pageId to be cropped and an optional configuration object

Returns: Promise<CroppingResult>


closeCroppingScreen()

closeCroppingScreen() => Promise<void>

Force closes the cropping screen RTU UI.


getStoredPageIds()

getStoredPageIds() => Promise<{ pageIds: string[]; }>

Returns: Promise<{ pageIds: string[]; }>


getPageImageUris(...)

getPageImageUris(args: { preview: boolean; kind: PageFileType; pageIds: string[]; }) => Promise<{ uris: (string | undefined)[]; }>

gets the uris of the requested pages

ParamType
args{ preview: boolean; kind: PageFileType; pageIds: string[]; }

Returns: Promise<{ uris: (string)[]; }>


getImageData(...)

getImageData(args: { pageId: string; }) => Promise<{ base64ImageData: string; }>

Returns the base64 encoded image data of the requested page.

ParamTypeDescription
args{ pageId: string; }the pageId for which the image data should be returned

Returns: Promise<{ base64ImageData: string; }>


getImageData(...)

getImageData(args: { page: Page; }) => Promise<{ base64ImageData: string; }>

Returns the base64 encoded image data of the requested page.

ParamTypeDescription
args{ page: Page; }the page for which the image data should be returned

Returns: Promise<{ base64ImageData: string; }>


getImageData(...)

getImageData(args: { imageFileUri: string; }) => Promise<{ base64ImageData: string; }>

Returns the base64 encoded image data of the requested image file.

ParamTypeDescription
args{ imageFileUri: string; }the uri of the image file for which the image data should be returned

Returns: Promise<{ base64ImageData: string; }>


createPage(...)

createPage(args: { originalImageFileUri: string; }) => Promise<Page>

Creates a new page from the image at the given image file uri.

ParamTypeDescription
args{ originalImageFileUri: string; }the uri of the image file from which the page should be created

Returns: Promise<Page>


removePage(...)

removePage(args: { pageId: string; }) => Promise<void>

Removes the page with the given pageId from the storage.

ParamTypeDescription
args{ pageId: string; }the pageId of the page that should be removed

removePage(...)

removePage(args: { page: Page; }) => Promise<void>

Removes the given page from the storage.

ParamTypeDescription
args{ page: Page; }the page that should be removed

getPageById(...)

getPageById(args: { pageId: string; }) => Promise<Page>

Returns the page with the given pageId.

ParamTypeDescription
args{ pageId: string; }the pageId of the page that should be returned

Returns: Promise<Page>


refreshImageUris(...)

refreshImageUris(args: { pages: Page[]; }) => Promise<{ pages: Page[]; }>

Refreshes the image uris of the given pages.

ParamTypeDescription
args{ pages: Page[]; }the pages for which the image uris should be refreshed

Returns: Promise<{ pages: Page[]; }>


rotatePage(...)

rotatePage(args: { pageId: string; times: number; }) => Promise<{ page: Page; }>

Rotates the page with the given pageId by 90° the given amount of times.

ParamTypeDescription
args{ pageId: string; times: number; }The pageId of the page to be rotated and the amount of times it should be rotated 90°

Returns: Promise<{ page: Page; }>


rotatePage(...)

rotatePage(args: { page: Page; times: number; }) => Promise<{ page: Page; }>

Rotates the page by 90° the given amount of times.

ParamTypeDescription
args{ page: Page; times: number; }The page to be rotated and the amount of times it should be rotated 90°

Returns: Promise<{ page: Page; }>


applyImageFilterOnPage(...)

applyImageFilterOnPage(args: { pageId: string; filter: ImageFilter; }) => Promise<Page>

Applies the given image filter on the page with the given pageId.

ParamTypeDescription
args{ pageId: string; filter: ImageFilter; }The pageId of the page on which the image filter should be applied and the image filter to be applied

Returns: Promise<Page>


applyImageFilterOnPage(...)

applyImageFilterOnPage(args: { page: Page; filter: ImageFilter; }) => Promise<Page>

Applies the given image filter on the page.

ParamTypeDescription
args{ page: Page; filter: ImageFilter; }The page on which the image filter should be applied and the image filter to be applied

Returns: Promise<Page>


setDocumentImage(...)

setDocumentImage(args: { page: Page; imageUri: string; }) => Promise<Page>

Sets the document image of the page to the image at the given image file uri.

ParamTypeDescription
args{ page: Page; imageUri: string; }The page for which the image should be set and the image uri of the image that should be set

Returns: Promise<Page>


createPDF(...)

createPDF(args: { imageFileUris: string[]; pageSize: PDFPageSize; }) => Promise<{ pdfFileUri: string; }>

Creates a PDF from the given images. In the format of the given page size.

ParamTypeDescription
args{ imageFileUris: string[]; pageSize: PDFPageSize; }The images from which the PDF should be created and the page size of the PDF

Returns: Promise<{ pdfFileUri: string; }>


writeTIFF(...)

writeTIFF(args: { imageFileUris: string[]; options: { oneBitEncoded?: boolean; dpi?: number; compression?: TIFFCompression; }; }) => Promise<{ tiffFileUri: string; }>

Writes the given images to a TIFF file.

ParamTypeDescription
args{ imageFileUris: string[]; options: { oneBitEncoded?: boolean; dpi?: number; compression?: TIFFCompression; }; }the images to be written to the TIFF file and the options for the TIFF file

Returns: Promise<{ tiffFileUri: string; }>


getOcrConfigs()

getOcrConfigs() => Promise<{ languageDataPath: string; installedLanguages: string[]; }>

Returns info about the installed OCR languages and the path to the language data.

Returns: Promise<{ languageDataPath: string; installedLanguages: string[]; }>


performOcr(...)

performOcr(args: { images: string[]; languages: string[]; outputFormat?: OCROutputFormat; }) => Promise<{ plainText?: string; pdfFileUri?: string; jsonData?: any; }>

Performs OCR on the given images.

ParamTypeDescription
args{ images: string[]; languages: string[]; outputFormat?: OCROutputFormat; }The images on which OCR should be performed, the languages to be used and the output format

Returns: Promise<{ plainText?: string; pdfFileUri?: string; jsonData?: any; }>


detectDocument(...)

detectDocument(args: { imageFileUri: string; quality?: number; }) => Promise<DocumentDetectionResult>

Detects the document on the given image file.

ParamTypeDescription
args{ imageFileUri: string; quality?: number; }The image file uri on which the document should be detected and the quality of the detection (0-100)

Returns: Promise<DocumentDetectionResult>


detectDocumentOnPage(...)

detectDocumentOnPage(args: { pageId: string; }) => Promise<Page>

Detects the document on the page with the given pageId.

ParamTypeDescription
args{ pageId: string; }The page on which the document should be detected

Returns: Promise<Page>


detectDocumentOnPage(...)

detectDocumentOnPage(args: { page: Page; }) => Promise<Page>

Detects the document on the given page.

ParamTypeDescription
args{ page: Page; }The page on which the document should be detected

Returns: Promise<Page>


estimateBlur(...)

estimateBlur(args: { imageFileUri: string; }) => Promise<{ blur: number; }>

Estimates the blur of the image file at the given uri.

ParamTypeDescription
args{ imageFileUri: string; }The uri of the image file for which the blur should be estimated

Returns: Promise<{ blur: number; }>


recognizeCheckOnImage(...)

recognizeCheckOnImage(args: RecognizeCheckOnImageArgs) => Promise<CheckRecognizerResult>

Recognizes the check on the given image file.

ParamTypeDescription
argsRecognizeCheckOnImageArgsThe uri of the image file on which the check should be recognized and the supported check standards

Returns: Promise<CheckRecognizerResult>


Interfaces

ScanbotSdkConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
loggingEnabledbooleanOptional boolean flag to enable logging. See the "Logging" section below.
enableNativeLoggingbooleanOptional boolean flag that enables Scanbot SDK Core native logging (default is false, Android only).
licenseKeystringYour license key for the Scanbot SDK. See the "License Key" section below.
storageImageQualitynumberOptional image quality value. It defines the quality factor of JPEG images. The value must be between 1 and 100, where 100 means maximum quality and largest file size. The recommended default value is 80 which is a good compromise between image file size and document legibility.
storageImageFormatStorageImageFormatOptional image format, either 'JPG' or 'PNG'. The recommended default value is 'JPG'. Please note that 'PNG' will result in larger image files! Also, the storageImageQuality value does not apply for 'PNG'.
storageBaseDirectorystringOptional directory as file URI to override the default storage base directory of the Scanbot SDK. Refer to the section "Storage" for more details.
documentDetectorModeDocumentDetectorModeOptional mode for document detection.
fileEncryptionModeFileEncryptionModeOptional file encryption mode, 'AES128' or 'AES256'.
fileEncryptionPasswordstringOptional file encryption password. Refer to the section "Storage Encryption" for more details.
useCameraXbooleanIf set to true, Camera X will be used for the RTU-UI components (Android only). Default is false.
allowGpuAccelerationbooleanIf set to true, GPU Acceleration will be enabled for Barcode Scanner, Document Scanner and Generic Document Recognizer (Android only). Default is true.
allowXnnpackAccelerationbooleanEnables/disables XNNPACK acceleration for TensorFlow ML models, which provides highly optimized implementations of floating-point neural network operators (Android only)

LicenseInfo

PropType
isLicenseValidboolean
licenseStatusLicenseStatus
licenseExpirationDatenumber

PluginListenerHandle

PropType
remove() => Promise<void>

DocumentScannerResult

PropTypeDescription
statusStatusThe status of the document scanner.
pagesPage[]The detected pages.

Page

PropTypeDescription
pageIdstringA string identifying the page in the internal page file storage
polygonPoint[]The page's cropping polygon as calculated by a document detection operation or as set by the cropping UI. Modifying the polygon will change the polygon as shown in the cropping UI but will not automatically re-crop the original image
detectionResultDetectionStatusThe document detection result status for the operation that produced the page (either the document scanner or detectDocument())
pageImageSourcePageImageSourceThe image source (MANUAL_SNAP, AUTO_SNAP, CAMERA_FRAME) or UNKNOWN if the image has been imported or the source is unknown.
filterImageFilterThe Image Filter that was applied on the page image
documentImageSizeLimitSizeThe value that was set for documentImageSizeLimit, which limits the maximum size of the document image.
originalImageFileUristringFile URI of the original image
documentImageFileUristringFile URI of the cropped document image (if document detection was successful)
originalPreviewImageFileUristringFile URI of a screen-sized preview of the original image
documentPreviewImageFileUristringFile URI of a screen-sized preview of the document image

Point

PropType
xnumber
ynumber

Size

PropType
widthnumber
heightnumber

DocumentScannerConfiguration

PropTypeDescription
acceptedAngleScorenumberThe minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0.
acceptedSizeScorenumberThe minimum document width or height in percent (0 - 100) of the screen size to accept a detected document. Default is 80.0.
autoSnappingButtonHiddenbooleanControls whether the auto-snapping toggle button is hidden or not.
autoSnappingButtonTitlestringTitle of the auto-snapping toggle button.
autoSnappingEnabledbooleanWhen auto-snapping is enabled the document scanner will take a photo automatically when a document is detected, conditions are good and the auto-snapping time-out elapses. In this mode the user can still tap the shutter button to snap a document.
autoSnappingSensitivitynumberControls the auto-snapping speed. Sensitivity must be within the 0..1 range. A value of 1.0 triggers automatic capturing immediately, a value of 0.0 delays the automatic by 3 seconds. The default value is 0.66 (1 second).
polygonCornerRadiusnumberThe radius to use when drawing rounded corners of the polygon. Default is 8.0.
polygonAutoSnapProgressColorstringStroke color of polygon auto snap progress animation. Default is green. Can't be null.
polygonAutoSnapProgressLineWidthnumberLine width of polygon auto snap progress animation. Default is 5.0.
polygonAutoSnapProgressEnabledbooleanWhether polygon auto snap progress animation is enabled or no. Default is true.
bottomBarBackgroundColorstringThe background color of the bottom shutter-bar.
bottomBarButtonsColorstringThe color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button.
cameraBackgroundColorstringThe color of the camera background (relevant only when the camera preview mode is CameraPreviewMode.FIT_IN).
cameraPreviewModeCameraPreviewModePreview mode of the camera: Fit-In or Fill-In. Optional, default is Fit-In.
cancelButtonTitlestringTitle of the cancel button.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
ignoreBadAspectRatiobooleanSets whether to ignore the net.doo.snap.lib.detector.DetectionResult.OK_BUT_BAD_ASPECT_RATIO detection status. By default BadAspectRatio is not ignored.
imageScalenumberThe image scaling factor. The factor must be within the 0..1 range. A factor of 1 means that the resulting images retain their original size. When the factor is less than 1, resulting images will be made smaller by that factor. By default the scale is 1.
multiPageButtonHiddenbooleanControls whether the multi-page toggle button is hidden or not.
multiPageButtonTitlestringTitle of the multi-page mode toggle button.
multiPageEnabledbooleanControls multi-page mode. When enabled, the user can take multiple document photos before closing the screen by tapping the page counter button. When disabled, the screen will be closed immediately after the first document photo is made. The default value is FALSE.
interfaceOrientationUIInterfaceOrientationMaskOrientation lock mode of the UI, the camera preview, and the output images. By default the orientation is not locked.
pageCounterButtonTitlestringTitle suffix of the button that finishes the document scanning when multi-page scanning is enabled. The button's title has the format "# Pages", where # shows the number of images captured up to now and the suffix "Pages" is set using this method.
polygonBackgroundColorstringThe background color of the detected document outline when the document's angle, size or aspect ratio is not yet sufficiently good. (All net.doo.snap.lib.detector.DetectionResult with OK_BUT_XXX).
polygonBackgroundColorOKstringThe background color of the detected document outline when we are ready to snap net.doo.snap.lib.detector.DetectionResult.OK.
polygonColorstringThe color of the detected document outline when the document's angle, size or aspect ratio is not yet sufficiently good. (All detection statuses in net.doo.snap.lib.detector.DetectionResult that have the OK_BUT_XXX prefix).
polygonColorOKstringThe color of the detected document outline when we are ready to snap net.doo.snap.lib.detector.DetectionResult.OK.
polygonLineWidthnumberWidth of the detected document outline.
shutterButtonAutoInnerColorstringThe foreground color of the shutter button in auto-snapping mode.
shutterButtonAutoOuterColorstringThe background color of the shutter button in auto-snapping mode.
shutterButtonIndicatorColorstringThe indicator color of the shutter button in auto-snapping mode.
shutterButtonManualInnerColorstringThe foreground color of the shutter button in manual mode.
shutterButtonManualOuterColorstringThe background color of the shutter button in manual mode.
textHintBadAnglesstringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.OK_BUT_BAD_ANGLES
textHintBadAspectRatiostringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.OK_BUT_BAD_ASPECT_RATIO
textHintNothingDetectedstringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.ERROR_NOTHING_DETECTED
textHintOKstringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.OK
textHintTooDarkstringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.ERROR_TOO_DARK
textHintTooNoisystringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.ERROR_TOO_NOISY
textHintTooSmallstringText hint that will be shown when the current detection status is net.doo.snap.lib.detector.DetectionResult.OK_BUT_TOO_SMALL
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
documentImageSizeLimitSizeLimits the maximum size of the document image. If width or height are zero, this property is effectively ignored.
shutterButtonHiddenbooleanHides the shutter button if set to TRUE. Shows it otherwise. Defaults to FALSE. If set to TRUE, auto-snapping is enabled and the property autoSnappingEnabled of the behaviour configuration will have no effect. Also the auto-snapping button will be hidden.
textHintEnergySavingActivestringThe text being displayed on the user-guidance label, when the scanners energy saver is activated. iOS only.
maxNumberOfPagesnumberMaximum number of pages to scan. Ignored when set to null, or when multiPageEnabled is FALSE. Default value is null.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
accessibilityConfigurationDocumentScannerAccessibilityConfigurationAllows you to customize the accessibility configuration for the Document Scanner UI
forceMaxSnappingSizebooleanSet whether camera should force maximum possible size of snapped picture or use maximum size that available with the same aspect ratio as preview default is false Android only

DocumentScannerAccessibilityConfiguration

PropTypeDescription
flashButtonAccessibilityLabelstringText, that is used as an accessibility label for the flash button.
flashButtonAccessibilityHintstringText, that is used as an accessibility hint for the flash button.
multiPageButtonAccessibilityLabelstringText, that is used as an accessibility label for the multi-page button.
multiPageButtonAccessibilityHintstringText, that is used as an accessibility hint for the multi-page button.
autoSnappingButtonAccessibilityLabelstringText, that is used as an accessibility label for the auto-snapping button.
autoSnappingButtonAccessibilityHintstringText, that is used as an accessibility hint for the auto-snapping button.
cancelButtonAccessibilityLabelstringText, that is used as an accessibility label for the cancel button.
cancelButtonAccessibilityHintstringText, that is used as an accessibility hint for the cancel button.
pageCounterButtonAccessibilityLabelstringText, that is used as an accessibility label for the page-amount button.
pageCounterButtonAccessibilityHintstringText, that is used as an accessibility hint for the page-amount button.
shutterButtonAccessibilityLabelstringText, that is used as an accessibility label for the shutter button.
shutterButtonAccessibilityHintstringText, that is used as an accessibility hint for the shutter button.

MrzResult

PropTypeDescription
statusStatusThe status of the result.

MrzScannerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
finderAspectRatioFinderAspectRatioAspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 7 - which is good for standard machine readable zones.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockTypeUI Interface orientation lock mode
successBeepEnabledbooleanControls whether to play a beep sound after a successful detection. Default value is TRUE.
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
autoCancelTimeoutnumberTime in seconds until the screen is automatically cancelled. Set to 0 to disable automatic cancellation. Defaults to 0 (disabled). iOS only.

FinderAspectRatio

PropType
widthnumber
heightnumber

BarcodeResult

PropType
statusStatus
barcodesBarcodeResultField[]

BarcodeResultField

PropTypeDescription
typeBarcodeFormatThe barcode format.
textstringThe raw text encoded in the barcode.
textWithExtensionstringThe raw text with extension encoded in the barcode
rawBytesnumber[]The array of raw bytes contained in the barcode.

TextDataScannerResult

PropType
statusStatus
result{ text: string; confidence: number; }

TextDataScannerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintColorstringForeground color of the description label.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
wordBoxHighlightColorstringThe color of the highlight of the wordboxes founded on the frame
wordBoxHighlightEnabledbooleanIf the wordboxes should be highlighted when were found on the frame
minimumNumberOfRequiredFramesWithEqualRecognitionResultnumberMinimum number of accumulated frames that have equal result
maximumNumberOfAccumulatedFramesnumberMaximum number of accumulated frames to inspect before actual result is returned
supportedLanguagesstring[]Languages on which the recognition will be run. ISO 639-1 or RFC4646 for special languages that are not available for ISO 639-1
ocrResolutionLimitnumberThe image will be downscaled to the given value during the processing. If the quality of the scanning is not enough, try to increase the limit. This variable affects the performance of the scanning process. Higher the size limit - better the quality, but the recognition is slower. 0 - do not rescale.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
textDataScannerStepTextDataScannerStepConfiguration for the scanned item

TextDataScannerStep

Configuration for the scanned item

PropTypeDescription
guidanceTextstringUser guidance hint text.
patternstringValidation pattern to automatically validate recognized text. '?' = any character, '#' - any digit, all other characters represent themselves. An empty string or nil value will disable the validation pattern.
shouldMatchSubstringbooleanIf set to TRUE pattern validation also validates successfully if only a part of the whole recognized text matches the the validation pattern. If set to FALSE, the whole text must match the validation pattern. Applies to pattern validation only. Defaults to FALSE.
preferredZoomnumberThe cameras zoom level preferred for this step. The actual zoom might be different from the preferred one to avoid clipping of finder area and maintain its aspect ratio and height
aspectRatioFinderAspectRatioThe cameras zoom level preferred for this step. The actual zoom might be different from the preferred one to avoid clipping of finder area and maintain its aspect ratio and height
unzoomedFinderHeightnumberThe preferred height of the finder for zoom scale 1.0 (unzoomed). The actual finder height might change to maintain aspect ratio and to not clip the screen. Defaults to 40 points.
allowedSymbolsstringA string (list) of accepted characters during text recognition. If empty or nil, all characters are accepted. Defaults to nil.
textFilterStrategyTextFilterStrategyRecognition strategy for the text.
significantShakeDelaynumberThreshold used to pause the detection after significant movement occurred. -1 is default value. Default = 0 for textFilterStrategy='DOCUMENT' and 1000 for textFilterStrategy='LCD_DOT_MATRIX_DISPLAY'

GenericDocumentRecognizerResult

PropTypeDescription
documentTypeGenericDocumentTypeThe type of the scanned document The type of the scanned document.
statusStatusThe status of the scan The status of the recognition.
fieldsGenericDocumentFieldsThe list of document fields The data extracted from the scanned document. Available fields are listed in {@link GenericDocumentFields}

DeDriverLicenseResult

PropTypeDescription
birthDateGenericDocumentFieldThe date of birth of the License owner
birthplaceGenericDocumentFieldThe place of birth of the License owner
expiryDateGenericDocumentFieldThe expiry date of the License
givenNamesGenericDocumentFieldThe geven names of the License owner
idGenericDocumentFieldThe id Present on the License
issueDateGenericDocumentFieldThe issuing date of the License
issuingAuthorityGenericDocumentFieldThe issuing authority of the License
licenseCategoriesGenericDocumentFieldThe raw categories for which the License owner is permitted to drive. See {@link DriverLicenseCategories}
photoImageUristringThe URI to the image of the photo of the License owner.
signatureImageUristringThe URI to the image of the signature of the License owner.
surnameGenericDocumentFieldThe surname of the License owner
restrictionsGenericDocumentFieldThe restrictions to driving privileges for the License owner
categoriesDriverLicenseCategoriesThe vehicle categories for which the License owner is permitted to drive.

GenericDocumentField

PropTypeDescription
textstringThe text of the detected field. The text that was detected.
confidencenumberThe confidence in the accuracy of the detected Text. The confidence in the correctness of the detected text

DriverLicenseCategories

PropTypeDescription
aDriverLicenseCategoryThe field contains information about the category A
a1DriverLicenseCategoryThe field contains information about the category A1
a2DriverLicenseCategoryThe field contains information about the category A2
bDriverLicenseCategoryThe field contains information about the category B
b1DriverLicenseCategoryThe field contains information about the category B1
beDriverLicenseCategoryThe field contains information about the category BE
cDriverLicenseCategoryThe field contains information about the category C
c1DriverLicenseCategoryThe field contains information about the category C1
c1eDriverLicenseCategoryThe field contains information about the category C1E
ceDriverLicenseCategoryThe field contains information about the category CE
dDriverLicenseCategoryThe field contains information about the category D
d1DriverLicenseCategoryThe field contains information about the category D1
d1eDriverLicenseCategoryThe field contains information about the category D1E
deDriverLicenseCategoryThe field contains information about the category DE
lDriverLicenseCategoryThe field contains information about the category L
mDriverLicenseCategoryThe field contains information about the category M
tDriverLicenseCategoryThe field contains information about the category T

DriverLicenseCategory

PropTypeDescription
restrictionsGenericDocumentFieldThe field contains information about the restrictions
validFromGenericDocumentFieldThe field contains information about the valid from date
validUntilGenericDocumentFieldThe field contains information about the valid until date

DePassportResult

PropTypeDescription
birthDateGenericDocumentFieldThe date of birth of the Passport owner
birthplaceGenericDocumentFieldThe place of birth of the Passport owner
countryCodeGenericDocumentFieldThe country code of the Passport
expiryDateGenericDocumentFieldThe date of expiry of the Passport
genderGenericDocumentFieldThe gender of the Passport owner
givenNamesGenericDocumentFieldThe given names of the Passport owner
idGenericDocumentFieldThe id Present on the Passport
issueDateGenericDocumentFieldThe issuing date of the Passport
issuingAuthorityGenericDocumentFieldThe issuing authority of the Passport
maidenNameGenericDocumentFieldThe maiden name of the Passport owner
nationalityGenericDocumentFieldThe nationality of the Passport owner
passportTypeGenericDocumentFieldThe type of passport
photoImageUristringThe URI to image of the photo of the Passport owner.
rawMrzGenericDocumentFieldThe raw MRZ data of the Passport
signatureImageUristringThe URI to image of the signature of the Passport owner.
surnameGenericDocumentFieldThe surname of the Passport owner
mrzMrzDocumentResultThe parsed MRZ data of the Passport

MrzDocumentResult

PropTypeDescription
birthDateGenericDocumentFieldThe Birth Date of the document owner.
checkDigitsGenericDocumentField[]The Check Digit for the MRZ data.
documentNumberGenericDocumentFieldThe document number in the MRZ data.
expiryDateGenericDocumentFieldThe Expiry Date of the document.
genderGenericDocumentFieldThe Gender of the document owner.
givenNamesGenericDocumentFieldThe given names of the document owner.
issuingAuthorityGenericDocumentFieldThe issuing authority of the document.
nationalityGenericDocumentFieldThe nationality of the document owner
optional1GenericDocumentFieldThe optional data of the document owner
optional2GenericDocumentFieldThe optional data of the document owner
surnameGenericDocumentFieldThe surname of the document owner
travelDocTypeGenericDocumentFieldThe type of the document
travelDocTypeVariantGenericDocumentFieldThe variant of the document

DeIdCardResult

PropTypeDescription
birthDateGenericDocumentFieldThe Birth Date of the German ID owner.
birthplaceGenericDocumentFieldThe Birth Place of the German ID owner.
expiryDateGenericDocumentFieldThe Date of Expiry of the German ID.
givenNamesGenericDocumentFieldThe Given Names of the German ID owner.
idGenericDocumentFieldThe ID Number of the German ID.
maidenNameGenericDocumentFieldThe Maiden Name of the German ID owner.
nationalityGenericDocumentFieldThe Nationality of the German ID owner.
pinGenericDocumentFieldThe PIN number of the German ID owner.
photoImageUristringThe URI to the image of the photo of the German ID owner.
signatureImageUristringThe URI to the image of the signature of the German ID owner.
surnameGenericDocumentFieldThe Surname of the German ID owner.
addressGenericDocumentFieldThe Address of the German ID owner.
eyeColorGenericDocumentFieldThe Eye color of the German ID owner.
heightGenericDocumentFieldThe Height of the German ID owner.
issueDateGenericDocumentFieldThe issue date of the German ID.
issuingAuthorityGenericDocumentFieldThe issuing authority of the German ID.
pseudonymGenericDocumentFieldThe pseudonyms of of the German ID owner
rawMrzGenericDocumentFieldThe raw MRZ result.

GenericDocumentRecognizerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
cameraModuleCameraModuleThe preferred camera module (default - BACK)
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
cameraOverlayColorstringBackground color outside of the finder window.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
fieldsCountTextColorstringText color of the fields count label.
fieldConfidenceHighColorstringColor of confidence value label background in details screen, when the field confidence level is high.
fieldConfidenceModerateColorstringColor of confidence value label background in details screen, when the field confidence level is moderate.
fieldConfidenceLowColorstringColor of confidence value label background in details screen, when the field confidence level is low.
fieldConfidenceTextColorstringColor of confidence value label text in details.
tipTextColorstringColor of tip text on scanning screen.
tipBackgroundColorstringColor of tip background on scanning screen.
detailsBackgroundColorstringThe color of bottom sheet
detailsPrimaryColorstringThe color of text elements in bottom sheet
detailsActionColorstringThe color of Submit button
detailsSectionHeaderTextColorstringText color for section headers on the details screen. iOS only.
detailsSectionHeaderBackgroundColorstringBackground color for section headers on the details screen. iOS only.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
clearButtonTitlestringString used for displaying amount of detected fields. Use %d for number formatting symbol.
submitButtonTitlestringText of the button which finishes the flow
fieldsCountTextstringString used for displaying amount of detected fields. Use %d for number formatting symbol.
confidenceValuestringString that shows average confidence value of scanned document. Use %d as number formatting symbol.
scanBackSideTitlestringString that asks user to scan back side of a document.
scanFrontSideTitlestringString that asks user to scan front side of a document.
startScanningTitlestringString that asks user to start scanning a document.
scannedEverythingTitlestringString that notifies that both sides of document are scanned.
emptyValueTitlestringString being displayed for empty values. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
imageTitlestringA title to show image content. Android only.
noDataTitlestringString that notifies that nothing was scanned yet.
acceptedDocumentTypesGenericDocumentType[]Accepted document types. All other document types will be ignored. By default - All types
sharpnessAcceptanceFactornumberAccepted minimal sharpness score. Images with a score less than that will be rejected with RecognitionStatus::ErrorTooBlurry. Default is 80. 0 - any image will be accepted. 80 - a good compromise; the recommended setting. 100 - only very sharp images will be accepted.
fieldsDisplayConfigurationFieldsDisplayConfiguration[]Allows to configure the display configuration for fields.
documentsDisplayConfigurationDocumentsDisplayConfiguration[]Allows to configure the display configuration for documents.
excludedFieldTypesstring[]List of secure fields which should be excluded from scanning process. All other fields will be scanned as usual. Field should be set ONLY as normalized field name. Example - DePassport.BirthDate or DePassport.Birthplace
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only

FieldsDisplayConfiguration

Field display configuration object

PropTypeDescription
normalizedFieldNamestringComplete list of available normalized field names is available in the documentation
defaultDisplayTextstringThe display text of the field in the list
defaultDisplayStateFieldDisplayStateThe default display state of a field in the RTU UI, could be hidden by default or visible by default.

DocumentsDisplayConfiguration

Field display configuration object

PropTypeDescription
normalizedDocumentNamestringComplete list of available normalized document names is available in the documentation
defaultDisplayTextstringThe display text of the document in the list

BatchBarcodeScannerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
acceptedDocumentFormatsBarcodeDocumentFormat[]An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
cameraOverlayColorstringBackground color of the detection overlay.
cameraModuleCameraModuleBackground color of the detection overlay.
cameraZoomFactornumberThe relative initial zoom level of the camera in the range 0,1, where 0 is zoomed out and 1 is zoomed in. The default value is 0.
cameraZoomRangeZoomRangeThe range of valid camera zoom factors. Default value is (1.0; 3.0). iOS only.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
cancelButtonTitlestringString being displayed on the cancel button.
doubleTapToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only.
pinchToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only.
shouldAnimateZoomingbooleanDefines, if zooming in or out should be animated. iOS only.
engineModeEngineModeString being displayed on the cancel button.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
finderAspectRatioFinderAspectRatioAspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringString being displayed on the flash button.
flashEnabledbooleanWhether flash is toggled on or off.
focusLockEnabledbooleanDisables auto-focus and locks the lens at the specified focus lock lens position. The default value is false.
focusLockPositionnumberThe position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The value will be clamped to 0.0f, 1.0f. The default value is 0.0.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
minimumTextLengthnumberOptional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
maximumTextLengthnumberOptional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
minimum1DBarcodesQuietZonenumberOptional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only.
minFocusDistanceLockbooleanLock focus distance withing minimum possible range
stripCheckDigitsbooleanWith this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false
successBeepEnabledbooleanWhether scanner screen should make a sound on successful barcode or MRZ detection.
topBarBackgroundColorstringBackground color of the top bar.
topBarButtonsColorstringForeground color of the cancel button.
topBarButtonsInactiveColorstringForeground color of the top bar buttons when disabled.
barcodeFormatsBarcodeFormat[]Accepted barcode formats
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
gs1DecodingEnabledbooleanWhen set to true, the scanner assumes that the barcode can be a GS1 barcode. Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29). The default value is true. NOTE - Currently works for CODE128 barcodes only!
msiPlesseyChecksumAlgorithmMSIPlesseyChecksumAlgorithmThe checksum algorithm for MSI Plessey barcodes. The default value is Mod10.
lowPowerModebooleanIf true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false - mode is disabled. The default is false. Android only.
barcodesCountTextstringThe color for barcodes count text
barcodesCountTextColorstringThe color for barcodes count text
clearButtonTitlestringText of the button which clears the list of scanned barcodes.
detailsActionColorstringThe color of Submit button
detailsBackgroundColorstringThe color of bottom sheet
detailsPrimaryColorstringThe color of text elements in bottom sheet
deleteButtonTitlestringString being displayed on the delete button.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
fetchingStateTextstringThe text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
noBarcodesTitlestringText of the message that there are no barcodes scanned
submitButtonTitlestringText of the button which finishes the flow
codeDensityCodeDensityThe expected density of QR codes in an image.
decodeStacks1DnumberNumber of stacks to split a 1D barcode crop before extracting scanlines. For stacked RSS barcodes, this should be set to the numbers of stacks with which the barcode was printed. For other barcodes, the default of 1 is good enough. Setting it higher will slighty increase frame times, improve performance on hard barcodes and possibly increase the number of false positives.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
autoCancelTimeoutnumberSets auto close timer in seconds. 0 = disabled and it is the default value. Android only
initialScanDelaynumberScanning delay after scanner appearance in seconds. Defaults to 0 secs.
overlayConfigurationSelectionOverlayConfigurationThe selection overay configuration.

ZoomRange

Defines a range for zooming

PropTypeDescription
minZoomnumberThe minimum zoom scale. Defaults to 1.0.
maxZoomnumberThe maximum zoom scale. Defaults to 3.0.

SelectionOverlayConfiguration

Barcode Selection Overlay configuration

PropTypeDescription
overlayEnabledbooleanWhether the barcode selection overlay is enabled or not.
textFormatBarcodeOverlayTextFormatDefine the way of how to show barcode data with selection overlay.
polygonColorstringThe color of the polygon in the selection overlay.
textColorstringThe color of the text in the selection overlay.
textContainerColorstringThe color of the texts background in the selection overlay.
highlightedPolygonColorstringThe color of the polygon in the selection overlay, when highlighted.
highlightedTextColorstringThe color of the text in the selection overlay, when highlighted.
highlightedTextContainerColorstringThe color of the texts background in the selection overlay, when highlighted.

HealthInsuranceCardScannerResult

PropTypeDescription
statusStatusThe status of the scanning process.
fields{ type: string; value: string; confidence: number; }[]The detected health insurance card fields.

HealthInsuranceCardScannerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
detectionStatusFailedDetectionTextstringString being displayed when health insurance card was not found.
detectionStatusFailedValidationTextstringString being displayed when health insurance card was found but not recognized.
detectionStatusSuccessTextstringString being displayed when health insurance card was found and recognized.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only

LicensePlateScannerResult

PropTypeDescription
statusStatus'OK' if the License Plate was scanned, 'CANCELED' if the user canceled the scanner UI.
licensePlatestringThe License Plate detected by the scanner
confidencenumberConfidence in the accuracy of the detection (0 - 100)
countryCodestringThe Country Code on the License Plate as detected by the scanner
rawTextstringThe entire raw text detected on the License Plate by the scanner
isValidationSuccessfulboolean'true' if the validation of the scanned license plate was successful, 'false' otherwise - iOS only.

LicensePlateScannerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
confirmationDialogStyleDialogStyleThe style of the confirmation dialog. iOS Only.
confirmationDialogConfirmButtonStyleDialogButtonStyleThe style of the confirmation dialogs confirm button. iOS Only.
confirmationDialogRetryButtonStyleDialogButtonStyleThe style of the confirmation dialogs retry button. iOS Only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringUser guidance text below the finder view
finderTextHintColorstringForeground color of the description label.
finderPreferredHeightnumberThe preferred heigth of the view finder. Defaults to 150.0. iOS Only.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
minNumberOfRequiredFramesWithEqualRecognitionResultnumberMinimum number of accumulated frames that have equal result
maximumNumberOfAccumulatedFramesnumberMaximum number of accumulated frames to inspect before actual result is returned
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
significantShakeDelaynumberThreshold used to pause the detection after significant movement occurred. -1 is default value. Default = 0 for textFilterStrategy='DOCUMENT' and 1000 for textFilterStrategy='LCD_DOT_MATRIX_DISPLAY'. Android only.
scanStrategyLicensePlateScanStrategyDetector mode, classic (OCR based) or ML (machine learning based) approach.
confirmationDialogTitlestringThe title of the confirmation dialog.
confirmationDialogMessagestringThe message text of the confirmation dialog.
confirmationDialogConfirmButtonTitlestringThe title of the confirmation dialog retry button.
confirmationDialogRetryButtonTitlestringThe title of the confirmation dialog confirm button.
confirmationDialogAccentColorstringThe accent color of buttons on a confirmation dialog.
confirmationDialogConfirmButtonFilledbooleanAllows to set if the confirm button should be filled. Defaults to TRUE.
confirmationDialogConfirmButtonFilledTextColorstringAllows to set a text color of the filled button. See confirmationDialogConfirmButtonFilled.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only

DialogStyle

Configuration for the dialog/alert style

PropTypeDescription
screenBackgroundColorstringThe Color of the screen-covering backdrop view.
dialogBackgroundColorstringThe general background color of the actual dialog view.
dialogBackgroundEffectBlurEffectThe visual effect of the dialogs background.
cornerRadiusnumberThe corner radius of the dialog.
titleColorstringThe color of the dialogs title.
titleFontFontThe font of the dialogs title
messageColorstringThe color of the dialogs message.
messageFontFontThe font of the dialogs message.
separatorColorstringThe color of the separators around the dialogs button area.
separatorWidthnumberThe width of the separators in points.

Font

The font name and size. iOS only.

PropTypeDescription
fontNamestringThe font name. defaults to SYSTEM.
fontSizenumberThe font size. defaults 17.0 .

DialogButtonStyle

Configuration for the dialogs/alerts OK button style.

PropTypeDescription
fontFontThe font of the button title.
textColorstringThe color of the buttons title while not pressed.
highlightedTextColorstringThe color of the buttons title while pressed.
backgroundColorstringThe background color of the button while not pressed.
highlightedBackgroundColorstringThe background color of the button while pressed.

MedicalCertificateScannerResult

PropTypeDescription
statusStatus'OK' if the Medical Certificate was scanned, 'CANCELED' if the user canceled the scanner UI.
formTypeMedicalCertificateFormTypeThe Medical Certificate Form Type
imageFileUristringImage file uri of the captured Medical Certificate
patientData{ insuranceProvider?: string; firstName?: string; lastName?: string; address1?: string; address2?: string; diagnose?: string; healthInsuranceNumber?: string; insuredPersonNumber?: string; status?: string; placeOfOperationNumber?: string; doctorNumber?: string; unknown?: string; }The extracted patient data
dates{ incapableOfWorkSince?: MedicalCertificateDateField; incapableOfWorkUntil?: MedicalCertificateDateField; diagnosedOn?: MedicalCertificateDateField; childNeedsCareFrom?: MedicalCertificateDateField; childNeedsCareUntil?: MedicalCertificateDateField; birthDate?: MedicalCertificateDateField; documentDate?: MedicalCertificateDateField; unknown?: MedicalCertificateDateField; }The extracted dates data
checkboxes{ initialCertificate?: MedicalCertificateCheckboxField; renewedCertificate?: MedicalCertificateCheckboxField; workAccident?: MedicalCertificateCheckboxField; assignedToAccidentInsuranceDoctor?: MedicalCertificateCheckboxField; accident?: MedicalCertificateCheckboxField; accidentNo?: MedicalCertificateCheckboxField; requiresCare?: MedicalCertificateCheckboxField; requiresCareNo?: MedicalCertificateCheckboxField; insuredPayCase?: MedicalCertificateCheckboxField; finalCertificate?: MedicalCertificateCheckboxField; otherAccident?: MedicalCertificateCheckboxField; unknown?: MedicalCertificateCheckboxField; }The extracted checkboxes data. It contains information about the medical form checkboxes type and whether they are checked or not.

MedicalCertificateDateField

PropTypeDescription
validationConfidencenumberThe conficende in the validity of this Field.
recognitionConfidencenumberThe confidence of the date field recognition.
dateStringstringThe date as a string.

MedicalCertificateCheckboxField

PropTypeDescription
isCheckedbooleanWhether the checkbox was checked(True) or unchecked(False).
confidencenumberThe confidence of the checkbox recognition.

MedicalCertificateRecognizerConfiguration

PropTypeDescription
versionstringA version of the configuration object
screenstringThe configuration object should be applied for this screen
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
flashButtonHiddenbooleanControls whether the flash toggle button is hidden or not.
flashButtonTitlestringTitle of the flash toggle button.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
userGuidanceHiddenbooleanWhether the user guidance label is hidden or not. iOS only.
recognizePatientInfobooleanWhether sdk should run recognition of Patient Information block.
returnCroppedDocumentImagebooleanWhether sdk should return cropped document image or not
errorDialogStyleDialogStyleThe style of the dialog/alert in case of error. iOS only.
errorDialogTitlestringError dialog title
errorDialogAccentColorstringThe accent color of buttons on a error dialog. iOS only.
errorDialogMessagestringError dialog message
errorDialogOkButtonstringError dialog ok button text.
errorDialogOkButtonFilledbooleanAllows to set if the confirm button should be filled. Android only.
errorDialogOkButtonFilledTextColorstringAllows to set a text color of the filled button. Android only.
errorDialogButtonStyleDialogButtonStyleThe style of the dialogs/alerts OK button in case of error. iOS only.
showFinderOverlaybooleanOption to show or hide finder overlay
userGuidanceStringsMedicalCertificateUserGuidanceStringsConfiguration that helps to override default hint values
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
finderAspectRatioFinderAspectRatioAspect ratio of the view finder (width \ height). Set to nil of no view finder should be displayed. iOS only.
finderSecondaryAspectRatioFinderAspectRatioSecondary aspect ratio of finder frame (width \ height). Set to nil if no secondary view finder should be displayed. iOS only.

MedicalCertificateUserGuidanceStrings

Configuration for the hint values

PropTypeDescription
startScanningstringText that is shown on camera open.
scanningstringText text that is shown when the camera is seeking for the document on the visible area, shown after the first result from the detector.
energySavingstringText text that is shown when energy saving is active.
capturingstringText that is shown when the camera snaps the image.
processingstringText that is shown when the detector tries to detect the document from the snapped image.
pausedstringText that is shown when the detector is paused. iOS only.

CroppingResult

PropTypeDescription
statusStatusThe status of the cropping operation.
pagePageThe cropped page.

CroppingScreenConfiguration

PropTypeDescription
hintTitlestringString being displayed as a hint. Empty by default.
hintTitleColorstringText color of the hint title.
backgroundColorstringBackground color of the main screen.
bottomBarBackgroundColorstringBackground color of the bottom toolbar.
bottomBarButtonsColorstringColor of the titles of all buttons in the bottom toolbar (Rotate button).
cancelButtonTitlestringTitle of the cancel button.
doneButtonTitlestringTitle of the Done button.
polygonColorstringDefault color of the cropping outline.
polygonColorMagneticstringOutline color of magnetically snapped edges.
polygonLineWidthnumberWidth of the cropping outline.
rotateButtonTitlestringTitle of the Rotate button.
topBarBackgroundColorstringBackground color of the top toolbar.
topBarButtonsColorstringColor of the titles of all buttons in the top toolbar (Cancel and Done buttons).
topBarTitlestringTitle in the top bar (iOS only).
titleColorstringColor of the title in the top bar (iOS only).
detectButtonTitlestringTitle of the Detect button.
resetButtonTitlestringTitle of the Reset button.
rotateButtonHiddenbooleanControls whether the Rotate button is hidden or not.
detectResetButtonHiddenbooleanControls whether the Detect/Reset button is hidden or not.
interfaceOrientationUIInterfaceOrientationMaskUI orientation lock mode: PORTRAIT, LANDSCAPE, etc. By default the UI is not locked.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
accessibilityConfigurationCroppingScreenAccessibilityConfigurationAllows you to customize the accessibility configuration for the Cropping Screen UI.
topAndBottomButtonsSwappedbooleanDefines if the top and bottom buttons are swapped. Default is false.

CroppingScreenAccessibilityConfiguration

PropTypeDescription
cancelButtonAccessibilityLabelstringText, that is used as an accessibility label for the cancel button.
cancelButtonAccessibilityHintstringText, that is used as an accessibility hint for the cancel button.
doneButtonAccessibilityLabelstringText, that is used as an accessibility label for the done button.
doneButtonAccessibilityHintstringText, that is used as an accessibility hint for the done button.
detectButtonAccessibilityLabelstringText, that is used as an accessibility label for the detect button.
detectButtonAccessibilityHintstringText, that is used as an accessibility hint for the detect button.
resetButtonAccessibilityLabelstringText, that is used as an accessibility label for the reset button.
resetButtonAccessibilityHintstringText, that is used as an accessibility hint for the reset button.
rotateButtonAccessibilityLabelstringText, that is used as an accessibility label for the rotate button.
rotateButtonAccessibilityHintstringText, that is used as an accessibility hint for the rotate button.

DocumentDetectionResult

PropTypeDescription
detectionResultDetectionStatusThe status of the detection
polygonPolygonThe polygon of the detected document on the original image
documentImageFileUristringThe image of the detected document

Polygon

PropType
points{ x: number; y: number; }[]

CheckRecognizerResult

PropType
checkTypeCheckType
imageFileUristring
statusCheckRecognizerResultStatus
fieldsCheckRecognizerFields

USACheckResult

PropType
accountNumberCheckRecognizerField
auxiliaryOnUsCheckRecognizerField
transitNumberCheckRecognizerField

CheckRecognizerField

PropTypeDescription
valueGenericDocumentFieldThe detected field.
validationStatusCheckRecognizerFieldValidationStatusThe validation status of the field.

FRACheckResult

PropType
accountNumberCheckRecognizerField
chequeNumberCheckRecognizerField
routingNumberCheckRecognizerField

KWTCheckResult

PropType
accountNumberCheckRecognizerField
chequeNumberCheckRecognizerField
sortCodeCheckRecognizerField

AUSCheckResult

PropType
accountNumberCheckRecognizerField
auxDomesticCheckRecognizerField
bsbCheckRecognizerField
extraAuxDomesticCheckRecognizerField
transactionCodeCheckRecognizerField

INDCheckResult

PropType
accountNumberCheckRecognizerField
serialNumberCheckRecognizerField
sortNumberCheckRecognizerField
transactionCodeCheckRecognizerField

UnknownCheckResult

RecognizeCheckOnImageArgs

PropTypeDescription
imageFileUristringThe input image file URI.
acceptedCheckStandardsCheckType[]An optional array of check types that act as a detection filter. By default all supported document formats will be detected.

Type Aliases

StorageImageFormat

'JPG' | 'PNG'

DocumentDetectorMode

'EDGE_BASED' | 'ML_BASED'

FileEncryptionMode

'AES128' | 'AES256'

LicenseStatus

"StatusOkay" | "StatusTrial" | "StatusFailureNotSet" | "StatusFailureCorrupted" | "StatusFailureWrongOS" | "StatusFailureAppIDMismatch" | "StatusFailureExpired"

SdkFeature

"NoSdkFeature" | "PayformDetection" | "EdgeDetection" | "EdgeDetectionUI" | "ImageProcessing" | "OCR" | "DataIntelligence" | "PDFCreation" | "CloudUpload" | "CreditCardRecognition" | "Barcode" | "W2Detection" | "Check" | "InvoiceDetection" | "MRZRecognition" | "MedicalCertRecognition" | "MultipleObjectsDetection" | "TextOrientationDetection" | "EHICRecognition" | "IdCardScanning" | "TextLineRecognition" | "FeatureLicensePlateScanning" | "FeatureDriverLicenseRecognition"

Status

"OK" | "CANCELED"

DetectionStatus

"OK" | "OK_BUT_TOO_SMALL" | "OK_BUT_BAD_ANGLES" | "OK_BUT_BAD_ASPECT_RATIO" | "OK_BARCODE" | "OK_OFF_CENTER" | "ERROR_NOTHING_DETECTED" | "ERROR_TOO_DARK" | "ERROR_TOO_NOISY"

PageImageSource

'UNKNOWN' | 'MANUAL_SNAP' | 'AUTO_SNAP' | 'CAMERA_FRAME'

ImageFilter

"NONE" | "COLOR_ENHANCED" | "GRAYSCALE" | "BINARIZED" | "COLOR_DOCUMENT" | "PURE_BINARIZED" | "BACKGROUND_CLEAN" | "BLACK_AND_WHITE" | "OTSU_BINARIZATION" | "DEEP_BINARIZATION" | "LOW_LIGHT_BINARIZATION" | "LOW_LIGHT_BINARIZATION_2" | "EDGE_HIGHLIGHT" | "SENSITIVE_BINARIZATION"

CameraPreviewMode

'FIT_IN' | 'FILL_IN'

UIInterfaceOrientationMask

"ALL" | "PORTRAIT" | "LANDSCAPE"

CameraModule

'FRONT' | 'BACK'

BarcodeFormat

"AZTEC" | "CODABAR" | "CODE_39" | "CODE_93" | "CODE_128" | "DATA_MATRIX" | "EAN_8" | "EAN_13" | "ITF" | "PDF_417" | "QR_CODE" | "RSS_14" | "RSS_EXPANDED" | "UPC_A" | "UPC_E" | "MSI_PLESSEY" | "UNKNOWN"

OrientationLockMode

Applied interface orientation

'NONE' | 'PORTRAIT' | 'LANDSCAPE'

TextFilterStrategy

Additional parameter for GenericTextRecognizer to set the type of the scanned object

'Document' | 'LcdDotMatrixDisplay'

GenericDocumentType

Supported document types

'DeIdCardFront' | 'DeIdCardBack' | 'DePassport' | 'DeDriverLicenseFront' | 'DeDriverLicenseBack'

GenericDocumentFields

DeDriverLicenseResult | DePassportResult | DeIdCardResult

FieldDisplayState

Field display state in the RTU UI

'Hidden' | 'VisibleIfNotEmpty' | 'AlwaysVisible'

BarcodeDocumentFormat

"AAMVA" | "BOARDING_PASS" | "DE_MEDICAL_PLAN" | "MEDICAL_CERTIFICATE" | "ID_CARD_PDF_417" | "SEPA" | "SWISS_QR" | "VCARD"

EngineMode

"NEXT_GEN" | "LEGACY"

MSIPlesseyChecksumAlgorithm

"None" | "Mod10" | "Mod11IBM" | "Mod11NCR" | "Mod1010" | "Mod1110IBM" | "Mod1110NCR"

CodeDensity

'LOW' | 'HIGH'

BarcodeOverlayTextFormat

Barcode scanner engine mode

'NONE' | 'CODE' | 'CODE_AND_TYPE'

BlurEffect

The blur effect style. iOS only.

'EXTRA_LIGHT' | 'LIGHT' | 'DARK' | 'REGULAR' | 'PROMINENT' | 'SYSTEM_ULTRA_THIN_MATERIAL' | 'SYSTEM_THIN_MATERIAL' | 'SYSTEM_MATERIAL' | 'SYSTEM_THICK_MATERIAL' | 'SYSTEM_CHROME_MATERIAL' | 'SYSTEM_ULTRA_THIN_MATERIAL_LIGHT' | 'SYSTEM_THIN_MATERIAL_LIGHT' | 'SYSTEM_MATERIAL_LIGHT' | 'SYSTEM_THICK_MATERIAL_LIGHT' | 'SYSTEM_CHROME_MATERIAL_LIGHT' | 'SYSTEM_ULTRA_THIN_MATERIAL_DARK' | 'SYSTEM_THIN_MATERIAL_DARK' | 'SYSTEM_MATERIAL_DARK' | 'SYSTEM_THICK_MATERIAL_DARK' | 'SYSTEM_CHROME_MATERIAL_DARK'

LicensePlateScanStrategy

Detector mode, classic (OCR based) or ML (machine learning based) approach.

'Classic' | 'MlBased'

MedicalCertificateFormType

'1A' | '1B' | '1C' | '1D' | '21A' | '1B_CUSTOM' | 'UNKNOWN'

PageFileType

"ORIGINAL" | "DOCUMENT" | "UNFILTERED_DOCUMENT"

PDFPageSize

"FROM_IMAGE" | "A4" | "FIXED_A4" | "US_LETTER" | "FIXED_US_LETTER" | "AUTO_LOCALE" | "AUTO"

TIFFCompression

"NONE" | "CCITTRLE" | "CCITTFAX3" | "CCITT_T4" | "CCITTFAX4" | "CCITT_T6" | "CCITTRLEW" | "LZW" | "PACKBITS" | "DEFLATE" | "ADOBE_DEFLATE"

OCROutputFormat

"PLAIN_TEXT" | "RESULT_JSON" | "PDF_FILE" | "FULL_OCR_RESULT"

CheckType

'USACheck' | 'FRACheck' | 'KWTCheck' | 'AUSCheck' | 'INDCheck' | 'UnknownCheck'

CheckRecognizerResultStatus

'SUCCESS' | 'CANCELED' | 'FAIL'

CheckRecognizerFields

USACheckResult | FRACheckResult | KWTCheckResult | AUSCheckResult | INDCheckResult | UnknownCheckResult

CheckRecognizerFieldValidationStatus

'Invalid' | 'Valid'