Interface AntPlusFitnessEquipmentPcc.ILapOccuredReceiver

Enclosing class:
AntPlusFitnessEquipmentPcc

public static interface AntPlusFitnessEquipmentPcc.ILapOccuredReceiver
Receiver for the LapOccured event, which is: This event is fired when the fitness equipment determines a lap has been finished by the user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewLapOccured(long estTimestamp, EnumSet<EventFlag> eventFlags, int lapCount)
    Receives the data from a LapOccured event.
  • Method Details

    • onNewLapOccured

      void onNewLapOccured(long estTimestamp, EnumSet<EventFlag> eventFlags, int lapCount)
      Receives the data from a LapOccured 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.
      lapCount - The total number of laps completed by the user recorded from the time the plugin connected to the fitness equipment. Units: laps.