Package com.vuzix.connectivity.sdk
Interface Connectivity.DeviceListener
- All Known Implementing Classes:
Connectivity.DeviceListenerAdapter
- Enclosing class:
- Connectivity
public static interface Connectivity.DeviceListener
DeviceListeners are interested in all events that could happen with Connectivity.
-
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)
-
Method Details
-
deviceAdded
A remote device was added (linked)- Parameters:
device
- the Device
-
deviceChanged
A remote device was changed, most likely the name changed- Parameters:
device
- the Device
-
deviceRemoved
void deviceRemoved(long id) A remote device was removed (unlinked)- Parameters:
id
- the device id
-
deviceConnected
A remote device connected- Parameters:
device
- the Device
-
deviceDisconnected
A remote device disconnected- Parameters:
device
- the Device
-