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)

Properties

Link copied to clipboard
val headingAccuracy: Angle?
Link copied to clipboard
val magneticHeading: Angle?
Link copied to clipboard
val rawGeomagneticData: Point3D
Link copied to clipboard
val trueHeading: Angle?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String