|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.Android_Seminar.backend.impl.SensorMapping
public class SensorMapping
This class maps android's sensors to SensorType
and vice versa. If there is no corresponding mapping
for a sensor, null is returned.
Constructor Summary | |
---|---|
SensorMapping()
|
Method Summary | |
---|---|
static int |
getAndroidSensor(SensorType sensor)
|
static SensorType |
getSensorType(Sensor sensor)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SensorMapping()
Method Detail |
---|
public static SensorType getSensorType(Sensor sensor)
sensor
- a android's sensor
SensorType
for the given
android sensor, or null if there is no such corresponding sensorpublic static int getAndroidSensor(SensorType sensor)
sensor
- a SensorType
sensor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |