Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusFitnessEquipmentPcc.IEllipticalDataReceiver
- Enclosing class:
- AntPlusFitnessEquipmentPcc
public static interface AntPlusFitnessEquipmentPcc.IEllipticalDataReceiver
Receiver for the EllipticalData event, which is:
The data specific to ellipticals. This data is optional and may not be sent by all fitness equipment.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewEllipticalData
(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal cumulativePosVertDistance, long cumulativeStrides, int instantaneousCadence, int instantaneousPower) Receives the data from a EllipticalData event.
-
Method Details
-
onNewEllipticalData
void onNewEllipticalData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal cumulativePosVertDistance, long cumulativeStrides, int instantaneousCadence, int instantaneousPower) Receives the data from a EllipticalData 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.cumulativePosVertDistance
- Total vertical distance traveled up, or the total distance ascended from the time the plugin connected to the fitness equipment (up to 0.1m resolution). Units: m. Rollover: Every ~900 quadrillion m.cumulativeStrides
- Total number of strides taken during the session from the time the plugin connected to the fitness equipment. Units: strides. Rollover: Every ~9 quintillion strides.instantaneousCadence
- Instantaneous cadence valid for display. Units: strides/min.instantaneousPower
- Instantaneous power valid for display. Units: Watts.
-