ValidationResult

constructor(validationFailures: List<MrzValidationError>, warnings: List<MrzWarning>, structuralFailure: MrzParseError? = null, checks: List<MrzCheckRecord> = emptyList())


constructor(validationFailures: List<MrzValidationError>, warnings: List<MrzWarning>, structuralFailure: MrzParseError?)

The constructor without checks: the checks come out empty.

Since

1.0.0

Parameters

validationFailures

Validation failures found.

warnings

Warnings found.

structuralFailure

The structural failure that stopped the input from being read, if any.