Package com.tinkerforge
Interface BrickletGPS.MotionListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletGPS
public static interface BrickletGPS.MotionListener extends DeviceListener
This listener is triggered periodically with the period that is set byBrickletGPS.setMotionCallbackPeriod(long)
. The parameters are the same as forBrickletGPS.getMotion()
. TheBrickletGPS.MotionListener
listener is only triggered if the motion changed since the last triggering and if there is currently a fix as indicated byBrickletGPS.getStatus()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
motion(long course, long speed)
-