pushWorkoutEvent method
void
pushWorkoutEvent(})
Push a workout/exercise event with optional vendor scalars.
Workout-kind discriminants: 0=Unknown, 1=Cardio, 2=Strength, 3=Hiit, 4=LowIntensity, 5=Sport. Pass -1.0 for missing vendor
scalars.
Implementation
void pushWorkoutEvent(
int startMs,
int endMs, {
int workoutKind = 0,
double vendorStrain = -1.0,
double vendorRecovery = -1.0,
}) => _ffi.pushWorkoutEvent(
_handle,
startMs,
endMs,
workoutKind,
vendorStrain,
vendorRecovery,
);