Hue Namespace Reference
Classes | |
| struct | User |
| Information about user. More... | |
| class | Bridge |
| class | ColourDevice |
| class | Device |
| class | DeviceListEnumerator |
| class | DimmableDevice |
| class | OnOffDevice |
| struct | Stats |
Typedefs | |
| using | UserMap = HashMap< String, User > |
| List of users, key is user name. More... | |
| using | DeviceList = Vector< Device > |
Enumerations | |
| enum class | Model { LWB004 , LWB007 } |
| enum class | Error { XX } |
| enum class | Status { success , pending , error } |
Status of a setAttribute request. More... | |
Functions | |
| String | toString (Error error) |
| JsonObject | createSuccess (JsonDocument &result) |
| JsonObject | createError (JsonDocument &result, const String &path, Error error, String description) |
| String | toString (Device::Attribute attr) |
| String | toString (Device::Attributes attr) |
| bool | fromString (const char *tag, Device::Attribute &attr) |
| String | toString (Device::ColorMode mode) |
Typedef Documentation
◆ DeviceList
| using Hue::DeviceList = typedef Vector<Device> |
◆ UserMap
| using Hue::UserMap = typedef HashMap<String, User> |
List of users, key is user name.
Enumeration Type Documentation
◆ Error
|
strong |
◆ Model
|
strong |
◆ Status
|
strong |
Status of a setAttribute request.
Function Documentation
◆ createError()
| JsonObject Hue::createError | ( | JsonDocument & | result, |
| const String & | path, | ||
| Error | error, | ||
| String | description | ||
| ) |
◆ createSuccess()
| JsonObject Hue::createSuccess | ( | JsonDocument & | result | ) |
◆ fromString()
| bool Hue::fromString | ( | const char * | tag, |
| Device::Attribute & | attr | ||
| ) |
◆ toString() [1/4]
| String Hue::toString | ( | Device::Attribute | attr | ) |
◆ toString() [2/4]
| String Hue::toString | ( | Device::Attributes | attr | ) |
◆ toString() [3/4]
| String Hue::toString | ( | Device::ColorMode | mode | ) |
1.9.1