Interface for custom annotation appearance stream generators.

Instances can be set on Annotation via setAppearanceStreamGenerator to replace default PSPDFKit provided appearance stream.

The annotation will use the first page of the PDF opened from DataProvider returned by getDataProviderForAnnotation as its appearance and this content will be embedded into the PDF.



Link copied to clipboard
Options for appearance stream generation.


Link copied to clipboard
Called when the appearance stream data for the given annotation is needed.
Link copied to clipboard
Asks the generator whether it should be used to generate the appearance stream for annotation.