Package org.kurento.client
Interface ListenerSubscription
public interface ListenerSubscription
Interface to be implemented by objects that represent the subscription to an event in Kurento.
Implementers of this interface may be used by the system to track listeners of events registered
by users. Subscribing to a certain
MediaEvent
raised by a MediaObject
generates a
ListenerSubscription
, that can be used by the client to unregister this listener.- Since:
- 2.0.0
- Author:
- Luis López (llopez@gsyc.es), Ivan Gracia (igracia@gsyc.es)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the registration id for this listener.
-
Method Details
-
getSubscriptionId
String getSubscriptionId()Returns the registration id for this listener.- Returns:
- The id
-