Class

HMAction

An abstract base class for actions in HomeKit.

Declaration

@interface HMAction : NSObject

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

uniqueIdentifier

A unique identifier for the action.

Relationships

Inherits From

See Also

Defining the Associated Actions

actions

Set of actions in the action set.

- addAction:completionHandler:

Adds an action to the action set.

- removeAction:completionHandler:

Removes an action from the action set.

HMCharacteristicWriteAction

An action in an action set that writes a value to a characteristic.