HMHome.ExecuteActionSet(HMActionSet, Action<NSError>) Method

Definition

Runs the specified actionSet and runs completion afer it has finished.

[Foundation.Export("executeActionSet:completionHandler:")]
public virtual void ExecuteActionSet (HomeKit.HMActionSet actionSet, Action<Foundation.NSError> completion);
abstract member ExecuteActionSet : HomeKit.HMActionSet * Action<Foundation.NSError> -> unit
override this.ExecuteActionSet : HomeKit.HMActionSet * Action<Foundation.NSError> -> unit

Parameters

actionSet
HMActionSet
completion
Action<NSError>

A handler that returns null on success, or an error object on failure.

Attributes

Applies to