Compensation class abstract

A small abstract class with static constant List<double>s that refer to specific device orientations according to sensor data subtractions/compensations.

Providing a Normalization.compensation will also factor in autocompensation considering Reset.shouldReset.

Constructors

Compensation()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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

Constants

mobileLandscapeMostlyUpright → const List<double>
A sensor Compensation that correlates to a mobile phone held horizontally in landscape mode, mostly upright facing toward the user.
mobilePortraitMostlyUpright → const List<double>
A sensor Compensation that correlates to a mobile phone held vertically in portrait mode, mostly upright facing toward the user.
none → const List<double>
A sensor Compensation that has no effect on the resultant sensor data.