IVDNfcScanner¶
Delegate to receive SDK events.
On successful read the SDK will return a map Map
Name | Description |
---|---|
DG1_ADDR_CITY | Current address city |
DG1_ADDR_LINE | Current address line |
DG1_ADDR_REGION | Current address region |
DG1_DOB | Date of Birth |
DG1_DOC_NUMBER | Document identification number |
DG1_DOC_TYPE | Document type (ID/P) |
DG1_DOE | Date of Expiry |
DG1_ISSUER | Issuing state |
DG1_NAME | First name |
DG1_NATIONALITY | Nationality |
DG1_OPT_DATA | Optional data |
DG1_SEX | Sex |
DG1_SURNAME | Surname |
DG11_BIRTH_PLACE | Place of birth |
DG11_BIRTH_STATE | State of birth |
DG11_PERS_NUM | Personal identification number |
DG11_TITLE | Title |
cut_photo | The photo on the document |
signature | The signature on the document |
Public Methods¶
void VDNfcDataCaptured(Map nfcData)
Method that sends the NFC data gathered.
-
Parameters:
- nfcData: Map with de NFC data retrieved.
void VDNfcValidationDataCaptured(Map nfcData, ArrayList hashesInfo)
Method that sends the NFC validation data gathered.
-
Parameters:
- nfcData: Map with de NFC validation data retrieved.
- hashesInfo: ArrayList with DG hashes info.
void VDDocumentSigningCertificateCaptured(VDDocumentSigningCertificate certificate)
Method that sends the DSC (Document signing certificate).
-
Parameters:
- certificate: the DSC.
void VDNfcScannerFinished(boolean processFinished)
Method that indicates that everything has finished.
-
Parameters:
- processFinished: Indicates if proccess was finished successfully (true) or not (false).
void VDNfcError(VDNfcError error)
Method that send the NFC error if some error is happened. Only works in without UI mode.
-
Parameters:
- error: Error that has happened in the NFC reading.(connection or pins error)