Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusFitnessEquipmentPcc.IBasicResistanceReceiver
- Enclosing class:
- AntPlusFitnessEquipmentPcc
public static interface AntPlusFitnessEquipmentPcc.IBasicResistanceReceiver
Receiver for the BasicResistance event, which is:
The basic resistance mode settings data. This data is optional and may not be supported by all devices.
Use the
AntPlusFitnessEquipmentPcc.requestCapabilities(IRequestFinishedReceiver, ICapabilitiesReceiver)
method first to find if it is supported.- Since:
- 2.1.8
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewBasicResistance
(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal totalResistance) Receives the data from a BasicResistance event.
-
Method Details
-
onNewBasicResistance
void onNewBasicResistance(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal totalResistance) Receives the data from a BasicResistance 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.totalResistance
- Percentage of maximum resistance to be applied.
Units: %. Valid range: 0% - 100%. Resolution: 0.5%
-