AnnotationEditor

open class AnnotationEditor

For internal usage only.

Types

Link copied to clipboard
Listener to be called once the annotation editor has been dismissed.

Properties

Link copied to clipboard
val FRAGMENT_EDITOR_TAG: String = "PSPDFKit.AnnotationEditor"

Functions

Link copied to clipboard
open fun forAnnotation(@NonNull annotation: Annotation, @NonNull fragment: PdfFragment, @NonNull onEditRecordedListener: OnEditRecordedListener): AnnotationEditor
Create an editor for the given annotation.
Link copied to clipboard
open fun getAnnotation(@NonNull document: PdfDocument): Maybe<Annotation>
Link copied to clipboard
open fun restoreFromState(@NonNull fragment: PdfFragment, @NonNull onEditRecordedListener: OnEditRecordedListener): AnnotationEditor
Restore and retrieve a previously created annotation editor instance.
Link copied to clipboard
Sets a listener to be notified of a cancellation.
Link copied to clipboard
open fun show()
open fun show(readOnly: Boolean)
Show the annotation editor.