Android APIs
public class

VelocityTrackerCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.VelocityTrackerCompat

Class Overview

Helper for accessing features in VelocityTracker introduced after API level 4 in a backwards compatible fashion.

Summary

Public Constructors
VelocityTrackerCompat()
Public Methods
static float getXVelocity(VelocityTracker tracker, int pointerId)
static float getYVelocity(VelocityTracker tracker, int pointerId)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VelocityTrackerCompat ()

Public Methods

public static float getXVelocity (VelocityTracker tracker, int pointerId)

Call getXVelocity(int). If running on a pre-HONEYCOMB device, returns getXVelocity().

public static float getYVelocity (VelocityTracker tracker, int pointerId)

Call getYVelocity(int). If running on a pre-HONEYCOMB device, returns getYVelocity().