Data Consistency Verifier

Defined in framework ScanditIdCapture

SDCDataConsistencyCheck

Added in version 7.1.0

The verification status returned by the barcode verifier

SDCDataConsistencyCheckIssuingCountryComparison

Added in version 7.1.0

Comparison of issuing country between zones

SDCDataConsistencyCheckIssuingJurisdictionComparison

Added in version 7.1.0

Comparison of issuing jurisdiction between zones

SDCDataConsistencyCheckFullNameComparison

Added in version 7.1.0

Comparison of full name between zones

SDCDataConsistencyCheckDocumentNumberComparison

Added in version 7.1.0

Comparison of document number between zones

SDCDataConsistencyCheckDateOfBirthComparison

Added in version 7.1.0

Comparison of date of birth between zones

SDCDataConsistencyCheckDateOfExpiryComparison

Added in version 7.1.0

Comparison of date of expiry between zones

SDCDataConsistencyCheckDateOfIssueComparison

Added in version 7.1.0

Comparison of date of issue between zones

SDCDataConsistencyVerifier
@interface SDCDataConsistencyVerifier : NSObject

Added in version 7.1.0

+ verifierWithContext:
+ (instancetype)verifierWithContext:(SDCDataCaptureContext *)context

Added in version 7.1.0

Creates a new instance of this verifier.

- verify:
- (nullable SDCDataConsistencyResult *)verify:(SDCCapturedId *)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.

SDCDataConsistencyResult
@interface SDCDataConsistencyResult : NSObject

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 SDCDataConsistencyVerifier or performed automatically when SDCIdCaptureSettings.rejectInconsistentData is enabled and exposed on SDCVerificationResult

allChecksPassed
@property (nonatomic, readonly) BOOL allChecksPassed

Added in version 7.1.0

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

failedChecks
@property (nonatomic, readonly) SDCDataConsistencyCheck failedChecks

Added in version 7.1.0

The checks that failed

skippedChecks
@property (nonatomic, readonly) SDCDataConsistencyCheck skippedChecks

Added in version 7.1.0

The checks that were skipped

passedChecks
@property (nonatomic, readonly) SDCDataConsistencyCheck passedChecks

Added in version 7.1.0

The checks that passed

frontReviewImage
@property (nonatomic, nullable, readonly) UIImage *frontReviewImage

Added in version 7.1.0

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

SDCAllDataConsistencyChecks()
NSArray<NSNumber *> *_Nonnull SDCAllDataConsistencyChecks(void)

Added in version 7.1.0

Returns all Enum SDCDataConsistencyCheck as an array.