Interface AntPlusStrideSdmPcc.IInstantaneousSpeedReceiver

Enclosing class:
AntPlusStrideSdmPcc

public static interface AntPlusStrideSdmPcc.IInstantaneousSpeedReceiver
Receiver for the InstantaneousSpeed event, which is: The instantaneous speed data. This data is optional and may not be sent by all sensors.
  • Method Summary

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

    • onNewInstantaneousSpeed

      void onNewInstantaneousSpeed(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal instantaneousSpeed)
      Receives the data from a InstantaneousSpeed 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.
      instantaneousSpeed - Instantaneous speed computed by sensor valid for display (up to 1/256 m/s accuracy). Units: m/s.