public static interface AntPlusStrideSdmPcc.IDistanceReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewDistance(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal cumulativeDistance)
Receives the data from a Distance event.
|
void onNewDistance(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal cumulativeDistance)
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.cumulativeDistance
- Total distance since the plugin connected to this device (up to 1/16m accuracy). 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: m. Rollover: Every ~576 quadrillion m.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.