HMHome.AddActionSetAsync(String) Method

Definition

Adds an action set named actionSetName to the home and runs completion after it has been added.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<HomeKit.HMActionSet> AddActionSetAsync (string actionSetName);
abstract member AddActionSetAsync : string -> System.Threading.Tasks.Task<HomeKit.HMActionSet>
override this.AddActionSetAsync : string -> System.Threading.Tasks.Task<HomeKit.HMActionSet>

Parameters

actionSetName
String

Returns

A task that represents the asynchronous AddActionSet operation. The value of the TResult parameter is of type System.Action<HomeKit.HMActionSet,Foundation.NSError>.

Attributes

Applies to