編集

次の方法で共有


HMEventTrigger.UpdateEvents(HMEvent[], Action<NSError>) Method

Definition

[Foundation.Export("updateEvents: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 UpdateEvents (HomeKit.HMEvent[] events, Action<Foundation.NSError> completion);
abstract member UpdateEvents : HomeKit.HMEvent[] * Action<Foundation.NSError> -> unit
override this.UpdateEvents : HomeKit.HMEvent[] * Action<Foundation.NSError> -> unit

Parameters

events
HMEvent[]
completion
Action<NSError>

A handler to run when the operation completes.

Attributes

Applies to