documentListeners

fun documentListeners(onDocumentLoaded: (PdfDocument) -> Unit? = {}, onDocumentLoadFailed: (Throwable) -> Unit? = {}, onDocumentSave: (PdfDocument, DocumentSaveOptions) -> Boolean? = { _, _ -> true }, onDocumentSaved: (PdfDocument) -> Unit? = { _ -> }, onDocumentSaveFailed: (PdfDocument, Throwable) -> Unit? = { _, _ -> }, onDocumentSaveCancelled: (PdfDocument?) -> Unit? = { _ -> }, onPageClick: (PdfDocument, Int, MotionEvent?, PointF?, Annotation?) -> Boolean? = { _, _, _, _, _ -> false }, onDocumentClick: () -> Boolean? = { false }, onPageChanged: (PdfDocument, Int) -> Unit? = { _, _ -> }, onDocumentZoomed: (PdfDocument, Int, Float) -> Unit? = { _, _, _ -> }, onPageUpdated: (PdfDocument, Int) -> Unit? = { _, _ -> }): DocumentListener