Interface VelocityTracker.Strategy

All Known Implementing Classes:
VelocityTracker.ImpulseStrategy, VelocityTracker.LeastSquaresStrategy
Enclosing class:
VelocityTracker

public static interface VelocityTracker.Strategy
Implements a particular velocity tracker algorithm.
  • Method Details

    • clear

      void clear()
    • addMovement

      void addMovement(long eventTime, float x, float y)
    • getEstimator

      boolean getEstimator(@NonNull VelocityTracker.Estimator outEstimator)