HubMultiAction Object

From Hubitat Documentation
Revision as of 14:42, 25 February 2019 by Cschwer (talk | contribs) (Created page with "==<code>Constructors</code>== Create a HubMultiAction object. '''Signature:''' HubMultiAction() HubMultiAction(List<String> cmds) HubMultiAction(List<String> cmds, Protoc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Constructors

Create a HubMultiAction object.

Signature:

HubMultiAction()
HubMultiAction(List<String> cmds)
HubMultiAction(List<String> cmds, Protocol protocol)
HubMultiAction(List<String> cmds, Protocol protocol, String deviceNetworkId)


add

Add an additional command to a HubMultiAction object.

Signature:

void add(String cmd)
void add(HubAction hubAction)
void add(List hubActions)
void add(HubMultiAction hubMultiAction)

Parameters:

cmd - a String command to add to the list of commands in this HubMultiAction
hubAction - a HubAction to add to the list of commands in this HubMultiAction
hubActions - a List of HubActions to add to the list of commands in this HubMultiAction
hubMultiAction - a HubMultiAction whose commands will be added to add to the list of commands in this HubMultiAction