Freigeben über


IINCancelWorkoutIntentHandling.HandleCancelWorkout Methode

Definition

Entwickler müssen diese Methode überschreiben und T:System.Action'1 mit einem INCancelWorkoutIntentResponse aufrufen, das INCancelWorkoutIntentintentdem entspricht.

[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

Parameter

intent
INCancelWorkoutIntent

Gibt die Absicht des Benutzers an.

completion
Action<INCancelWorkoutIntentResponse>

Vervollständigungsmethode, die von der Überschreibung aufgerufen werden muss.

Attribute

Gilt für: