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


IINResumeWorkoutIntentHandling Интерфейс

Определение

Интерфейс, определяющий метод обработчика, который при реализации должен вызываться completion с соответствующим INResumeWorkoutIntentResponse для arg.

[Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINResumeWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINResumeWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
Производный
Атрибуты
Реализации

Свойства

Handle

Дескриптор (указатель) на представление неуправляемого объекта.

(Унаследовано от INativeObject)

Методы

HandleResumeWorkout(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

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

Методы расширения

ConfirmResumeWorkout(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

Разработчики могут переопределить этот метод, чтобы настроить подтверждение возобновления тренировки.

ResolveWorkoutName(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INSpeakableStringResolutionResult>)

Разработчики могут вызывать этот метод, чтобы активировать проверку имени тренировки.

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