Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusBikePowerPcc.IInstantaneousCadenceReceiver
- Enclosing class:
- AntPlusBikePowerPcc
public static interface AntPlusBikePowerPcc.IInstantaneousCadenceReceiver
Receiver for the InstantaneousCadence event, which is:
The instantaneous cadence data. This data is optional and may not be sent by all sensors.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewInstantaneousCadence
(long estTimestamp, EnumSet<EventFlag> eventFlags, AntPlusBikePowerPcc.DataSource dataSource, int instantaneousCadence) Receives the data from a InstantaneousCadence event.
-
Method Details
-
onNewInstantaneousCadence
void onNewInstantaneousCadence(long estTimestamp, EnumSet<EventFlag> eventFlags, AntPlusBikePowerPcc.DataSource dataSource, int instantaneousCadence) Receives the data from a InstantaneousCadence 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.dataSource
- TheAntPlusBikePowerPcc.DataSource
indicating which data page type this field was generated from.instantaneousCadence
- Instantaneous cadence valid for display, computed by sensor (up to 1RPM resolution). '-1' = Invalid data. Units: RPM.
-