android.hardware
Class Sensor
java.lang.Object
android.hardware.Sensor
public class Sensor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_ACCELEROMETER
public static final int TYPE_ACCELEROMETER
- See Also:
- Constant Field Values
TYPE_MAGNETIC_FIELD
public static final int TYPE_MAGNETIC_FIELD
- See Also:
- Constant Field Values
TYPE_ORIENTATION
public static final int TYPE_ORIENTATION
- See Also:
- Constant Field Values
TYPE_GYROSCOPE
public static final int TYPE_GYROSCOPE
- See Also:
- Constant Field Values
TYPE_LIGHT
public static final int TYPE_LIGHT
- See Also:
- Constant Field Values
TYPE_PRESSURE
public static final int TYPE_PRESSURE
- See Also:
- Constant Field Values
TYPE_TEMPERATURE
public static final int TYPE_TEMPERATURE
- See Also:
- Constant Field Values
TYPE_PROXIMITY
public static final int TYPE_PROXIMITY
- See Also:
- Constant Field Values
TYPE_ALL
public static final int TYPE_ALL
- See Also:
- Constant Field Values
getName
public java.lang.String getName()
getVendor
public java.lang.String getVendor()
getType
public int getType()
getVersion
public int getVersion()
getMaximumRange
public float getMaximumRange()
getResolution
public float getResolution()
getPower
public float getPower()
Copyright © 2008-2010. All Rights Reserved.