AnnotationListener

class AnnotationListener(val onPrepareAnnotationSelection: (AnnotationSelectionController, Annotation, Boolean) -> Boolean? = null, val onAnnotationSelected: (Annotation, Boolean) -> Unit? = null, val onAnnotationSelectionFinished: (List<Annotation>, Boolean) -> Unit? = null, val onAnnotationDeselected: (Annotation, Boolean) -> Unit? = null)

Wrapper for holding AnnotationListener callbacks.

Constructors

Link copied to clipboard
constructor(onPrepareAnnotationSelection: (AnnotationSelectionController, Annotation, Boolean) -> Boolean? = null, onAnnotationSelected: (Annotation, Boolean) -> Unit? = null, onAnnotationSelectionFinished: (List<Annotation>, Boolean) -> Unit? = null, onAnnotationDeselected: (Annotation, Boolean) -> Unit? = null)

Properties

Link copied to clipboard

Callback invoked when an annotation is deselected.

Link copied to clipboard

Callback invoked when an annotation is selected.

Link copied to clipboard

Callback invoked when annotation selection mode ends.

Link copied to clipboard

Callback invoked before an annotation is selected. Return true to allow selection.