Corrupted
data class Corrupted(val reason: CorruptionReason, val errorCode: Int = -1, val errorMessage: String = "") : DocumentValidationResult
The document is corrupted and cannot be opened.
Parameters
reason
The reason for corruption
errorCode
The native error code from PdfiumCore (if available)
errorMessage
The detailed error message from PdfiumCore