IINEndWorkoutIntentHandling 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구현될 때 에 적절한 arg
를 사용하여 를 호출 completion
INEndWorkoutIntentResponse 해야 하는 인터페이스 정의 처리기 메서드입니다.
[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'1 을 INEndWorkoutIntentResponse 호출해야 합니다 INEndWorkoutIntent |
확장 메서드
ConfirmEndWorkout(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>) |
개발자는 이 방법을 재정의하여 운동 종료 확인을 사용자 지정할 수 있습니다. |
ResolveWorkoutName(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INSpeakableStringResolutionResult>) |
개발자는 이 메서드를 재정의하여 운동 이름의 유효성 검사를 사용자 지정할 수 있습니다. |