Is it possible to receive data from sensors with the maximum frequency?

Hello.
The sensor readings request block does not contain an indication of the frequency of the request. The sensor is interrogated with an uneven period, fluctuating about 40 msec. Meanwhile, Android allows you to request an increased frequency of sensor polling, for example for games.

  • SensorManager.SENSOR_DELAY_FASTEST: the fastest, with the least delay and the most resource-intensive. Usually this frequency is used only by applications using sensors, otherwise it is not recommended.
  • SensorManager.SENSOR_DELAY_GAME: Frequency suitable for games. Applications with real-time requirements are usually suitable for this frequency.
  • SensorManager.SENSOR_DELAY_NORMAL: The normal frequency is generally suitable for applications that do not require high real-time performance.
  • SensorManager.SENSOR_DELAY_UI: The frequency is suitable for ordinary applications, this mode is more energy-saving, and the load on the system is small, but there is a large delay, so it is only suitable for ordinary small programs.
    Manifest.permission  |  Android Developers
    You can also request high, medium and low accuracy when polling sensors.
    Recording_angle_meter.aia (587.0 KB)
    Is it possible to adjust the frequency of sensor polling and the accuracy of their readings in App Inventor?