public class AccelerometerAdapter extends AbstractFilter implements Accelerometer
sampleSize, source| Constructor and Description | 
|---|
| AccelerometerAdapter(SampleProvider source) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | getElement(int index) | 
| int | getXAccel()Measures the x-axis of the accelerometer, in meters/second^2. | 
| int | getYAccel()Measures the y-axis of the accelerometer, in meters/second^2. | 
| int | getZAccel()Measures the z-axis of the accelerometer, in meters/second^2. | 
fetchSample, sampleSizepublic AccelerometerAdapter(SampleProvider source)
protected int getElement(int index)
public int getXAccel()
AccelerometergetXAccel in interface Accelerometerpublic int getYAccel()
AccelerometergetYAccel in interface Accelerometerpublic int getZAccel()
AccelerometergetZAccel in interface Accelerometer