public static interface AccelerometerBosch.AnyMotionConfigEditor extends ConfigEditorBase
Modifier and Type | Method and Description |
---|---|
AccelerometerBosch.AnyMotionConfigEditor |
count(int count)
Set the number of consecutive slope data points that must be above the threshold for an interrupt to occur
|
AccelerometerBosch.AnyMotionConfigEditor |
threshold(float threshold)
Set the threshold that the slope data points must be above
|
commit
AccelerometerBosch.AnyMotionConfigEditor count(int count)
count
- Number of consecutive slope data pointsAccelerometerBosch.AnyMotionConfigEditor threshold(float threshold)
threshold
- Any motion threshold, in g's