public static interface AccelerometerBosch.OrientationConfigEditor extends ConfigEditorBase
Modifier and Type | Method and Description |
---|---|
AccelerometerBosch.OrientationConfigEditor |
hysteresis(float hysteresis)
Set the hysteresis offset for portrait/landscape detection
|
AccelerometerBosch.OrientationConfigEditor |
mode(AccelerometerBosch.OrientationMode mode)
Set the orientation calculation mode
|
commit
AccelerometerBosch.OrientationConfigEditor hysteresis(float hysteresis)
hysteresis
- New offset angle, in degreesAccelerometerBosch.OrientationConfigEditor mode(AccelerometerBosch.OrientationMode mode)
mode
- New calculation mode