共用方式為


INStartWorkoutIntentHandling_Extensions.ConfirmStartWorkout 方法

定義

開發人員可以實作這個方法來自訂開始確認。

public static void ConfirmStartWorkout (this Intents.IINStartWorkoutIntentHandling This, Intents.INStartWorkoutIntent intent, Action<Intents.INStartWorkoutIntentResponse> completion);
static member ConfirmStartWorkout : Intents.IINStartWorkoutIntentHandling * Intents.INStartWorkoutIntent * Action<Intents.INStartWorkoutIntentResponse> -> unit

參數

This
IINStartWorkoutIntentHandling

這個方法運作所在的 實例。

intent
INStartWorkoutIntent

指定使用者的意圖。

completion
Action<INStartWorkoutIntentResponse>

覆寫必須呼叫的完成方法。

適用於