- All Implemented Interfaces:
Device
public class MotionSensorImpl
extends Object
implements Device
-
-
Method Summary
| Modifier and Type |
Method |
Description |
UUID |
getId() |
Returns the technical id of the device, as assigned by the Bridge.
|
String |
getName() |
Returns the name of the device, as set by the user.
|
String |
toString() |
|
-
-
Method Details
-
Description copied from interface: Device
Returns the technical id of the device, as assigned by the Bridge.
The id stays the same even if the device name is changed by the user.
- Specified by:
getId in interface Device
- Returns:
- Id of the device.
-
Description copied from interface: Device
Returns the name of the device, as set by the user.
- Specified by:
getName in interface Device
- Returns:
- Name of the device.
-