Share via


IINPauseWorkoutIntentHandling 인터페이스

정의

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

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

속성

Handle

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

(다음에서 상속됨 INativeObject)

메서드

HandlePauseWorkout(INPauseWorkoutIntent, Action<INPauseWorkoutIntentResponse>)

개발자는 이 메서드를 재정 T:System.Action'1INPauseWorkoutIntentResponseINPauseWorkoutIntentintent호출해야 합니다.

확장 메서드

ConfirmPauseWorkout(IINPauseWorkoutIntentHandling, INPauseWorkoutIntent, Action<INPauseWorkoutIntentResponse>)

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

ResolveWorkoutName(IINPauseWorkoutIntentHandling, INPauseWorkoutIntent, Action<INSpeakableStringResolutionResult>)

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

적용 대상