SavedPdf

data class SavedPdf(val path: String, val uri: String? = null)

Result of saving a PDF through com.conamobile.pdfkmp.PdfDocument.save.

Constructors

Link copied to clipboard
constructor(path: String, uri: String? = null)

Properties

Link copied to clipboard

absolute filesystem path the bytes were written to. Always populated, even on Android Q+ MediaStore writes (in which case it is the resolved file path behind the content URI).

Link copied to clipboard
val uri: String? = null

the content URI on Android Q+ MediaStore writes (null on iOS and on legacy Android writes). Pass this to Intent.ACTION_VIEW directly without going through FileProvider.