HKWorkoutRouteBuilder.InsertRouteData(CLLocation[], Action<Boolean,NSError>) Method

Definition

Adds the specified route data to the route and runs a handler when the operation completes.

[Foundation.Export("insertRouteData:completion:")]
public virtual void InsertRouteData (CoreLocation.CLLocation[] routeData, Action<bool,Foundation.NSError> completion);
abstract member InsertRouteData : CoreLocation.CLLocation[] * Action<bool, Foundation.NSError> -> unit
override this.InsertRouteData : CoreLocation.CLLocation[] * Action<bool, Foundation.NSError> -> unit

Parameters

routeData
CLLocation[]

The route data to add.

completion
Action<Boolean,NSError>

A handler to run when the operation completes.

Attributes

Applies to