Modifica

Condividi tramite


HKWorkoutBuilderCompletionHandler Delegate

Definition

Completion handler for adding metadata with HKWorkoutRouteQuery(HKWorkoutRoute, HKWorkoutRouteBuilderDataHandler).

public delegate void HKWorkoutBuilderCompletionHandler(bool success, NSError error);
type HKWorkoutBuilderCompletionHandler = delegate of bool * NSError -> unit

Parameters

success
Boolean

Whether the operation succeeded.

error
NSError

The error that occurred, if success was false.

Applies to