Annotation Type | Description |
---|---|
Action |
This annotation is used to tell the Lhings Java library which methods implement
actions, in the Lhings sense of action.
|
DeviceInfo |
This annotation is used to provide generic meta information about
the device, like its manufacturer, model, serial number, and type of
device.
|
Event |
This annotation is used to define the events of your device.
|
Payload |
@Payload annotation is used to specify that the parameter of a method
annotated with @Action should carry the raw payload of the event. |
StatusComponent |
@StatusComponent annotation is used to specify which fields of a
LhingsDevice instance are status components of the device. |
Copyright © 2014. All rights reserved.