Prasad Prasad - 1 month ago 24
Android Question

Android: Sensors

Can anybody tell me what is the difference between

SENSOR_DELAY_NORMAL
,
SENSOR_DELAY_GAME
,
SENSOR_DELAY_UI
and
SENSOR_DELAY_FASTEST
in Android sensors.

Where should a developer use all these things? What will user feel by using all these?

jsb jsb
Answer

int SENSOR_DELAY_FASTEST get sensor data as fast as possible int SENSOR_DELAY_GAME rate suitable for games int SENSOR_DELAY_NORMAL rate (default) suitable for screen orientation changes int SENSOR_DELAY_UI rate suitable for the user interface