IINCancelWorkoutIntentHandling.HandleCancelWorkout Method

Definition

Developers must override this method and invoke the T:System.Action`1 with an INCancelWorkoutIntentResponse appropriate to the INCancelWorkoutIntent intent.

[Foundation.Export("handleCancelWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleCancelWorkout (Intents.INCancelWorkoutIntent intent, Action<Intents.INCancelWorkoutIntentResponse> completion);
abstract member HandleCancelWorkout : 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