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.
    Author:
    Luis López (llopez@gsyc.es), Ivan Gracia (igracia@gsyc.es)
    • Method Detail

      • onEvent

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