Share via


IINEndWorkoutIntentHandling 인터페이스

정의

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

[Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))]
[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 IINEndWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINEndWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
파생
특성
구현

속성

Handle

관리되지 않는 개체 표현에 대한 핸들(포인터)입니다.

(다음에서 상속됨 INativeObject)

메서드

HandleEndWorkout(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

개발자는 이 메서드를 재정의하고 에 적절한 를 사용하여 T:System.Action'1INEndWorkoutIntentResponse 호출해야 합니다 INEndWorkoutIntentintent.

확장 메서드

ConfirmEndWorkout(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

개발자는 이 방법을 재정의하여 운동 종료 확인을 사용자 지정할 수 있습니다.

ResolveWorkoutName(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INSpeakableStringResolutionResult>)

개발자는 이 메서드를 재정의하여 운동 이름의 유효성 검사를 사용자 지정할 수 있습니다.

적용 대상