共用方式為


INStartWorkoutIntentHandling_Extensions.ResolveWorkoutName 方法

定義

開發人員可以呼叫這個方法來觸發驗證擷取名稱。

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

參數

This
IINStartWorkoutIntentHandling

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

intent
INStartWorkoutIntent

指定使用者的意圖。

completion
Action<INSpeakableStringResolutionResult>

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

適用於