Interface AntPlusFitnessEquipmentPcc.ITargetPowerReceiver

Enclosing class:
AntPlusFitnessEquipmentPcc

public static interface AntPlusFitnessEquipmentPcc.ITargetPowerReceiver
Receiver for the TargetPower event, which is: The target power mode settings data. This data is optional and may not be supported by all devices. Use the AntPlusFitnessEquipmentPcc.requestCapabilities(IRequestFinishedReceiver, ICapabilitiesReceiver) method first to find if it is supported.
Since:
2.1.8
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewTargetPower(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal targetPower)
    Receives the data from a TargetPower event.
  • Method Details

    • onNewTargetPower

      void onNewTargetPower(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal targetPower)
      Receives the data from a TargetPower 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.
      targetPower - The target power for fitness equipment operating in target power mode.
      Units: W. Valid range: 0W - 1000W. Resolution: 0.25W