Android Sensors API

The Android Sensor API is available here: 

Using the Android Sensors API plugin is pretty straightforward.

First, ensure that the plugin is activated (in Plugins). Once, it’s activated you will have access to all the functions of the Android Sensors API plugin.

All of these functions work the same way:

Internally, the measures are buffered (one buffer per sensor). Every time a new value is read from the sensor, the buffer is updated. The GetLastXXXMeasure methods are used to get the values of these buffers. So, technically, a call to GetLastXXXMeasure will always return the last measure provided by the chosen sensor.

At this time, the supported sensors are:

The availability and the accuracy of each sensor depends on the device.