Interface AntPlusFitnessEquipmentPcc.IBikeDataReceiver

Enclosing class:
AntPlusFitnessEquipmentPcc

public static interface AntPlusFitnessEquipmentPcc.IBikeDataReceiver
Receiver for the BikeData event, which is: The data specific to bikes. This data is optional and may not be sent by all fitness equipment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewBikeData(long estTimestamp, EnumSet<EventFlag> eventFlags, int instantaneousCadence, int instantaneousPower)
    Receives the data from a BikeData event.
  • Method Details

    • onNewBikeData

      void onNewBikeData(long estTimestamp, EnumSet<EventFlag> eventFlags, int instantaneousCadence, int instantaneousPower)
      Receives the data from a BikeData 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.
      instantaneousCadence - Instantaneous cadence valid for display. Units: RPM.
      instantaneousPower - Instantaneous power valid for display. Units: Watts.