HKWorkoutRouteBuilder.InsertRouteDataAsync(CLLocation[]) 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.
Adds the specified route data to the route and returns a task that contains the success status and any error that occurred.
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> InsertRouteDataAsync (CoreLocation.CLLocation[] routeData);
abstract member InsertRouteDataAsync : CoreLocation.CLLocation[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.InsertRouteDataAsync : CoreLocation.CLLocation[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
Parameters
- routeData
- CLLocation[]
The route data to add.
Returns
A task that represents the asynchronous InsertRouteData operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.