Package com.dsi.ant.plugins.antplus.pcc
Interface AntPlusFitnessEquipmentPcc.ITrainerStatusReceiver
- Enclosing class:
- AntPlusFitnessEquipmentPcc
public static interface AntPlusFitnessEquipmentPcc.ITrainerStatusReceiver
Receiver for the TrainerStatus event, which is:
Indicates whether the trainer requires calibration and/or configuration data to be sent, and whether the target power range can be attained based on the current cycling speed.
- Since:
- 2.1.8
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewTrainerStatus
(long estTimestamp, EnumSet<EventFlag> eventFlags, EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> trainerStatusFlags) Receives the data from a TrainerStatus event.
-
Method Details
-
onNewTrainerStatus
void onNewTrainerStatus(long estTimestamp, EnumSet<EventFlag> eventFlags, EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> trainerStatusFlags) Receives the data from a TrainerStatus 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.trainerStatusFlags
- Status flags for trainers which indicate possibly required user intervention.
-