android.hardware
Class Sensor

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

public class Sensor
extends java.lang.Object


Field Summary
static int TYPE_ACCELEROMETER
           
static int TYPE_ALL
           
static int TYPE_GYROSCOPE
           
static int TYPE_LIGHT
           
static int TYPE_MAGNETIC_FIELD
           
static int TYPE_ORIENTATION
           
static int TYPE_PRESSURE
           
static int TYPE_PROXIMITY
           
static int TYPE_TEMPERATURE
           
 
Method Summary
 float getMaximumRange()
           
 java.lang.String getName()
           
 float getPower()
           
 float getResolution()
           
 int getType()
           
 java.lang.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_ALL

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

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.