Interface AntPlusFitnessEquipmentPcc.IGeneralMetabolicDataReceiver

Enclosing class:
AntPlusFitnessEquipmentPcc

public static interface AntPlusFitnessEquipmentPcc.IGeneralMetabolicDataReceiver
Receiver for the GeneralMetabolicData event, which is: The metabolic data for the user. This data is optional and may not be sent by all fitness equipment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewGeneralMetabolicData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal instantaneousMetabolicEquivalents, BigDecimal instantaneousCaloricBurn, long cumulativeCalories)
    Receives the data from a GeneralMetabolicData event.
  • Method Details

    • onNewGeneralMetabolicData

      void onNewGeneralMetabolicData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal instantaneousMetabolicEquivalents, BigDecimal instantaneousCaloricBurn, long cumulativeCalories)
      Receives the data from a GeneralMetabolicData 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.
      instantaneousMetabolicEquivalents - Instantaneous measure of the rate of energy expenditure (up to 0.01 MET resolution). Units: METs.
      instantaneousCaloricBurn - Instantaneous value of the caloric burn rate with 0.1 Cal/hr resolution. Units: kcal/hr.
      cumulativeCalories - Total number of calories consumed from the time the plugin connected to the fitness equipment. Units: kcal. Rollover: Every ~9 quintillion kcal.