Share via


INCancelWorkoutIntentHandling_Extensions.Confirm Method

Definition

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

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

Parameters

intent
INCancelWorkoutIntent

Specifies the user's intention.

completion
Action<INCancelWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to