CaptureDocument
This function initializes the document capture process.
Parameter Configuration
This function requires you to customize the SDK by completing the value of Register 390 (Input parameters) with a JSON.
Function ID
Register | Value |
---|---|
110 | 1 |
Input Registers
Register | Description | Mandatory | Value |
---|---|---|---|
390 | JSON for the customization of the SDK | X | The values shown are the default values provided when entering an empty JSON {}. It is also possible not to include every value in the JSON. { "showTutorial":"NO", "infoAlertShow":"NO", "observeFlash":"NO", "closeButton":"YES", "showDocument":"YES", "tickColor":"YES", "tickCircleColor":"YES", "fixedTemplate":"YES", "checkDocumentText":"If the capture is OK, tap CONTINUE", "repeatButtonBackgroundColor":"#072146", "repeatButtonTextColor":"#5BBEFF", "repeatButtonText":"Repeat", "continueButtonBackgroundColor":"#1973B8", "continueButtonTextColor":"#ffffff", "continueButtonText":"Continue", "secondsWithoutPicture":"40", "validationBackgroundColor":"#072146", "validateDocumentButtonsWidthDivisor":"4" } |
Output Registers
Register | Description | Value | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
112 | Call Result |
| ||||||||||||
290 | Capture of the document's front side | Base64 string | ||||||||||||
291 | Capture of the document's back side | Base64 string |