Position Data
Definition of Position interface.
Inheritors
Types
Properties
Coordinates. (0,0) means unknown position.
Course accuracy in degrees. Typical accuracy for consumer GPS is 25 degrees.
Fix quality (whether this position is trustworthy).
Position accuracy in meters. Typical values for consumer GPS are 5-20 meters.
Provider type
Satellite time in milliseconds since 1970. Timestamps are expected to increase steadily in time.
Speed accuracy in m/s. Typical accuracy for consumer GPS is 2 m/s at steady speed.
Vertical accuracy in meters.
Functions
True if altitude is available, false if not.
True if course accuracy is available, false if not.
True if horizontal accuracy is available, false if not.
True if speed accuracy is available, false if not.
True if vertical accuracy is available, false if not.