Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusHeartRatePcc.ICalculatedRrIntervalReceiver
- Enclosing class:
- AntPlusHeartRatePcc
public static interface AntPlusHeartRatePcc.ICalculatedRrIntervalReceiver
Receiver for the RrInterval event, which is:
Heart beat timing data calculated by the plugin.
- Since:
- 2.1.7; requires Plugin Service 2.2.8+
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewCalculatedRrInterval
(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal calculatedRrInterval, AntPlusHeartRatePcc.RrFlag rrFlag) Receives the data from a RrInterval event.
-
Method Details
-
onNewCalculatedRrInterval
void onNewCalculatedRrInterval(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal calculatedRrInterval, AntPlusHeartRatePcc.RrFlag rrFlag) Receives the data from a RrInterval 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.calculatedRrInterval
- Current R-R interval, calculated by the plugin. Units: ms. Invalid if value is negative.rrFlag
- Indicates how the RR interval was calculated.
-