Поделиться через


IINEndWorkoutIntentHandling.HandleEndWorkout Метод

Определение

Разработчики должны переопределить этот метод и вызвать T:System.Action'1 с INEndWorkoutIntentResponse соответствующим .INEndWorkoutIntentintent

[Foundation.Export("handleEndWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleEndWorkout (Intents.INEndWorkoutIntent intent, Action<Intents.INEndWorkoutIntentResponse> completion);
abstract member HandleEndWorkout : Intents.INEndWorkoutIntent * Action<Intents.INEndWorkoutIntentResponse> -> unit

Параметры

intent
INEndWorkoutIntent

Указывает намерение пользователя.

completion
Action<INEndWorkoutIntentResponse>

Метод завершения, который должен вызываться переопределением.

Атрибуты

Применяется к