Interface AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver

Enclosing class:
AntPlusLegacyCommonPcc

public static interface AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver
Receiver for the CumulativeOperatingTime event, which is: The cumulative operating time.
  • Method Summary

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

    • onNewCumulativeOperatingTime

      void onNewCumulativeOperatingTime(long estTimestamp, EnumSet<EventFlag> eventFlags, long cumulativeOperatingTime)
      Receives the data from a CumulativeOperatingTime 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.
      cumulativeOperatingTime - The cumulative operating time since the battery was inserted. Units: seconds (w/ 2s resolution). Rollover: Every 33554430s seconds (w/ 2s resolution) (388 days).