Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusBikeCadencePcc.IMotionAndCadenceDataReceiver
- Enclosing class:
- AntPlusBikeCadencePcc
public static interface AntPlusBikeCadencePcc.IMotionAndCadenceDataReceiver
Receiver for the MotionAndCadenceData event, which is:
A 'stop indicator flag' to indicate whether the cadence sensor has detected that the bike has stopped.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewMotionAndCadenceData
(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean isPedallingStopped) Received the data from a MotionAndCadenceData event.
-
Method Details
-
onNewMotionAndCadenceData
void onNewMotionAndCadenceData(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean isPedallingStopped) Received the data from a MotionAndCadenceData 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.isPedallingStopped
- False indicates the user is pedalling, true indicates the user has stopped pedalling.
-