Data Consistency Verifier
Defined in framework ScanditIdCapture
- DataConsistencyCheck
Added in version 7.1.0
The verification status returned by the barcode verifier
- init
init(rawValue:
UInt)Added in version 7.1.0
Constructs a new instance from the raw value.
- issuingCountryComparison
Added in version 7.1.0
Comparison of issuing country between zones
- issuingJurisdictionComparison
Added in version 7.1.0
Comparison of issuing jurisdiction between zones
- fullNameComparison
Added in version 7.1.0
Comparison of full name between zones
- documentNumberComparison
Added in version 7.1.0
Comparison of document number between zones
- dateOfBirthComparison
Added in version 7.1.0
Comparison of date of birth between zones
- dateOfExpiryComparison
Added in version 7.1.0
Comparison of date of expiry between zones
- dateOfIssueComparison
Added in version 7.1.0
Comparison of date of issue between zones
- allCases
static var allCases: Array<DataConsistencyCheck> { get }
Added in version 7.1.0
Returns all Enum DataConsistencyCheck as an array.
- selectionDescription
func selectionDescription(separator: String = ", ") -> String
Added in version 7.1.0
Returns a string with the descriptions of the different DataConsistencyCheck contained in the instance, separated by the given separator.
- DataConsistencyVerifier
open class DataConsistencyVerifier : NSObject
Added in version 7.1.0
Deprecated since version 7.6: This class has been deprecated. Use IdCaptureSettings.rejectInconsistentData instead.
- init
convenience init(context: DataCaptureContext)
Added in version 7.1.0
Creates a new instance of this verifier.
- verify
open func verify(_ capturedId: CapturedId) -> DataConsistencyResult?
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
open class DataConsistencyResult : 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 DataConsistencyVerifier or performed automatically when IdCaptureSettings.rejectInconsistentData is enabled and exposed on VerificationResult
- allChecksPassed
open var allChecksPassed:
Bool{ get }Added in version 7.1.0
All checks passed and nothing suspicious about the document was detected.
- failedChecks
open var failedChecks: DataConsistencyCheck { get }
Added in version 7.1.0
The checks that failed
- skippedChecks
open var skippedChecks: DataConsistencyCheck { get }
Added in version 7.1.0
The checks that were skipped
- passedChecks
open var passedChecks: DataConsistencyCheck { get }
Added in version 7.1.0
The checks that passed
- SDCAllDataConsistencyChecks
open func SDCAllDataConsistencyChecks() -> Array<NSNumber>
Added in version 7.1.0
Returns all Enum DataConsistencyCheck as an array.