Interface EventListener<T extends Event>

  • Type Parameters:
    T - A class that extends from Event

    public interface EventListener<T extends Event>
    Interface to be implemented by MediaEvent listeners. Implementors of this interface will be on charge of processing the events raised by media elements.
    Luis López (, Ivan Gracia (
    • Method Detail

      • onEvent

        void onEvent​(T event)
        Called from the framework when an event is raised at the media server.
        event - a T event