DocumentConnection

This acts as a bridge between PdfFragment and DocumentView to access respective functionalities.

Properties

Link copied to clipboard

If this property is accessed before the UI is initialized an IllegalStateException will be thrown. Best practice is to wait until the onDocumentLoaded listener is triggered.

Link copied to clipboard
open val pdfUI: PdfUi

Functions

Link copied to clipboard
abstract fun addAnnotationToPage(annotation: Annotation, selectImmediately: Boolean)
Link copied to clipboard
abstract fun setPageIndex(@IntRange(from = 0) pageIndex: Int)