getOverlayRenderStrategy

Returns overlay render strategy that should be used for rendering specific annotation. This strategy defines how annotations that are displayed in overlay mode (i.e. views which are rendered as views inside the activities view hierarchy) should be rendered. By default, PSPDFKit uses PLATFORM_RENDERING for all annotations. You can override this behavior by setting a custom strategy using this method. for more information about the available render strategies please see AnnotationOverlayRenderStrategy.

Return

Annotation overlay strategy to use.

Parameters

annotation

Annotation that is being rendered in overlay.