Package-level declarations
Annotation API (with all available annotation types).
Types
Represents a generic annotation in the PDF document.
Handles all annotation related operations on the owning document. Retrieve it with com.pspdfkit.document.PdfDocument.getAnnotationProvider.
Abstract base-class of all markup annotations: TextMarkupAnnotation and RedactionAnnotation.
Functions
Adds annotation to the owner PDF document, blocking until the operation completes.
Adds the provided annotation to the page via AnnotationProvider.addAnnotationToPage and exposes the result as a Completable.
Creates an annotation via AnnotationProvider.createAnnotationFromInstantJson as a Single.
Returns all annotations of passed types in this document, blocking until the operation completes.
Returns all annotations of passed types in the specified page range, blocking until the operation completes.
Returns all annotations of the given types for the entire document as an Observable, using AnnotationProvider.getAllAnnotationsOfType.
Returns annotations of the given types for the provided page range as an Observable, using AnnotationProvider.getAllAnnotationsOfType.
Returns annotation with certain object ID on the page if it exists, blocking until the operation completes.
Returns annotation with certain UUID on the page if it exists, blocking until the operation completes.
Returns a list of annotations on the page, blocking until the operation completes.
Returns all annotations on the given page as an Observable by bridging AnnotationProvider.getAnnotations.
Removes annotation from the document, blocking until the operation completes.