Class AndroidAccelerometerService
java.lang.Object
com.gluonhq.attach.accelerometer.impl.MobileAccelerometerService
com.gluonhq.attach.accelerometer.impl.AndroidAccelerometerService
- All Implemented Interfaces:
AccelerometerService
-
Property Summary
Properties inherited from class com.gluonhq.attach.accelerometer.impl.MobileAccelerometerService
acceleration
-
Field Summary
Fields inherited from class com.gluonhq.attach.accelerometer.impl.MobileAccelerometerService
reading
Fields inherited from interface com.gluonhq.attach.accelerometer.AccelerometerService
DEFAULT_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
startAccelerometerImpl
(boolean isFilterGravity, double frequency) protected void
Methods inherited from class com.gluonhq.attach.accelerometer.impl.MobileAccelerometerService
accelerationProperty, getCurrentAcceleration, start, start, stop, toLocalDateTime
-
Constructor Details
-
AndroidAccelerometerService
public AndroidAccelerometerService()
-
-
Method Details
-
startAccelerometerImpl
protected void startAccelerometerImpl(boolean isFilterGravity, double frequency) - Specified by:
startAccelerometerImpl
in classMobileAccelerometerService
-
stopAccelerometerImpl
protected void stopAccelerometerImpl()- Specified by:
stopAccelerometerImpl
in classMobileAccelerometerService
-