public static interface AntPlusFitnessEquipmentPcc.IGeneralSettingsReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewGeneralSettings(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal cycleLength,
java.math.BigDecimal inclinePercentage,
int resistanceLevel)
Receives the data from a GeneralSettings event.
|
void onNewGeneralSettings(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal cycleLength, java.math.BigDecimal inclinePercentage, int resistanceLevel)
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.cycleLength
- The cycle length field provides information on the length of a single complete "cycle" on the FE. For a treadmill or elliptical machine, this would be the stride length. It could also be used to indicate step height on a climber, or stroke length on a rower (up to 0.01m resolution). Units: m.inclinePercentage
- The incline percentage field provides the treadmill's percentage incline with 0.01% resolution and a valid range from -100.00% to +100.00%. Units: %.resistanceLevel
- The resistance level setting of the FE or FE-C device. This is sent as a positive integer value between 1 and 254 as an FE device, or as a positive percentage with 0.5% units up to 100%.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.