Data Consistency Verifier
Defined in package com.scandit.datacapture.id.verification
- DataConsistencyCheck
Added in version 7.1.0
The verification status returned by the barcode verifier
- ISSUING_COUNTRY_COMPARISON
Added in version 7.1.0
Comparison of issuing country between zones
- ISSUING_JURISDICTION_COMPARISON
Added in version 7.1.0
Comparison of issuing jurisdiction between zones
- FULL_NAME_COMPARISON
Added in version 7.1.0
Comparison of full name between zones
- DOCUMENT_NUMBER_COMPARISON
Added in version 7.1.0
Comparison of document number between zones
- DATE_OF_BIRTH_COMPARISON
Added in version 7.1.0
Comparison of date of birth between zones
- DATE_OF_EXPIRY_COMPARISON
Added in version 7.1.0
Comparison of date of expiry between zones
- DATE_OF_ISSUE_COMPARISON
Added in version 7.1.0
Comparison of date of issue between zones
- DataConsistencyVerifier
class DataConsistencyVerifier
Added in version 7.1.0
- create(context)
static @NonNull DataConsistencyVerifier create(@NonNull DataCaptureContext context)
Added in version 7.1.0
Creates a new instance of this verifier.
- verify(capturedId)
@Nullable DataConsistencyResult verify(@NonNull CapturedId capturedId)
Added in version 7.1.0
Compares the human-readable data of the document with the data encoded in either MRZ or barcode, and flags any suspicious differences.
- DataConsistencyResult
class DataConsistencyResult
Added in version 7.1.0
The verification result of a comparison between the human-readable data of the document with the data encoded in either MRZ or barcode. This result can be returned by DataConsistencyVerifier or performed automatically when IdCaptureSettings.rejectInconsistentData is enabled and exposed on VerificationResult
- allChecksPassed
boolean
getAllChecksPassed()Added in version 7.1.0
All checks passed and nothing suspicious about the document was detected.
- failedChecks
@NonNull Set<DataConsistencyCheck> getFailedChecks()
Added in version 7.1.0
The checks that failed
- skippedChecks
@NonNull Set<DataConsistencyCheck> getSkippedChecks()
Added in version 7.1.0
The checks that were skipped
- passedChecks
@NonNull Set<DataConsistencyCheck> getPassedChecks()
Added in version 7.1.0
The checks that passed