confidence property

double confidence
final

A value between 0.0 and 1.0 that indicates how well VelocityTracker was able to fit a straight line to its position data.

The value of this property is 1.0 for a perfect fit, 0.0 for a poor fit.

Implementation

final double confidence;