Package-level declarations

Types

Link copied to clipboard
data class SavedPdf(val path: String, val uri: String? = null)

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

Link copied to clipboard
sealed interface StorageLocation

Cross-platform location to save a PDF document.

Functions

Link copied to clipboard
fun PdfDocument.save(location: StorageLocation, filename: String = ""): SavedPdf

Saves this document to the platform-specific location under filename. Returns the absolute path and (on Android Q+ public writes) the content URI of the persisted file.