I'm programming an APP for Android and i can't find the boundaries for SensorEvent values on the documentation. Is there any way to know what are the limits or to obtain the device limits?
Thanks!
The other question isn't specific as the values aren't specified in the HAL headers but the HAL interface is documented here
In the HAL the maxRange
is documented as:
"The maximum value the sensor can report, in the same unit as the reported values. The sensor must be able to report values without saturating within [-maxRange; maxRange]."
So I guess the getMaximumRange()
value will work.