HMHome.AddActionSetAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously adds an action set named actionSetName to the home.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<HomeKit.HMActionSet> AddActionSetAsync(string actionSetName);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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