Compass class abstract Sensor Data Source

Compass sensor data providing directional heading.

Gives the device's heading relative to magnetic or true north using magnetometer data.

Inheritance

Constructors

Compass()

Properties

accuracy → CompassAccuracy
The accuracy of the compass measurement.
no setter
acquisitionTime → DateTime
The time when this sensor data was acquired.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
heading → double
The compass heading in degrees.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DataType
The type of this sensor data.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited