Edit

Share via


HMHome.RemoveTriggerAsync(HMTrigger) Method

Definition

Removes trigger from the home and runs completion after it has finished.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task RemoveTriggerAsync (HomeKit.HMTrigger trigger);
abstract member RemoveTriggerAsync : HomeKit.HMTrigger -> System.Threading.Tasks.Task
override this.RemoveTriggerAsync : HomeKit.HMTrigger -> System.Threading.Tasks.Task

Parameters

trigger
HMTrigger

Returns

A task that represents the asynchronous RemoveTrigger operation

Attributes

Applies to