INStartWorkoutIntentHandling_Extensions.ResolveWorkoutLocationType Method

Definition

Developers may implement this method to customize the resolution of the workout location.

public static void ResolveWorkoutLocationType (this Intents.IINStartWorkoutIntentHandling This, Intents.INStartWorkoutIntent intent, Action<Intents.INWorkoutLocationTypeResolutionResult> completion);
static member ResolveWorkoutLocationType : Intents.IINStartWorkoutIntentHandling * Intents.INStartWorkoutIntent * Action<Intents.INWorkoutLocationTypeResolutionResult> -> unit

Parameters

This
IINStartWorkoutIntentHandling

The instance on which this method operates.

intent
INStartWorkoutIntent

Specifies the user's intention.

completion
Action<INWorkoutLocationTypeResolutionResult>

Completion method that must be called by the override.

Applies to