Difference between revisions of "InstalledApp Object"

From Hubitat Documentation
Jump to: navigation, search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
== <code>getLabel</code> ==
 
Get the current label of the installed app.
 
  
'''Signature'''
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
String getLabel()
 
  
'''Returns'''
+
<big>
 
+
This document is available at: http://docs2.hubitat.com/en/developer/app/installedapp-object
The current label of the installed app
+
</big>
 
 
'''Example'''
 
def appLabel = app.getLabel()
 
log.debug "app label is ${appLabel}"
 
 
 
 
 
== <code>updateLabel</code> ==
 
Update the label of the installed app
 
 
 
'''Signature'''
 
void updateLabel(String label)
 
 
 
'''Parameters'''
 
label - new label for installed app
 
 
 
== <code>Additional Methods to Document</code> ==
 
void updateSetting(String name, Map options)
 
void updateSetting(String name, Long value)
 
void updateSetting(String name, Boolean value)
 
void updateSetting(String name, String value)
 
void updateSetting(String name, Double value)
 
void updateSetting(String name, Date value)
 
void updateSetting(String name, List value)
 
void removeSetting(String name)
 
void clearSetting(String name)
 
String getInstallationState()
 
Long getId()
 
Long getName()
 
List<EventSubscriptionWrapper> getSubscriptions()
 

Latest revision as of 19:39, 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/app/installedapp-object