Edit

Share via


INStartWorkoutIntentHandling_Extensions.ResolveWorkoutGoalUnitType Method

Definition

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

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

Parameters

This
IINStartWorkoutIntentHandling

The instance on which this method operates.

intent
INStartWorkoutIntent

Specifies the user's intention.

completion
Action<INWorkoutGoalUnitTypeResolutionResult>

Completion method that must be called by the override.

Applies to