Edit

Share via


HKWorkoutBuilder.FinishWorkoutAsync Method

Definition

Saves a new workout, created with the collected data, to the Health Store. Returns a handler that contains a success status and any error that occurred.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> FinishWorkoutAsync ();
abstract member FinishWorkoutAsync : unit -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.FinishWorkoutAsync : unit -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Returns

A handler that contains a success status and any error that occurred.

Applies to