public static interface Mma8452qAccelerometer.ShakeConfigEditor extends Mma8452qAccelerometer.DetectionConfigEditor<Mma8452qAccelerometer.ShakeConfigEditor>
Modifier and Type | Method and Description |
---|---|
Mma8452qAccelerometer.ShakeConfigEditor |
setAxis(Mma8452qAccelerometer.Axis axis)
Sets the axis to detect shaking motion
|
commit, setDuration, setThreshold
Mma8452qAccelerometer.ShakeConfigEditor setAxis(Mma8452qAccelerometer.Axis axis)
axis
- Axis to detect shaking