Düzenle

Aracılığıyla paylaş


IINEndWorkoutIntentHandling.HandleEndWorkout Method

Definition

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

[Foundation.Export("handleEndWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleEndWorkout (Intents.INEndWorkoutIntent intent, Action<Intents.INEndWorkoutIntentResponse> completion);
abstract member HandleEndWorkout : Intents.INEndWorkoutIntent * Action<Intents.INEndWorkoutIntentResponse> -> unit

Parameters

intent
INEndWorkoutIntent

Specifies the user's intention.

completion
Action<INEndWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to