Share via


HMEventTrigger.AddEventAsync(HMEvent) Method

Definition

Developers should not use this deprecated method. Developers should use 'UpdateEvents' instead.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task AddEventAsync(HomeKit.HMEvent event);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddEventAsync : HomeKit.HMEvent -> System.Threading.Tasks.Task
override this.AddEventAsync : HomeKit.HMEvent -> System.Threading.Tasks.Task

Parameters

event
HMEvent

The event to add.

Returns

A task that represents the asynchronous AddEvent operation

Attributes

Applies to