HKWorkoutBuilder.EndCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ends the workout and runs a handler when the operation completes.
[Foundation.Export("endCollectionWithEndDate:completion:")]
public virtual void EndCollection (Foundation.NSDate endDate, HealthKit.HKWorkoutBuilderCompletionHandler completionHandler);
abstract member EndCollection : Foundation.NSDate * HealthKit.HKWorkoutBuilderCompletionHandler -> unit
override this.EndCollection : Foundation.NSDate * HealthKit.HKWorkoutBuilderCompletionHandler -> unit
Parameters
- endDate
- NSDate
The end time of the workout.
- completionHandler
- HKWorkoutBuilderCompletionHandler
A handler to run when the operation completes.
- Attributes