Android Developers | Android.com

API Diff Specification
To Level: | 3
From Level: | 2
Generated | 2009.04.20 09:15

Statistics

## Class android.hardware.`SensorManager`

Added Methods
`Sensor` `getDefaultSensor`(`int`) |
`float` `getInclination`(`float[]`) |
`float[]` `getOrientation`(`float[],` float[]) |
`boolean` `getRotationMatrix`(`float[],` float[], float[], float[]) |
`List<Sensor>` `getSensorList`(`int`) |
`boolean` `registerListener`(`SensorEventListener,` Sensor, int) |
`boolean` `registerListener`(`SensorEventListener,` Sensor, int, Handler) |
`boolean` `remapCoordinateSystem`(`float[],` int, int, float[]) |
`void` `unregisterListener`(`SensorEventListener`) |
`void` `unregisterListener`(`SensorEventListener,` Sensor) |

Changed Methods
`int` `getSensors`() | Now deprecated. |
`boolean` `registerListener`(`SensorListener,` int) | Now deprecated. |
`boolean` `registerListener`(`SensorListener,` int, int) | Now deprecated. |
`void` `unregisterListener`(`SensorListener`) | Now deprecated. |
`void` `unregisterListener`(`SensorListener,` int) | Now deprecated. |

Added Fields
`int` `AXIS_MINUS_X` |
`int` `AXIS_MINUS_Y` |
`int` `AXIS_MINUS_Z` |
`int` `AXIS_X` |
`int` `AXIS_Y` |
`int` `AXIS_Z` |

Changed Fields
`int` `DATA_X` | Now deprecated. |
`int` `DATA_Y` | Now deprecated. |
`int` `DATA_Z` | Now deprecated. |
`float` `LIGHT_NO_MOON` | Changed in value from 0.0010f to 0.001f. |
`int` `RAW_DATA_INDEX` | Now deprecated. |
`int` `RAW_DATA_X` | Now deprecated. |
`int` `RAW_DATA_Y` | Now deprecated. |
`int` `RAW_DATA_Z` | Now deprecated. |
`int` `SENSOR_ACCELEROMETER` | Now deprecated. |
`int` `SENSOR_ALL` | Now deprecated. |
`int` `SENSOR_LIGHT` | Now deprecated. |
`int` `SENSOR_MAGNETIC_FIELD` | Now deprecated. |
`int` `SENSOR_MAX` | Now deprecated. |
`int` `SENSOR_MIN` | Now deprecated. |
`int` `SENSOR_ORIENTATION` | Now deprecated. |
`int` `SENSOR_ORIENTATION_RAW` | Now deprecated. |
`int` `SENSOR_PROXIMITY` | Now deprecated. |
`int` `SENSOR_TEMPERATURE` | Now deprecated. |
`int` `SENSOR_TRICORDER` | Now deprecated. |