Interface AntPlusBikePowerPcc.IPedalPowerBalanceReceiver

Enclosing class:
AntPlusBikePowerPcc

public static interface AntPlusBikePowerPcc.IPedalPowerBalanceReceiver
Receiver for the PedalPowerBalance event, which is: The pedal power data field provides the user's power contribution (as a percentage) between the left and right pedals, as measured by a pedal power sensor. This data field should be interpreted with the power-only update event count field to determine if the sensor data is new. This data is optional and may not be sent by all sensors.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewPedalPowerBalance(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean rightPedalIndicator, int pedalPowerPercentage)
    Receives the data from a PedalPowerBalance event.
  • Method Details

    • onNewPedalPowerBalance

      void onNewPedalPowerBalance(long estTimestamp, EnumSet<EventFlag> eventFlags, boolean rightPedalIndicator, int pedalPowerPercentage)
      Receives the data from a PedalPowerBalance 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.
      rightPedalIndicator - Indicates if the power meter is reporting the right pedal power (true), or if it does not know which pedal it is reporting (false).
      pedalPowerPercentage - The percentage of the user's total power contribution to a single pedal (up to 1% resolution). Units: %.