다음을 통해 공유


HMEventTrigger.RemoveEvent(HMEvent, Action<NSError>) 메서드

정의

에서 Events 제거 event 를 시도하고 나중에 처리기를 completion 호출합니다.

[Foundation.Export("removeEvent:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UpdateEvents' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveEvent (HomeKit.HMEvent event, Action<Foundation.NSError> completion);
abstract member RemoveEvent : HomeKit.HMEvent * Action<Foundation.NSError> -> unit
override this.RemoveEvent : HomeKit.HMEvent * Action<Foundation.NSError> -> unit

매개 변수

event
HMEvent

제거할 이벤트입니다.

completion
Action<NSError>

작업이 완료되면 실행할 처리기입니다.

특성

적용 대상