abstract class AbstractResult : Result
Base class for conversion results.
AbstractResult()
Base class for conversion results. |
open fun saveTo(path: String): Unit
Save the PDF to the given path. |
abstract fun getBytes(): ByteArray
Return the PDF as a byte array. |
class BytesResult : AbstractResult
Contains the generated PDF as a byte array. |
|
class Conversion : AbstractResult
Represents a conversion that has failed or is served via a CDN / custom cloud storage. |