Share via


INPauseWorkoutIntentHandling_Extensions.Confirm Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Confirm(this Intents.IINPauseWorkoutIntentHandling This, Intents.INPauseWorkoutIntent intent, Action<Intents.INPauseWorkoutIntentResponse> completion);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Confirm : Intents.IINPauseWorkoutIntentHandling * Intents.INPauseWorkoutIntent * Action<Intents.INPauseWorkoutIntentResponse> -> unit

Parameters

intent
INPauseWorkoutIntent

Specifies the user's intention.

completion
Action<INPauseWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to