Package com.pspdfkit.annotations
Interface AnnotationProvider.OnAnnotationUpdatedListener
-
- All Implemented Interfaces:
public interface AnnotationProvider.OnAnnotationUpdatedListener
Listener for annotation update events inside AnnotationProvider.
-
-
Method Summary
Modifier and Type Method Description abstract void
onAnnotationCreated(@NonNull() Annotation annotation)
Called when annotation has been created. abstract void
onAnnotationUpdated(@NonNull() Annotation annotation)
Called when existing annotation has changed. abstract void
onAnnotationRemoved(@NonNull() Annotation annotation)
Called when existing annotation has been removed. abstract void
onAnnotationZOrderChanged(int pageIndex, @NonNull() List<Annotation> oldOrder, @NonNull() List<Annotation> newOrder)
Called when the z-order of annotations has changed on a specified page. -
-
Method Detail
-
onAnnotationCreated
abstract void onAnnotationCreated(@NonNull() Annotation annotation)
Called when annotation has been created.
- Parameters:
annotation
- Annotation that has been created.
-
onAnnotationUpdated
abstract void onAnnotationUpdated(@NonNull() Annotation annotation)
Called when existing annotation has changed.
- Parameters:
annotation
- Annotation that has been changed.
-
onAnnotationRemoved
abstract void onAnnotationRemoved(@NonNull() Annotation annotation)
Called when existing annotation has been removed.
- Parameters:
annotation
- Annotation that has been removed.
-
onAnnotationZOrderChanged
abstract void onAnnotationZOrderChanged(int pageIndex, @NonNull() List<Annotation> oldOrder, @NonNull() List<Annotation> newOrder)
Called when the z-order of annotations has changed on a specified page.
- Parameters:
pageIndex
- Index of the page where the z-order has changed.oldOrder
- The old order of annotations on the page.newOrder
- The new order of annotations on the page.
-
-
-
-