OnViewAnnotationUpdatedListener

interface OnViewAnnotationUpdatedListener

Interface responsible for notifying when core updated view annotation position or visibility.

Functions

onViewAnnotationPositionUpdated
Link copied to clipboard
abstract fun onViewAnnotationPositionUpdated(view: View, leftTopCoordinate: ScreenCoordinate, width: Int, height: Int)

Callback triggered when core updated view annotation position.

onViewAnnotationVisibilityUpdated
Link copied to clipboard
abstract fun onViewAnnotationVisibilityUpdated(view: View, visible: Boolean)

Callback triggered when view visibility has changed. By visibility we understand whether view is shown or hidden and that's not precisely equivalent listening to View.getVisibility as view may be visible but not yet shown.