InstantAnnotationProvider

Handles all annotation related operations on the owning Instant document. Retrieve it with com.pspdfkit.instant.document.InstantPdfDocument.getAnnotationProvider.

Types

Link copied to clipboard
Link copied to clipboard

Object to be notified whenever a local non-annotation change happens.

Functions

Link copied to clipboard

Registers the given object to be notified of non-annotation changes.

Link copied to clipboard
abstract fun getAnnotationForIdentifier(identifier: String): Annotation?

Returns the annotation for the given identifier.

Link copied to clipboard
abstract fun getIdentifierForAnnotation(annotation: Annotation): String

Returns the unique identifier used by Instant for the given annotation.

Link copied to clipboard
abstract override fun hasUnsavedChanges(): Boolean

Returns whether there are unsaved changes to annotations in this document.