Android.Views.VelocityTracker: Method Members

The methods of Android.Views.VelocityTracker are listed below. For a list of all members, see the VelocityTracker Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AddMovement(MotionEvent)
Add a user's movement to the tracker.
Clear()
Reset the velocity tracker back to its initial state.
ComputeCurrentVelocity(int)
Equivalent to invoking VelocityTracker.ComputeCurrentVelocity(int, System.Single) with a maximum velocity of Float.
ComputeCurrentVelocity(int, float)
Compute the current velocity based on the points that have been collected.
GetXVelocity(int) : float
Retrieve the last computed X velocity.
GetYVelocity(int) : float
Retrieve the last computed Y velocity.
static
Obtain() : VelocityTracker
Retrieve a new VelocityTracker object to watch the velocity of a motion.
Recycle()
Return a VelocityTracker object back to be re-used by others.