編集

次の方法で共有


IINStartWorkoutIntentHandling.HandleStartWorkout Method

Definition

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

[Foundation.Export("handleStartWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleStartWorkout (Intents.INStartWorkoutIntent intent, Action<Intents.INStartWorkoutIntentResponse> completion);
abstract member HandleStartWorkout : Intents.INStartWorkoutIntent * Action<Intents.INStartWorkoutIntentResponse> -> unit

Parameters

intent
INStartWorkoutIntent

Specifies the user's intention.

completion
Action<INStartWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to