public static interface AccelerometerBosch.TapConfigEditor extends ConfigEditorBase
| Modifier and Type | Method and Description |
|---|---|
AccelerometerBosch.TapConfigEditor |
doubleTapWindow(AccelerometerBosch.DoubleTapWindow window)
Set the length of time for a second shock to occur for a double tap
|
AccelerometerBosch.TapConfigEditor |
enableDoubleTap()
Enable double tap detection
|
AccelerometerBosch.TapConfigEditor |
enableSingleTap()
Enable single tap detection
|
AccelerometerBosch.TapConfigEditor |
quietTime(AccelerometerBosch.TapQuietTime time)
Set the time that must pass before a second tap can occur
|
AccelerometerBosch.TapConfigEditor |
shockTime(AccelerometerBosch.TapShockTime time)
Set the time to lock the data in the status register
|
AccelerometerBosch.TapConfigEditor |
threshold(float threshold)
Set the threshold that the acceleration difference must exceed for a tap, in g's
|
commitAccelerometerBosch.TapConfigEditor enableDoubleTap()
AccelerometerBosch.TapConfigEditor enableSingleTap()
AccelerometerBosch.TapConfigEditor quietTime(AccelerometerBosch.TapQuietTime time)
time - New quiet timeAccelerometerBosch.TapConfigEditor shockTime(AccelerometerBosch.TapShockTime time)
time - New shock timeAccelerometerBosch.TapConfigEditor doubleTapWindow(AccelerometerBosch.DoubleTapWindow window)
window - New double tap windowAccelerometerBosch.TapConfigEditor threshold(float threshold)
threshold - New tap threshold