AnnotationsView.OnGestureClaimListener


public interface AnnotationsView.OnGestureClaimListener


Callback interface for gesture coordination events.

These signals allow the host to coordinate the touch event stream between different simultaneous interactions.

Summary

Public methods

abstract void

Called when the view 'abandons' its interest in the current gesture.

abstract void

Called when the view 'claims' the current gesture stream.

Public methods

onGestureAbandoned

Added in 1.0.0-alpha19
abstract void onGestureAbandoned()

Called when the view 'abandons' its interest in the current gesture.

The host can use this signal to allow other interactions to continue exclusively.

onGestureClaimed

Added in 1.0.0-alpha19
abstract void onGestureClaimed()

Called when the view 'claims' the current gesture stream.

The host should typically use this signal to cancel any other 'shadow' or simultaneous interactions that are currently tracking this gesture.