A wrapper for HKWorkoutBuilder.
More...
HKWorkoutBuilder is a "builder object that incrementally constructs a workout".
|
WorkoutConfiguration | configuration |
| The configuration for the WorkoutBuilder.
|
|
DateTimeOffset | startDate |
| The start date of the workout session.
|
|
DateTimeOffset | endDate |
| The end date of the session.
|
|
List< WorkoutSample > | workoutSamples |
| The builder's Workout samples.
|
|
◆ WorkoutBuilder()
BeliefEngine.HealthKit.WorkoutBuilder.WorkoutBuilder |
( |
WorkoutConfiguration | configuration, |
|
|
DateTimeOffset | startDate, |
|
|
DateTimeOffset | endDate ) |
|
inline |
- Parameters
-
configuration | The configuration for the WorkoutBuilder |
startDate | The start date of the workout session |
endDate | The end date of the session |
◆ AddWorkouts()
void BeliefEngine.HealthKit.WorkoutBuilder.AddWorkouts |
( |
List< WorkoutSample > | samples | ) |
|
|
inline |
- Parameters
-
samples | a List of workout samples to add. |