HKWorkoutBuilder.BeginCollection 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.
Starts the workout at the sepcified time. Begins collecting workout data.
[Foundation.Export("beginCollectionWithStartDate:completion:")]
public virtual void BeginCollection (Foundation.NSDate startDate, HealthKit.HKWorkoutBuilderCompletionHandler completionHandler);
abstract member BeginCollection : Foundation.NSDate * HealthKit.HKWorkoutBuilderCompletionHandler -> unit
override this.BeginCollection : Foundation.NSDate * HealthKit.HKWorkoutBuilderCompletionHandler -> unit
Parameters
- startDate
- NSDate
The date and time the workout starts.
- completionHandler
- HKWorkoutBuilderCompletionHandler
A handler to run when the operation completes.
- Attributes