Package com.vuzix.connectivity.sdk
Class Connectivity.DeviceListenerAdapter
java.lang.Object
com.vuzix.connectivity.sdk.Connectivity.DeviceListenerAdapter
- All Implemented Interfaces:
Connectivity.DeviceListener
- Enclosing class:
- Connectivity
public static class Connectivity.DeviceListenerAdapter
extends Object
implements Connectivity.DeviceListener
Convenience class for implementing a DeviceListener without having to implement all methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deviceAdded
(Device device) A remote device was added (linked)void
deviceChanged
(Device device) A remote device was changed, most likely the name changedvoid
deviceConnected
(Device device) A remote device connectedvoid
deviceDisconnected
(Device device) A remote device disconnectedvoid
deviceRemoved
(long id) A remote device was removed (unlinked)
-
Constructor Details
-
DeviceListenerAdapter
public DeviceListenerAdapter()
-
-
Method Details
-
deviceAdded
Description copied from interface:Connectivity.DeviceListener
A remote device was added (linked)- Specified by:
deviceAdded
in interfaceConnectivity.DeviceListener
- Parameters:
device
- the Device
-
deviceChanged
Description copied from interface:Connectivity.DeviceListener
A remote device was changed, most likely the name changed- Specified by:
deviceChanged
in interfaceConnectivity.DeviceListener
- Parameters:
device
- the Device
-
deviceRemoved
public void deviceRemoved(long id) Description copied from interface:Connectivity.DeviceListener
A remote device was removed (unlinked)- Specified by:
deviceRemoved
in interfaceConnectivity.DeviceListener
- Parameters:
id
- the device id
-
deviceConnected
Description copied from interface:Connectivity.DeviceListener
A remote device connected- Specified by:
deviceConnected
in interfaceConnectivity.DeviceListener
- Parameters:
device
- the Device
-
deviceDisconnected
Description copied from interface:Connectivity.DeviceListener
A remote device disconnected- Specified by:
deviceDisconnected
in interfaceConnectivity.DeviceListener
- Parameters:
device
- the Device
-