BaseGestureRecognizer.OnGestureStartedListener

  • BaseGestureRecognizer.OnGestureStartedListener is an interface used to define callbacks triggered when a BaseGesture starts.

  • This interface includes a single method, onGestureStarted(), which is invoked with the specific gesture instance that began.

  • Several classes, including DragGestureRecognizer, PinchGestureRecognizer, and TwistGestureRecognizer, utilize this interface for gesture detection.

  • Controllers like RotationController, ScaleController, and TranslationController indirectly rely on this interface via their interactions with these gesture recognizers.

  • These components work together within Sceneform to enable user interaction and manipulation of 3D objects in augmented reality environments.

public static interface BaseGestureRecognizer.OnGestureStartedListener
Known Indirect Subclasses

Interface definition for a callbacks to be invoked when a BaseGesture starts.

Public Methods

abstract void
onGestureStarted(T gesture)

Public Methods

public abstract void onGestureStarted (T gesture)

Parameters
gesture