android.hardware
Class Sensor

java.lang.Object
  extended by android.hardware.Sensor

public class Sensor
extends Object


Field Summary
static int TYPE_ACCELEROMETER
           
static int TYPE_ALL
           
static int TYPE_AMBIENT_TEMPERATURE
           
static int TYPE_GRAVITY
           
static int TYPE_GYROSCOPE
           
static int TYPE_LIGHT
           
static int TYPE_LINEAR_ACCELERATION
           
static int TYPE_MAGNETIC_FIELD
           
static int TYPE_ORIENTATION
           
static int TYPE_PRESSURE
           
static int TYPE_PROXIMITY
           
static int TYPE_RELATIVE_HUMIDITY
           
static int TYPE_ROTATION_VECTOR
           
static int TYPE_TEMPERATURE
           
 
Method Summary
 float getMaximumRange()
           
 int getMinDelay()
           
 String getName()
           
 float getPower()
           
 float getResolution()
           
 int getType()
           
 String getVendor()
           
 int getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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_GRAVITY

public static final int TYPE_GRAVITY
See Also:
Constant Field Values

TYPE_LINEAR_ACCELERATION

public static final int TYPE_LINEAR_ACCELERATION
See Also:
Constant Field Values

TYPE_ROTATION_VECTOR

public static final int TYPE_ROTATION_VECTOR
See Also:
Constant Field Values

TYPE_RELATIVE_HUMIDITY

public static final int TYPE_RELATIVE_HUMIDITY
See Also:
Constant Field Values

TYPE_AMBIENT_TEMPERATURE

public static final int TYPE_AMBIENT_TEMPERATURE
See Also:
Constant Field Values

TYPE_ALL

public static final int TYPE_ALL
See Also:
Constant Field Values
Method Detail

getName

public String getName()

getVendor

public String getVendor()

getType

public int getType()

getVersion

public int getVersion()

getMaximumRange

public float getMaximumRange()

getResolution

public float getResolution()

getPower

public float getPower()

getMinDelay

public int getMinDelay()


Copyright © 2008-2012. All Rights Reserved.