PdfAnnotation


public abstract class PdfAnnotation
extends Object

java.lang.Object
   ↳ android.graphics.pdf.component.PdfAnnotation


Represents a PDF annotation on a page of a PDF document. This abstract class provides a base implementation for different types of PDF annotations such as text (FreeTextAnnotation), highlight (HighlightAnnotation) etc

Summary

Public methods

int getPdfAnnotationType()

Returns the type of the annotation.

Inherited methods

Public methods

getPdfAnnotationType

Added in S Extensions 18
public int getPdfAnnotationType ()

Returns the type of the annotation.

Returns
int The annotation type. See PdfAnnotationType for possible values. Value is PdfAnnotationType.UNKNOWN, PdfAnnotationType.FREETEXT, PdfAnnotationType.HIGHLIGHT, or PdfAnnotationType.STAMP