Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusBikeSpeedDistancePcc.IMotionAndSpeedDataReceiver
- Enclosing class:
- AntPlusBikeSpeedDistancePcc
public static interface AntPlusBikeSpeedDistancePcc.IMotionAndSpeedDataReceiver
Receiver for the MotionAndSpeedData event, which is:
A 'stop indicator flag' to indicate whether the speed sensor has detected that the bike has stopped.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewMotionAndSpeedData
(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean isBikeStopped) Received the data from a MotionAndSpeedData event.
-
Method Details
-
onNewMotionAndSpeedData
void onNewMotionAndSpeedData(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean isBikeStopped) Received the data from a MotionAndSpeedData event.- Parameters:
estTimestamp
- The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.eventFlags
- Informational flags about the event.isBikeStopped
- False indicates the bike is moving, true indicates the bike has stopped.
-