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 Details

    • deviceAdded

      void deviceAdded(Device device)
      A remote device was added (linked)
      Parameters:
      device - the Device
    • deviceChanged

      void deviceChanged(Device device)
      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

      void deviceConnected(Device device)
      A remote device connected
      Parameters:
      device - the Device
    • deviceDisconnected

      void deviceDisconnected(Device device)
      A remote device disconnected
      Parameters:
      device - the Device