MagneticField class abstract Sensor Data Source

Magnetic field sensor data.

Reports raw magnetic field strength along three axes. Useful for environmental sensing or heading correction.

Inheritance

Constructors

MagneticField()

Properties

acquisitionTime → DateTime
The time when this sensor data was acquired.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DataType
The type of this sensor data.
no setterinherited
x → double
The magnetic field strength along the X axis in microteslas.
no setter
y → double
The magnetic field strength along the Y axis in microteslas.
no setter
z → double
The magnetic field strength along the Z axis in microteslas.
no setter

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