HMEventTrigger.UpdateEndEvents(HMEvent[], Action<NSError>) 方法

定义

[Foundation.Export("updateEndEvents:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateEndEvents (HomeKit.HMEvent[] endEvents, Action<Foundation.NSError> completion);
abstract member UpdateEndEvents : HomeKit.HMEvent[] * Action<Foundation.NSError> -> unit
override this.UpdateEndEvents : HomeKit.HMEvent[] * Action<Foundation.NSError> -> unit

参数

endEvents
HMEvent[]
completion
Action<NSError>

操作完成时要运行的处理程序。

属性

适用于