Contents

HMAction

An abstract base class for actions in HomeKit.

Declaration

class HMAction

Overview

Actions can be added to HMActionSet objects. Action sets can then be set for automatic execution in response to specific conditions using HMTrigger objects, or manually triggered with executeActionSet(_:completionHandler:).

Topics

Identifying an action

Initializers

Type Methods

See Also

Related Documentation

  • HomeKit Developer Guide

Defining the associated actions