Interface AntPlusFitnessEquipmentPcc.IGeneralFitnessEquipmentDataReceiver

Enclosing class:
AntPlusFitnessEquipmentPcc

public static interface AntPlusFitnessEquipmentPcc.IGeneralFitnessEquipmentDataReceiver
Receiver for the GeneralFitnessEquipmentData event, which is: The general information required to be sent by the fitness equipment.
  • Method Details

    • onNewGeneralFitnessEquipmentData

      void onNewGeneralFitnessEquipmentData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal elapsedTime, long cumulativeDistance, BigDecimal instantaneousSpeed, boolean virtualInstantaneousSpeed, int instantaneousHeartRate, AntPlusFitnessEquipmentPcc.HeartRateDataSource heartRateDataSource)
      Receives the data from a GeneralFitnessEquipmentData 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.
      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.