Edit

Share via


HKWorkoutRouteBuilderAddMetadataHandler Delegate

Definition

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

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

Parameters

success
Boolean

Whether the operation succeeded.

error
NSError

The error that occurred, if success was false.

Applies to