public static interface AntPlusStrideSdmPcc.IStrideCountReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewStrideCount(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
long cumulativeStrides)
Receives the data from a StrideCount event.
|
void onNewStrideCount(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, long cumulativeStrides)
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.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.