共用方式為


IINPauseWorkoutIntentHandling.HandlePauseWorkout 方法

定義

開發人員必須覆寫這個方法,並叫用適用于 的 INPauseWorkoutIntentintent T:System.Action'1INPauseWorkoutIntentResponse

[Foundation.Export("handlePauseWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandlePauseWorkout (Intents.INPauseWorkoutIntent intent, Action<Intents.INPauseWorkoutIntentResponse> completion);
abstract member HandlePauseWorkout : Intents.INPauseWorkoutIntent * Action<Intents.INPauseWorkoutIntentResponse> -> unit

參數

intent
INPauseWorkoutIntent

指定使用者的意圖。

completion
Action<INPauseWorkoutIntentResponse>

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

屬性

適用於