moveAnnotationAsync

abstract fun moveAnnotationAsync(pageIndex: Int, fromZIndex: Int, toZIndex: Int): Completable

Moves the annotation to the specified z-index asynchronously.

Return

Completable object completing after the move has been done.

Parameters

pageIndex

Index of the page on which to reorder the annotations.

fromZIndex

The original z-index of the annotation that needs to be moved (from the specified page)

toZIndex

Target z-index for the annotation to be moved to.


abstract fun moveAnnotationAsync(@NonNull annotation: Annotation, zIndex: Int): Completable

Moves the annotation to the specified z-index asynchronously.

Return

Completable object completing after the move has been done.

Parameters

annotation

Annotation to move.

zIndex

Target z-index to move the annotation to.


abstract fun moveAnnotationAsync(@NonNull annotation: Annotation, @NonNull zIndexMove: AnnotationZIndexMove): Completable

Moves the annotation with the specified z-index move action asynchronously.

Return

Completable object completing after the move has been done.

Parameters

annotation

Annotation to move.

zIndexMove

Z-index move action to be applied on the given annotation.