Constants | ||
---|---|---|
java.lang.String | ACCELEROMETER | Constant defining the sensor type Accelerometer. |
java.lang.String | LIGHT | Constant defining the sensor type Light. |
java.lang.String | MAGNETIC_FIELD | Constant defining the sensor type Magnetic Field. |
java.lang.String | ROTATION_VECTOR | Constant defining the sensor type Rotation Vector. |
java.lang.String | GYROSCOPE | Constant defining the sensor type Gyroscope. |
Constant defining the sensor type Accelerometer. Sensor data is sent as an array of 3 float values representing the acceleration on the x-axis, y-axis and z-axis respectively. All values are in SI units (m/s^2) For more information about the accelerometer sensor type, see TYPE_ACCELEROMETER
Constant Value: "Accelerometer"
Constant defining the sensor type Light. Sensor data is sent as one float value representing the light level in SI lux units. For more information about the light sensor type, see TYPE_LIGHT
Constant Value: "Light"
Constant defining the sensor type Magnetic Field. Sensor data is sent as an array of 3 float values representing the ambient geomagnetic field for all three physical axes (x, y, z) in μT. For more information about the magnetic field sensor type, see TYPE_MAGNETIC_FIELD
Constant Value: "MagneticField"
Constant defining the sensor type Rotation Vector. Sensor data is sent as an array of 3 or 4 float values. For more information about the rotation vector sensor type, see TYPE_ROTATION_VECTOR
Constant Value: "RotationVector"
Constant defining the sensor type Gyroscope. Sensor data is sent as an array of 3 float values representing the rate of rotation around for all three physical axes (x, y, z) in rad/s. For more information about the gyroscope sensor type, see TYPE_GYROSCOPE
Constant Value: "Gyroscope"
Definitions of sensor types