Interface DeviceDiscovery.OnDevicesChangedListener

  • Enclosing class:
    DeviceDiscovery

    public static interface DeviceDiscovery.OnDevicesChangedListener
    A listener which notifies when the list of devices changes
    • Method Detail

      • onDevicesAdded

        void onDevicesAdded​(@NonNull
                            DeviceDiscovery discovery,
                            @NonNull
                            java.util.Collection<Device> devices)
        Notifies about added devices
        Parameters:
        discovery - The discovery object
        devices - The list of added devices
      • onDevicesRemoved

        void onDevicesRemoved​(@NonNull
                              DeviceDiscovery discovery,
                              @NonNull
                              java.util.Collection<Device> devices)
        Notifies about removed devices
        Parameters:
        discovery - The discovery object
        devices - The list of removed devices