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

Constructors

Link copied to clipboard
constructor(reason: CorruptionReason, errorCode: Int = -1, errorMessage: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard