Modifica

Condividi tramite


HKWorkoutBuilder.FinishWorkout(HKWorkoutBuilderCompletionHandler) Method

Definition

Saves a new workout, created with the collected data, to the Health Store.

[Foundation.Export("finishWorkoutWithCompletion:")]
public virtual void FinishWorkout (HealthKit.HKWorkoutBuilderCompletionHandler completionHandler);
abstract member FinishWorkout : HealthKit.HKWorkoutBuilderCompletionHandler -> unit
override this.FinishWorkout : HealthKit.HKWorkoutBuilderCompletionHandler -> unit

Parameters

completionHandler
HKWorkoutBuilderCompletionHandler

A handler to run when the operation completes.

Attributes

Applies to