Instance Method

addActionSetWithName:completionHandler:

Adds a new action set to the home.

Declaration

- (void)addActionSetWithName:(NSString *)actionSetName completionHandler:(void (^)(HMActionSet *actionSet, NSError *error))completion;

Parameters

actionSetName

The name of the new action set. Must not be nil, and must not be the name of an action set already in the home.

completion

The block executed after the request is processed.

actionSet

The newly created action set.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Creating Action Sets

actionSets

An array of the action sets in the home.

- removeActionSet:completionHandler:

Removes an action set from the home.

- executeActionSet:completionHandler:

Executes all the actions in a specified action set.

- builtinActionSetOfType:

Retrieves the builtin action set for the specified type.

HMActionSet

A collection of actions that you trigger as a group.