SensorType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
public enum SensorType
type SensorType =
- Inheritance
-
SensorType
Fields
Accelerometer | 1 | A constant describing an accelerometer sensor type. |
AccelerometerLimitedAxes | 38 | |
AccelerometerLimitedAxesUncalibrated | 40 | |
AccelerometerUncalibrated | 35 | |
All | -1 | A constant describing all sensor types. |
AmbientTemperature | 13 | |
DevicePrivateBase | 65536 | |
GameRotationVector | 15 | Identical to RotationVectorexcept that it doesn't use the geomagnetic field. |
GeomagneticRotationVector | 20 | |
Gravity | 9 | A constant describing a gravity sensor type. See SensorEventfor more details. |
Gyroscope | 4 | |
GyroscopeLimitedAxes | 39 | |
GyroscopeLimitedAxesUncalibrated | 41 | |
GyroscopeUncalibrated | 16 | A constant describing a gyroscope uncalibrated sensor type. |
Heading | 42 | |
HeadTracker | 37 | |
HeartBeat | 31 | |
HeartRate | 21 | |
HingeAngle | 36 | |
Light | 5 | A constant describing a light sensor type. |
LinearAcceleration | 10 | A constant describing a linear acceleration sensor type. See SensorEventfor more details. |
LowLatencyOffbodyDetect | 34 | |
MagneticField | 2 | A constant describing a magnetic field sensor type. |
MagneticFieldUncalibrated | 14 | A constant describing a magnetic field uncalibrated sensor type. |
MotionDetect | 30 | |
Orientation | 3 | A constant describing an orientation sensor type. |
Pose6dof | 28 | |
Pressure | 6 | |
Proximity | 8 | A constant describing a proximity sensor type. |
RelativeHumidity | 12 | A constant describing a relative humidity sensor type. See SensorEventfor more details. |
RotationVector | 11 | A constant describing a rotation vector sensor type. See SensorEventfor more details. |
SignificantMotion | 17 | A constant describing the significant motion trigger sensor. See Valuesfor more details. |
StationaryDetect | 29 | |
StepCounter | 19 | |
StepDetector | 18 | |
Temperature | 7 |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.