Interface AntPlusStrideSdmPcc.ICalorieDataReceiver

Enclosing class:
AntPlusStrideSdmPcc

public static interface AntPlusStrideSdmPcc.ICalorieDataReceiver
Receiver for the CalorieData event, which is: The total calories consumed over the session.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewCalorieData(long estTimestamp, EnumSet<EventFlag> eventFlags, long cumulativeCalories)
    Receives the data from a CalorieData event.
  • Method Details

    • onNewCalorieData

      void onNewCalorieData(long estTimestamp, EnumSet<EventFlag> eventFlags, long cumulativeCalories)
      Receives the data from a CalorieData 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.
      cumulativeCalories - The total number of calories consumed from the start of the session. Units: kcal. Rollover: Every ~9 quintillion kcal.