IINPauseWorkoutIntentHandling.HandlePauseWorkout Method

Definition

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

[Foundation.Export("handlePauseWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandlePauseWorkout (Intents.INPauseWorkoutIntent intent, Action<Intents.INPauseWorkoutIntentResponse> completion);
abstract member HandlePauseWorkout : 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