onPrepareAnnotationSelection

open fun onPrepareAnnotationSelection(controller: AnnotationSelectionController, annotation: Annotation, annotationCreated: Boolean): Boolean

Called immediately before annotation is going to be selected.

Return

`true` when you want AnnotationSelectionController to proceed with the selection. Returning `false` will prevent annotation from being selected.

Parameters

controller

Selection controller that is performing the selection.

annotation

Annotation that is going to be selected.

annotationCreated

`true` if the annotation is being created.