Edit

Share via


INEndWorkoutIntentHandling_Extensions.ConfirmEndWorkout Method

Definition

Developers may override this method to customize the confirmation of the end of a workout.

public static void ConfirmEndWorkout (this Intents.IINEndWorkoutIntentHandling This, Intents.INEndWorkoutIntent intent, Action<Intents.INEndWorkoutIntentResponse> completion);
static member ConfirmEndWorkout : Intents.IINEndWorkoutIntentHandling * Intents.INEndWorkoutIntent * Action<Intents.INEndWorkoutIntentResponse> -> unit

Parameters

This
IINEndWorkoutIntentHandling

The instance on which this method operates.

intent
INEndWorkoutIntent

Specifies the user's intention.

completion
Action<INEndWorkoutIntentResponse>

Completion method that must be called by the override.

Applies to