HKWorkoutBuilder.FinishWorkoutAsync 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.
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.