Compartir a través de


HMHome.ExecuteActionSet(HMActionSet, Action<NSError>) Método

Definición

Ejecuta el especificado actionSet y ejecuta completion aferr que ha finalizado.

[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

Parámetros

actionSet
HMActionSet
completion
Action<NSError>

Un controlador que se devuelve null correctamente o un objeto de error en caso de error.

Atributos

Se aplica a