public interface EventListener
This interface defines the contract for objects that wish to receive event notifications from UPnP services. It provides a callback mechanism for handling incoming event messages containing state variable changes.
Key features:
Implementations of this interface can register with UPnP control points to receive asynchronous notifications when subscribed services publish state variable changes, enabling responsive application behavior.
| Modifier and Type | Method and Description |
|---|---|
void |
eventNotifyReceived(String uuid,
long seq,
String varName,
String value)
Called when an event notification is received from a UPnP service.
|
void eventNotifyReceived(String uuid, long seq, String varName, String value)
uuid - the subscription UUID identifying the subscriptionseq - the sequence number of this event notificationvarName - the name of the state variable that changedvalue - the new value of the state variable