Companion

object Companion

Companion object containing factory methods and constants for InstantPdfFragment.

Properties

Link copied to clipboard

Bundle key for passing the InstantDocumentSource to the fragment.

Functions

Link copied to clipboard

Creates and returns a new Fragment to display a PDF document from an already opened [ ] instance. This will not reload the document.

fun newInstance(documentSource: InstantDocumentSource, configuration: PdfConfiguration): InstantPdfFragment
fun newInstance(serverUrl: String, jwt: String, configuration: PdfConfiguration): InstantPdfFragment

Creates and returns a new Fragment to display a PDF document downloaded from Instant Server (Nutrient Document Engine).