Sensor Type
Indicates a sensor type.
Entries
Accelerometer sensor. Returns acceleration including gravity.
Uncalibrated accelerometer sensor. Returns acceleration including gravity but without bias correction. This accelerometer is only available for SDK 26 or later.
Linear acceleration. Returns accelerometer not including gravity.
Uncalibrated gyroscope. Returns angular speed measurements without bias correction.
Magnetometer. Returns magnetic field measurements.
Uncalibrated magnetometer. Returns magnetic field measurements without hard-iron bias correction.
Absolute attitude. This sensor requires a magnetometer and returns absolute device orientation respect to Earth.
Relative attitude. This sensor does not require a magnetometer and returns device orientation respect to an arbitrary initial orientation that might drift over time.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.