IINPauseWorkoutIntentHandling.HandlePauseWorkout 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員必須覆寫這個方法,並叫用適用于 的 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>
覆寫必須呼叫的完成方法。
- 屬性