public static interface AntPlusFitnessEquipmentPcc.ITrackResistanceReceiver
AntPlusFitnessEquipmentPcc#requestCapabilities(IRequestFinishedReceiver, ICapabilitiesReceiver)
method first to find if it is supported.Modifier and Type | Method and Description |
---|---|
void |
onNewTrackResistance(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal grade,
java.math.BigDecimal rollingResistanceCoefficient)
Receives the data from a TrackResistance event.
|
void onNewTrackResistance(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal grade, java.math.BigDecimal rollingResistanceCoefficient)
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.grade
- Grade of simulated track. Gravitational resistance is calculated using the grade of the simulated track and the combined mass of the user plus fitness equipment.
rollingResistanceCoefficient
- The coefficient of rolling resistance is a dimensionless factor used to quantify rolling resistance based on the friction between the bicycle tires and the track surface.
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.