Package com.amazonaws.ivs.broadcast
Interface DeviceDiscovery.OnDevicesChangedListener
-
- Enclosing class:
- DeviceDiscovery
public static interface DeviceDiscovery.OnDevicesChangedListener
A listener which notifies when the list of devices changes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDevicesAdded(DeviceDiscovery discovery, java.util.Collection<Device> devices)
Notifies about added devicesvoid
onDevicesRemoved(DeviceDiscovery discovery, java.util.Collection<Device> devices)
Notifies about removed devices
-
-
-
Method Detail
-
onDevicesAdded
void onDevicesAdded(@NonNull DeviceDiscovery discovery, @NonNull java.util.Collection<Device> devices)
Notifies about added devices- Parameters:
discovery
- The discovery objectdevices
- 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 objectdevices
- The list of removed devices
-
-