Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusStrideSdmPcc.ISensorStatusReceiver
- Enclosing class:
- AntPlusStrideSdmPcc
public static interface AntPlusStrideSdmPcc.ISensorStatusReceiver
Receiver for the SensorStatus event, which is:
Various status information about the sensor.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewSensorStatus
(long estTimestamp, EnumSet<EventFlag> eventFlags, AntPlusStrideSdmPcc.SensorLocation sensorLocation, BatteryStatus batteryStatus, AntPlusStrideSdmPcc.SensorHealth sensorHealth, AntPlusStrideSdmPcc.SensorUseState useState) Receives the data from a SensorStatus event.
-
Method Details
-
onNewSensorStatus
void onNewSensorStatus(long estTimestamp, EnumSet<EventFlag> eventFlags, AntPlusStrideSdmPcc.SensorLocation sensorLocation, BatteryStatus batteryStatus, AntPlusStrideSdmPcc.SensorHealth sensorHealth, AntPlusStrideSdmPcc.SensorUseState useState) Receives the data from a SensorStatus 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.sensorLocation
- TheAntPlusStrideSdmPcc.SensorLocation
of the current sensor location.batteryStatus
- TheBatteryStatus
of the current sensor battery status. Note: This value may also be received in theAntPlusCommonPcc.IBatteryStatusReceiver.onNewBatteryStatus(long, java.util.EnumSet<com.dsi.ant.plugins.antplus.pcc.defines.EventFlag>, long, java.math.BigDecimal, com.dsi.ant.plugins.antplus.pcc.defines.BatteryStatus, int, int, int)
event if the sensor supports the battery status common page.sensorHealth
- TheAntPlusStrideSdmPcc.SensorHealth
of the current sensor health.useState
- TheAntPlusStrideSdmPcc.SensorUseState
of the current sensor use state.
-