public static interface AccelerometerBosch.NoMotionConfigEditor extends ConfigEditorBase
Modifier and Type | Method and Description |
---|---|
AccelerometerBosch.NoMotionConfigEditor |
duration(int duration)
Set the duration
|
AccelerometerBosch.NoMotionConfigEditor |
threshold(float threshold)
Set the tap threshold.
|
commit
AccelerometerBosch.NoMotionConfigEditor duration(int duration)
duration
- Time, in milliseconds, for which no slope data points exceed the thresholdAccelerometerBosch.NoMotionConfigEditor threshold(float threshold)
threshold
- Threshold, in Gs, for which no slope data points must exceed