com.pspdfkit.instant.listeners.InstantPdfActivityListener |
Known Indirect Subclasses
|
Class Overview
This listener allows PdfActivity
to receive instant document events.
Summary
[Expand]
Inherited Methods |
From interface
com.pspdfkit.instant.listeners.InstantDocumentListener
|
From interface
com.pspdfkit.listeners.DocumentListener
abstract
boolean
|
onDocumentClick()
Called when the user taps / clicks on the document, not the page itself but on the side (if
visible).
|
abstract
void
|
onDocumentLoadFailed(Throwable exception)
Called if document loading has failed.
|
abstract
void
|
onDocumentLoaded(PdfDocument document)
Called when document is successfully loaded and the document view has been laid out.
|
abstract
boolean
|
onDocumentSave(PdfDocument document, DocumentSaveOptions saveOptions)
Called before document will be saved.
|
abstract
void
|
onDocumentSaveCancelled(PdfDocument document)
Called if document saving has been cancelled.
|
abstract
void
|
onDocumentSaveFailed(PdfDocument document, Throwable exception)
Called if document saving has failed.
|
abstract
void
|
onDocumentSaved(PdfDocument document)
Called after the document has been saved.
|
abstract
void
|
onDocumentZoomed(PdfDocument document, int pageIndex, float scaleFactor)
Called when a user zooms a document.
|
abstract
void
|
onPageChanged(PdfDocument document, int pageIndex)
Called when user scrolled to a new page.
|
abstract
boolean
|
onPageClick(PdfDocument document, int pageIndex, MotionEvent event, PointF pagePosition, Annotation clickedAnnotation)
Called when user taps / clicks on the page.
|
abstract
void
|
onPageUpdated(PdfDocument document, int pageIndex)
Called when content of page with pageIndex has changed (for example due to annotation or form
field being updated).
|
|
From interface
com.pspdfkit.listeners.PdfActivityListener
|