Class AndroidMagnetometerService
java.lang.Object
com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
com.gluonhq.attach.magnetometer.impl.AndroidMagnetometerService
- All Implemented Interfaces:
MagnetometerService
-
Property Summary
Properties inherited from class com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
reading
-
Field Summary
Fields inherited from class com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
reading
Fields inherited from interface com.gluonhq.attach.magnetometer.MagnetometerService
DEFAULT_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
startMagnetometerImpl
(double frequency) protected void
Methods inherited from class com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
getReading, readingProperty, start, start, stop
-
Constructor Details
-
AndroidMagnetometerService
public AndroidMagnetometerService()
-
-
Method Details
-
startMagnetometerImpl
protected void startMagnetometerImpl(double frequency) - Specified by:
startMagnetometerImpl
in classMobileMagnetometerService
-
stopMagnetometerImpl
protected void stopMagnetometerImpl()- Specified by:
stopMagnetometerImpl
in classMobileMagnetometerService
-