Share via


IINResumeWorkoutIntentHandling 인터페이스

정의

구현될 때 에 적절한 arg를 사용하여 를 호출 completionINResumeWorkoutIntentResponse 해야 하는 인터페이스 정의 처리기 메서드입니다.

[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'1INResumeWorkoutIntentResponse 호출해야 합니다 INResumeWorkoutIntentintent.

확장 메서드

ConfirmResumeWorkout(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

개발자는 운동을 다시 시작해야 한다는 확인을 사용자 지정하기 위해 이 방법을 재정의할 수 있습니다.

ResolveWorkoutName(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INSpeakableStringResolutionResult>)

개발자는 이 메서드를 호출하여 운동 이름의 유효성 검사를 트리거할 수 있습니다.

적용 대상