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
val allChecksPassed: Boolean

Added in version 7.1.0

All checks passed and nothing suspicious about the document was detected.

failedChecks
val failedChecks: Set<DataConsistencyCheck>

Added in version 7.1.0

The checks that failed

skippedChecks
val skippedChecks: Set<DataConsistencyCheck>

Added in version 7.1.0

The checks that were skipped

passedChecks
val passedChecks: Set<DataConsistencyCheck>

Added in version 7.1.0

The checks that passed

frontReviewImage
val frontReviewImage: Bitmap?

Added in version 7.1.0

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

toJson()
fun toJson(): String

Added in version 7.1.0

Returns the JSON representation of this object.