java.lang.Object
com.gluonhq.attach.accelerometer.Parameters
A data structure that allows configuring the
AccelerometerService
.- Since:
- 4.0.11
-
Constructor Summary
ConstructorDescriptionParameters
(double frequency, boolean isFilteringGravity) Construct new parameters forAccelerometerService
. -
Method Summary
-
Constructor Details
-
Parameters
public Parameters(double frequency, boolean isFilteringGravity) Construct new parameters forAccelerometerService
.- Parameters:
frequency
- the rate with which to update the serviceisFilteringGravity
- whether to filter gravity
-
-
Method Details