public static interface AntPlusFitnessEquipmentPcc.IGeneralFitnessEquipmentDataReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
onNewGeneralFitnessEquipmentData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal elapsedTime,
long cumulativeDistance,
java.math.BigDecimal instantaneousSpeed,
boolean virtualInstantaneousSpeed,
int instantaneousHeartRate,
AntPlusFitnessEquipmentPcc.HeartRateDataSource heartRateDataSource)
Receives the data from a GeneralFitnessEquipmentData event.
|
void onNewGeneralFitnessEquipmentData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal elapsedTime,
long cumulativeDistance,
java.math.BigDecimal instantaneousSpeed,
boolean virtualInstantaneousSpeed,
int instantaneousHeartRate,
AntPlusFitnessEquipmentPcc.HeartRateDataSource heartRateDataSource)
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.elapsedTime - Total elapsed duration of the workout from the time the plugin connected to the fitness equipment (up to 1/4s resolution). Units: s. Rollover: Every ~2.3 quintillion s.cumulativeDistance - Total distance from the time the plugin connected to this device (up to 1m resolution). Units: m. Rollover: Every ~9 quintillion m.instantaneousSpeed - Instantaneous speed computed by sensor valid for display (up to 0.001 m/s resolution). Units: m/s.virtualInstantaneousSpeed - Flag indicating if the instantaneous speed field represents virtual speed or real speed. (since pluginLib 2.1.8; requires Plugin Service 2.2.9+)instantaneousHeartRate - Instantaneous heart rate data valid for display. Units: bpm.heartRateDataSource - The AntPlusFitnessEquipmentPcc.HeartRateDataSource of the connected fitness equipment.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.