- getDevices() - Method in class com.lhings.java.LhingsDevice
-
This method returns a list of all the other devices that belong to the
same account as the calling device.
- getLoopFrequency() - Method in class com.lhings.java.LhingsDevice
-
Returns the number of times per second the method loop()
is
executed by the SDK.
- getManufacturer() - Method in class com.lhings.java.LhingsDevice
-
Override this method if you want to specify your own manufacturer.
- getModelName() - Method in class com.lhings.java.LhingsDevice
-
Override this method if you want to specify your own model name.
- getName() - Method in class com.lhings.java.LhingsDevice
-
Returns the name of the device.
- getPort() - Method in class com.lhings.java.LhingsDevice
-
Used to retrieve the port used by this device to communicate with Lhings.
- getSerialNumber() - Method in class com.lhings.java.LhingsDevice
-
Override this method if you want to specify your own serial number
Default serial number is "000001"
- getStatus(String) - Method in class com.lhings.java.LhingsDevice
-
Retrieves the status of the given device.
- getType() - Method in class com.lhings.java.LhingsDevice
-
Override this method if you want to specify your own device type Default
device type is "javavirtualdevice"
- getUsername() - Method in class com.lhings.java.LhingsDevice
-
Returns the username of the account to which the device belongs.
- getVersion() - Method in class com.lhings.java.LhingsDevice
-
Override this method if you want to specify your own device version
Default device version is "1"