public interface DeviceChangeListener
This interface defines the contract for objects that wish to receive notifications when UPnP devices are added to or removed from a control point's device list. It provides callbacks for tracking device presence changes.
Key features:
Implementations of this interface can register with UPnP control points to receive notifications when devices become available or unavailable, enabling responsive application behavior and dynamic device management.
| Modifier and Type | Method and Description |
|---|---|
void |
deviceAdded(Device dev)
Called when a UPnP device is added to the control point.
|
void |
deviceRemoved(Device dev)
Called when a UPnP device is removed from the control point.
|
void deviceAdded(Device dev)
dev - the device that was addedvoid deviceRemoved(Device dev)
dev - the device that was removed