Difference between revisions of "HubMultiAction Object"

From Hubitat Documentation
Jump to: navigation, search
(Created page with "==<code>Constructors</code>== Create a HubMultiAction object. '''Signature:''' HubMultiAction() HubMultiAction(List<String> cmds) HubMultiAction(List<String> cmds, Protoc...")
 
 
Line 1: Line 1:
==<code>Constructors</code>==
 
  
Create a HubMultiAction object.
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
  
'''Signature:'''
+
<big>
HubMultiAction()
+
This document is available at: http://docs2.hubitat.com/en/developer/hubmultiaction-object
HubMultiAction(List<String> cmds)
+
</big>
HubMultiAction(List<String> cmds, Protocol protocol)
 
HubMultiAction(List<String> cmds, Protocol protocol, String deviceNetworkId)
 
 
 
 
 
==<code>add</code>==
 
 
 
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
 

Latest revision as of 19:38, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/hubmultiaction-object