public static interface AntPlusEnvironmentPcc.ITemperatureDataReceiver
|Modifier and Type||Method and Description|
Receives the data from a TemperatureData event.
void onNewTemperatureData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal currentTemperature, long eventCount, java.math.BigDecimal lowLast24Hours, java.math.BigDecimal highLast24Hours)
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.
currentTemperature- The most recent temperature reading of the sensor (up to 0.01*C accuracy). Units: Degrees Celsius.
eventCount- Incremented every measurement. Rollover: Every ~9 quintillion N/A.
lowLast24Hours- Lowest temperature recorded over the last 24 hours (up to 0.1*C accuracy). Units: Degrees Celsius.
highLast24Hours- Highest temperature recorded over the last 24 hours (up to 0.1*C accuracy). Units: Degrees Celsius.
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.