Android.Views.VelocityTracker Class
Helper for tracking the velocity of touch events, for implementing flinging and other such gestures.

See Also: VelocityTracker Members

Syntax

[Android.Runtime.Register("android/view/VelocityTracker", DoNotGenerateAcw=true)]
public sealed class VelocityTracker : Java.Lang.Object

Remarks

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(int) and then call VelocityTracker.GetXVelocity(int) and VelocityTracker.GetYVelocity(int) to retrieve the velocity for each pointer id.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1