DocumentListener

constructor(onDocumentLoaded: (PdfDocument) -> Unit? = null, onDocumentLoadFailed: (Throwable) -> Unit? = null, onDocumentSave: (PdfDocument, DocumentSaveOptions) -> Boolean? = null, onDocumentSaved: (PdfDocument) -> Unit? = null, onDocumentSaveFailed: (PdfDocument, Throwable) -> Unit? = null, onDocumentSaveCancelled: (PdfDocument?) -> Unit? = null, onPageClick: (PdfDocument, Int, MotionEvent?, PointF?, Annotation?) -> Boolean? = null, onDocumentClick: () -> Boolean? = null, onPageChanged: (PdfDocument, Int) -> Unit? = null, onDocumentZoomed: (PdfDocument, Int, Float) -> Unit? = null, onPageUpdated: (PdfDocument, Int) -> Unit? = null)