android.hardware.Sensor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform.
The newest version!
package android.hardware;
public class Sensor
{
Sensor() { throw new RuntimeException("Stub!"); }
public java.lang.String getName() { throw new RuntimeException("Stub!"); }
public java.lang.String getVendor() { throw new RuntimeException("Stub!"); }
public int getType() { throw new RuntimeException("Stub!"); }
public int getVersion() { throw new RuntimeException("Stub!"); }
public float getMaximumRange() { throw new RuntimeException("Stub!"); }
public float getResolution() { throw new RuntimeException("Stub!"); }
public float getPower() { throw new RuntimeException("Stub!"); }
public int getMinDelay() { throw new RuntimeException("Stub!"); }
public static final int TYPE_ACCELEROMETER = 1;
public static final int TYPE_MAGNETIC_FIELD = 2;
@java.lang.Deprecated()
public static final int TYPE_ORIENTATION = 3;
public static final int TYPE_GYROSCOPE = 4;
public static final int TYPE_LIGHT = 5;
public static final int TYPE_PRESSURE = 6;
@java.lang.Deprecated()
public static final int TYPE_TEMPERATURE = 7;
public static final int TYPE_PROXIMITY = 8;
public static final int TYPE_GRAVITY = 9;
public static final int TYPE_LINEAR_ACCELERATION = 10;
public static final int TYPE_ROTATION_VECTOR = 11;
public static final int TYPE_RELATIVE_HUMIDITY = 12;
public static final int TYPE_AMBIENT_TEMPERATURE = 13;
public static final int TYPE_ALL = -1;
}