summaryrefslogtreecommitdiffstats
path: root/include/gui/SensorManager.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-07-29 16:51:38 -0700
committerMathias Agopian <mathias@google.com>2010-07-29 18:18:00 -0700
commita48bcf62b6a26f24a0bdd2b44bb39fadce499e92 (patch)
tree573eab127b2e6fe0544669f8c2309c44e8593989 /include/gui/SensorManager.h
parent27065359e3db4f2a256839107cbe4f64b457ed41 (diff)
downloadframeworks_native-a48bcf62b6a26f24a0bdd2b44bb39fadce499e92.zip
frameworks_native-a48bcf62b6a26f24a0bdd2b44bb39fadce499e92.tar.gz
frameworks_native-a48bcf62b6a26f24a0bdd2b44bb39fadce499e92.tar.bz2
Added SensorManager.getMinDelay()
Exposed the new "min delay" sensor property through native and java sensor apis. This allows the caller to know what is the maximum rate at which a sensor can return events, or, if a sensor works in "update" mode (events returned only when the value changes). Also augmented SensorManager.regusterSensorEvent() so that it can accept a value in microsecond in addition to the 4 constants already defined. Change-Id: If425e9979892666df8c989d7de3c362230fa19e0
Diffstat (limited to 'include/gui/SensorManager.h')
0 files changed, 0 insertions, 0 deletions