public static interface Accelerometer.MovementData
| Modifier and Type | Interface and Description |
|---|---|
static class |
Accelerometer.MovementData.Direction
Axis information for the detection callback functions
|
| Modifier and Type | Method and Description |
|---|---|
Accelerometer.MovementData.Direction |
getDirection(Accelerometer.Axis axis)
Returns the direction the board is moving in on the specific axis
|
boolean |
isAboveThreshold(Accelerometer.Axis axis)
Returns whether or not the board exceeded the threshold on the specific axis
|
boolean isAboveThreshold(Accelerometer.Axis axis)
axis - Axis to checkAccelerometer.MovementData.Direction getDirection(Accelerometer.Axis axis)
axis - Axis to check