Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusStrideSdmPcc.IStrideCountReceiver
- Enclosing class:
- AntPlusStrideSdmPcc
public static interface AntPlusStrideSdmPcc.IStrideCountReceiver
Receiver for the StrideCount event, which is:
The cumulative stride count since the plugin connected to this device.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewStrideCount
(long estTimestamp, EnumSet<EventFlag> eventFlags, long cumulativeStrides) Receives the data from a StrideCount event.
-
Method Details
-
onNewStrideCount
Receives the data from a StrideCount 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.cumulativeStrides
- Total number of strides taken during the session. This value is incremented once for every two footfalls. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Units: strides. Rollover: Every ~9 quintillion strides.
-