Class AndroidMagnetometerService
- java.lang.Object
-
- com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
-
- com.gluonhq.attach.magnetometer.impl.AndroidMagnetometerService
-
- All Implemented Interfaces:
MagnetometerService
public class AndroidMagnetometerService extends MobileMagnetometerService
-
-
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
Constructors Constructor Description AndroidMagnetometerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
startMagnetometerImpl(double frequency)
protected void
stopMagnetometerImpl()
-
Methods inherited from class com.gluonhq.attach.magnetometer.impl.MobileMagnetometerService
getReading, readingProperty, start, start, stop
-
-
-
-
Method Detail
-
startMagnetometerImpl
protected void startMagnetometerImpl(double frequency)
- Specified by:
startMagnetometerImpl
in classMobileMagnetometerService
-
stopMagnetometerImpl
protected void stopMagnetometerImpl()
- Specified by:
stopMagnetometerImpl
in classMobileMagnetometerService
-
-