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

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 is returned in VerificationResult when IdCaptureSettings.rejectInconsistentData is enabled.

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

frontReviewImage
Bitmap getFrontReviewImage()

Added in version 7.1.0

Image with mismatched fields highlighted. Returns null when no mismatch found.

toJson()
@NonNull String toJson()

Added in version 7.1.0

Returns the JSON representation of this object.