summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-05-02 18:57:38 -0700
committerMathias Agopian <mathias@google.com>2011-05-02 18:59:07 -0700
commit1260a89b54436fdd6d80e7c98b7db3c55f85104c (patch)
treea659435af6ab1b29d687efe8ae5d34761b11d079
parent939ccad344c5f32bc9e7dbfa80648c1e75cac62a (diff)
downloadframeworks_base-1260a89b54436fdd6d80e7c98b7db3c55f85104c.zip
frameworks_base-1260a89b54436fdd6d80e7c98b7db3c55f85104c.tar.gz
frameworks_base-1260a89b54436fdd6d80e7c98b7db3c55f85104c.tar.bz2
Add documentation for Sensor.TYPE_PRESSURE
Change-Id: I634722a9a22946a1ae96c0b868af0c66d467a3a6
-rw-r--r--core/java/android/hardware/SensorEvent.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/hardware/SensorEvent.java b/core/java/android/hardware/SensorEvent.java
index 91f0098..a3ce9f5 100644
--- a/core/java/android/hardware/SensorEvent.java
+++ b/core/java/android/hardware/SensorEvent.java
@@ -204,6 +204,12 @@ public class SensorEvent {
* values[0]: Ambient light level in SI lux units
* </ul>
*
+ * <h4>{@link android.hardware.Sensor#TYPE_PRESSURE Sensor.TYPE_PRESSURE}:</h4>
+ * <ul>
+ * <p>
+ * values[0]: Atmospheric pressure in hPa (millibar)
+ * </ul>
+ *
* <h4>{@link android.hardware.Sensor#TYPE_PROXIMITY Sensor.TYPE_PROXIMITY}:
* </h4>
*