Location

Namespace
Fuse.Sensor
Package
Fuse.Sensor 1.11.2

Parameters

left

SensorType

right

SensorType

Returns

SensorType

Possible Values

ACCELEROMETER

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity (9.81 m/s2)

GYROSCOPE

Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z)

MAGNETOMETER

Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT

GRAVITY

Measures the force of gravity in m/s2 that is applied to a device on all three physical axes (x, y, z).

USER_ACCELERATION

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), excluding the force of gravity.

ROTATION

Measures the orientation of a device by providing the three elements of the device's rotation vector.

STEP_COUNTER

Number of steps taken by the user since the last reboot while the sensor was activated.

PRESSURE

Measures the ambient air pressure in hPa or mbar.

BATTERY

Monitor battery level and state

CONNECTION_STATE

Monitor network connectivity