HMActionSet.RemoveActionAsync(HMAction) Method

Definition

Removes action from the action set 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 RemoveActionAsync (HomeKit.HMAction action);
abstract member RemoveActionAsync : HomeKit.HMAction -> System.Threading.Tasks.Task
override this.RemoveActionAsync : HomeKit.HMAction -> System.Threading.Tasks.Task

Parameters

action
HMAction

Returns

A task that represents the asynchronous RemoveAction operation

Attributes

Remarks

The RemoveActionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to