Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

VelocityTrackerCompat

class VelocityTrackerCompat
kotlin.Any
   ↳ androidx.core.view.VelocityTrackerCompat

Helper for accessing features in VelocityTracker.

Summary

Public methods
static Float
getXVelocity(tracker: VelocityTracker!, pointerId: Int)

Call VelocityTracker#getXVelocity(int).

static Float
getYVelocity(tracker: VelocityTracker!, pointerId: Int)

Call VelocityTracker#getYVelocity(int).

Public methods

getXVelocity

static fun getXVelocity(
    tracker: VelocityTracker!,
    pointerId: Int
): Float

Deprecated: Use VelocityTracker#getXVelocity(int) directly.

Call VelocityTracker#getXVelocity(int). If running on a pre-android.os.Build.VERSION_CODES#HONEYCOMB device, returns VelocityTracker#getXVelocity().

getYVelocity

static fun getYVelocity(
    tracker: VelocityTracker!,
    pointerId: Int
): Float

Deprecated: Use VelocityTracker#getYVelocity(int) directly.

Call VelocityTracker#getYVelocity(int). If running on a pre-android.os.Build.VERSION_CODES#HONEYCOMB device, returns VelocityTracker#getYVelocity().