InstalledApp Object

From Hubitat Documentation
Revision as of 23:42, 16 October 2018 by Cschwer (talk | contribs)
Jump to: navigation, search

getLabel

Get the current label of the installed app.

Signature

String getLabel()

Returns

The current label of the installed app

Example

def appLabel = app.getLabel()
log.debug "app label is ${appLabel}"


updateLabel

Update the label of the installed app

Signature

void updateLabel(String label)

Parameters

label - new label for installed app

Additional Methods to Document

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()