DashCompassData
class DashCompassData(val magneticHeading: Angle?, val trueHeading: Angle?, val headingAccuracy: Angle?, val rawGeomagneticData: Point3D, val monotonicTimestampNanoseconds: Long)
Represents compass data including heading information and raw geomagnetic data.
Parameters
magneticHeading
The magnetic heading (0 degrees is magnetic North). Null if value is invalid/unknown.
trueHeading
The true heading (0 degrees is true North). Null if value is invalid/unknown.
headingAccuracy
The maximum deviation of where the magnetic heading may differ from the actual geomagnetic heading. Null if value is invalid/unknown.
rawGeomagneticData
The raw geomagnetic data as a 3-dimensional point.
monotonicTimestampNanoseconds
Timestamp which should be in sync with timestamps of locations from location provider.
Constructors
Link copied to clipboard
constructor(magneticHeading: Angle?, trueHeading: Angle?, headingAccuracy: Angle?, rawGeomagneticData: Point3D, monotonicTimestampNanoseconds: Long)