See Also: VelocityTracker
public sealed class VelocityTracker : Object
Helper for tracking the velocity of touch events, for implementing flinging and other such gestures. Use VelocityTracker.Obtain to retrieve a new instance of the class when you are going to begin tracking. Put the motion events you receive into it with VelocityTracker.AddMovement(MotionEvent). When you want to determine the velocity call VelocityTracker.ComputeCurrentVelocity(Int32) and then call VelocityTracker.GetXVelocity(Int32) and VelocityTracker.GetYVelocity(Int32) to retrieve the velocity for each pointer id.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.Views.VelocityTracker are listed below.
See Also: Object
Add a user's movement to the tracker.
Reset the velocity tracker back to its initial state.
Equivalent to invoking VelocityTracker.ComputeCurrentVelocity(Int32,Single) with a maximum velocity of Float.
Compute the current velocity based on the points that have been collected.
Retrieve the last computed X velocity.
Retrieve the last computed Y velocity.
Retrieve a new VelocityTracker object to watch the velocity of a motion.
Return a VelocityTracker object back to be re-used by others.